.hb,.hb *{box-sizing:border-box}
.hb{min-height:100dvh;background:#F6FAFF;color:#172033;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.hb .hb-content{max-width:512px;margin:auto;padding:calc(env(safe-area-inset-top,0px) + 20px) 20px calc(env(safe-area-inset-bottom,0px) + 32px)}
.hb a{color:#1B64DA;text-decoration:none}
.hb button,.hb input{font:inherit}
.hb button,.hb a,.hb input{touch-action:manipulation}
.hb button{cursor:pointer;color:inherit}
.hb button:disabled{opacity:.5;cursor:default}
.hb :focus-visible{outline:3px solid #1B64DA;outline-offset:3px}
.hb h1,.hb h2,.hb p{margin:0}
.hb h1{font-size:28px;letter-spacing:-.8px;line-height:1.2}
.hb h2{font-size:23px;line-height:1.3}
.hb .muted{color:#5D687B;font-size:13px}
.hb .top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.hb .back{min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:650;color:#172033}
.hb .title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0 12px}
.hb .languages{display:flex;flex-shrink:0}
.hb .languages a{padding:10px;min-height:44px;background:white;border:1px solid #E5E8EB;font-size:12px}
.hb .languages a[aria-current]{background:#E8F3FF;font-weight:700}
.hb .actions{display:grid;gap:10px;margin-top:20px}
.hb .button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #d5dce7;border-radius:12px;background:white;font-size:14px;font-weight:700;text-align:center;color:#172033}
.hb .primary{background:#1B64DA;border-color:#1B64DA;color:white}
.hb .danger{color:#B3323B}
.hb .text-button{padding:10px 2px;min-height:44px;background:none;border:0;color:#1B64DA;font-size:13px;font-weight:650}
.hb .panel{padding:20px;border:1px solid #E5E8EB;border-radius:18px;background:white;margin:20px 0}
.hb .hero{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:24px 16px;transform:rotate(-4deg)}
.hb .hero span{height:44px;background:white;border:1px solid #cddff8;border-radius:10px;display:grid;place-items:center;color:#1B64DA}
.hb .hero span:nth-child(-n+4),.hb .hero span:nth-child(4n+1){background:#1B64DA;color:white}
.hb .rules{padding:0;list-style:none}
.hb .rules li{padding:14px 0;border-bottom:1px solid #E5E8EB}
.hb .rules b{display:block}
.hb label{display:block;font-size:13px;margin:16px 0 7px}
.hb input[type=text]{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px;min-height:48px;background:white;color:#172033}
.hb .check{display:flex;align-items:flex-start;gap:10px;min-height:44px;font-size:13px;color:#5D687B}
.hb input[type=checkbox]{width:20px;height:20px;accent-color:#1B64DA;flex-shrink:0}
.hb .progress{display:flex;justify-content:space-between;gap:10px;margin:22px 0 8px;font-size:13px}
.hb progress{width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;accent-color:#1B64DA}
.hb progress::-webkit-progress-bar{background:#dce7f7}
.hb progress::-webkit-progress-value{background:#1B64DA}
.hb .board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.hb .tile{display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:110px;border:1px solid #d9e1eb;border-radius:13px;background:white;padding:10px 7px;text-align:left;overflow-wrap:anywhere}
.hb .tile .statement{font-size:12px;font-weight:650;line-height:1.4}
.hb .tile .mark{font-size:10px;color:#5D687B}
.hb .tile[data-state=confirmed]{background:#E8F3FF;border-color:#c8dcff;color:#184f9f}
.hb .tile[data-state=waiting]{background:#FFF4DB;border-color:#e8c779;color:#895600}
.hb .board.list{grid-template-columns:1fr}
.hb .board.list .tile{flex-direction:row;align-items:center;min-height:67px;padding:14px}
.hb .board.list .statement{font-size:15px;max-width:75%}
.hb .notice{padding:13px 14px;border:1px solid #e8d5a4;background:#FFF4DB;border-radius:12px;margin:16px 0;font-size:13px}
.hb .error{color:#B3323B;font-size:13px;margin:10px 0}
.hb .success{padding:20px;background:#E9F7F0;color:#166B50;border-radius:18px;margin:20px 0}
.hb .summary-board{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;max-width:160px;margin:18px auto}
.hb .summary-board span{height:28px;border:1px solid #cbd5e1;border-radius:5px;background:white}
.hb .summary-board span[data-state=confirmed]{background:#1B64DA}
.hb dialog{margin:auto;color:#172033;background:#F6FAFF;border:0;border-radius:22px;padding:22px 22px calc(env(safe-area-inset-bottom,0px) + 22px);width:calc(100% - 24px);max-width:472px;max-height:calc(100dvh - 24px);overflow:auto}
.hb dialog::backdrop{background:#111d3480}
.hb dialog h2{margin:12px 0}
.hb .bilingual{font-size:25px;font-weight:700;line-height:1.3;margin:16px 0;overflow-wrap:anywhere}
.hb .translated{border-top:1px solid #E5E8EB;padding-top:14px;margin-top:16px;color:#5D687B}
.hb .qr{background:white;text-align:center;border-radius:18px;padding:20px;margin:16px 0}
.hb .qr svg{width:200px;max-width:100%;height:auto}
.hb .code{font-family:monospace;font-size:30px;font-weight:750;letter-spacing:3px;margin:12px 0}
.hb .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hb [hidden]{display:none!important}
.hb .pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hb .pair .button{width:100%}
@media(max-width:350px){.hb .hb-content{padding-left:13px;padding-right:13px}
.hb .tile{padding:8px 5px;min-height:110px}
.hb .tile .statement{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hb *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

