/* Hajj and Umrah guides (build_tool_hajj_umrah.py). Shared by /umrah/ and /hajj/. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hu-step{padding-left:72px}
.hu-src{font-size:14px;color:var(--cream-muted);margin:6px 0 16px}
.hu-fig{margin:22px 0 10px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--bg-card)}
.hu-fig figcaption{font-size:14.5px;color:var(--cream-muted);margin-top:10px;line-height:1.55}
.hu-svg{display:block;width:100%;height:auto;max-width:560px;margin:0 auto}
.hu-svg .hu-mataf{fill:var(--bg-elevated);stroke:var(--line)}
.hu-svg .hu-route{fill:none;stroke:var(--gold);stroke-width:3;stroke-linecap:round}
.hu-svg .hu-arrowhead{fill:var(--gold)}
.hu-svg .hu-kaaba{fill:#1c1c1c;stroke:var(--gold);stroke-width:2}
.hu-svg .hu-kaaba-t{fill:#f5f1e8;font:600 14px var(--sans)}
.hu-svg .hu-hijr{fill:none;stroke:var(--emerald);stroke-width:5;stroke-linecap:round}
.hu-svg .hu-start{stroke:var(--emerald);stroke-width:2;stroke-dasharray:5 4}
.hu-svg .hu-stone{fill:var(--gold);stroke:#1c1c1c;stroke-width:1.5}
.hu-svg .hu-maqam{fill:var(--gold)}
.hu-svg .hu-lead{stroke:var(--cream-muted);stroke-width:1}
.hu-svg .hu-t{fill:var(--cream);font:500 14px var(--sans)}
.hu-svg .hu-strong{font-weight:700;fill:var(--emerald)}
.hu-svg .hu-dim{fill:var(--cream-muted);font-size:13px}
.hu-svg .hu-num{fill:var(--gold-text);font-weight:700;font-size:13px}
.hu-svg .hu-day{fill:var(--gold-text);font-weight:700;font-size:13px}
.hu-svg .hu-green{fill:rgba(46,160,90,.16);stroke:rgba(46,160,90,.55);stroke-dasharray:4 3}
.hu-svg .hu-greent{fill:#2a8a52;font-weight:700;font-size:13px}
.hu-svg .hu-hill{fill:var(--bg-elevated);stroke:var(--line-strong)}
.hu-svg .hu-hill-t{fill:var(--emerald);font:600 18px var(--serif)}
.hu-svg .hu-node{fill:var(--emerald);stroke:var(--gold);stroke-width:2}
.hu-svg .hu-node-t{fill:#f5f1e8;font:700 14px var(--sans)}
.hu-count{max-width:780px;margin:14px 0 0;padding:16px 22px;border-radius:14px;background:var(--emerald);color:#f5f1e8}
.hu-count .k{display:block;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-on-dark);font-weight:700;margin-bottom:4px}
.hu-count p{margin:0;font-size:17px}
.hu-count b{font-family:var(--serif);font-size:30px;font-weight:600;color:#fff}
/* checklist */
.cl-tool{max-width:820px;margin:6px 0 10px}
.cl-bar{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 14px}
.cl-seg{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line-strong);border-radius:100px;background:var(--bg-card)}
.cl-seg-l{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-text);font-weight:700;padding:0 8px 0 10px}
.cl-seg label{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:100px;font-weight:600;font-size:15px;color:var(--cream-dim);cursor:pointer}
.cl-seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.cl-seg label:has(input:checked){background:var(--emerald);color:#f5f1e8}
.cl-seg label:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:2px}
.cl-progress{display:flex;align-items:center;gap:14px;margin:0 0 14px}
.cl-progress p{margin:0;font-weight:600;color:var(--emerald);font-size:15px;white-space:nowrap}
.cl-meter{flex:1;height:8px;border-radius:8px;background:var(--bg-elevated);overflow:hidden}
.cl-meter span{display:block;height:100%;width:0;background:var(--gold);transition:width .25s}
.cl-group{border:1px solid var(--line);border-radius:16px;background:var(--bg-card);padding:6px 18px 10px;margin:0 0 14px}
.cl-group legend{font-family:var(--serif);font-size:21px;font-weight:600;color:var(--emerald);padding:0 8px}
.cl-count{font-family:var(--sans);font-size:13px;color:var(--cream-muted);font-weight:600;margin-left:6px}
.cl-list{list-style:none;margin:0;padding:0}
.cl-item{border-bottom:1px solid var(--line)}
.cl-item:last-child{border-bottom:none}
.cl-item[hidden]{display:none}
.cl-item label{display:flex;gap:12px;align-items:flex-start;padding:12px 2px;cursor:pointer;min-height:44px}
.cl-item input{position:absolute;opacity:0;width:1px;height:1px}
.cl-box{flex:0 0 22px;width:22px;height:22px;margin-top:1px;border:2px solid var(--gold);border-radius:6px;display:flex;align-items:center;justify-content:center;background:var(--bg)}
.cl-item input:checked + .cl-box{background:var(--emerald);border-color:var(--emerald)}
.cl-item input:checked + .cl-box::after{content:"";width:6px;height:11px;border:solid #f5f1e8;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
.cl-item input:focus-visible + .cl-box{outline:2px solid var(--gold);outline-offset:2px}
.cl-text{font-size:16px;color:var(--cream);font-weight:600;line-height:1.4}
.cl-item input:checked ~ .cl-text{color:var(--cream-muted);text-decoration:line-through;text-decoration-color:var(--gold-soft)}
.cl-note{display:block;font-weight:400;font-size:14.5px;color:var(--cream-muted);margin-top:2px}
.cl-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:100px;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;background:var(--bg-elevated);color:var(--gold-text);vertical-align:2px}
.cl-del{align-self:center;margin:-10px 0 -10px auto;background:none;border:none;color:var(--cream-muted);font-size:22px;line-height:1;cursor:pointer;min-width:44px;min-height:44px}
.cl-add{display:flex;gap:8px;padding:10px 0 4px}
.cl-add input{flex:1;min-width:0;font:inherit;font-size:16px;padding:10px 12px;border-radius:10px;border:1px solid var(--line-strong);background:var(--bg);color:var(--cream)}
.cl-btn{font:inherit;font-weight:700;font-size:15px;min-height:44px;padding:0 20px;border-radius:100px;border:1px solid var(--line-strong);background:var(--bg-card);color:var(--emerald);cursor:pointer}
.cl-primary{background:var(--emerald);color:#f5f1e8;border-color:var(--emerald)}
.cl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:6px 0 0}
.cl-private{font-size:13.5px;color:var(--cream-muted)}
.cl-print-head{display:none}
@media(max-width:640px){.hu-step{padding-left:18px}.hu-fig{padding:10px}.hg-step .hu-fig{margin-left:-17px;margin-right:-17px;border-radius:0;border-left:0;border-right:0;padding:8px 0}.hg-step .hu-fig figcaption{padding:0 17px}.hu-svg .hu-t{font-size:20px}.hu-svg .hu-dim,.hu-svg .hu-num,.hu-svg .hu-day,.hu-svg .hu-greent{font-size:18px}.hu-svg .hu-kaaba-t{font-size:17px}.hu-svg .hu-node-t{font-size:16px}.hu-svg .hu-hill-t{font-size:20px}.cl-group{padding:4px 12px 8px}.cl-seg{width:100%;justify-content:space-between}}
@media print{
  .nav,.footer,.no-print,.hg-cta,.hg-faq,.hg-related,.app-banner,[class*="smart-banner"]{display:none !important}
  body{background:#fff !important;color:#000}
  .hg-main{padding:0}
  .hg-crumbs,.hg-head .lead,.hg-head .eyebrow,.gold-rule{display:none}
  .hg-head h1{font-size:24px;margin:0 0 6px;color:#000}
  .cl-print-head{display:block;font-size:12px;margin:0 0 8px}
  .cl-progress{display:none}
  .cl-group{break-inside:avoid;border:1px solid #999;padding:2px 10px 4px;margin:0 0 8px}
  .cl-group legend{font-size:15px;color:#000}
  .cl-item label{padding:4px 0;min-height:0}
  .cl-box{width:14px;height:14px;flex-basis:14px;border:1.5px solid #000;border-radius:3px;background:#fff !important}
  .cl-item input:checked + .cl-box::after{border-color:#000;width:4px;height:8px}
  .cl-text{font-size:12px;color:#000 !important;text-decoration:none !important}
  .cl-note{font-size:10.5px;color:#333}
  .cl-del,.hg-note{display:none}
  .hg-prose{max-width:none}
  section.hg-prose:not(:has(.hg-steps)):not(:has(.hu-fig)){display:none}
  .hg-step{break-inside:avoid;padding:10px 12px;border:1px solid #999}
}
