/* Report design editor, live A4 preview and form-import assessment. The preview is always paper-white, like a printed report. */
.design-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:900px){.design-grid{grid-template-columns:1fr}}
#designForm fieldset{border:1px solid var(--line,#d6dbde);border-radius:10px;padding:10px 14px;margin:0 0 14px}
#designForm legend{font-weight:600;padding:0 6px}
.design-image{display:grid;gap:6px;margin:6px 0}
.design-image img{max-height:60px;max-width:100%;object-fit:contain;background:#fff;border:1px solid var(--line,#d6dbde);border-radius:6px;padding:4px;justify-self:start}
.seg3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.seg3 label{display:flex;justify-content:center;align-items:center;gap:6px;border:1px solid var(--line,#d6dbde);border-radius:8px;padding:8px;cursor:pointer;margin:0}
.seg3 label.on{border-color:#b8912e;background:rgba(184,145,46,.12);font-weight:600}
.seg3 input{position:absolute;opacity:0;pointer-events:none}
#designForm input[type=color]{width:64px;height:36px;padding:2px}
.design-preview{position:sticky;top:12px}
.pv-page{background:#fff;color:#173844;border:1px solid #cfd6da;border-radius:6px;box-shadow:0 6px 24px rgba(12,46,58,.12);padding:18px;aspect-ratio:1/1.3;overflow:hidden;font:12px/1.4 Arial,sans-serif;display:flex;flex-direction:column}
.pv-top{border-bottom:3px solid #bb9438;padding-bottom:8px;margin-bottom:10px;display:grid;gap:6px}
.pv-top small,.pv-head small{display:block;color:#53656d}
.pv-head{display:flex;gap:12px;align-items:center}
.pv-head.pv-center{flex-direction:column;text-align:center}
.pv-head b{font-size:15px}
.pv-logo{max-width:110px;max-height:52px;object-fit:contain}
.pv-letter{width:100%;max-height:80px;object-fit:contain}
.pv-empty{display:flex;align-items:center;justify-content:center;border:1px dashed #9fb0b7;color:#7b8c93;min-height:40px;min-width:80px;border-radius:4px;font-size:11px}
.pv-page h4{margin:6px 0;border-bottom:2px solid #bb9438;padding-bottom:3px;font-size:13px}
.pv-lines i{display:block;height:6px;background:#e4eaec;border-radius:3px;margin:5px 0}
.pv-page table{width:100%;border-collapse:collapse;margin:8px 0}
.pv-page th,.pv-page td{border:1px solid #cbd5da;padding:4px 6px;text-align:left}
.pv-page th{background:#edf3f5}
.pv-foot{margin-top:auto;border-top:1px solid #bbb;padding-top:6px;display:grid;gap:4px}
.pv-footimg{width:100%;max-height:50px;object-fit:contain}
.pv-mark{width:16px;height:16px;justify-self:end}
ul.assess{list-style:none;padding:0;margin:8px 0 16px;display:grid;gap:8px}
ul.assess li{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line,#d6dbde);border-radius:8px;padding:8px 10px}
ul.assess li>span{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff}
ul.assess li.ok>span{background:#2e7d4f}
ul.assess li.tip>span{background:#b8912e}
ul.assess li.missing>span{background:#b23b3b}
ul.assess small{display:block;opacity:.85;margin-top:2px}
#importCreate textarea,#importAiText{width:100%;font:inherit}
/* Sign in on another device */
.link-device{width:min(440px,100%);text-align:center;overflow-wrap:anywhere}
.link-device ol{text-align:left;padding-left:20px}
.link-code{font:700 34px/1.2 ui-monospace,Consolas,monospace;letter-spacing:.12em;margin:10px 0;padding:10px;border:2px dashed #b8912e;border-radius:10px;user-select:all}
.link-qr svg{max-width:100%;height:auto;border-radius:8px}
.link-status .ok{color:#2e7d4f}
.link-redeem-box{margin-top:14px;display:grid;gap:8px}
.link-redeem input{font:700 22px ui-monospace,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}
/* Phones: the new-tab / new-window / second-account / performance buttons are desktop tools and crowded the top bar.
   Hide them, and let the bar wrap onto a second row so the logo and greeting never overlap the icons. */
@media (max-width:720px){
 #tabTools [data-tab]{display:none!important}
 .top{flex-wrap:wrap;row-gap:6px;height:auto!important;min-height:0}
 .top-start{flex:1 1 auto;min-width:0}
 .top .page-heading{display:block!important;flex:1 1 auto;min-width:0;overflow:hidden}
 .top .page-heading .greet,.top .page-heading small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .top-end{gap:4px;flex:0 0 auto;margin-left:auto}
 .top-end .icon-button{width:38px;height:38px;min-width:38px}
}
/* ---------- Phone-first records (mobile.js) ---------- */
@media (max-width:720px){
 /* answers: three big, colour-coded buttons */
 body.phone .question{padding:14px 0;border-bottom:1px solid var(--line,#d6dbde)}
 body.phone .question>b{display:block;font-size:16px;line-height:1.35;margin-bottom:10px}
 body.phone .question>.row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px}
 body.phone .question .answer{min-height:52px;font-size:16px;font-weight:700;justify-content:center;border-radius:12px;border:2px solid var(--line,#cfd6da)}
 body.phone .question .answer svg{display:none}
 body.phone .question .answer[data-value="Yes"]::before{content:"✓ "}
 body.phone .question .answer[data-value="No"]::before{content:"✗ "}
 body.phone .question .answer[data-value="N/A"]::before{content:"– "}
 body.phone .question .answer[data-value="Yes"].selected{background:#1f8a5b;border-color:#1f8a5b;color:#fff}
 body.phone .question .answer[data-value="No"].selected{background:#b3261e;border-color:#b3261e;color:#fff}
 body.phone .question .answer[data-value="N/A"].selected{background:#55687a;border-color:#55687a;color:#fff}
 body.phone .question textarea,body.phone .question select,body.phone .question input{font-size:16px}
 /* progress stays visible while scrolling the checklist */
 body.phone .m-progress{position:sticky;top:0;z-index:3;background:var(--surface,#fff);padding:8px 0;margin:0 0 4px;border-bottom:1px solid var(--line,#d6dbde)}
 body.phone .m-progress p{margin:0}
 /* set-up panels folded away */
 body.phone details.m-more>summary{cursor:pointer;list-style:none;display:grid;gap:2px;padding:4px 0}
 body.phone details.m-more>summary::after{content:"Show ▾";font-size:13px;color:#b8912e;font-weight:700}
 body.phone details.m-more[open]>summary::after{content:"Hide ▴"}
 body.phone details.m-more>section{margin-top:12px}
 /* slim Save / Submit bar fixed to the bottom of the screen */
 body.phone .toolbar.m-bar{position:fixed!important;left:0;right:0;bottom:0;top:auto!important;z-index:30;margin:0;border-radius:14px 14px 0 0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(0,0,0,.18);gap:6px;flex-wrap:wrap}
 body.phone .toolbar.m-bar>div:first-child{font-size:12px;line-height:1.3;flex:1 1 100%}
 body.phone .toolbar.m-bar>div:first-child b{display:none}
 body.phone .toolbar.m-bar .row{flex:1 1 100%;display:grid!important;grid-template-columns:1fr 1fr 1fr;gap:6px}
 body.phone .toolbar.m-bar .row button{min-height:44px;padding:6px;font-size:14px;justify-content:center}
 body.phone .toolbar.m-bar .row button svg{display:none}
 body.phone.has-m-bar .content{padding-bottom:130px}
}
@media (max-width:720px){
 body.phone .m-choose{padding-top:12px;padding-bottom:12px}
 body.phone .m-choose h2{font-size:17px;margin:0 0 6px}
 body.phone .m-choose>p{display:none}
 body.phone .m-choose>button{width:100%;justify-content:center;margin-top:6px}
 body.phone fieldset.editor-fields>section:first-child h3{font-size:15px;margin:10px 0 6px}
 body.phone fieldset.editor-fields>section:first-child .grid{display:flex!important;flex-wrap:wrap;gap:6px}
 body.phone fieldset.editor-fields>section:first-child .grid button{padding:6px 10px;min-height:36px;font-size:13px;border-radius:99px}
 body.phone fieldset.editor-fields>section:first-child .grid button svg{width:14px;height:14px}
 body.phone details.m-more>button{width:100%;margin-top:12px}
}
@media (max-width:720px){
 /* basics: title full width, site/date/frequency in a tight grid */
 body.phone fieldset.editor-fields>section:first-child .fields{display:grid!important;grid-template-columns:1fr 1fr;gap:8px 10px}
 body.phone fieldset.editor-fields>section:first-child .fields>label{margin:0;font-size:13px}
 body.phone fieldset.editor-fields>section:first-child .fields>label:first-child,body.phone fieldset.editor-fields>section:first-child .fields>label:nth-child(2){grid-column:1/-1}
 body.phone fieldset.editor-fields>section:first-child .fields input,body.phone fieldset.editor-fields>section:first-child .fields select{min-height:44px;font-size:16px}
 /* activity chips: simple tap-to-toggle pills */
 body.phone .activity .activity-art,body.phone .activity br{display:none!important}
 body.phone button.activity{background:transparent;border:1.5px solid var(--line,#cfd6da);color:inherit}
 body.phone button.activity[aria-pressed="true"]{background:#b8912e;border-color:#b8912e;color:#0C2E3A}
 body.phone button.activity[aria-pressed="true"]::before{content:"✓ "}
}
/* report window on phones: three big save/print buttons at the top */
.m-export{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 12px}
.m-export button{display:grid!important;gap:2px;justify-items:center;min-height:64px;padding:8px 4px;border-radius:12px}
.m-export button b{font-size:17px}.m-export button small{font-size:11px;opacity:.85}
.m-export button:first-child{background:#b8912e;border-color:#b8912e;color:#0C2E3A}
.m-export button:first-child small{opacity:1;color:#0C2E3A}
/* ---------- usability fixes (usability.js) ---------- */
.dialog-msg{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fff1e6;color:#8a3b12;font-weight:600;border:1px solid #f1c9a8}
.needs-fix{outline:3px solid #d1462f!important;outline-offset:4px;border-radius:10px;transition:outline-color .3s}
.gap-list{list-style:none;padding:0;margin:8px 0 16px;display:grid;gap:8px}
.gap-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line,#e2eaf0);border-radius:10px}
.gap-list li button{min-height:40px;flex:none}
.returned-note{border-left:4px solid #d1462f!important;background:#fff4f1!important;color:#5c1b10}
.returned-note p{margin:6px 0 0}
.review-here{border-left:4px solid #b8912e!important}
.review-here .row{margin-top:10px}
.review-choice{border:1px solid var(--line,#e2eaf0);border-radius:12px;padding:10px 14px;margin:14px 0}
.review-choice label{margin:6px 0;font-size:14px}
.invite-msg{background:#f3f6f9;border-radius:10px;padding:12px;font-size:13px;color:#183d49}
.tpl-list{display:grid;gap:12px;margin-top:16px}
.tpl-card{border:1px solid var(--line,#e2eaf0);border-radius:14px;padding:14px 16px;display:grid;gap:6px}
.tpl-card .pill{flex:none}
.tpl-hint{margin:2px 0;font-size:13px;color:#5b6f78}
.tpl-card details summary{cursor:pointer;font-size:13px;color:#137a80}
.tpl-card .row button{min-height:40px}
/* the "someone else saved" banner never covers buttons */
.tab-stale{max-width:calc(100vw - 32px)}
@media (max-width:720px){
 #toast{left:12px;right:12px;max-width:none;bottom:20px;z-index:60}
 body.has-m-bar #toast{bottom:122px}
 .tab-stale{position:fixed!important;top:auto!important;bottom:auto!important;left:12px!important;right:12px!important;top:124px!important;width:auto!important;z-index:55}
 /* bigger tap targets and readable small text */
 .record-tools button{min-height:44px;font-size:13px;padding:8px 12px}
 .pill{font-size:11px}
 .pilot-notice{font-size:11px}
 .item small,.focus-item small,.metric-label,.page-heading small{font-size:12px}
 /* findings readable in dark theme; N/A distinct */
 body.phone .question .answer[data-value="Yes"]:not(.selected){border-color:#7fc4a2}
 body.phone .question .answer[data-value="No"]:not(.selected){border-color:#e5a39b}
 body.phone .question .answer[data-value="N/A"].selected{background:#a8770b;border-color:#a8770b}
}
:root[data-theme="dark"] .finding,html.dark .finding,body.dark .finding{background:#2a1f1b!important;border-color:#5a3a30!important;color:#f3e6df}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .finding{background:#2a1f1b;border-color:#5a3a30;color:#f3e6df}}
/* batch 2: action filters, photo button */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px}
.chip{background:transparent;color:inherit;border:1.5px solid var(--line,#cfd6da);border-radius:99px;min-height:40px;padding:6px 14px;font-size:13px}
.chip span{display:inline-block;min-width:20px;padding:0 6px;border-radius:99px;background:rgba(127,127,127,.18);font-size:11px;margin-left:4px}
.chip.on{background:#0C2E3A;border-color:#0C2E3A;color:#fff}
:root[data-theme="dark"] .chip.on{background:#b8912e;border-color:#b8912e;color:#0C2E3A}
.action-item.late{border-left:3px solid #d1462f;padding-left:10px}
.pill.bad{background:#ffe9e3;color:#9c3426}
.photo-btn{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:12px;background:#0C2E3A;color:#fff!important;font-size:15px!important;font-weight:700;cursor:pointer;margin:10px 0}
:root[data-theme="dark"] .photo-btn{background:#b8912e;color:#0C2E3A!important}
/* ---------- company ecosystem (ecosystem.js) ---------- */
.hub-head{display:flex;gap:16px;align-items:center}
.hub-logo{max-height:64px;max-width:150px;object-fit:contain;background:#fff;border-radius:10px;padding:6px}
.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;align-items:start}
.hub-grid .card{margin:0}
.hub-grid .card p{margin:8px 0}
.hub-section{margin:26px 0 12px}
.join-req{border-top:1px solid var(--line,#e2eaf0);padding-top:8px;margin-top:8px}
.join-req select{width:auto;min-height:40px}
.report-link{border-top:1px solid var(--line,#e2eaf0);margin-top:12px;padding-top:12px;text-align:center}
.report-link .row{justify-content:center}
.seg2{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 12px}
.seg2 button{background:#edf4f6;color:#315967;border:1.5px solid #dce6ed;min-height:46px}
.seg2 button.on{background:#0C2E3A;color:#fff;border-color:#0C2E3A}
.join-ok{border-left-color:#2e7d4f!important;background:#e9f6ef!important}
#popStack{position:fixed;top:80px;right:16px;z-index:70;display:grid;gap:10px;width:min(360px,calc(100vw - 32px))}
.pop{background:#fff;color:#183d49;border:1px solid #dce6ed;border-left:5px solid #b8912e;border-radius:14px;padding:12px 14px;box-shadow:0 16px 40px rgba(8,40,54,.25);animation:popin .25s ease}
.pop b{display:block}.pop p{margin:4px 0 8px;font-size:13px}
.pop.pop-report{border-left-color:#d1462f}.pop.pop-returned{border-left-color:#d1462f}.pop.pop-approved{border-left-color:#2e7d4f}
.pop .row button{min-height:38px;padding:6px 12px}
@keyframes popin{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}
#notesBell{position:relative}
#notesBell .bell-count:not(:empty){position:absolute;top:-4px;right:-4px;background:#d1462f;color:#fff;border-radius:99px;font-size:10px;min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px}
.ind-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 12px;margin:8px 0 12px}
@media (max-width:720px){#popStack{top:auto;bottom:16px;right:12px;left:12px;width:auto}body.has-m-bar #popStack{bottom:130px}}
@media (max-width:720px){.hub-head{flex-direction:column;align-items:flex-start}.hub-head h1{font-size:24px;margin-bottom:4px}.hub-logo{max-height:48px}}
/* 7.9 findings register and monthly report */
.reg-tools{display:flex;gap:12px;flex-wrap:wrap}.reg-tools label{flex:1;min-width:150px}
.reg-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:10px;margin:12px 0}
.reg-kpi{background:var(--surface,#fff);border:1px solid var(--line,#dfe5e8);border-radius:12px;padding:12px;text-align:center}.reg-kpi b{display:block;font-size:1.6rem;color:var(--ink,#0C2E3A)}.reg-kpi span{font-size:.85rem;color:var(--muted,#53656d)}
.rec-item{display:flex;gap:12px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--line,#e5eaec)}.rec-n{background:#B8912E;color:#fff;border-radius:999px;padding:2px 10px;font-weight:700;white-space:nowrap}
.reg-item{border:1px solid var(--line,#e5eaec);border-radius:10px;padding:10px 12px;margin:8px 0}.reg-item p{margin:4px 0}.reg-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sev{display:inline-block;border-radius:6px;padding:1px 8px;font-size:.78rem;font-weight:700;background:#dbe7ec;color:#173844}.sev.crit{background:#8a1c1c;color:#fff}.sev.high{background:#d9480f;color:#fff}.sev.med{background:#f2c94c;color:#3d2e00}
.reg-item .late{color:#b42318}.reg-item .ok{color:#14532d}:root[data-theme=dark] .reg-item .late,.dark .reg-item .late{color:#ff8a80}:root[data-theme=dark] .reg-item .ok,.dark .reg-item .ok{color:#6ee7a0}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .reg-item .late{color:#ff8a80}:root:not([data-theme=light]) .reg-item .ok{color:#6ee7a0}}.qphoto{margin:8px 0}
#mrMonth{max-width:200px}
/* 7.9 bulletins and champions */
.hub-grid.hub-2020{margin-bottom:12px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.hub-2020 h2 small{font-size:.75rem;font-weight:400}.bull{border:1px solid var(--line,#e5eaec);border-left:4px solid #B8912E;border-radius:10px;padding:10px 12px;margin:10px 0}.bull.emerg{border-left-color:#b42318;background:rgba(180,35,24,.06)}.bull.heat{border-left-color:#d9480f;background:rgba(217,72,15,.06)}
.bull h3{margin:6px 0 2px;font-size:1rem}.bull p{margin:4px 0 8px;white-space:pre-wrap}.bull-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.bull .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bull .ok{color:#1f8a5b;font-weight:600}
.bull-new{margin:6px 0 10px}.bull-new summary{cursor:pointer;font-weight:600;padding:6px 0}
.champ{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line,#e5eaec)}.champ-n{font-size:1.3rem;min-width:30px;text-align:center}.champ-pts{background:#B8912E;color:#fff;border-radius:999px;padding:2px 10px}.champ .grow{flex:1}
/* 7.9 owner console */
.own-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.own-head h1{margin:0}
.pill.warn{background:#fff4d9;color:#7a4b00}.pill.bad{background:#fde8e8;color:#8a1c1c}.pill.ok{background:#e6f4ea;color:#14532d}
.own-chart{display:flex;align-items:flex-end;gap:3px;height:110px;padding:6px 0;border-bottom:1px solid var(--line,#e5eaec)}.own-bar{flex:1;height:100%;display:flex;align-items:flex-end}.own-bar span{display:block;width:100%;min-height:2px;background:#B8912E;border-radius:3px 3px 0 0}
.own-axis{display:flex;justify-content:space-between;color:var(--muted,#53656d)}
.own-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.own-row input{max-width:280px}
.own-co{border:1px solid var(--line,#e5eaec);border-radius:12px;padding:12px 14px;margin:12px 0}.own-co.paused{border-color:#b42318;opacity:.85}
.own-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.own-plan{display:flex;gap:6px;align-items:center;font-size:.85rem}.own-plan select{width:auto}
.own-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px;margin:10px 0}.own-stats div{background:rgba(127,127,127,.08);border-radius:8px;padding:6px 8px;text-align:center}.own-stats b{display:block;font-size:1.15rem}.own-stats small{color:var(--muted,#53656d);font-size:.72rem}
.own-co .row{display:flex;gap:8px;flex-wrap:wrap}.danger{color:#b42318}.own-people table{font-size:.85rem}
/* 7.9 save-paper reminder */
.eco-box{position:fixed;inset:0;z-index:100000;background:rgba(6,20,26,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.eco-card{position:relative;max-width:440px;width:100%;background:var(--surface,#fff);color:var(--ink,#173844);border-radius:16px;padding:22px 20px 16px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.eco-card h2{margin:6px 0 8px;font-size:1.2rem}.eco-card p{margin:6px 0}.eco-leaf{font-size:2rem;line-height:1}
.eco-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 8px}.eco-actions button{flex:1 1 160px}.eco-skip{font-size:.85rem}
.eco-close{position:absolute;top:8px;right:10px;background:none;border:0;font-size:1.5rem;color:inherit;cursor:pointer;min-height:auto;padding:4px 8px}
.pop-more{justify-self:end;font-size:.85rem;padding:6px 12px;min-height:auto}
/* 7.9 plan & billing */
.bill-banner{border-radius:12px;padding:10px 14px;margin:0 0 12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bill-banner.warn{background:#fff4d9;color:#7a4b00}.bill-banner.bad{background:#fde8e8;color:#8a1c1c}.bill-banner button{margin-left:auto}
.bill-status{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:6px 0}.bill-status b{font-size:1.1rem}
.bill-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:10px 0}
.bill-plan{border:2px solid var(--line,#dfe5e8);border-radius:14px;padding:14px;display:grid;gap:4px;cursor:pointer}.bill-plan.on{border-color:#B8912E;background:rgba(184,145,46,.08)}.bill-plan input{display:none}
.bill-price{font-size:1.5rem;font-weight:800}.bill-price small{font-size:.8rem;font-weight:400;color:var(--muted,#53656d)}
.bill-months{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}.bill-months .chip{cursor:pointer}.bill-total{font-size:1.05rem}
.bill-inv{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;border-bottom:1px solid var(--line,#e5eaec);padding:10px 0}.bill-inv .row{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
.bill-inv a.button{display:inline-flex;align-items:center;padding:6px 14px;border-radius:10px;background:#0C2E3A;color:#fff;text-decoration:none;font-weight:600}
.bill-danger{border-color:rgba(180,35,24,.35)}.danger-btn{background:#b42318!important;color:#fff!important}.bill-danger details summary{cursor:pointer;color:#b42318;font-weight:600;padding:6px 0}
.nv-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;z-index:99999;background:#0C2E3A;color:#fff;border-radius:14px;padding:10px 14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;box-shadow:0 10px 30px rgba(0,0,0,.3);max-width:calc(100vw - 24px)}.nv-bar button{min-height:auto;padding:6px 12px}
.help-reply{background:rgba(184,145,46,.12);border-radius:8px;padding:6px 10px}
.pilot-notice{display:none!important}
/* 7.9.2 easy checklists */
.ck-head input[type=search]{width:100%;font-size:1rem;margin:8px 0}
.ck-cats{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;-webkit-overflow-scrolling:touch}.ck-cats .chip{white-space:nowrap;flex:0 0 auto}
.ck-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.ck-card{display:grid;gap:4px;text-align:left;border:1px solid var(--line,#dfe5e8);background:var(--surface,#fff);color:inherit;border-radius:14px;padding:14px;min-height:76px;cursor:pointer;position:relative}
.ck-card:hover,.ck-card:focus{border-color:#B8912E;box-shadow:0 0 0 2px rgba(184,145,46,.25)}.ck-card b{font-size:1rem;line-height:1.3}.ck-card small{color:var(--muted,#53656d)}.ck-card .pill{position:absolute;top:10px;right:10px}.ck-card.cont{border-left:4px solid #B8912E}
.ck-cta{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;border-left:4px solid #B8912E}.ck-cta h2{margin:0}
.ck-fill-head h1{margin:6px 0 2px;font-size:1.35rem}.ck-progress{height:8px;border-radius:5px;background:rgba(127,127,127,.2);overflow:hidden;margin:8px 0 4px}.ck-progress span{display:block;height:100%;background:#2f8f5b;transition:width .2s}
.ck-qs{list-style:none;padding:0;margin:0 0 110px}.ck-q{background:var(--surface,#fff);border:1px solid var(--line,#dfe5e8);border-radius:14px;padding:12px;margin:10px 0}
.ck-q p{margin:0 0 10px;font-size:1.02rem;line-height:1.4}.ck-n{display:inline-block;min-width:26px;height:26px;border-radius:50%;background:rgba(127,127,127,.15);text-align:center;line-height:26px;font-weight:700;font-size:.8rem;margin-right:8px}
.ck-ans{display:grid;grid-template-columns:1fr 1fr .8fr;gap:8px}.ck-b{min-height:48px;border-radius:12px;font-weight:800;font-size:1rem;border:2px solid var(--line,#dfe5e8);background:transparent;color:inherit}
.ck-b.on.b-yes{background:#1f8a5b;border-color:#1f8a5b;color:#fff}.ck-b.on.b-no{background:#b42318;border-color:#b42318;color:#fff}.ck-b.on.b-na{background:#6b7d86;border-color:#6b7d86;color:#fff}
.ck-q.ans-yes{border-left:5px solid #1f8a5b}.ck-q.ans-no{border-left:5px solid #b42318}.ck-q.ans-na{border-left:5px solid #6b7d86}
.ck-find{margin-top:10px;display:grid;gap:8px}.ck-find textarea{min-height:64px}.ck-sev{display:flex;gap:6px;flex-wrap:wrap}.ck-sev .chip.on.sev-critical{background:#8a1c1c;color:#fff}.ck-sev .chip.on.sev-high{background:#d9480f;color:#fff}.ck-sev .chip.on.sev-medium{background:#f2c94c;color:#3d2e00}
.ck-na{margin-top:8px;width:100%}.ck-red{color:#b42318}
.ck-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--surface,#fff);border-top:1px solid var(--line,#dfe5e8);box-shadow:0 -6px 20px rgba(0,0,0,.12)}
.ck-bar button{flex:1;min-height:48px;font-weight:700}
@media (min-width:900px){.ck-bar{left:auto;right:24px;bottom:18px;border-radius:16px;border:1px solid var(--line,#dfe5e8);width:min(620px,60vw)}}
.ck-done{text-align:center}.ck-big{font-size:3rem}.ck-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.ck-sites{display:grid;gap:8px;margin-top:10px}.ck-custom textarea{width:100%;font-size:.95rem}
button.link{background:none;border:0;color:#B8912E;padding:4px 0;min-height:auto;text-decoration:underline}
html.ck-filling .m-bar,html.ck-filling .bottom-nav{display:none!important}
.ck-freq{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;align-items:center;padding:6px 0 4px;-webkit-overflow-scrolling:touch}.ck-freq .chip{white-space:nowrap;flex:0 0 auto}.ck-sec{list-style:none;margin:14px 0 4px;padding:6px 10px;background:#F4F1E6;border-left:4px solid #B8912E;font-weight:700;border-radius:6px}.ck-hint{margin:2px 0 6px}.ck-code{color:#0C2E3A}
