/* Highkey Academy app: install band (home), card (dashboard), phone-menu item and the picture guide. 1.27.0 */
.hkp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 20px;border:1.5px solid transparent;border-radius:3px;font:800 16px/1.2 "Fira Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;text-decoration:none;cursor:pointer;white-space:normal;text-align:center;background:none;-webkit-tap-highlight-color:transparent}
.hkp-btn-go{background:#0C8133;color:#fff}
.hkp-btn-go:hover{background:#0A6B2A}
.hkp-btn-line{background:#fff;color:#002147;border-color:#002147}
.hkp-btn-line:hover{background:#E8EDF4}
.hkp-btn-navy{background:#002147;color:#fff}
.hkp-btn-big{min-height:56px;font-size:18px;padding:0 26px}
.hkp-btn:focus-visible,.hkp-later:focus-visible,.hkp-x:focus-visible,.hkp-pick button:focus-visible,.db-app-nav:focus-visible{outline:3px solid #0FA541;outline-offset:2px}
[data-hka-app][hidden],.hkp-dlg [hidden]{display:none!important}

/* Home: band above the footer */
.hkp-band{background:#E8EDF4;border-top:1px solid #D3DAE5;padding:32px 0}
.hkp-band-in{max-width:1180px;margin:0 auto;padding:0 clamp(16px,4vw,40px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px 28px}
.hkp-band-ico{width:72px;height:72px;border-radius:16px;background:#fff;box-shadow:0 1px 0 #C6D2E2,0 0 0 1px #D3DAE5;display:block}
.hkp-band-t h2{margin:0 0 6px;font:800 26px/1.15 "Fira Sans Extra Condensed","Fira Sans",system-ui,sans-serif;color:#002147;letter-spacing:0}
.hkp-band-t p{margin:0;font:400 17px/1.5 "Fira Sans",system-ui,sans-serif;color:#2A3A52;max-width:620px}
.hkp-band-b{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
@media (max-width:860px){
	.hkp-band-in{grid-template-columns:auto minmax(0,1fr)}
	.hkp-band-b{grid-column:1/-1;justify-content:flex-start}
	.hkp-band-b .hkp-btn{flex:1 1 200px}
}
@media (max-width:420px){
	.hkp-band{padding:26px 0}
	.hkp-band-in{grid-template-columns:minmax(0,1fr)}
	.hkp-band-ico{width:60px;height:60px;border-radius:14px}
	.hkp-band-t h2{font-size:24px}
}

/* 1.27.2 Home: strip right under the header (hidden inside the app, after install, and 14 days after the X).
 * Wide screens: one row with the full text. 601-1099 px: one row, short text. Phones: text on top, a full-width button below. */
.hkp-top{background:#E6F4EA;border-bottom:1px solid #9ED3AE;color:#0B1526;font-family:"Fira Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.hkp-top .hkp-top-in{display:flex;align-items:center;gap:16px;min-height:76px;padding-top:12px;padding-bottom:12px}
.hkp-top .hkp-top-ico{flex:0 0 auto;display:block;width:48px;height:48px;border-radius:11px;background:#fff;box-shadow:0 0 0 1px #9ED3AE}
.hkp-top .hkp-top-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.hkp-top .hkp-top-t b{font:800 19px/1.25 "Fira Sans",system-ui,sans-serif;color:#002147}
.hkp-top .hkp-top-sub{font:400 16px/1.4 "Fira Sans",system-ui,sans-serif;color:#2A3A52}
.hkp-top .hkp-n{display:none}
.hkp-top .hkp-top-b{flex:0 0 auto;display:flex;align-items:center;gap:6px}
.hkp-top .hkp-btn,.hkp-top .hkp-btn:focus{min-height:50px;padding:0 22px;gap:9px;margin:0;font:800 17px/1.2 "Fira Sans",system-ui,sans-serif;border:0;border-radius:3px;background:#002147;color:#fff;box-shadow:none}
.hkp-top .hkp-btn:hover{background:#00152E;color:#fff}
.hkp-top .hkp-top-how,.hkp-top .hkp-top-how:hover,.hkp-top .hkp-top-how:focus{min-height:48px;padding:0 12px;margin:0;border:0;border-radius:3px;background:transparent;color:#002147;font:700 16px/1.2 "Fira Sans",system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}
.hkp-top .hkp-top-how:hover{background:rgba(0,33,71,.07)}
.hkp-top .hkp-top-x,.hkp-top .hkp-top-x:hover,.hkp-top .hkp-top-x:focus{flex:0 0 auto;width:44px;height:44px;min-height:0;display:grid;place-items:center;padding:0;margin:0 -10px 0 0;border:0;border-radius:3px;background:transparent;color:#4A5B73;line-height:0;cursor:pointer;box-shadow:none}
.hkp-top .hkp-top-x:hover{background:rgba(0,33,71,.08);color:#0B1526}
.hkp-top .hkp-btn:focus-visible,.hkp-top .hkp-top-how:focus-visible,.hkp-top .hkp-top-x:focus-visible{outline:3px solid #0FA541;outline-offset:2px}
@media (max-width:1099px){
	.hkp-top .hkp-top-sub.hkp-w,.hkp-top .hkp-top-how{display:none}
	.hkp-top .hkp-top-sub.hkp-n{display:block}
}
@media (max-width:600px){
	.hkp-top .hkp-top-in{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ico t x" "b b b";align-items:center;gap:10px 12px;min-height:0;padding-top:12px;padding-bottom:14px}
	.hkp-top .hkp-top-ico{grid-area:ico;width:44px;height:44px;border-radius:10px}
	.hkp-top .hkp-top-t{grid-area:t}
	.hkp-top .hkp-top-x,.hkp-top .hkp-top-x:hover,.hkp-top .hkp-top-x:focus{grid-area:x;margin:0 -10px 0 0}
	.hkp-top .hkp-top-b{grid-area:b}
	.hkp-top .hkp-top-b .hkp-btn{width:100%;min-height:52px;font-size:18px}
	.hkp-top .hkp-top-t b{font-size:17.5px}
	.hkp-top .hkp-top-t b .hkp-w{display:none}
	.hkp-top .hkp-top-t b .hkp-n{display:inline}
	.hkp-top .hkp-top-sub{font-size:15px}
}
@media (max-width:359px){
	.hkp-top .hkp-top-in{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t x" "b b"}
	.hkp-top .hkp-top-ico{display:none}
}
@media (display-mode:standalone){.hkp-top{display:none!important}}

/* Dashboard: card under the greeting */
.hkp-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px 18px;background:#fff;border:1px solid #D3DAE5;border-left:4px solid #0FA541;padding:16px 20px}
.hkp-card-ico{width:56px;height:56px;border-radius:12px;box-shadow:0 0 0 1px #D3DAE5;display:block}
.hkp-card-t{display:flex;flex-direction:column;gap:4px;min-width:0}
.hkp-card-t b{font:800 18px/1.3 "Fira Sans",system-ui,sans-serif;color:#0B1526}
.hkp-card-t span{font:400 15.5px/1.45 "Fira Sans",system-ui,sans-serif;color:#4A5B73}
.hkp-card-b{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:flex-end}
.hkp-later{background:none;border:0;padding:10px 6px;font:700 15px/1.2 "Fira Sans",system-ui,sans-serif;color:#4A5B73;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
@media (max-width:980px){
	.hkp-card{grid-template-columns:auto minmax(0,1fr)}
	.hkp-card-b{grid-column:1/-1;justify-content:flex-start}
	.hkp-card-b .hkp-btn{flex:1 1 180px}
}
@media (max-width:420px){
	.hkp-card{padding:14px 16px}
	.hkp-card-ico{width:48px;height:48px}
	.hkp-card-b .hkp-later{flex:1 1 100%}
}

/* Phone menu item (added by hk-app.js into the header menu) */
.hk-mnav .hkp-mnav-btn{width:100%;background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.hk-mnav .hkp-mnav-btn:hover{background:rgba(255,255,255,.08)}

/* The picture guide */
.hkp-dlg{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);max-height:calc(100vh - 24px);padding:0;border:0;border-radius:6px;background:#fff;color:#0B1526;box-shadow:0 20px 60px rgba(0,21,46,.35);font:400 17px/1.5 "Fira Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;overflow:hidden;display:flex;flex-direction:column}
.hkp-dlg:not([open]){display:none}
.hkp-dlg::backdrop{background:rgba(0,21,46,.6)}
.hkp-dlg-top{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 20px;background:#002147;color:#fff;flex:0 0 auto}
.hkp-dlg-top img{width:40px;height:40px;border-radius:9px;background:#fff;flex:0 0 auto}
.hkp-dlg-top h2{flex:1 1 auto;margin:0;font:800 22px/1.2 "Fira Sans Extra Condensed","Fira Sans",system-ui,sans-serif;color:#fff;min-width:0}
.hkp-x{flex:0 0 auto;width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:3px;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}
.hkp-x:hover{background:rgba(255,255,255,.2)}
.hkp-dlg-body{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 20px 8px;display:flex;flex-direction:column;gap:16px;flex:1 1 auto}
.hkp-dlg-foot{padding:12px 20px 16px;border-top:1px solid #E3E8EF;display:flex;justify-content:flex-end;flex:0 0 auto}
.hkp-dlg-foot .hkp-btn{min-width:120px}
.hkp-dlg p{margin:0}
.hkp-pick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hkp-pick-k{grid-column:1/-1;font-weight:700;font-size:15px;color:#4A5B73}
.hkp-pick button{min-height:46px;padding:4px 8px;line-height:1.15!important;border:1.5px solid #C6D0DE;border-radius:3px;background:#fff;color:#002147;font:700 15.5px/1.2 "Fira Sans",system-ui,sans-serif;cursor:pointer}
.hkp-pick button[aria-pressed="true"]{background:#002147;border-color:#002147;color:#fff}
.hkp-now{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#E6F4EA;border:1px solid #9ED3AE;padding:14px 16px}
.hkp-wait{background:#EEF3FA;border:1px solid #C6D2E2;padding:14px 16px}
.hkp-wait p{display:flex;align-items:center;gap:12px;font-size:17px;line-height:1.45}
.hkp-wait p[hidden]{display:none}
.hkp-spin{flex:0 0 auto;width:26px;height:26px;border-radius:50%;border:3.5px solid #C6D2E2;border-top-color:#0C8133;animation:hkp-spin .9s linear infinite}
.hkp-spin[hidden]{display:none}
@keyframes hkp-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.hkp-spin{animation-duration:2.5s}}
.hkp-now .hkp-or{font-size:15px;color:#2A3A52}
.hkp-inapp{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#FFF6E5;border:1px solid #F0C97A;padding:14px 16px}
.hkp-inapp b{font-size:18px}
.hkp-ok{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:18px 6px}
.hkp-ok h3{margin:0;font:800 24px/1.2 "Fira Sans",system-ui,sans-serif;color:#0B1526}
.hkp-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.hkp-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start}
.hkp-step-n{width:40px;height:40px;border-radius:50%;background:#0C8133;color:#fff;display:grid;place-items:center;font:800 20px/1 "Fira Sans",system-ui,sans-serif}
.hkp-step-b{display:flex;flex-direction:column;gap:10px;min-width:0}
.hkp-step-b p{font-size:17.5px;line-height:1.5;padding-top:6px}
.hkp-step-b b{color:#002147}
.hkp-note{display:block;margin-top:4px;font-size:15px;color:#4A5B73}
.hkp-pic{display:block;width:100%;max-width:360px;height:auto;border:1px solid #D3DAE5;border-radius:4px;background:#E8EDF4}
.hkp-help{font-size:15.5px;color:#4A5B73;padding:4px 0 6px}
.hkp-help a{color:#0A7F31;font-weight:700}
@media (max-width:420px){
	.hkp-dlg{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
	.hkp-dlg-top h2{font-size:20px}
	.hkp-dlg-body{padding:16px 14px 6px}
	.hkp-step{grid-template-columns:34px minmax(0,1fr);gap:10px}
	.hkp-step-n{width:34px;height:34px;font-size:18px}
	.hkp-step-b p{font-size:16.5px;padding-top:4px}
	.hkp-pick button{font-size:14.5px}
}
/* Tap sign on the pictures: a pulsing green ring and a hand that taps. */
.hkp-pulse{transform-box:fill-box;transform-origin:center;animation:hkp-pulse 1.6s ease-out infinite}
.hkp-hand{animation:hkp-hand 1.6s ease-in-out infinite}
@keyframes hkp-pulse{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.9)}}
@keyframes hkp-hand{0%,100%{translate:0 0}45%{translate:-2px -3px}55%{translate:-2px -3px}}
@media (prefers-reduced-motion:reduce){.hkp-pulse,.hkp-hand{animation:none}.hkp-pulse{opacity:0}}
html.hkp-standalone [data-hka-app="box"],html.hkp-standalone .hkp-top,html.hkp-standalone .db-app-nav,html.hkp-standalone .hkp-mnav-btn{display:none!important}
