/* Library, basket, retainers and service pages. Uses the site's own colours (see site.css). */
*,*:before,*:after{box-sizing:border-box}
body{font-family:'Segoe UI',Arial,sans-serif;line-height:1.6;color:#1E293B;background:#F8FAFC;margin:0}
h1,h2,h3,h4{font-family:'Segoe UI',Arial,sans-serif;line-height:1.25;color:#0A2463}
.sh-hero h1{color:#fff}
a{color:#0A2463}
.sh-hero{background:linear-gradient(rgba(10,36,99,.93),rgba(10,36,99,.88));color:#fff;text-align:center;padding:2.6rem 0}
.sh-hero h1{color:#fff;font-size:2.1rem;margin:0 0 .5rem}
.sh-hero p{max-width:760px;margin:0 auto;opacity:.93}
.sh-wrap{width:92%;max-width:1100px;margin:0 auto;padding:2rem 0 3rem}
.sh-narrow{max-width:760px}
.sh-card{background:#fff;border:1px solid var(--qd-grey);border-radius:14px;padding:1.4rem 1.5rem;margin-bottom:1.2rem;box-shadow:0 4px 18px rgba(10,36,99,.05)}
.sh-card h2{margin:0 0 .6rem;font-size:1.3rem}
.sh-card h3{margin:1rem 0 .4rem;font-size:1.05rem}
.sh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.1rem}
.sh-muted{color:var(--qd-muted);font-size:.93rem}
.sh-note{background:#F1F5F9;border-radius:10px;padding:.8rem 1rem;color:#334155;font-size:.95rem;margin:1rem 0}
.sh-price{font-size:1.9rem;font-weight:800;color:var(--qd-navy);line-height:1.1}
.sh-price small{font-size:.9rem;font-weight:600;color:var(--qd-muted)}
.sh-was{color:var(--qd-muted);text-decoration:line-through;font-weight:600;margin-left:.4rem}
.sh-btn{display:inline-block;background:var(--qd-teal);color:#fff;border:0;border-radius:8px;padding:.6rem 1.1rem;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;text-align:center}
.sh-btn:hover{background:var(--qd-teal-dark)}
.sh-btn[disabled]{opacity:.55;cursor:default}
.sh-btn.alt{background:#fff;color:var(--qd-navy);border:2px solid var(--qd-navy);padding:.5rem 1rem}
.sh-btn.alt:hover{background:#F1F5F9}
.sh-btn.small{padding:.4rem .8rem;font-size:.9rem}
.sh-btn.wide{width:100%}
.sh-btn.danger{background:var(--qd-err)}
.sh-row-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.sh-list{list-style:none;padding:0;margin:.5rem 0}
.sh-list li{padding:.25rem 0 .25rem 1.4rem;position:relative}
.sh-list li::before{content:"";position:absolute;left:.15rem;top:.75rem;width:.55rem;height:.55rem;border-radius:50%;background:var(--qd-teal)}
.sh-steps{counter-reset:s;list-style:none;padding:0;margin:.8rem 0}
.sh-steps li{counter-increment:s;position:relative;padding:.35rem 0 .35rem 2.6rem;min-height:2rem}
.sh-steps li::before{content:counter(s);position:absolute;left:0;top:.2rem;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--qd-navy);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.sh-tier{display:flex;flex-direction:column}
.sh-tier .sh-list{flex:1}
.sh-tier.featured{border:2px solid var(--qd-teal)}
.sh-search{width:100%;padding:.75rem .9rem;border:1px solid #CBD5E1;border-radius:10px;font:inherit;margin:.4rem 0 1rem}
.sh-search:focus{outline:none;border-color:var(--qd-teal);box-shadow:0 0 0 3px rgba(0,166,166,.18)}
.sh-doc-section{margin:1.6rem 0 .3rem;font-size:1.1rem;color:var(--qd-navy);border-bottom:2px solid var(--qd-grey);padding-bottom:.3rem}
.sh-docs{list-style:none;padding:0;margin:0}
.sh-doc{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;padding:.65rem 0;border-bottom:1px solid var(--qd-grey)}
.sh-doc-name{font-weight:600;flex:1 1 280px}
.sh-doc-tag{font-size:.78rem;font-weight:600;color:var(--qd-muted);margin-left:.4rem}
.sh-none{color:var(--qd-muted);padding:1rem 0}
.sh-count{font-weight:400;color:var(--qd-muted);font-size:.95rem}
/* basket */
.bk-item{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;border-bottom:1px solid var(--qd-grey);padding:.8rem 0}
.bk-item strong{display:block}
.bk-total{display:flex;justify-content:space-between;font-size:1.2rem;font-weight:800;color:var(--qd-navy);padding-top:.9rem}
.bk-field{margin:.8rem 0}
.bk-field label{display:block;font-weight:600;margin-bottom:.3rem}
.bk-input{width:100%;padding:.65rem .8rem;border:1px solid #CBD5E1;border-radius:8px;font:inherit;background:#fff;color:var(--qd-dark)}
.bk-input:focus{outline:none;border-color:var(--qd-teal);box-shadow:0 0 0 3px rgba(0,166,166,.18)}
.bk-input[aria-invalid="true"]{border-color:var(--qd-err)}
.bk-err{color:var(--qd-err);font-size:.9rem;margin:.25rem 0 0}
.bk-check{display:flex;gap:.6rem;align-items:flex-start;margin:.6rem 0;font-weight:400;cursor:pointer}
.bk-check input{margin-top:.3rem;width:auto;flex:none}
.bk-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.1rem .8rem}
.sh-honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* preview */
dialog.sh-preview{border:0;border-radius:14px;padding:0;max-width:720px;width:92%;box-shadow:0 20px 60px rgba(0,0,0,.35)}
dialog.sh-preview::backdrop{background:rgba(10,36,99,.55)}
.sh-pv-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.3rem;border-bottom:1px solid var(--qd-grey)}
.sh-pv-head h2{margin:0;font-size:1.15rem}
.sh-pv-body{padding:1rem 1.3rem;max-height:62vh;overflow:auto;position:relative}
.sh-pv-body::after{content:"PREVIEW";position:absolute;top:35%;left:50%;transform:translate(-50%,-50%) rotate(-24deg);font-size:4.5rem;font-weight:800;color:rgba(10,36,99,.07);pointer-events:none;letter-spacing:.2em}
.sh-pv-body h3{font-size:1rem;margin:1rem 0 .3rem;color:var(--qd-navy)}
.sh-pv-list{list-style:none;padding:0;margin:.3rem 0}.sh-pv-list li{padding:.15rem 0}
.sh-pv-foot{display:flex;flex-wrap:wrap;gap:.5rem;padding:.9rem 1.3rem;border-top:1px solid var(--qd-grey);justify-content:flex-end}
.sh-toast{position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%);background:var(--qd-navy);color:#fff;padding:.7rem 1.1rem;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.25);z-index:90;max-width:92%}
.sh-toast a{color:#fff;font-weight:700;margin-left:.6rem}
.sh-toast.bad{background:var(--qd-err)}
@media (max-width:560px){.sh-doc-actions{width:100%}.sh-hero h1{font-size:1.7rem}}
/* Cyber Health Check */
.ck-area{margin:1.8rem 0 .4rem;font-size:1.15rem;color:var(--qd-navy);border-bottom:2px solid var(--qd-grey);padding-bottom:.3rem}
.ck-q{border:1px solid var(--qd-grey);border-radius:12px;padding:1rem 1.2rem;margin:.9rem 0;background:#fff}
.ck-q legend{font-weight:700;padding:0 .4rem;color:var(--qd-dark)}
.ck-answers{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}
.ck-opt{display:inline-flex;align-items:center;gap:.4rem;border:2px solid #CBD5E1;border-radius:99px;padding:.4rem 1rem;cursor:pointer;font-weight:600;background:#fff}
.ck-opt:has(input:checked){border-color:var(--qd-teal);background:#E6F6F6}
.ck-opt input{accent-color:var(--qd-teal)}
.ck-sticky{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--qd-grey);padding:.8rem 0;margin-top:1.2rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.ck-ring{--p:0;width:150px;height:150px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--c) calc(var(--p) * 1%),#E2E8F0 0);position:relative;flex:none}
.ck-ring::before{content:"";position:absolute;inset:14px;background:#fff;border-radius:50%}
.ck-ring span{position:relative;font-size:2.4rem;font-weight:800;color:var(--qd-navy)}
.ck-ring.green{--c:#0F7B4B}.ck-ring.amber{--c:#D97706}.ck-ring.red{--c:#B42318}
.ck-top{display:flex;flex-wrap:wrap;gap:1.4rem;align-items:center}
.ck-arearow{margin:.7rem 0}
.ck-bar{height:12px;border-radius:99px;background:#E2E8F0;overflow:hidden;margin-top:.3rem}
.ck-fill{height:100%;border-radius:99px}
.ck-bar.green .ck-fill{background:#0F7B4B}.ck-bar.amber .ck-fill{background:#D97706}.ck-bar.red .ck-fill{background:#B42318}
table.ck-table{border-collapse:collapse;width:100%;font-size:.95rem}
.ck-table td{padding:.5rem .4rem;border-bottom:1px solid var(--qd-grey);vertical-align:top}
.ck-ans{font-weight:700;white-space:nowrap}.ck-ans.green{color:#0F7B4B}.ck-ans.amber{color:#9A6700}.ck-ans.red{color:#B42318}
@media print{.qd-header,.qd-footer,.qd-breadcrumb,.sh-hero,.noprint,.sh-toast{display:none!important}body{background:#fff}.sh-card{box-shadow:none;break-inside:avoid}}
.bk-hint{margin:.1rem 0 .4rem;font-size:.88rem}

/* ---------- alignment: cards in a row line up their buttons, and a set of six sits as three by two ---------- */
.sh-tier>:last-child{margin-top:auto}
.sh-tier>p:nth-last-child(2):not(:only-child){margin-bottom:1rem}
.sh-grid>.sh-card{margin-bottom:0}
@media (min-width:900px){.sh-grid:has(>.sh-tier:nth-child(6):last-child){grid-template-columns:repeat(3,1fr)}}

/* ---------- order complete: the download area ---------- */
.oc-files{margin:1rem 0 1.2rem}
.oc-files:empty{display:none}
.oc-ready{margin-bottom:.4rem}
.oc-ready h3{margin:.2rem 0 .15rem;font-size:1.2rem}
.oc-ready p{margin:0}
.oc-files .bk-item{background:#F8FFFE;border:1px solid #BFE9E6;border-radius:12px;padding:.85rem 1rem;margin-top:.6rem}
.oc-files .bk-item span{display:block}
.oc-account h3{margin:.1rem 0 .4rem}
.oc-account form{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.oc-account form .bk-input{flex:1 1 240px;width:auto}
.oc-account form p{display:none}
