/* sites.css · a research site from the scrape-site base: Monaco's light tokens, the floating bar, the pill, colour cards, the map */
.d-sites { position: absolute; inset: 0; overflow: hidden; background: #fff; color: #213856;
  font: 400 15px/1.4 -apple-system, "SF Pro Text", "Geist", system-ui, sans-serif; letter-spacing: -.004em;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.d-sites * { box-sizing: border-box; margin: 0; padding: 0; }
.d-sites svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the floating bar */
.d-sites .bar { position: absolute; left: 12px; top: 12px; bottom: 12px; width: 290px; display: flex; flex-direction: column; padding: 16px 12px 12px;
  background: #f3f5f9; border-radius: 24px; box-shadow: 0 0 0 1px #e3e7ee; }
.d-sites .org { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px; border-radius: 14px; }
.d-sites .o-t { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.d-sites .tess { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 700;
  letter-spacing: .02em; background: linear-gradient(155deg, var(--g)); }
.d-sites .ot { min-width: 0; }
.d-sites .ot b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.d-sites .ot small { display: block; font-size: 14px; color: #7a8598; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-sites .ud { color: #7a8598; }
.d-sites .ud svg { width: 18px; height: 18px; }
.d-sites .stato { padding: 10px 8px 6px; font-size: 14px; color: #7a8598; white-space: nowrap; }
.d-sites .stato i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #00c758; margin-right: 7px; vertical-align: 2px; }
.d-sites .stato b { color: #4f5d73; font-weight: 600; }
.d-sites .spazi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px 0 12px; }
.d-sites .spazi span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px;
  font-size: 15px; font-weight: 600; color: #4f5d73; }
.d-sites .spazi svg { width: 24px; height: 24px; }
.d-sites .spazi .on { background: #e9f0ff; color: #1f55e6; }
.d-sites .voci { position: relative; flex: 1; }
.d-sites .vg { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 2px; }
.d-sites .voce { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-radius: 12px; font-size: 17px; font-weight: 500; }
.d-sites .voce svg { width: 20px; height: 20px; color: #316bff; }
.d-sites .voce .n { margin-left: auto; font-style: normal; font-size: 14px; color: #7a8598; font-weight: 500; }
.d-sites .voce.on { background: #fff; font-weight: 600; box-shadow: 0 0 0 1px #e3e7ee, 0 1px 2px rgba(33, 56, 86, .05); }
.d-sites .conto { margin: 8px 0 10px; padding: 16px 16px 14px; border-radius: 18px; background: #e9f0ff; }
.d-sites .conto .t { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: #1f55e6; }
.d-sites .conto .big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.d-sites .conto .big b { font-size: 50px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.d-sites .conto .big span { font-size: 20px; color: #4f5d73; font-weight: 300; }
.d-sites .conto small { display: block; font-size: 13.5px; line-height: 1.35; color: #4f5d73; }
.d-sites .piede { display: flex; align-items: center; padding: 8px 4px 0; border-top: 1px solid #e3e7ee; }
.d-sites .temi { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: #e8ebf0; }
.d-sites .temi i { width: 30px; height: 26px; border-radius: 999px; display: grid; place-items: center; color: #7a8598; }
.d-sites .temi i.on { background: #fff; color: #213856; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.d-sites .temi svg { width: 15px; height: 15px; }
.d-sites .cerca { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #4f5d73; }
.d-sites .cerca svg { width: 15px; height: 15px; }
.d-sites .kbd { font-size: 11.5px; font-weight: 500; color: #7a8598; padding: 1px 6px; border-radius: 5px; box-shadow: 0 0 0 1px #dcdfe5; }

/* the page */
.d-sites main { position: absolute; left: 314px; right: 0; top: 0; bottom: 0; }
.d-sites .cap { position: absolute; left: 0; right: 0; top: 16px; display: flex; justify-content: center; }
.d-sites .cap > div { display: flex; align-items: center; gap: 2px; height: 52px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(33, 56, 86, .08), 0 10px 30px -12px rgba(33, 56, 86, .22), 0 2px 6px -2px rgba(33, 56, 86, .08); }
.d-sites .cap a { height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 16.5px; font-weight: 500; color: #4f5d73; white-space: nowrap; }
.d-sites .cap a.on { background: #fff; color: #213856; font-weight: 700; box-shadow: 0 0 0 .5px #dcdfe5, 0 1px 3px rgba(33, 56, 86, .12); }
.d-sites .c-mp > div { padding: 0 22px; gap: 10px; align-items: baseline; line-height: 52px; font-size: 18px; }
.d-sites .c-mp span { color: #7a8598; font-weight: 500; font-size: 16px; }
.d-sites .ov { position: absolute; left: 34px; right: 34px; top: 92px; }
.d-sites h1 { font-size: 50px; line-height: 1.06; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.d-sites .lede { margin-top: 8px; font-size: 19.5px; line-height: 1.4; color: #4f5d73; white-space: nowrap; }
.d-sites .striscia { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; padding: 14px 0; border-top: 1px solid #dcdfe5; border-bottom: 1px solid #dcdfe5; }
.d-sites .sl { padding: 2px 20px; min-width: 0; }
.d-sites .sl:first-child { padding-left: 2px; }
.d-sites .sl + .sl { border-left: 1px solid #dcdfe5; }
.d-sites .sl .k { font-size: 15px; color: #7a8598; }
.d-sites .sl .v { font-size: 38px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.d-sites .sl .s { font-size: 14px; color: #7a8598; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-sites .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.d-sites .cc { position: relative; isolation: isolate; height: 392px; padding: 30px 32px 26px; border-radius: 24px; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, var(--g)); box-shadow: 0 1px 2px rgba(10, 14, 30, .08), 0 18px 36px -20px rgba(10, 14, 30, .45); }
.d-sites .cc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .16), transparent 60%); }
.d-sites .cc .k { font-size: 17px; font-weight: 600; opacity: .85; }
.d-sites .cc .big { margin-top: 12px; font-size: 108px; line-height: .92; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.d-sites .cc .big small { font-size: 30px; font-weight: 600; letter-spacing: -.02em; opacity: .85; margin-left: 8px; }
.d-sites .cc h3 { margin-top: 6px; font-size: 34px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.d-sites .cc p { margin-top: 10px; max-width: 30ch; font-size: 16px; line-height: 1.4; opacity: .88; }
.d-sites .cc .bt { position: absolute; left: 32px; bottom: 26px; height: 36px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .94);
  color: #16233a; display: flex; align-items: center; font-size: 15px; font-weight: 600; }
.d-sites .cc .ch { position: absolute; right: 30px; bottom: 28px; width: 230px; height: 118px; }
.d-sites .art { width: 230px; height: 118px; overflow: visible; stroke: none; }
.d-sites .art .b { fill: rgba(255, 255, 255, .3); transform-box: fill-box; transform-origin: 50% 100%; }
.d-sites .art .b.hi { fill: rgba(255, 255, 255, .92); }
.d-sites .art .clip { transform-origin: 0 0; }
.d-sites .art .dot { fill: #fff; }

/* the map */
.d-sites .mp { position: absolute; left: 20px; top: 86px; width: 926px; height: 656px; border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px #e3e7ee; visibility: hidden; }
.d-sites .mp canvas { position: absolute; left: 0; top: 0; width: 926px; height: 656px; }
.d-sites .leg { position: absolute; left: 16px; top: 16px; width: 230px; padding: 18px 18px 10px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px #e3e7ee, 0 8px 24px -14px rgba(33, 56, 86, .3); }
.d-sites .leg b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.d-sites .mono { display: block; margin: 2px 0 10px; font: 500 12.5px/1.3 "Geist Mono", ui-monospace, monospace; color: #7a8598; }
.d-sites .leg p { display: flex; align-items: center; gap: 10px; height: 36px; border-top: 1px solid #eceef2; font-size: 16px; }
.d-sites .leg i { width: 11px; height: 11px; border-radius: 50%; }
.d-sites .leg em { margin-left: auto; font-style: normal; font-size: 14px; color: #7a8598; }
.d-sites .sheet { position: absolute; right: 14px; top: 14px; bottom: 14px; width: 380px; padding: 24px 24px 20px; border-radius: 22px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(33, 56, 86, .08), 0 16px 40px -14px rgba(33, 56, 86, .3); transform: translateX(420px); }
.d-sites .sh-top { position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(#e6eeff, rgba(255, 255, 255, 0)); }
.d-sites .close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 1px #dcdfe5; color: #4f5d73; }
.d-sites .close svg { width: 16px; height: 16px; }
.d-sites .sheet .tile { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 17px; color: #fff; font-size: 21px;
  font-weight: 700; background: linear-gradient(155deg, var(--g)); }
.d-sites .sheet h2 { position: relative; margin-top: 12px; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.d-sites .chips { position: relative; display: flex; gap: 6px; margin-top: 8px; }
.d-sites .chips span { padding: 3px 10px; border-radius: 999px; background: #eef1f5; font-size: 13px; font-weight: 600; color: #4f5d73; }
.d-sites .mini { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; padding-bottom: 12px; border-bottom: 1px solid #dcdfe5; }
.d-sites .mini p { text-align: center; }
.d-sites .mini p + p { border-left: 1px solid #dcdfe5; }
.d-sites .mini small { display: block; font-size: 13px; color: #7a8598; }
.d-sites .mini b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.d-sites .sheet h4 { margin: 16px 0 4px; font-size: 18px; font-weight: 700; }
.d-sites .sheet h4 span { font-weight: 500; color: #7a8598; font-size: 15px; }
.d-sites .lk { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eceef2; }
.d-sites .lk small { font-size: 13px; color: #7a8598; }
.d-sites .lk b { display: block; font-size: 16px; font-weight: 600; color: #1f55e6; white-space: nowrap; }
.d-sites .lk i { display: block; font-style: normal; font-size: 13px; color: #7a8598; }
.d-sites .lk em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.d-sites .g-official { background: #e4f9ec; color: #00953f; }
.d-sites .g-reported { background: #e9f0ff; color: #1f55e6; }
.d-sites .g-estimate { background: #fff4dc; color: #b45309; }

/* the list of research sites */
.d-sites .menu { position: absolute; left: 12px; top: 96px; width: 440px; padding: 8px 8px 8px; border-radius: 22px; background: #fff; transform-origin: 80px 0;
  box-shadow: 0 0 0 1px rgba(33, 56, 86, .1), 0 30px 60px -20px rgba(33, 56, 86, .4), 0 4px 12px -4px rgba(33, 56, 86, .12); visibility: hidden; opacity: 0; }
.d-sites .mh { display: flex; align-items: baseline; gap: 8px; height: 50px; padding: 14px 14px 0; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #7a8598; }
.d-sites .mh b { font-weight: 600; }
.d-sites .row { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 12px; border-radius: 14px; }
.d-sites .row .tess { width: 42px; height: 42px; border-radius: 12px; font-size: 14px; }
.d-sites .rt { min-width: 0; flex: 1; }
.d-sites .rt b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.012em; }
.d-sites .rt small { display: block; font-size: 14px; color: #7a8598; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-sites .row .ok { color: #316bff; opacity: 0; }
.d-sites .row .ok svg { width: 20px; height: 20px; stroke-width: 2.4; }
.d-sites .row.cur .ok { opacity: 1; }
.d-sites .row.hov { background: #e9f0ff; }
.d-sites .mf { display: flex; align-items: center; gap: 10px; height: 52px; margin-top: 4px; padding: 0 16px; border-top: 1px solid #eceef2; font-size: 16px; font-weight: 600; color: #1f55e6; }
.d-sites .mf svg { width: 18px; height: 18px; }

.d-sites .finger { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(30, 42, 68, .28);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 6px 18px rgba(15, 23, 42, .25); opacity: 0; will-change: transform, opacity; z-index: 10; pointer-events: none; }
