/* Kalkuvia V71 — native shell + mobile parity */
:root{--kv71-safe-bottom:env(safe-area-inset-bottom,0px);--kv71-safe-top:env(safe-area-inset-top,0px)}
html.kv71-native-shell{overscroll-behavior-y:contain;background:#f6f8ff}
html.kv71-native-shell body{min-height:100dvh;background:#f6f8ff;-webkit-tap-highlight-color:transparent;padding-bottom:calc(82px + var(--kv71-safe-bottom))}
html.kv71-native-shell .kv63-sidebar{display:none!important}
html.kv71-native-shell .site-header.kv63-topbar{position:sticky!important;top:0!important;z-index:190!important;min-height:62px!important;padding:calc(8px + var(--kv71-safe-top)) 14px 8px!important;background:rgba(248,250,255,.94)!important;border-bottom:1px solid rgba(214,222,242,.9)!important;box-shadow:0 8px 26px rgba(17,36,84,.06)!important;backdrop-filter:blur(22px)!important}
html.kv71-native-shell .kv63-breadcrumb{display:none!important}
html.kv71-native-shell .kv63-mobile-brand{display:flex!important;align-items:center!important;gap:10px!important;color:#08163c!important;text-decoration:none!important;font-size:1.14rem!important;font-weight:900!important;letter-spacing:-.02em!important}
html.kv71-native-shell .kv63-mobile-brand img{width:39px!important;height:39px!important;object-fit:contain!important;filter:drop-shadow(0 7px 12px rgba(45,54,124,.16))!important}
html.kv71-native-shell .kv63-top-actions{margin-left:auto!important;gap:8px!important}
html.kv71-native-shell .theme-btn{width:40px!important;height:40px!important;border-radius:13px!important;background:#fff!important;border:1px solid #dbe2f2!important;color:#122453!important;box-shadow:0 6px 18px rgba(25,44,96,.07)!important}
html.kv71-native-shell .kv63-download-btn{display:none!important}
html.kv71-native-shell main{max-width:none!important;margin:0!important;padding-left:12px!important;padding-right:12px!important}
html.kv71-native-shell .kv63-home #main-content{padding-left:12px!important;padding-right:12px!important}
html.kv71-native-shell .kv63-mobile-nav{left:10px!important;right:10px!important;bottom:calc(8px + var(--kv71-safe-bottom))!important;min-height:64px!important;border-radius:22px!important;border:1px solid rgba(215,222,241,.95)!important;background:rgba(255,255,255,.97)!important;box-shadow:0 18px 46px rgba(12,28,71,.20)!important;backdrop-filter:blur(24px)!important;overflow:hidden!important}
html.kv71-native-shell .kv63-mobile-nav a{min-height:52px!important;border-radius:14px!important;font-size:.62rem!important;font-weight:800!important;color:#75819d!important}
html.kv71-native-shell .kv63-mobile-nav a span{font-size:1.15rem!important}
html.kv71-native-shell .kv63-mobile-nav a.active{color:#6242f2!important;background:linear-gradient(180deg,rgba(106,72,247,.10),rgba(106,72,247,.02))!important}
html.kv71-native-shell .feedback-fab{bottom:calc(84px + var(--kv71-safe-bottom))!important}
html.kv71-native-shell .kv63-feature-card,
html.kv71-native-shell .kv63-finance-preview,
html.kv71-native-shell .kv63-reminder-preview,
html.kv71-native-shell .card,
html.kv71-native-shell .panel{box-shadow:0 10px 28px rgba(21,39,91,.08)!important}
html.kv71-native-shell .kv63-feature-card:active,
html.kv71-native-shell button:active,
html.kv71-native-shell a:active{transform:scale(.985)}
html.kv71-native-shell input,
html.kv71-native-shell select,
html.kv71-native-shell textarea,
html.kv71-native-shell button{font-size:max(16px,1em)}
html[data-theme="dark"].kv71-native-shell{background:#07132f}
html[data-theme="dark"].kv71-native-shell body{background:#07132f}
html[data-theme="dark"].kv71-native-shell .site-header.kv63-topbar{background:rgba(7,19,47,.94)!important;border-color:#22345e!important}
html[data-theme="dark"].kv71-native-shell .kv63-mobile-brand{color:#f7f9ff!important}
html[data-theme="dark"].kv71-native-shell .theme-btn{background:#10234e!important;border-color:#273a65!important;color:#f6f8ff!important}
html[data-theme="dark"].kv71-native-shell .kv63-mobile-nav{background:rgba(10,25,57,.97)!important;border-color:#26385f!important}

/* Keep APK CTA visible on normal mobile web. Inside the native shell it is hidden above. */
@media(max-width:760px){
  html:not(.kv71-native-shell) .kv63-topbar .kv63-download-btn{display:inline-flex!important;min-width:42px!important;height:38px!important;padding:0 10px!important;border-radius:12px!important}
  html:not(.kv71-native-shell) .kv63-topbar .kv65-download-label{font-size:.78rem!important}
  html:not(.kv71-native-shell) .kv63-mobile-nav a[data-apk-download]{display:flex!important}
  .kv63-side-brand img,.kv63-mobile-brand img{object-fit:contain}
}
