.ex-layout { display: grid; gap: 16px; padding: 16px; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.2fr); align-items: start; }
@media (max-width: 820px) { .ex-layout { grid-template-columns: 1fr; } }
.hits { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-direction: column; gap: 6px; }
.hits button { width: 100%; text-align: left; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.hits button[aria-pressed=true] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.hits .tag { font-size: var(--fs-xs); color: var(--muted); margin-left: .4rem; }
.hits .off { padding: .5rem .7rem; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); font-size: var(--fs-s); }
.verdict { padding: .7rem .8rem; border-radius: 8px; font-weight: 600; margin-bottom: .8rem; border-left: 5px solid; }
.verdict.v-exempt { background: var(--pass-bg); border-color: var(--pass); }
.verdict.v-not-exempt { background: var(--fail-bg); border-color: var(--fail); }
.verdict.v-unknown { background: var(--check-bg); border-color: var(--check); }
.verdict.v-not-applicable { background: var(--na-bg); border-color: var(--na); }
.verdict .sub { font-weight: 400; margin-top: .3rem; font-size: var(--fs-s); }
.row.ex { cursor: default; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.q-hints { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-direction: column; gap: 4px; }
.q-hints li { padding: .4rem .6rem; border-left: 3px solid var(--accent); background: var(--bg); color: var(--ink); }
.q-hints:empty { display: none; }

/* đầu trang exempt: nút ngôn ngữ + Cài đặt luôn một hàng (web/consent.mjs) */
.top-act { flex-wrap: nowrap; }

/* sơ đồ 3D quanh nhà (web/exempt-scene.mjs) + hộp tiêu chuẩn chính */
.ex-scene { margin: 16px 16px 0; }
.ex-scene-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ex-scene-head h2 { margin: 0; }
.ex3d { position: relative; border-radius: 10px; overflow: hidden; background: var(--line); cursor: grab; }
.ex3d:empty { display: none; }
.ex3d-tip { position: absolute; pointer-events: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: .25rem .5rem; font-size: var(--fs-s); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.15); white-space: nowrap; }
.ex-chips { list-style: none; padding: 0; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ex-chips button { min-height: 44px; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: var(--fs-s); cursor: pointer; }
.ex-chips button:hover, .ex-chips button[aria-pressed=true] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ex-scene-note { margin: .7rem 0 0; padding: .45rem .7rem; border-left: 4px solid var(--check); background: var(--check-bg); border-radius: 4px; }
.ex-pop { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px 16px; background: var(--card); color: var(--ink); }
.ex-pop::backdrop { background: rgba(20, 20, 30, .45); }
.pop-head { position: sticky; top: 0; background: var(--card); display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-top: 14px; border-bottom: 2px solid var(--accent); margin-bottom: .6rem; }
.pop-head h2 { margin: 0; text-transform: uppercase; color: var(--accent); }
.pop-head p { margin: .2rem 0 .5rem; }
.pop-x { min-height: 32px; padding: .2rem .55rem; }
.ex-pop h3 { margin: .9rem 0 .4rem; font-size: var(--fs-m); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.tile { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: .5rem .65rem; background: var(--bg); }
.t-name { font-weight: 600; }
.t-val { margin: .2rem 0; }
.t-word { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.t-val .big { font-size: var(--fs-h); }
.t-val .cases { list-style: none; padding: 0; margin: .2rem 0 0; }
.t-val .cases li { font-size: var(--fs-s); }
.pop-list { margin: .2rem 0; padding-left: 1.2rem; }
.pop-list li { margin: .2rem 0; }
.pop-warn { padding: .4rem .6rem; border-left: 4px solid var(--check); background: var(--check-bg); border-radius: 4px; }
.pop-foot { margin-top: .9rem; padding: .5rem .7rem; background: var(--accent); color: var(--card); border-radius: 6px; }
@media print { .ex-scene, .ex-pop { display: none; } }
.t-when { margin-top: .15rem; padding: .1rem .4rem; border-radius: 4px; background: var(--check-bg); color: var(--ink); display: inline-block; }
