/* «Cài đặt dự án»: bảng mã trạng thái UK NA 2021 + hai cổng (ảnh MA-1; public/codes-settings.js). Giao diện tối = đảo màu (account-bar.css). */
#cde .pset .cs-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 520px;gap:14px;align-items:start}
#cde .pset .cs-card{padding:0;border-radius:14px;border-color:#ececef;overflow:hidden}
#cde .cs-head{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid #f1f1f3}
#cde .cs-head h3{margin:0;font-size:var(--nx-fs-md);font-weight:600;white-space:nowrap}#cde .cs-head small{color:#71717a;font-size:var(--nx-fs-sm);font-weight:400}
#cde .cs-tg-head{margin-left:auto}
#cde .cs-tg{display:inline-flex;align-items:center;gap:8px;font-size:var(--nx-fs);cursor:pointer}
#cde .cs-tg input{position:absolute;opacity:0;width:1px;height:1px}
#cde .cs-tg i{flex:none;width:38px;height:22px;border-radius:11px;background:#cfd8e3;position:relative;display:inline-block;transition:background .15s}
#cde .cs-tg i::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s}
#cde .cs-tg input:checked+i{background:#2563eb}#cde .cs-tg input:checked+i::after{left:19px}
#cde .cs-tg input:focus-visible+i{outline:2px solid #7fb0ea;outline-offset:2px}#cde .cs-tg input:disabled+i{cursor:default}
#cde .cs-tg.dim{opacity:.55}#cde .cs-tg b{font-weight:600}
#cde .cs-table{width:100%;border-collapse:collapse;font-size:var(--nx-fs);line-height:1.3}
#cde .cs-table th{text-align:left;font-size:var(--nx-fs-sm);color:#5f7389;font-weight:600;background:#fafafa;padding:8px 10px;border-bottom:1px solid #ececef;white-space:nowrap}
#cde .cs-table th.c1{width:70px}#cde .cs-table th.c3{width:120px}#cde .cs-table th.c4{width:150px}
#cde .cs-table td{padding:8px 10px;border-bottom:1px solid #f1f1f3;vertical-align:middle}
#cde .cs-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:600}
#cde .cs-old td{color:#8a9bb0}#cde .cs-old .cs-code{text-decoration:line-through;color:#8a9bb0}
#cde .cs-pill{display:inline-flex;align-items:center;font-size:var(--nx-fs-xs);font-weight:600;padding:2px 9px;border-radius:999px;white-space:nowrap}
#cde .cs-pill.ok{background:#e7f6ef;color:#178a55}#cde .cs-pill.bl{background:#eaf2fd;color:#1a5fc4}#cde .cs-pill.o{background:#fff4e5;color:#b25e00}#cde .cs-pill.g{background:#f1f4f8;color:#55687e}#cde .cs-pill.v{background:#f1ecfe;color:#6d3fd0}
#cde .cs-foot{margin:0;padding:9px 16px;font-size:var(--nx-fs);color:#71717a}
#cde .cs-body{padding:12px 14px}
#cde .cs-flow{display:flex;align-items:stretch;margin:6px 0 4px}#cde .cs-flow.off{opacity:.6}
#cde .cs-st{flex:1;border:1px solid #ececef;border-radius:12px;padding:12px;background:#fff;font-size:var(--nx-fs);line-height:1.45}
#cde .cs-st b{display:block;font-size:var(--nx-fs);margin:4px 0 2px}#cde .cs-st.g1{background:#fff8e6;border-color:#f3d27a}#cde .cs-st.g2{background:#eef8f2;border-color:#bfe5cf}
#cde .cs-ar{width:34px;display:grid;place-items:center;color:#8a9bb0;font-size:var(--nx-fs-xl)}
#cde .cs-rules{list-style:none;margin:10px 0 0;padding:0;font-size:var(--nx-fs);color:#41566e;line-height:1.55}#cde .cs-rules li::before{content:"• "}
#cde .cs-opts{margin-top:12px;display:flex;flex-direction:column;gap:8px}
#cde .cs-note{margin:10px 0 0;font-size:var(--nx-fs);color:#71717a}
#cde .cs-warn{margin:12px 0 0;padding:9px 10px;border-radius:9px;background:#fff8e6;color:#7a4b00;font-size:var(--nx-fs)}
@media(max-width:1100px){#cde .pset .cs-row{grid-template-columns:1fr}}
@media(max-width:560px){#cde .cs-flow{flex-direction:column}#cde .cs-ar{width:auto;height:22px;transform:rotate(90deg)}#cde .cs-table th.c4,#cde .cs-table td:nth-child(4){display:none}}
#cde .pset .cs-wrap{grid-column:1/-1;min-width:0}
