.htm-box{max-width:600px;margin:20px auto;padding:22px;border:1px solid #e6e6e6;border-radius:6px;background:#fff;font-size:16px;box-sizing:border-box}
.htm-title{margin:0 0 6px;text-align:center}
.htm-sub{margin:0 0 16px;text-align:center;color:#666;font-size:14px}
.htm-form label{display:block;margin:0 0 14px;font-weight:600}
.htm-form input[type=text],.htm-form input[type=tel],.htm-form input[type=number],.htm-form select{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #ccc;border-radius:4px;font-size:16px;box-sizing:border-box}
.htm-form fieldset{border:0;padding:0;margin:0 0 14px}
.htm-form legend{font-weight:600;margin-bottom:6px}
.htm-inline{font-weight:400!important;display:flex!important;gap:8px;align-items:flex-start}
.htm-inline input{margin-top:4px}
.htm-form [hidden],.htm-box [hidden]{display:none!important}
.req{color:#d63638}
.htm-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.htm-btn{display:block;width:100%;padding:11px;border:0;border-radius:4px;background:#c2185b;color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.htm-success .htm-btn{display:inline-block;width:auto;padding:8px 20px;font-size:15px}
.htm-btn:hover{background:#a3134b}
.htm-errors{background:#fdecea;border-color:#f5c2c0;color:#8a1c1c}
.htm-errors p{margin:4px 0}
.htm-success{text-align:center;background:#f6fbf7;border-color:#cfe6d5}
.htm-code{font-size:28px;font-weight:800;letter-spacing:1px;margin:10px 0;color:#c2185b;font-family:monospace}
.htm-badge{display:inline-block;background:#fff3cd;padding:4px 10px;border-radius:4px}
/* Chia sẻ */
.htm-share{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:18px;padding-top:14px;border-top:1px dashed #cfe6d5}
.htm-share-title,.htm-share-note{flex-basis:100%;margin:0 0 4px}
.htm-share-title{font-weight:700;font-size:15px}
.htm-s{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border:0;border-radius:4px;color:#fff!important;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none!important;cursor:pointer;text-transform:none;letter-spacing:0;min-height:0;margin:0}
.htm-s:hover{filter:brightness(.9)}
.htm-s-native{background:#c2185b}.htm-s-fb{background:#1877f2}.htm-s-zalo{background:#0068ff}.htm-s-ms{background:#a033ff}
.htm-s-x{background:#111}.htm-s-tg{background:#229ed9}.htm-s-copy{background:#6b7280}
.htm-share-note{font-size:13px;color:#1e7e34}
/* Tra cứu */
.htm-summary{background:#fff8fb;border-color:#f3c6d8;text-align:center}
.htm-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #eee}
.htm-card-label{font-size:13px;color:#777;text-transform:uppercase;letter-spacing:.5px}
.htm-card-code{font-family:monospace;font-size:22px;font-weight:800;color:#c2185b}
.htm-chip{flex-shrink:0;padding:4px 10px;border-radius:4px;background:#e8f5ec;color:#1e7e34;font-size:13px;font-weight:700}
.htm-chip-done{background:#c2185b;color:#fff}
.htm-chip-void{background:#fdecea;color:#8a1c1c}
.is-void .htm-card-code{color:#999;text-decoration:line-through}
.htm-void-msg{margin:0;color:#8a1c1c}
.htm-journey-title{margin:20px 0 10px;font-size:16px}
.htm-steps{list-style:none;margin:0;padding:0}
.htm-steps li{position:relative;display:flex;gap:12px;padding:0 0 16px;margin:0}
.htm-steps li:not(:last-child)::before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:2px;background:#e3e3e3}
.htm-steps li.is-done:not(:last-child)::before{background:#c2185b}
.htm-dot{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:#f0f0f0;color:#999;z-index:1}
.is-done .htm-dot{background:#c2185b;color:#fff}
.is-current .htm-dot{background:#fff;color:#c2185b;box-shadow:inset 0 0 0 2px #c2185b}
.htm-step-name{font-weight:600}
.is-todo .htm-step-name{color:#999;font-weight:400}
.is-current .htm-step-name{color:#c2185b}
.htm-step-meta{font-size:13px;color:#777;margin-top:2px}
@media(max-width:480px){.htm-box{padding:16px}.htm-info{grid-template-columns:1fr!important}.htm-card-code{font-size:19px}}

/* Bảng thông tin – chống theme ghi đè */
.htm-box,.htm-box *{text-transform:none!important;letter-spacing:normal}
.htm-card-label{text-transform:uppercase!important;letter-spacing:.5px}
.htm-info{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.htm-f{display:flex!important;flex-direction:column;gap:3px;padding:10px 12px;background:#faf7f8;border-left:3px solid #f1d3df;border-radius:3px;min-width:0}
.htm-f-wide{grid-column:1/-1}
.htm-f-l{display:block!important;font-size:12px!important;color:#8a8a8a;font-weight:400!important;line-height:1.3}
.htm-f-v{display:block!important;font-size:15px!important;color:#222;font-weight:600!important;line-height:1.4;word-break:break-word}
.htm-f-status{background:#fff0f6;border-left-color:#c2185b}
.htm-f-status .htm-f-v{color:#c2185b}

/* 1.3.4: ô tick và nút chọn đủ lớn để bấm trên điện thoại */
.htm-form .htm-inline{gap:10px;line-height:1.45;cursor:pointer;padding:4px 0}
.htm-form .htm-inline input[type=checkbox],.htm-form .htm-inline input[type=radio]{flex:0 0 22px;width:22px!important;height:22px!important;min-width:22px;margin:1px 0 0!important;accent-color:#c2185b;cursor:pointer}
