/* Sikkerhed: one number that three roles see differently, a log that writes it down, and a quiet wall */
.sq{--roed:#B8342A;--groen:#17704A;position:relative;color:var(--nat)}
/* In the subpage frame (BEM-3281) the number and the log are one window pulled up into the deep top, with the same
   room under it as the other product pages */
.sq.u-loeft{padding-bottom:clamp(48px,5vw,80px)}
.sq-g{position:relative;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:stretch}
/* One window from the system, as on Timer og løn: the number and the roles on white, the log in an Is pane beside it */
.sq-g::before{content:"";position:absolute;inset:0 var(--kant);border-radius:var(--nf-r);background:#fff;box-shadow:0 0 0 1px rgba(13,23,54,.06),0 30px 80px -30px rgba(8,16,44,.45),0 12px 30px -18px rgba(8,16,44,.25)}
.sq-kort{position:relative;padding:clamp(24px,2.6vw,40px)}
/* The log grows a line each time a number is shown */
.sq-kort--log{background:var(--is);border-radius:0 var(--nf-r) var(--nf-r) 0}
.sq-kort--log .sq-log{margin-top:0}
/* The roles are shown by the script; their room is kept, so nothing under them moves when they come */
.sq-valg[hidden]{display:inline-flex;visibility:hidden}
.sq-valg button{position:relative;border:0;font:inherit;cursor:pointer}
.sq-valg span{position:absolute;left:14px;right:14px;bottom:5px;height:2px;overflow:hidden;opacity:0}
.sq-valg [aria-pressed=true] span{opacity:1}
.sq-stille span{display:none}
.sq-valg i{display:block;height:100%;transform:scaleX(0);transform-origin:left center}
.sq-tal{display:flex;align-items:center;gap:clamp(14px,2vw,28px);min-height:clamp(48px,5.5vw,82px);margin-top:clamp(16px,1.8vw,24px)}
.sq .sq-nr{font-size:clamp(40px,5.4vw,80px);font-weight:600;line-height:1.02;letter-spacing:-.05em;font-variant-numeric:tabular-nums;white-space:nowrap}
.sq-vis{flex:none;height:48px;padding:0 20px;border:0;border-radius:9px;background:var(--kobolt);color:#fff;font:inherit;font-size:15.5px;font-weight:600;cursor:pointer;transition:background-color .15s,transform .15s var(--ud)}
.sq-vis[hidden]{display:none}
.sq-vis:hover{background:var(--kobolt-dyb)}
.sq-vis.sq-tryk,.sq-vis:active{transform:scale(.97);background:var(--kobolt-dyb)}
.sq-hvad{min-height:2.9em;margin-top:6px;font-size:var(--t-broed);line-height:1.45;color:var(--daempet)}
.sq-log{margin-top:clamp(18px,2vw,28px)}
.sq-log figcaption{display:flex;justify-content:space-between;gap:16px;padding-bottom:8px;font-size:13.5px;color:var(--daempet)}
.sq-log figcaption b{font-weight:600;color:var(--nat)}
.sq-linjer{list-style:none;display:grid;grid-template-rows:repeat(3,auto);overflow:hidden}
.sq-linjer li{display:flex;gap:clamp(14px,1.6vw,24px);align-items:baseline;padding-block:10px;border-top:1px solid var(--linje);font-size:14.5px;color:var(--daempet)}
.sq-linjer li:nth-child(n+4){display:none}
.sq-linjer time{flex:none;font-variant-numeric:tabular-nums;color:var(--daempet)}
.sq-linjer .sq-ny{color:var(--nat);font-weight:600}
.sq-linjer .sq-ny time{color:var(--kobolt-dyb)}
.sq-sagt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* The wall: a quiet course of bricks, and one answer for all of them */
.sq-mur{background:#fff;padding:var(--luft) 0}
.sq-mur__g{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:calc(var(--sp) * 2);align-items:center}
.sq-mur h2{font-size:var(--t-h2);line-height:1.08;letter-spacing:-.028em;max-width:13em}
.sq-mur__t p{margin-top:clamp(12px,1.2vw,18px);font-size:var(--t-ingress);line-height:1.45;color:var(--daempet);max-width:24em}
.sq-hvem{font-size:var(--t-ingress);line-height:1.4;color:var(--daempet)}
.sq-hvem b{font-weight:600;color:var(--nat)}
.sq-hvem .sq-afvist{color:var(--nat);font-weight:700}
.sq-sten{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:var(--sp);margin-top:clamp(12px,1.2vw,18px)}
.sq-sten li{display:flex;align-items:center;min-height:clamp(44px,3.6vw,52px);border-top:1px solid var(--linje);color:var(--nat);font-size:clamp(14px,1vw,15.5px);font-weight:500;line-height:1.15}

.sq-jura{margin-top:clamp(18px,1.6vw,26px);padding-top:clamp(14px,1.3vw,20px);border-top:1px solid var(--linje);font-size:16px;line-height:1.5;color:var(--daempet)}
.sq-jura a{color:var(--kobolt-dyb);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
.u-spm>.sq-jura{margin-top:0;padding-top:0;border-top:0}
@media (min-width:1000px){.u-spm>.sq-jura{grid-column:2}}


.slut__ind>.sq-slutlinje{grid-column:1/-1;display:flex;gap:clamp(14px,1.6vw,28px);align-items:baseline;margin-top:clamp(32px,4vw,60px);padding:clamp(12px,1.2vw,20px) clamp(16px,1.6vw,28px);border-radius:clamp(10px,1vw,16px);background:#fff;color:var(--nat)!important;font-size:clamp(17px,1.8vw,30px)!important;font-weight:600;max-width:none!important;line-height:1.25!important}

@media (max-width:999px){
  .sq-g{grid-template-columns:minmax(0,1fr)}
  .sq-kort--log{border-radius:0 0 var(--nf-r) var(--nf-r)}
  .sq-mur__g{grid-template-columns:minmax(0,1fr);row-gap:24px}
}
@media (max-width:640px){
  /* The number is small enough that the button stands beside it, and the row keeps its height, so nothing moves */
  .sq-tal{min-height:48px}
  /* The three roles stay on one line in the window */
  .sq-kort{padding:20px}
  .sq-kort .sq-valg button{padding:0 10px}
  .sq .sq-nr{font-size:min(9vw,44px)}
  .sq-vis{min-height:48px}
  .sq-sten{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sq-log figcaption span{text-align:right}
  .sq-linjer li{display:grid;grid-template-columns:48px minmax(0,1fr)}
  .sq-linjer li:nth-child(n+4){display:none}
}
@media (prefers-reduced-motion:reduce){.sq-vis{transition:none}}
/* A phone puts the note under the log title, at the full width, instead of beside it */
@media (max-width:640px){.sq-log figcaption{flex-direction:column;gap:2px}.sq-log figcaption span{text-align:left;font-size:14px}}

/* The tour stacks on a phone: produkt.css sets the two columns without a breakpoint */
@media (max-width:899px){.pt-tur .nf-tur .nf-tavle:not(.vt-tavle){grid-template-columns:minmax(0,1fr)}}
