/* KVELL_PORTAL_V2_STYLE */
:root{
  --bg:#f7f9f8;
  --surface:#fff;
  --text:#17221c;
  --muted:#6f7b74;
  --line:#e1e7e3;
  --soft:#f0f4f2;
  --accent:#2f5b46;
  --accent-dark:#244a38;
  --danger:#8a453b;
  --danger-bg:#fff5f2;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
body{min-height:100vh;display:flex;flex-direction:column}
button,a{font:inherit}
.topbar{width:min(900px,calc(100% - 28px));margin:0 auto;padding:22px 0 8px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.brand{display:flex;align-items:center;gap:10px;font-weight:760;letter-spacing:-.015em}
.mark{width:34px;height:34px;border-radius:11px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:850}
.langs{display:flex;gap:3px;background:rgba(255,255,255,.55);border:1px solid var(--line);border-radius:12px;padding:3px}
.langs button{border:0;background:transparent;color:var(--muted);padding:6px 8px;border-radius:8px;font-size:12px;font-weight:750;cursor:pointer}
.langs button.active{background:#fff;color:var(--accent);box-shadow:0 1px 4px rgba(0,0,0,.06)}
main{width:min(640px,calc(100% - 28px));margin:46px auto 0;flex:1}
.hero{text-align:center;margin-bottom:26px}
.hero h1{margin:0;font-size:clamp(30px,6vw,42px);line-height:1.06;letter-spacing:-.035em}
.hero p{margin:12px auto 0;max-width:560px;color:var(--muted);font-size:14.5px;line-height:1.6}
.progress{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:14px}
.progress-step{font-size:11.5px;color:#929b96;text-align:center}
.progress-step:before{content:"";height:5px;background:#e4e9e6;border-radius:99px;display:block;margin-bottom:7px}
.progress-step span{display:none}
.progress-step b{font-weight:650}
.progress-step.active{color:var(--accent)}
.progress-step.done{color:#577062}
.progress-step.active:before,.progress-step.done:before{background:var(--accent)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 18px 50px rgba(29,53,41,.07)}
.card h2{margin:0 0 7px;font-size:22px;letter-spacing:-.025em}
.body-copy{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.app-list{display:grid;gap:10px;margin-top:18px}
.app-card{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:15px;background:#fff;padding:12px;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.app-card:hover{border-color:#bdcbc3;transform:translateY(-1px)}
.app-card.selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(47,91,70,.08)}
.app-icon{width:46px;height:46px;border-radius:12px;background:var(--soft);display:grid;place-items:center;object-fit:cover;font-weight:850;color:var(--accent)}
.app-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.app-copy strong{font-size:14.5px}
.app-copy small{font-size:12.5px;color:var(--muted);line-height:1.35;white-space:normal}
.app-check{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-weight:850}
.app-card.selected .app-check{background:var(--accent);color:#fff}
.primary,.secondary{width:100%;display:block;border-radius:13px;padding:14px 16px;font-weight:780;cursor:pointer;margin-top:16px;text-align:center;text-decoration:none}
.primary{border:0;background:var(--accent);color:#fff}
.primary:hover{background:var(--accent-dark)}
.secondary{border:1px solid var(--line);background:#fff;color:var(--text);margin-top:9px}
.primary:disabled,.secondary:disabled{opacity:.58;cursor:wait}
.selected-summary{display:inline-flex;margin-top:15px;padding:7px 10px;border-radius:999px;background:var(--soft);color:var(--accent);font-size:12.5px;font-weight:750}
.account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;background:var(--soft);border-radius:12px;margin-bottom:18px;font-size:12.5px;color:#506158}
.text-button{border:0;background:transparent;padding:4px;color:var(--accent);font-weight:750;cursor:pointer}
.note{margin-top:14px;padding:11px 12px;background:var(--soft);border-radius:12px;color:#56675e;font-size:12.5px;line-height:1.45}
.error-box{margin-bottom:15px;padding:11px 12px;border:1px solid #efd5cf;background:var(--danger-bg);border-radius:12px;color:var(--danger);font-size:12.5px;line-height:1.45}
.loading{min-height:150px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:13px}
.spinner{width:17px;height:17px;border:2px solid #d6dfda;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
footer{width:min(760px,calc(100% - 28px));margin:34px auto 18px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:12px;color:#88928d}
footer a{color:inherit;text-decoration:none}
footer a:hover{text-decoration:underline}
footer .copy{flex-basis:100%;text-align:center;margin-top:2px}
@media(max-width:620px){
  .topbar{padding-top:15px}
  main{margin-top:28px}
  .card{padding:17px;border-radius:18px}
  .hero{margin-bottom:20px}
  .hero h1{font-size:31px}
  .progress-step b{font-size:10.8px}
  .account-row{align-items:flex-start;flex-direction:column}
}


/* KVELL PORTAL v2.1 BEGINNER UX */
.progress{grid-template-columns:repeat(5,1fr);gap:6px}
.progress-step b{font-size:10.5px}
.step-label{
  display:inline-flex;
  margin-bottom:10px;
  padding:5px 9px;
  border-radius:999px;
  background:var(--soft);
  color:var(--accent);
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase
}
.selected-app-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  margin-bottom:16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fbfcfb
}
.selected-app-box small{color:var(--muted);font-size:11.5px}
.selected-app-box strong{font-size:13px;color:var(--accent)}
.instructions{
  margin-top:18px;
  padding:16px;
  border:1px solid #cbd8d1;
  border-radius:15px;
  background:#f7faf8
}
.instructions>strong,
.overview>strong,
.info-box>strong{
  display:block;
  margin-bottom:8px;
  font-size:13px
}
.instructions ol{
  margin:0;
  padding-left:22px;
  color:#425248
}
.instructions li{
  padding:4px 0 4px 4px;
  font-size:13.5px;
  line-height:1.45
}
.instructions li::marker{font-weight:800;color:var(--accent)}
.info-box{
  margin-top:13px;
  padding:12px 13px;
  border-radius:12px;
  background:var(--soft);
  color:#4c5e54
}
.info-box p{margin:0;font-size:12.5px;line-height:1.5}
.info-box.important{
  background:#fff8e9;
  border:1px solid #eadcb7;
  color:#695728
}
.info-box.next{
  background:#f2f7f4;
  border:1px solid #d8e5dd
}
.overview{
  margin-top:17px;
  padding:15px;
  border-radius:15px;
  background:#fbfcfb;
  border:1px solid var(--line)
}
.overview-list{display:grid;gap:8px}
.overview-row{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  align-items:center
}
.overview-row span{
  width:27px;height:27px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--soft);
  color:var(--accent);
  font-size:11px;
  font-weight:850
}
.overview-row p{margin:0;font-size:12.7px;color:#4d5c54;line-height:1.35}
.account-row{
  border:1px solid #dbe6df;
  background:#f5f9f6
}
.primary{font-size:14px}
@media(max-width:620px){
  .progress{gap:3px}
  .progress-step b{font-size:9px}
  .progress-step:before{height:4px}
  .instructions{padding:14px}
  .overview{padding:13px}
}
