.ob {
  height: 100%;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--bg);
}
.obc {
  width: min(460px, 100%);
}
.dots {
  display: flex;
  gap: 5px;
  margin-bottom: 26px;
}
.dots i {
  height: 3px;
  flex: 1;
  border-radius: 3px;
  background: var(--ln);
}
.dots i.on {
  background: var(--ac);
}
h1.ob1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.fe {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 22px 0;
}
.fe .gl {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.fe .gl svg {
  width: 21px;
  height: 21px;
}
.fe b {
  display: block;
  font-weight: 650;
  font-size: 15px;
}
.fe span {
  color: var(--mu);
  font-size: 13.5px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--sf);
  margin-top: 8px;
  box-shadow: 0 0 0 0.5px var(--ln);
}
.opt.sel {
  box-shadow: 0 0 0 2px var(--ac);
}
.opt b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.opt span {
  font-size: 12.5px;
  color: var(--mu);
}
.mk {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--sf);
  margin: 0 6px 8px 0;
  box-shadow: 0 0 0 0.5px var(--ln);
}
.chip.sel {
  box-shadow: 0 0 0 2px var(--ac);
  color: var(--ac);
  font-weight: 600;
}
.pl {
  max-height: 250px;
  overflow: auto;
  margin-top: 8px;
  border-radius: 12px;
  background: var(--sf);
  box-shadow: 0 0 0 0.5px var(--ln);
}
.pl button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--ln);
}
.pl button:last-child {
  border: 0;
}
.pl .sel {
  background: var(--ac);
  color: #fff;
}
.lk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ac);
  text-decoration: none;
}
.lk svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a.lk:hover {
  text-decoration: underline;
}
.lk.add {
  color: var(--mu);
  font-weight: 550;
}

/* ===== Oppsett v3: levende bakgrunn og animasjoner ===== */
#obbg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
body.onb #app {
  background: transparent;
}
.ob {
  position: relative;
  z-index: 1;
  background: transparent;
}
.obc {
  position: relative;
  padding: 32px 30px 28px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 30px 80px rgba(0, 0, 0, 0.16);
  animation: obCard 0.7s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes obCard {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}
/* Boksene kommer inn smooth, én etter én */
.obc > * {
  animation: obIn 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
.obc > :nth-child(1) {
  animation-delay: 0.1s;
}
.obc > :nth-child(2) {
  animation-delay: 0.17s;
}
.obc > :nth-child(3) {
  animation-delay: 0.24s;
}
.obc > :nth-child(4) {
  animation-delay: 0.31s;
}
.obc > :nth-child(5) {
  animation-delay: 0.38s;
}
.obc > :nth-child(6) {
  animation-delay: 0.45s;
}
.obc > :nth-child(7) {
  animation-delay: 0.52s;
}
.obc > :nth-child(8) {
  animation-delay: 0.59s;
}
.obc > :nth-child(9) {
  animation-delay: 0.66s;
}
@keyframes obIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
}
.logo {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  background: linear-gradient(
    135deg,
    var(--ac),
    color-mix(in srgb, var(--ac) 50%, #ff2d95)
  );
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ac) 45%, transparent);
  animation:
    obIn 0.6s both,
    bob 3.2s ease-in-out 0.8s infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-6px) rotate(-4deg);
  }
}
.tagl {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 650;
  background: linear-gradient(90deg, var(--ac), #ff2d95);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fe {
  transition: transform 0.2s;
}
.fe:hover {
  transform: translateX(4px);
}
.fe:hover .gl {
  transform: rotate(-8deg) scale(1.1);
}
.fe .gl {
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.demob {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 12px 0 0;
  padding: 11px 16px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 14px;
  color: var(--tx);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ln);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.demob:hover {
  background: var(--sf);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, transparent);
  transform: translateY(-1px);
}
.demob i {
  font-style: normal;
  display: inline-block;
}
.demob:hover i {
  animation: spin 0.6s;
}
.demob svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ac);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.demob:hover svg {
  transform: translateX(4px);
}
@keyframes spin {
  to {
    transform: rotate(360deg) scale(1.3);
  }
}
.lgsw {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  padding: 2px;
  border-radius: 9px;
  background: var(--sf2);
  z-index: 2;
}
.lgsw button {
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
}
.lgsw .on {
  background: var(--sf);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.nbar {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.hi {
  min-height: 24px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 560;
}
.hi span {
  color: var(--mu);
  font-weight: 500;
}

/* Valg av nivå */
.lvc {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.lvc button {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--sf);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 6px 18px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1),
    box-shadow 0.2s;
}
.lvc button:hover {
  transform: translateY(-3px) rotate(-0.6deg) scale(1.015);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 14px 30px rgba(0, 0, 0, 0.12);
}
.lvc button.sel {
  box-shadow:
    0 0 0 2.5px var(--ac),
    0 14px 30px color-mix(in srgb, var(--ac) 25%, transparent);
}
.lvc i {
  grid-row: 1 / 3;
  font-style: normal;
  font-size: 34px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--sf2);
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.lvc button:hover i {
  transform: rotate(-10deg) scale(1.12);
}
.lvc b {
  font-size: 17px;
  font-weight: 680;
}
.lvc span {
  color: var(--mu);
  font-size: 13.5px;
}

/* Lister */
.pl button {
  transition:
    background 0.12s,
    padding-left 0.15s;
}
.pl button:not(.sel):hover {
  background: var(--sf2);
  padding-left: 19px;
}
.pl button b {
  display: block;
  font-weight: 600;
}
.pl button span {
  display: block;
  font-size: 12px;
  color: var(--mu);
}
.pl .sel span {
  color: rgba(255, 255, 255, 0.8);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
}
.chips .chip {
  padding: 4px 11px;
  font-size: 12.5px;
  margin-bottom: 6px;
}

/* Årstrinn og andre knapper: liten hover-animasjon */
.chip {
  transition:
    transform 0.22s cubic-bezier(0.3, 1.6, 0.5, 1),
    box-shadow 0.2s,
    background 0.2s;
}
.chip:hover {
  transform: translateY(-3px) rotate(-2deg) scale(1.07);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 8px 16px rgba(0, 0, 0, 0.12);
}
.chip:active {
  transform: scale(0.95);
}
.chip.sel {
  background: color-mix(in srgb, var(--ac) 10%, var(--sf));
}
.opt {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.opt:hover {
  transform: translateX(4px);
}
.emg button {
  transition:
    transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1),
    box-shadow 0.15s;
}
.emg button:hover {
  transform: scale(1.14) rotate(-4deg);
}

/* ===== Oppsett v4: bredere steg uten rulling, menylinje-valg ===== */
.obc.quiet,
.obc.quiet > * {
  animation: none !important;
}
.obc.wide {
  width: min(900px, 100%);
  transition: width 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.ob.withdock {
  padding-bottom: 112px;
}
.obw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  margin-top: 18px;
}
.obl,
.obr {
  min-width: 0;
}
.obr {
  padding-left: 22px;
  border-left: 0.5px solid var(--ln);
}
.obk {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mu);
  margin: 0 0 8px;
}
.obr > * + .obk {
  margin-top: 18px;
}
.obc.wide .pl {
  max-height: clamp(150px, calc(100vh - 410px), 330px);
  margin-top: 10px;
}
.obc.wide .nbar {
  margin-top: 20px;
}
.obsel {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--sf);
  box-shadow: 0 0 0 0.5px var(--ln);
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.obsel b {
  font-weight: 650;
  color: var(--ac);
  overflow-wrap: anywhere;
}
.obr .chip.yr {
  padding: 7px 16px;
}
@media (max-width: 760px) {
  .obw {
    grid-template-columns: 1fr;
  }
  .obr {
    padding-left: 0;
    border-left: 0;
  }
}

/* Menylinje-valget */
.dkopts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.dkopt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: var(--sf);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 6px 18px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1),
    box-shadow 0.2s;
}
.dkopt:hover {
  transform: translateY(-3px) rotate(-0.5deg) scale(1.015);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 14px 30px rgba(0, 0, 0, 0.12);
}
.dkopt.sel {
  box-shadow:
    0 0 0 2.5px var(--ac),
    0 14px 30px color-mix(in srgb, var(--ac) 25%, transparent);
}
.dkopt i {
  font-style: normal;
  font-size: 26px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sf2);
  margin-bottom: 10px;
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.dkopt:hover i {
  transform: rotate(-10deg) scale(1.12);
}
.dkopt b {
  font-size: 15.5px;
  font-weight: 680;
}
.dkopt span {
  color: var(--mu);
  font-size: 13px;
  line-height: 1.35;
}
.dkhint {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ac) 10%, transparent);
  color: var(--tx);
  font-size: 13.5px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .dkopts {
    grid-template-columns: 1fr;
  }
}

/* Økonomi-steget */
.ecg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.ecf span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mu);
  margin-bottom: 5px;
}
.ecf > div {
  position: relative;
}
.ecf .in {
  margin: 0;
  padding-right: 38px;
  font-variant-numeric: tabular-nums;
}
.ecf em {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: var(--mu);
  font-size: 13px;
  pointer-events: none;
}
.ecs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ecs b {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #34c759;
}
.ecs b.neg {
  color: #ff3b30;
}
.ecs span {
  font-size: 13px;
  color: var(--mu);
}
.ecm {
  margin: 12px 0 0;
  text-align: left;
  white-space: normal;
}
.fe .gl.kr {
  font-weight: 800;
}

/* ---------- Ingen scrolling i oppsettet: alt skal ligge på én side, også på lave vinduer ---------- */
.ob {
  overflow: hidden;
}
@media (max-height: 720px) {
  .ob {
    padding: 14px;
  }
  .obc {
    padding: 22px 26px 20px;
  }
  .dots {
    margin-bottom: 16px;
  }
  .logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .logo svg {
    width: 30px;
    height: 30px;
  }
  .obc h1.ob1 {
    font-size: 28px !important;
  }
  .fe {
    margin: 13px 0;
  }
  .fe .gl {
    width: 36px;
    height: 36px;
  }
  .btn.bl {
    margin-top: 18px !important;
  }
  .demob {
    margin-top: 8px;
  }
}
@media (max-height: 600px) {
  .ob {
    padding: 8px;
  }
  .obc {
    padding: 16px 24px 14px;
  }
  .dots {
    margin-bottom: 10px;
  }
  .logo {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
  }
  .logo svg {
    width: 24px;
    height: 24px;
  }
  .obc h1.ob1 {
    font-size: 24px !important;
  }
  .tagl {
    margin-top: 2px;
  }
  .fe {
    margin: 8px 0;
    gap: 12px;
  }
  .fe .gl {
    width: 32px;
    height: 32px;
  }
  .fe b {
    font-size: 14px;
  }
  .fe span {
    font-size: 12.5px;
  }
  .btn.bl {
    margin-top: 12px !important;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .demob {
    margin-top: 6px;
    padding: 5px 14px;
  }
}
@media (max-height: 720px) {
  .lvc {
    gap: 9px;
    margin-top: 12px;
  }
  .lvc button {
    padding: 11px 16px;
  }
  .lvc i {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }
  .lvc button {
    grid-template-columns: 44px 1fr;
  }
}
@media (max-height: 560px) {
  .lvc {
    gap: 6px;
    margin-top: 8px;
  }
  .lvc button {
    padding: 7px 14px;
  }
  .lvc i {
    width: 34px;
    height: 34px;
    font-size: 20px;
    border-radius: 11px;
  }
  .lvc button {
    grid-template-columns: 34px 1fr;
  }
  .lvc b {
    font-size: 15px;
  }
  .lvc span {
    font-size: 12px;
  }
}

/* ---------- Velkomst: luftigere. På lave vinduer blir kortet bredere med 2 x 2 rader ---------- */
.wel .fe {
  margin: 20px 0;
}
.wel .fe .gl {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.wel .fe b {
  font-size: 16px;
}
.wel .fe span {
  font-size: 14px;
}
@media (max-height: 760px) {
  .obc.wel {
    width: min(740px, 100%);
    padding: 28px 40px 24px;
  }
  .wel .logo {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }
  .wel .logo svg {
    width: 32px;
    height: 32px;
  }
  .obc.wel h1.ob1 {
    font-size: 34px !important;
  }
  .wel .fes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 36px;
    margin: 22px 0 6px;
  }
  .wel .fe {
    margin: 0;
    gap: 15px;
  }
  .wel .fe .gl {
    width: 46px;
    height: 46px;
  }
  .wel .btn.bl {
    margin-top: 24px !important;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .wel .demob {
    margin-top: 12px;
  }
}
@media (max-height: 520px) {
  .obc.wel {
    padding: 18px 36px 14px;
  }
  .wel .logo {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
  }
  .obc.wel h1.ob1 {
    font-size: 28px !important;
  }
  .wel .fes {
    gap: 14px 30px;
    margin-top: 14px;
  }
  .wel .fe .gl {
    width: 40px;
    height: 40px;
  }
  .wel .btn.bl {
    margin-top: 14px !important;
  }
  .wel .demob {
    margin-top: 8px;
  }
}

/* Vær-dialogen */
.wxsm {
  width: min(500px, 94vw);
}
.wxsm .dkopts {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  gap: 10px;
}
.wxse {
  color: #ff3b30;
  font-size: 13px;
  min-height: 18px;
  margin-top: 8px;
}

/* Rød pil mot menylinjen i oppsettet */
.dknote {
  margin: 8px 2px 0;
  font-size: 12.5px;
  color: var(--mu);
}
.dkarrow {
  position: fixed;
  left: calc(50% - 338px);
  bottom: 24px;
  width: 170px;
  height: 134px;
  color: #ff3b30;
  pointer-events: none;
  z-index: 3;
  animation: dkbob 1.4s ease-in-out infinite;
}
.dkarrow svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(255, 59, 48, 0.35));
}
.dkarrow .dkp {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: dkdraw 2.8s ease-in-out infinite;
}
.dkarrow .dkh {
  opacity: 0;
  animation: dkhead 2.8s ease-in-out infinite;
}
.dkarrow span {
  position: absolute;
  left: -6px;
  top: -22px;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  transform: rotate(-4deg);
}
@keyframes dkdraw {
  0% {
    stroke-dashoffset: 190;
  }
  45%,
  85% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -190;
  }
}
@keyframes dkhead {
  0%,
  35% {
    opacity: 0;
  }
  50%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes dkbob {
  50% {
    transform: translate(8px, 5px);
  }
}
.ob.withdock {
  padding-bottom: 112px;
}
.obw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  margin-top: 18px;
}
.obl,
.obr {
  min-width: 0;
}
.obr {
  padding-left: 22px;
  border-left: 0.5px solid var(--ln);
}
.obk {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mu);
  margin: 0 0 8px;
}
.obr > * + .obk {
  margin-top: 18px;
}
.obc.wide .pl {
  max-height: clamp(150px, calc(100vh - 410px), 330px);
  margin-top: 10px;
}
.obc.wide .nbar {
  margin-top: 20px;
}
.obsel {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--sf);
  box-shadow: 0 0 0 0.5px var(--ln);
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.obsel b {
  font-weight: 650;
  color: var(--ac);
  overflow-wrap: anywhere;
}
.obr .chip.yr {
  padding: 7px 16px;
}
@media (max-width: 760px) {
  .obw {
    grid-template-columns: 1fr;
  }
  .obr {
    padding-left: 0;
    border-left: 0;
  }
}

/* Menylinje-valget */
.dkopts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.dkopt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: var(--sf);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 6px 18px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1),
    box-shadow 0.2s;
}
.dkopt:hover {
  transform: translateY(-3px) rotate(-0.5deg) scale(1.015);
  box-shadow:
    0 0 0 0.5px var(--ln),
    0 14px 30px rgba(0, 0, 0, 0.12);
}
.dkopt.sel {
  box-shadow:
    0 0 0 2.5px var(--ac),
    0 14px 30px color-mix(in srgb, var(--ac) 25%, transparent);
}
.dkopt i {
  font-style: normal;
  font-size: 26px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sf2);
  margin-bottom: 10px;
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.dkopt:hover i {
  transform: rotate(-10deg) scale(1.12);
}
.dkopt b {
  font-size: 15.5px;
  font-weight: 680;
}
.dkopt span {
  color: var(--mu);
  font-size: 13px;
  line-height: 1.35;
}
.dkhint {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ac) 10%, transparent);
  color: var(--tx);
  font-size: 13.5px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .dkopts {
    grid-template-columns: 1fr;
  }
}

/* Økonomi-steget */
.ecg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.ecf span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mu);
  margin-bottom: 5px;
}
.ecf > div {
  position: relative;
}
.ecf .in {
  margin: 0;
  padding-right: 38px;
  font-variant-numeric: tabular-nums;
}
.ecf em {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: var(--mu);
  font-size: 13px;
  pointer-events: none;
}
.ecs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ecs b {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #34c759;
}
.ecs b.neg {
  color: #ff3b30;
}
.ecs span {
  font-size: 13px;
  color: var(--mu);
}
.ecm {
  margin: 12px 0 0;
  text-align: left;
  white-space: normal;
}
.fe .gl.kr {
  font-weight: 800;
}

/* ---------- Ingen scrolling i oppsettet: alt skal ligge på én side, også på lave vinduer ---------- */
.ob {
  overflow: hidden;
}
@media (max-height: 720px) {
  .ob {
    padding: 14px;
  }
  .obc {
    padding: 22px 26px 20px;
  }
  .dots {
    margin-bottom: 16px;
  }
  .logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .logo svg {
    width: 30px;
    height: 30px;
  }
  .obc h1.ob1 {
    font-size: 28px !important;
  }
  .fe {
    margin: 13px 0;
  }
  .fe .gl {
    width: 36px;
    height: 36px;
  }
  .btn.bl {
    margin-top: 18px !important;
  }
  .demob {
    margin-top: 8px;
  }
}
@media (max-height: 600px) {
  .ob {
    padding: 8px;
  }
  .obc {
    padding: 16px 24px 14px;
  }
  .dots {
    margin-bottom: 10px;
  }
  .logo {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
  }
  .logo svg {
    width: 24px;
    height: 24px;
  }
  .obc h1.ob1 {
    font-size: 24px !important;
  }
  .tagl {
    margin-top: 2px;
  }
  .fe {
    margin: 8px 0;
    gap: 12px;
  }
  .fe .gl {
    width: 32px;
    height: 32px;
  }
  .fe b {
    font-size: 14px;
  }
  .fe span {
    font-size: 12.5px;
  }
  .btn.bl {
    margin-top: 12px !important;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .demob {
    margin-top: 6px;
    padding: 5px 14px;
  }
}
@media (max-height: 720px) {
  .lvc {
    gap: 9px;
    margin-top: 12px;
  }
  .lvc button {
    padding: 11px 16px;
  }
  .lvc i {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }
  .lvc button {
    grid-template-columns: 44px 1fr;
  }
}
@media (max-height: 560px) {
  .lvc {
    gap: 6px;
    margin-top: 8px;
  }
  .lvc button {
    padding: 7px 14px;
  }
  .lvc i {
    width: 34px;
    height: 34px;
    font-size: 20px;
    border-radius: 11px;
  }
  .lvc button {
    grid-template-columns: 34px 1fr;
  }
  .lvc b {
    font-size: 15px;
  }
  .lvc span {
    font-size: 12px;
  }
}

/* ---------- Velkomst: luftigere. På lave vinduer blir kortet bredere med 2 x 2 rader ---------- */
.wel .fe {
  margin: 20px 0;
}
.wel .fe .gl {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.wel .fe b {
  font-size: 16px;
}
.wel .fe span {
  font-size: 14px;
}
@media (max-height: 760px) {
  .obc.wel {
    width: min(740px, 100%);
    padding: 28px 40px 24px;
  }
  .wel .logo {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }
  .wel .logo svg {
    width: 32px;
    height: 32px;
  }
  .obc.wel h1.ob1 {
    font-size: 34px !important;
  }
  .wel .fes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 36px;
    margin: 22px 0 6px;
  }
  .wel .fe {
    margin: 0;
    gap: 15px;
  }
  .wel .fe .gl {
    width: 46px;
    height: 46px;
  }
  .wel .btn.bl {
    margin-top: 24px !important;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .wel .demob {
    margin-top: 12px;
  }
}
@media (max-height: 520px) {
  .obc.wel {
    padding: 18px 36px 14px;
  }
  .wel .logo {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
  }
  .obc.wel h1.ob1 {
    font-size: 28px !important;
  }
  .wel .fes {
    gap: 14px 30px;
    margin-top: 14px;
  }
  .wel .fe .gl {
    width: 40px;
    height: 40px;
  }
  .wel .btn.bl {
    margin-top: 14px !important;
  }
  .wel .demob {
    margin-top: 8px;
  }
}

/* Vær-dialogen */
.wxsm {
  width: min(500px, 94vw);
}
.wxsm .dkopts {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  gap: 10px;
}
.wxse {
  color: #ff3b30;
  font-size: 13px;
  min-height: 18px;
  margin-top: 8px;
}
.ob.withdock {
  padding-bottom: 170px;
}
@media (max-height: 700px) {
  .ob.withdock {
    padding-bottom: 128px;
  }
  .dkarrow {
    bottom: 22px;
    transform-origin: right bottom;
    scale: 0.8;
  }
}

/* Landvalg i oppsettet */
.cty {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.cty button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--sf2);
  border: 2px solid transparent;
  text-align: left;
  transition:
    transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1),
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.cty button i {
  display: block;
  width: 44px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.14);
}
.cty button i svg {
  display: block;
  width: 100%;
  height: 100%;
}
.cty button b {
  font-size: 16px;
  font-weight: 700;
}
.cty button:hover {
  transform: translateY(-2px);
}
.cty button.sel {
  border-color: var(--ac);
  background: color-mix(in srgb, var(--ac) 10%, var(--sf));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--ac) 22%, transparent);
}
@media (max-width: 520px) {
  .cty {
    grid-template-columns: 1fr;
  }
}
