/* Organisation's own free cards (prefix .og-), on top of kort.css / forside3.css / moduler.css. Tree and people:
   the record, the line, the tree; green is the only accent, red only with a word. */
.vc.og-w{width:340px}
.ms-panel .vc.og-w,.ms-stop .vc.og-w,.ms-hero-obj .vc.og-w{width:340px}
.v-chip.og-n{background:#F1F3F0;color:#4F596B}

/* the record (hero lead) */
.og-id{text-align:left;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}
.og-id .v-av.og-big{width:56px;height:56px;box-shadow:0 0 0 3px #fff,0 0 0 4.5px #CFE6D8}
.og-id b{display:block;font:500 24px/1.1 var(--serif);letter-spacing:-.01em}
.og-id span{display:block;margin-top:3px;font-size:13px;color:#5B6660}
.og-id p{display:flex;gap:6px;margin:0}
.og-tabs{width:0;min-width:100%;display:flex;gap:4px;margin-top:16px;padding-bottom:0;border-bottom:1px solid #ECEAE4;white-space:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.og-tabs::-webkit-scrollbar{display:none}
.og-tabs span{flex:none;padding:8px 10px 10px;font-size:13px;font-weight:550;color:#7A818C;border-bottom:2px solid transparent;margin-bottom:-1px}
.og-tabs span.on{color:#00693E;border-bottom-color:#00693E}
.og-dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 0}
.og-dl div{padding:10px 12px;border-radius:12px;background:#F6F8F5;min-width:0}
.og-dl dt{font-size:11.5px;color:#7A818C}
.og-dl dd{display:flex;align-items:center;gap:6px;margin:4px 0 0;font-size:13.5px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.og-dl dd .v-av{width:20px;height:20px;box-shadow:none}
.og-ok{display:flex;align-items:center;gap:8px;margin-top:12px;padding:9px 12px;border-radius:12px;background:#E3F2E9;color:#00693E;font-size:13px;font-weight:600}
.og-ok .hi{font-size:17px}

/* the reporting line */
.og-chain{display:grid;justify-items:start;margin-top:12px}
.og-nd{display:flex;align-items:center;gap:9px;width:100%;padding:7px 10px 7px 7px;border-radius:14px;background:#F6F8F5}
.og-nd .v-av{width:32px;height:32px}
.og-nd span{display:grid;min-width:0}
.og-nd b{font-size:13.5px;white-space:nowrap}
.og-nd small{font-size:11.5px;color:#5B6660;white-space:nowrap}
.og-nd.on{background:#fff;box-shadow:0 0 0 1.5px #00A550}
.og-ln{display:block;width:1.5px;height:14px;margin-left:22px;background:#BFD8C9}

/* the modules that read from the record */
.og-reads small{display:block;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#7A857F}
.og-src{margin-top:8px;padding-top:0;border-top:0;flex-wrap:nowrap}
.ms-hero-obj .vc.og-pill{position:absolute;left:24px;top:350px;width:max-content}
.ms-hero-obj.ms-lay-h3 .vc[data-ms-card="organisation_reports"]{top:262px}
/* the headline has one long word ("medarbejderpost."): a size down so it stays inside its column */
.hero.ms-hero--split .ms-hero-copy h1{font-size:clamp(40px,4.5vw,66px);max-width:none}

/* the tree */
.og-tree{display:grid;justify-items:center;margin-top:16px}
.og-top{position:relative;padding-bottom:18px}
.og-top::after,.og-mid::after{content:"";position:absolute;left:50%;bottom:-18px;width:1.5px;height:18px;background:#BFD8C9}
.og-top::after{bottom:0}
.og-boss{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 8px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px #E6EBE6}
.og-boss .v-av{width:36px;height:36px}
.og-boss span{display:grid;margin-right:6px}
.og-boss b{font-size:14px}
.og-boss small{font-size:11.5px;color:#5B6660}
.og-lvl{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;padding-top:18px}
.og-lvl::before{content:"";position:absolute;top:0;left:calc((100% - 24px)/6);right:calc((100% - 24px)/6);height:1.5px;background:#BFD8C9}
.og-l3{margin-top:18px}
.og-p{position:relative;display:grid;justify-items:center;align-content:start;gap:2px;padding:12px 8px 10px;border-radius:16px;background:#F6F8F5;text-align:center;min-width:0}
.og-p::before{content:"";position:absolute;left:50%;top:-18px;width:1.5px;height:18px;background:#BFD8C9}
.og-p .v-av{width:40px;height:40px;margin-bottom:5px}
.og-p b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.og-p small{font-size:11.5px;color:#5B6660;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.og-tag{margin-top:6px;padding:2px 8px;border-radius:99px;background:#fff;box-shadow:inset 0 0 0 1px #E2E4DE;font:600 10.5px/1.4 var(--sans);font-style:normal;color:#4F596B}
.og-p.on{background:#fff;box-shadow:0 0 0 1.5px #00A550,0 12px 24px -16px rgba(8,50,30,.45)}
.og-p.on .og-tag{background:#E3F2E9;box-shadow:none;color:#00693E}
.og-unit{background:#fff;box-shadow:inset 0 0 0 1px #E6EBE6}
.og-unit.b .og-ui{background:var(--ks-blue-bg);color:var(--ks-blue-ink)}.og-unit.v .og-ui{background:var(--ks-violet-bg);color:var(--ks-violet-ink)}
.og-ui{width:40px;height:40px;margin-bottom:5px;border-radius:12px;display:grid;place-items:center;background:#E3F2E9;color:#00693E;font-size:19px}
.og-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #F0EEE9}
.og-foot .v-b{flex:none;padding:0 16px}

/* tasks and the line pill */
.og-vh .v-av{width:30px;height:30px}
.og-pl{display:flex;align-items:center;gap:10px}
.og-pl .v-av{width:36px;height:36px}
.og-pl span{flex:1;display:grid;min-width:0}
.og-pl small{font-size:11.5px;color:#5B6660}
.og-pl b{font-size:14px;white-space:nowrap}
.og-pi{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#E3F2E9;color:#00693E;font-size:16px;flex:none}

/* the ranking */
.og-sub{margin:6px 0 0;font-size:12.5px;color:#5B6660}
.og-rank{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}
.og-rank li{display:grid;grid-template-columns:32px minmax(0,1fr) 46px 150px;align-items:center;gap:12px;padding:9px 10px;border-radius:14px;background:#F6F8F5}
.og-rank li:first-child{background:#fff;box-shadow:0 0 0 1.5px #5CC08A}
.og-rank .v-av{width:32px;height:32px}
.og-rn{display:grid;min-width:0}
.og-rn b{font-size:13.5px;white-space:nowrap}
.og-rn .v-bar{margin-top:6px;height:6px}
.og-pc{font:600 15px/1 var(--sans);text-align:right;font-variant-numeric:tabular-nums}
.og-rank .v-chip{justify-self:start;white-space:nowrap}
.og-rank .v-chip.a{padding:4px 10px}
.og-rank li.og-more{display:block;padding:8px 10px;background:none;font-size:12.5px;color:#7A857F}
.og-karma{display:flex;align-items:baseline;gap:8px;margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#F1F8F4;font-size:13px;line-height:1.4;color:#1F4D36}
.og-karma b{flex:none;font-weight:600;color:#00693E}
.og-kd{flex:none;align-self:center;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,#fff 0 2px,#00693E 3px);box-shadow:0 0 0 3px #DCEFE3}

/* the skill library */
.og-kpi{margin-top:12px}
.og-kpi b{font-variant-numeric:tabular-nums}
.og-sk{list-style:none;margin:10px 0 0;padding:0}
.og-sk li{display:grid;grid-template-columns:minmax(0,1fr) auto 64px;align-items:center;gap:10px;padding:9px 2px;border-top:1px solid #F0EEE9;font-size:13px}
.og-sk li:first-child{border-top:0}
.og-sk li>span:first-child{display:grid;min-width:0}
.og-sk li>span:first-child b{font-weight:600;white-space:nowrap}
.og-sk small{font-size:11.5px;color:#7A857F;white-space:nowrap}
.og-sk .og-cnt{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.og-sk .v-chip{justify-self:end}

/* the short simulation */
.og-out{display:flex;align-items:center;gap:10px;margin-top:12px;padding:8px 10px;border-radius:14px;background:#F6F8F5}
.og-avs{display:flex}
.og-avs .v-av{width:30px;height:30px;filter:grayscale(.7);opacity:.85}
.og-avs .v-av+.v-av{margin-left:-9px}
.og-out b{font-size:13.5px}
.og-lost{list-style:none;margin:10px 0 0;padding:0}
.og-lost li{display:flex;align-items:center;justify-content:space-between;padding:8px 2px;border-top:1px solid #F0EEE9;font-size:13px;font-weight:550}
.og-lost li:first-child{border-top:0}
.og-save{display:flex;align-items:center;gap:8px;margin-top:12px}
.og-save .v-b.og-off{flex:none;padding:0 16px;color:#A0A8A3;background:#F4F5F3;border-color:#ECEDEA}
.og-save .v-b.og-off .hi{font-size:15px}

/* the point row (deep panel) */
.og-pts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.og-pn{position:relative;display:grid;justify-items:center;gap:2px;padding:10px 4px 9px;border-radius:14px;background:#F6F8F5;text-align:center;min-width:0}
.og-pn .v-av{width:36px;height:36px;margin-bottom:4px}
.og-pn b{font-size:13px}
.og-pn small{font-size:11px;color:#5B6660;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.og-pn.on{background:#fff;box-shadow:0 0 0 1.5px #00A550}
.og-cur{position:absolute;right:-6px;top:-8px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#00693E;color:#fff;font-size:15px;box-shadow:0 0 0 2px #fff}
.og-tip.v-save{display:grid;gap:8px;margin-top:12px;padding:12px;border-radius:14px;background:#F6F8F5;position:relative}
.og-tip::before{content:"";position:absolute;top:-6px;left:calc(37.5% - 6px);width:12px;height:12px;background:#F6F8F5;transform:rotate(45deg);border-radius:2px}
.og-tip p{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.35}
.og-tip p .hi{flex:none;font-size:17px}
.og-tip span{margin:0;font-size:13px;color:#1A2233}
.og-risk{padding:8px 10px;border-radius:10px;background:#FDF1F2;color:#B42330}
.og-risk strong{font-weight:600}
.og-gone{padding:0 10px;color:#1A2233}
.og-gone .hi{color:#9A5B00}
.og-gone strong{font-weight:600;color:#9A5B00}

@media (max-width:720px){
  .og-dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .og-id{grid-template-columns:auto minmax(0,1fr)}.og-id p{grid-column:1/-1}
  .og-src{flex-wrap:wrap}
  .og-rank li{grid-template-columns:32px minmax(0,1fr) 40px;row-gap:6px}
  .og-rank .v-chip{grid-column:2/-1}
  .og-lvl{gap:6px}.og-lvl::before{left:calc((100% - 12px)/6);right:calc((100% - 12px)/6)}
  .og-p{padding:10px 2px 8px}.og-p b{font-size:12.5px}.og-p .v-av,.og-ui{width:32px;height:32px}
  .og-boss{flex-wrap:wrap;justify-content:center;text-align:center}
  .og-foot{flex-wrap:wrap}.og-foot .v-b{flex:1}
  .og-pts{gap:6px}
}

/* the centred hero (phones) must not centre the text inside the cards */
.vc[data-ms-card^="organisation_"] .in{text-align:left}
/* the simulation's number: the saving, before the skills it costs */
.og-num{display:flex;align-items:baseline;gap:8px;margin-top:12px}
.og-num b{font:600 28px/1.1 var(--sans);letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#1A2233;white-space:nowrap}
.og-num span{font-size:13px;color:#6B7470}
/* #job-profiles (Mark 23-10): match, radar, posted — built on the front page's row and chip styles (kort-forside.css) */
.og-req{margin:0 0 6px;font-size:11.5px;color:#6B7470}
.og-mt li{grid-template-columns:26px minmax(0,1fr) 54px 40px 74px}.og-mt li>.ks-chip{justify-self:end;font-size:10.5px}.og-mt em{min-width:0}
.og-gaps{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}
.og-pj{list-style:none;margin:0;padding:0}.og-pj li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) auto;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--ks-line);font-size:12px}
.og-pj li:first-child{border-top:0}.og-job{display:grid;min-width:0}.og-pj small{font-size:10.5px;color:#7A857F}.og-pj .fs-hn>span{display:grid;min-width:0}.og-pj .fs-hn .v-av,.og-pj .fs-open{width:26px;height:26px;flex:none}
[data-ms-card="organisation_match"],[data-ms-card="organisation_posted"]{width:min(430px,100%)!important}[data-ms-card="organisation_radar"]{width:min(380px,100%)!important}
