.credential-setup{background:linear-gradient(#050607,#272d32);color:#eee;height:100%;display:flex;flex-direction:column;overflow:hidden!important}
.credential-setup .actionbar{flex:none}.credential-setup .actionbar h2{font-size:19px}
.credential-demo{color:#aaa;font-size:12px;line-height:1.4;padding:10px 18px}
.credential-instruction{text-align:center;font-size:16px;line-height:1.35;margin:0;padding:14px 10px;min-height:50px;flex:none;color:#eee}
.credential-entry{display:flex;align-items:center;margin:0 24px;flex:none;border-bottom:2px solid #33b5e5}
.credential-entry input{min-width:0;width:100%;border:0;border-radius:0;background:transparent;color:#fff;font:26px RobotoICS,Arial,sans-serif;text-align:center;outline:none;height:44px;padding:4px;user-select:text;-webkit-user-select:text}
.credential-entry button{width:40px;height:42px;border:0;background:none;font-size:22px}

.credential-pattern{width:min(100%,300px);aspect-ratio:1;max-height:300px;align-self:center;flex:none;position:relative;display:grid;grid-template-columns:repeat(3,1fr);touch-action:none;user-select:none;-webkit-user-select:none}
.credential-pattern svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.credential-pattern polyline{stroke:#ffffff88;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;fill:none}
.credential-pattern button{background:none;border:0;display:grid;place-items:center;position:relative;touch-action:none;padding:0}.credential-pattern button i{width:64px;height:64px;max-width:90%;max-height:90%;background:url(assets/lock-btn_code_lock_default_holo.png) center/contain no-repeat,url(assets/lock-indicator_code_lock_point_area_default_holo.png) center/contain no-repeat;pointer-events:none}
.credential-pattern button.selected i{background-image:url(assets/lock-btn_code_lock_touched_holo.png),url(assets/lock-indicator_code_lock_point_area_green_holo.png)}.credential-pattern.wrong button.selected i{background-image:url(assets/lock-btn_code_lock_default_holo.png),url(assets/lock-indicator_code_lock_point_area_red_holo.png)}
.credential-pattern.stealth:not(.wrong) polyline{visibility:hidden}.credential-pattern.stealth:not(.wrong) button.selected i{background-image:url(assets/lock-btn_code_lock_default_holo.png),url(assets/lock-indicator_code_lock_point_area_default_holo.png)}.credential-pattern button:focus-visible{outline:1px solid #33b5e5;outline-offset:-10px}
.credential-keyboard{flex:none;background:#111416;padding:4px;gap:4px}.credential-keyboard button{border:1px solid #53575a;border-bottom:2px solid #080a0b;border-radius:3px;background:linear-gradient(#424649,#292d30);color:#fff;min-width:0;text-shadow:0 1px #000;padding:0}.credential-keyboard button:active{background:#33b5e5}.credential-keyboard button img{width:28px;vertical-align:middle}.credential-keyboard.numeric{display:grid;grid-template-columns:repeat(3,1fr)}.credential-keyboard.numeric button{height:43px;font-size:26px}
.credential-keyboard.alpha{display:flex;flex-direction:column;gap:5px}.credential-keyboard.alpha>div{display:flex;justify-content:center;gap:3px}.credential-keyboard.alpha button{height:39px;font-size:17px;flex:1}.credential-keyboard.alpha>div:nth-child(2){padding:0 14px}.credential-keyboard.alpha .space{flex:4;font-size:12px}

@media(max-height:600px){.credential-keyboard.numeric button{height:38px}.credential-keyboard.alpha button{height:33px}}

/* LatinIME holo keyboard (identical in 4.0.4 and 4.3, dp scaled by 0.9): keyboardHeight 205.6dp, top/bottom padding
   2.335%/4.669%, key gaps 1.739% wide and 6.127% tall, letters at 55% of the key height in bold. */
.credential-keyboard.alpha{height:185px;flex:none;display:flex;flex-direction:column;gap:0;padding:4.3px 0 8.6px;background:linear-gradient(#282828,#171717 33%,#050505 66%,#000)}
.credential-keyboard.alpha>div{flex:1;min-height:0;display:flex;justify-content:center;gap:0;padding:0 0 11.3px}
.credential-keyboard.alpha>div:nth-child(2){padding:0 5% 11.3px}
.credential-keyboard.alpha button{flex:1;min-width:0;height:100%;margin:0 3.4px;padding:0;border-style:solid;border-color:transparent;border-width:5.4px 7.2px 5.4px 9px;border-image:url('assets/ime-btn_keyboard_key_light_normal_holo.png') 9 12 9 15 fill / 5.4px 7.2px 5.4px 9px;border-radius:0;background:none;box-shadow:none;color:#fff;text-shadow:none;font:700 17.4px Roboto,RobotoICS,sans-serif;display:grid;place-items:center}
.credential-keyboard.alpha button:active{background:none;border-image-source:url('assets/ime-btn_keyboard_key_light_pressed_holo.png')}

.credential-keyboard.alpha button.space{flex:5}
.credential-keyboard.alpha button img{height:23.4px;width:auto;max-width:100%;pointer-events:none}
