/* Prøve: «Liquid glass». Bygger på glass.css (html har både «glass» og «liquid»).
   Mer gjennomsiktig glass med lysrefleks i kanten, blanke pilleknapper og en svevende meny.
   Fjern filen og lenken i index.html for å ta det bort. */

html.liquid body{
  background-color:#151A36;
  background-image:
    radial-gradient(800px 640px at 10% 5%, rgba(110,90,255,.75), transparent 60%),
    radial-gradient(760px 620px at 95% 0%, rgba(0,180,210,.60), transparent 60%),
    radial-gradient(820px 700px at 80% 95%, rgba(255,80,160,.50), transparent 60%),
    radial-gradient(700px 600px at 5% 95%, rgba(40,120,255,.55), transparent 60%),
    radial-gradient(500px 400px at 50% 50%, rgba(255,190,90,.18), transparent 70%);
  background-attachment:fixed;
}

/* Glassflatene: lys refleks øverst til venstre, lysende kant, myk skygge */
html.liquid .card,
html.liquid .kcard,
html.liquid .mrow,
html.liquid .mproj,
html.liquid .superstats div{
  /* Perlemor: lys lavendel → isblå → rosa, så glasset ikke blir grått over den mørke bakgrunnen */
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255,255,255,.75), rgba(255,255,255,0) 45%),
    radial-gradient(80% 60% at 100% 100%, rgba(255,214,240,.55), rgba(255,214,240,0) 60%),
    linear-gradient(135deg, rgba(244,242,255,.93) 0%, rgba(232,243,255,.90) 50%, rgba(250,240,252,.90) 100%);
  -webkit-backdrop-filter:blur(28px) saturate(190%);
  backdrop-filter:blur(28px) saturate(190%);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.95),
    inset -1px -1px 0 rgba(255,255,255,.30),
    inset 0 0 30px rgba(255,255,255,.22),
    0 20px 50px rgba(6,8,30,.38);
}
html.liquid .card,html.liquid .kpi{border-radius:26px}
html.liquid .kcard,html.liquid .mrow,html.liquid .mproj{border-radius:18px}

/* KPI-kortene: blank flate med fargetone */
html.liquid .kpi{
  -webkit-backdrop-filter:blur(28px) saturate(190%);backdrop-filter:blur(28px) saturate(190%);
  border:1px solid rgba(255,255,255,.5);
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.95),inset -1px -1px 0 rgba(255,255,255,.3),inset 0 0 30px rgba(255,255,255,.25),0 20px 50px rgba(6,8,30,.38);
}
html.liquid .kpi.k-green{background:radial-gradient(120% 70% at 0% 0%,rgba(255,255,255,.6),transparent 45%),linear-gradient(160deg,rgba(205,240,215,.85),rgba(255,255,255,.55))}
html.liquid .kpi.k-blue{background:radial-gradient(120% 70% at 0% 0%,rgba(255,255,255,.6),transparent 45%),linear-gradient(160deg,rgba(205,222,255,.85),rgba(255,255,255,.55))}
html.liquid .kpi.k-red{background:radial-gradient(120% 70% at 0% 0%,rgba(255,255,255,.6),transparent 45%),linear-gradient(160deg,rgba(255,212,205,.88),rgba(255,255,255,.55))}
html.liquid .kpi.k-gold{background:radial-gradient(120% 70% at 0% 0%,rgba(255,255,255,.6),transparent 45%),linear-gradient(160deg,rgba(255,232,185,.88),rgba(255,255,255,.55))}
html.liquid .kpi .kpi-ico{border-radius:999px;box-shadow:inset 1px 1px 0 rgba(255,255,255,.9)}

/* Felt inne i kortene: små glassbobler */
html.liquid .fld:not(.plain){background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.6);border-radius:16px;box-shadow:inset 1px 1px 0 rgba(255,255,255,.9)}
html.liquid .ogroup.opt{background:linear-gradient(135deg,rgba(255,248,232,.9),rgba(255,240,220,.75))}
html.liquid .ogroup{border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(240,246,255,.65));border-color:rgba(255,255,255,.65);box-shadow:inset 1px 1px 0 rgba(255,255,255,.85)}

/* Blanke pilleknapper */
html.liquid .btn,html.liquid .chipbtn,html.liquid .tp-b{
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.62));
  border:1px solid rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,1),inset 0 -1px 0 rgba(255,255,255,.25),0 6px 16px rgba(6,8,30,.18);
}
html.liquid .btn:hover{background:linear-gradient(180deg,#fff,rgba(255,255,255,.8))}
html.liquid .btn.primary{
  background:linear-gradient(180deg,#7A7DFF 0%,#5458E8 50%,#4044C9 100%);
  border-color:rgba(255,255,255,.35);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 6px rgba(20,20,90,.35),0 10px 24px rgba(70,70,230,.45);
}
html.liquid .btn.primary:hover{background:linear-gradient(180deg,#8689FF,#5B5FF0 50%,#3E42C0)}
html.liquid .ib{border-radius:999px;background:rgba(255,255,255,.7);box-shadow:inset 0 1px 0 #fff}
html.liquid .seg{border-radius:999px;padding:3px;gap:2px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 6px 16px rgba(6,8,30,.18)}
html.liquid .seg button{border:0;border-radius:999px;min-height:32px;color:#2B2F45}
html.liquid .seg button:disabled{color:#8A8FA8}
html.liquid .seg button.on{background:linear-gradient(180deg,#fff,rgba(235,238,255,.9));color:#23265E;font-weight:600;box-shadow:0 3px 10px rgba(6,8,30,.22),inset 0 1px 0 #fff}
html.liquid .inp,html.liquid .sel{border-radius:12px;background-color:rgba(255,255,255,.78);border-color:rgba(255,255,255,.75);box-shadow:inset 0 1px 2px rgba(20,24,60,.08)}
html.liquid .pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}

/* Menyen: svevende kapsel av mørkt, klart glass */
html.liquid .nav{
  background:
    radial-gradient(140% 50% at 0% 0%, rgba(255,255,255,.16), transparent 50%),
    linear-gradient(180deg, rgba(30,32,80,.45), rgba(16,18,46,.55));
  -webkit-backdrop-filter:blur(32px) saturate(200%);
  backdrop-filter:blur(32px) saturate(200%);
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.35),inset -1px -1px 0 rgba(255,255,255,.08),0 24px 60px rgba(3,4,18,.5);
}
@media (min-width:761px){
  html.liquid .nav{border-radius:30px;border:1px solid rgba(255,255,255,.18)}
}
html.liquid .navbtn{border-radius:999px}
html.liquid .navbtn.on{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(225,228,255,.85));
  color:#1E2150;
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(120,130,220,.25),0 8px 20px rgba(0,0,0,.35);
}
html.liquid .navslim{border-radius:999px;background:rgba(255,255,255,.06)}
html.liquid .nbadge{box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}

/* Hint-stripene */
html.liquid .main>.hint{border-radius:18px;box-shadow:inset 1px 1px 0 rgba(255,255,255,.8),0 10px 28px rgba(6,8,30,.25)}

/* Dialoger og nedtrekk */
html.liquid dialog.modal{
  border-radius:30px;
  background:radial-gradient(120% 50% at 0% 0%,rgba(255,255,255,.7),transparent 45%),rgba(255,255,255,.80);
  box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 rgba(255,255,255,.3),0 30px 80px rgba(3,4,18,.5);
}
html.liquid .cal,html.liquid .kmenu-pop,html.liquid .catbox{border-radius:18px;box-shadow:inset 1px 1px 0 #fff,0 18px 44px rgba(6,8,30,.3)}

@media print{
  html.liquid body{background:#fff}
  html.liquid .card,html.liquid .kpi{background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
}
