/* WatchCall termer + mønsterpanel (20261113trm2). Lys flade som resten af sitet. */
.wc-term-hit{cursor:pointer;}
.wc-term-hit.wc-term-mark{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;}
#pat-list .rb.wc-term-hit{cursor:pointer;}
#call.wc-term-hit,#score-wrap.wc-term-hit,.score-cell.wc-term-hit,#inds .ind.wc-term-hit{cursor:pointer;}
.wc-term-i{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;margin-left:4px;border-radius:99px;
  border:1px solid #c7d4cf;background:#fff;color:#1a6b5a;
  font:700 11px/1 Inter,system-ui,sans-serif;cursor:pointer;vertical-align:middle;
  padding:0;
}
.wc-term-i:hover,.wc-term-i:focus-visible{border-color:#1a6b5a;background:#eef7f4;outline:none;}
.ta-tg .wc-term-i{flex:0 0 auto;}

.wc-terms-root[hidden]{display:none!important;}
.wc-terms-root{position:fixed;inset:0;z-index:8000;}
.wc-terms-back{position:absolute;inset:0;background:rgba(16,24,22,.38);}
.wc-terms-panel{
  position:absolute;background:#fff;color:#14201c;
  box-shadow:0 18px 48px rgba(16,24,22,.22);
  border:1px solid #d7e0dc;border-radius:16px;
  padding:16px 16px 18px;box-sizing:border-box;
  width:min(380px, calc(100vw - 24px));
  max-height:min(86vh, 640px);overflow:auto;
  right:24px;top:88px;
  font-family:Inter,system-ui,sans-serif;
}
.wc-terms-x{
  position:absolute;top:8px;right:8px;width:36px;height:36px;
  border:1px solid #d7e0dc;background:#f4f7f6;color:#14201c;font-size:22px;line-height:1;cursor:pointer;border-radius:8px;
}
.wc-terms-x:hover,.wc-terms-x:focus-visible{background:#eef3f1;color:#14201c;outline:none;}
.wc-terms-found{
  display:flex;align-items:center;gap:8px;margin:0 36px 8px 0;
  font-size:12px;font-weight:700;color:#1a6b5a;
}
.wc-terms-found[hidden]{display:none!important;}
.wc-terms-linkico{flex:0 0 auto;width:28px;height:28px;}
.wc-terms-panel h2{margin:0 36px 8px 0;font-size:18px;font-weight:800;letter-spacing:-.02em;}
.wc-terms-fig{margin:0 0 10px;}
.wc-terms-fig .wc-pat-svg{width:100%;max-width:280px;height:auto;}
.wc-terms-body{margin:0 0 12px;font-size:14px;line-height:1.55;color:#2a3834;}
.wc-terms-more{display:inline-flex;align-items:center;min-height:44px;font-weight:800;font-size:14px;color:#1a6b5a;text-decoration:none;}
.wc-terms-more:hover{text-decoration:underline;}

.wc-pat-svg{display:block;width:200px;max-width:100%;height:auto;background:#f4f7f6;border:1px solid #d7e0dc;border-radius:10px;}
.wc-pat-svg .wc-pat-bg{fill:#f4f7f6;stroke:#d7e0dc;}
.wc-pat-svg .rule{stroke:#1a6b5a;stroke-width:1.6;fill:none;}
.wc-pat-svg .neck{stroke:#7a8690;stroke-width:1.3;stroke-dasharray:4 3;fill:none;}
.wc-pat-svg .price{fill:none;stroke:#1c2430;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;}
.wc-pat-svg .pole{fill:none;stroke:#1c2430;stroke-width:2.2;stroke-linecap:round;}

@media (max-width:520px){
  .wc-terms-panel{
    left:0;right:0;top:auto;bottom:0;width:100%;
    max-height:min(82vh, 620px);border-radius:16px 16px 0 0;
    padding:18px 16px calc(18px + env(safe-area-inset-bottom));
  }
}
@media (min-width:521px) and (max-width:900px){
  .wc-terms-panel{left:50%;right:auto;top:72px;transform:translateX(-50%);}
}

/* trm2: ankre under #wch, ikke under sticky hero. Rører ikke wc-shell.css. */
html body header.hero, html body .hero.hero{position:static!important;top:auto!important;}
#moenstre,.grp,.term,body.has-from [id]{scroll-margin-top:80px;}

/* trm2: termpanel ved 390 slutter over #wcb, som favoritpanelet */
@media (max-width:520px){
  .wc-terms-root{
    bottom:var(--wc-wcb-h,var(--wcb-h,64px));
    inset:0 0 var(--wc-wcb-h,var(--wcb-h,64px)) 0;
  }
  .wc-terms-panel{
    bottom:0;
    padding-bottom:18px;
  }
  body.wc-terms-open #wcb{z-index:70;}
}
