.architecture-choice{margin-top:12px;padding:12px 14px;min-height:44px;border:1px solid #2879b7;border-radius:10px;background:#eaf5ff;color:#164c75;font:700 13px 'Lato',sans-serif;cursor:pointer}
.architecture-choice.chosen{background:#164c75;color:white}
.architecture-choice:disabled{opacity:.65;cursor:default}
#architecture-vote-status{font-size:13px;line-height:1.5;margin:0 0 24px;color:#53677d}
.architecture-ballot{height:fit-content;min-height:0;margin:auto;box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:0;border-radius:18px;color:#102039;background:#fff;overflow:auto;font-family:'Lato',sans-serif}
.architecture-ballot::backdrop{background:#081525bb;backdrop-filter:blur(4px)}
.architecture-ballot h2{font-size:25px;line-height:1.2;margin:0 0 14px;letter-spacing:-.5px}
.architecture-ballot p{line-height:1.45;margin:8px 0;font-size:13px;color:#53677d}
.architecture-ballot .ballot-option{font-size:21px;font-weight:800;color:#164c75}
.architecture-ballot .ballot-previous{background:#fff5dc;padding:10px;border-radius:8px;color:#6b511e}
.ballot-signature img{display:block;width:100%;height:90px;object-fit:contain;margin:12px 0}
.ballot-signature canvas{display:block;width:100%;height:100px;background:#fafbfd;border:1px solid #b8c9d8;border-radius:8px;touch-action:none}
.ballot-signature button{border:0;background:none;text-decoration:underline;padding:8px 0;color:#53677d;font-size:12px}
.architecture-ballot label{display:block;font-size:13px;margin-top:14px}
.architecture-ballot input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #b8c9d8;border-radius:8px;font-size:20px;letter-spacing:8px;margin-top:6px;background:#fff;color:#102039}
.architecture-ballot .ballot-error{color:#a52d32;min-height:18px}
.ballot-actions{display:flex;gap:10px;margin-top:12px}
.ballot-actions button{min-height:44px;border:1px solid #b8c9d8;border-radius:8px;background:white;padding:10px 14px;font-size:13px;cursor:pointer}
.ballot-actions .ballot-confirm{flex:1;background:#102039;color:white;border-color:#102039}
.ballot-actions button:disabled{opacity:.6}
@media(max-width:700px){
 .architecture-choice{grid-column:1/-1;margin:0}
 .architect-card:has(.architecture-choice) .portfolio-slide img{height:clamp(70px,calc(100dvh - 620px),270px)}
 /* Bring the brand row up while retaining the actual device safe area. */
 .deck-mode .topbar{height:calc(62px + env(safe-area-inset-top));padding-top:calc(5px + env(safe-area-inset-top));padding-bottom:13px}
 .deck-mode .topbar::after{bottom:8px}
 .deck-mode #experience{height:calc(100dvh - 62px - env(safe-area-inset-top))}
}

#architecture-pin{-webkit-text-security:disc;text-security:disc}

