/* 房屋稅：版型照育嬰津貼（左萬用輸入＋核對表單、右結果卡）。字 ≥ 14px、可點的 ≥ 44px */
.ht-top { padding-bottom: 4px; }
.ht-grid { max-width: 1080px; margin: 0 auto; }
.ht-out { padding-top: 0; }
[hidden] { display: none !important; }
.ht-in { padding-top: 8px; display: grid; gap: var(--s2); }
.ht-check { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.ht-check > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 var(--s3); font-weight: 700; color: var(--band); }
.ht-check > summary::-webkit-details-marker { display: none; }
.ht-check > summary::after { content: "＋"; font-weight: 900; }
.ht-check[open] > summary::after { content: "－"; }
.ht-check .ht-form { padding: var(--s1) var(--s3) var(--s1); }
@media (min-width: 960px) {
  .ht-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .ht-in { position: sticky; top: 76px; align-self: start; }
}
.ht-form fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.ht-form legend.lab { padding: 0; margin-bottom: 6px; font-weight: 700; }
.ht-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.ht-ck { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 4px 0 12px; font-size: 15px; cursor: pointer; }
.ht-ck input { width: 22px; height: 22px; margin: 0; flex: none; }

.ht-key { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid #02539C; background: #F2F6FA; font-size: 15px; line-height: 1.7; }
.ht-why { margin: 12px 0 0; padding-left: 1.2em; font-size: 15px; line-height: 1.7; }
.ht-save { margin: 12px 0 0; font-size: 15px; line-height: 1.7; }
.ht-bounds { margin-top: 10px; }
.ht-bounds > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: #02539C; }
.ht-bounds ul { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.7; }
.ht-note { margin: 10px 0 0; font-size: 14px; color: #3a4552; }
.ht-actions { margin-top: 14px; }
.ht-how { margin-top: 18px; }
.ht-h2 { font-size: 1.1rem; margin: 0 0 6px; }
.ht-how ol { margin: 0; padding-left: 1.3em; font-size: 15px; line-height: 1.75; }
.ht-how li { margin-bottom: 6px; }
.ht-disclaim { font-size: 14px; color: #3a4552; margin-top: 14px; line-height: 1.7; }
.ht-disclaim p { margin: 0 0 8px; }
.ht-kinds { grid-template-columns: 1fr 1fr; }
.ht-kinds label { font-size: .9rem; }
.ht-row { grid-template-columns: 1fr 1fr; }
.ht-lines { margin: 12px 0 0; padding-left: 1.2em; font-size: 15px; line-height: 1.7; }
.ht-lines li { margin-bottom: 6px; }
.ht-why { display: block; margin-top: 2px; color: #3a4552; font-size: 14px; }
.ht-warn { margin: 10px 0 0; padding: 10px 12px 10px 2em; background: #FFF7E8; border-left: 4px solid #E8A13A; font-size: 14px; line-height: 1.7; }
.ht-cmp { margin-top: 16px; padding: 12px; border-radius: 10px; background: #F2F6FA; }
.ht-cmp h3 { margin: 0 0 8px; font-size: 1rem; color: #02539C; }
.ht-cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ht-cmp li { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "k r t" "k d d"; align-items: baseline; gap: 0 12px; padding: 8px 10px; background: #fff; border-radius: 8px; font-size: 15px; }
.ht-cmp li.on { outline: 2px solid #02539C; }
.ht-cmp-k { grid-area: k; font-weight: 700; }
.ht-cmp-k em { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: #02539C; }
.ht-cmp-r { grid-area: r; color: #3a4552; }
.ht-cmp li b { grid-area: t; font-size: 1.05rem; text-align: right; }
.ht-cmp-d { grid-area: d; text-align: right; font-size: 13px; color: #3a4552; }
.ht-cmp-n { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: #3a4552; }
/* 空狀態範例收起時也露出三格比較（10/28：這頁最重要的一格，不藏在「看完整範例明細」後面）；只動這站，kit.css 不改 */
.ht-out .kit-example:not(.full) .kit-example-body > .ht-cmp { display: block; }
.ht-out .kit-example:not(.full) .ht-cmp-n { display: none; }
.ht-out .kit-example .ht-cmp-k em { display: none; }   /* 範例不是使用者選的，不寫「你選的」 */
