/* setup.css: Setup > Scoring Rules (00012 take T02 frames). Light setup nav, white card on the canvas. */
.su-nav { background: #fff; color: var(--ink); border-right: 1px solid var(--line); padding: 0 8px 12px; }
.su-head { display: flex; align-items: center; height: 50px; padding: 0 4px 0 6px; }
.su-home { display: flex; align-items: center; gap: 10px; color: #226db4; font-size: 16px; font-weight: 500; }
.su-home svg { color: var(--ink); }
.su-tune { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-2); border-radius: 6px; }
.su-search { display: flex; align-items: center; gap: 6px; height: 32px; margin: 0 0 10px; padding: 0 10px; border: 1px solid var(--line-in); border-radius: 6px; color: var(--ink-3); }
.su-search input { border: 0; outline: 0; width: 100%; background: transparent; font-size: 14px; color: var(--ink); }
.su-item { display: block; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.su-item.active { background: var(--menu-h); font-weight: 600; }
.pg-setup .tb-title { display: none; }
.pg-setup .topbar { justify-content: flex-end; }
.pg-setup .tb-ib[aria-label="Setup"] { background: var(--hover); color: var(--brand); }
.su-wrap { flex: 1; min-height: 0; overflow: auto; padding: 16px 16px 16px 16px; }
.su-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; min-height: 100%; padding: 28px 30px 24px; }
.su-h1 { font-size: 22px; line-height: 28px; font-weight: 600; color: var(--ink-h); margin: 0; }
.su-lead { margin: 8px 0 26px; max-width: 1090px; font-size: 14.5px; line-height: 21px; color: var(--ink); }
.su-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.su-find { display: flex; align-items: center; gap: 6px; width: 232px; height: 34px; padding: 0 10px; border: 1px solid var(--line-in); border-radius: 4px; color: var(--ink-3); }
.su-find input { border: 0; outline: 0; width: 100%; font-size: 14px; color: var(--ink); background: transparent; }
.su-primary { margin-left: auto; height: 33px; padding: 0 13px; border-radius: 4px; background: #2f4fdb; color: #fff; font-weight: 500; font-size: 14px; }
.su-tbl-wrap { border: 1px solid var(--line-tbl); border-radius: 6px; overflow-x: auto; }
.su-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.su-tbl th { text-align: left; font-weight: 600; color: var(--ink-h); padding: 14px 12px; border-bottom: 1px solid var(--line-tbl); white-space: nowrap; }
.su-tbl td { padding: 14px 12px; white-space: nowrap; }
.su-tbl .su-cb { width: 90px; padding-left: 20px; }
.su-tri { display: inline-block; vertical-align: middle; margin-left: 4px; border: 4px solid transparent; border-top: 5px solid var(--ink-2); border-bottom: 0; }
.su-link { color: #4a5be0; }
.su-mod { display: inline-flex; align-items: center; gap: 8px; }
.su-av { width: 26px; height: 26px; border-radius: 50%; background: #eef0f6 radial-gradient(circle at 50% 38%, #c4c9d6 0 5px, transparent 5.5px); border: 1px solid #dfe2ea; }
.su-tog { position: relative; width: 30px; height: 16px; border-radius: 8px; background: #c4c9d6; }
.su-tog.on { background: #3fb37f; }
.su-tog::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .15s; }
.su-tog.on::after { left: 16px; }
.su-rule { display: flex; flex-direction: column; padding-bottom: 0; }
.su-rhead { display: flex; align-items: center; gap: 12px; margin-left: -12px; }
.su-back { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-3); }
.su-rhead .su-h1 { margin-right: auto; }
.su-active { font-size: 14.5px; color: var(--ink); }
.su-danger { height: 32px; padding: 0 13px; border-radius: 4px; background: #e8404d; color: #fff; font-weight: 500; font-size: 14px; }
.su-more { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-btn); border-radius: 4px; color: var(--ink); }
.su-tags { display: flex; gap: 12px; margin: 14px 0 0 0; }
.su-tags span { padding: 3px 6px; background: #f3f4f8; border: 1px solid #e3e5ee; border-radius: 3px; font-size: 13px; color: var(--ink); }
.su-desc { margin: 20px 0 24px 2px; font-size: 14.5px; color: var(--ink); }
.su-box { max-width: 980px; border: 1px solid var(--line-card); border-radius: 10px; padding: 18px 30px 20px; margin-bottom: 16px; }
.su-box h2 { font-size: 15px; font-weight: 600; color: var(--ink-h); margin: 0 0 16px; display: flex; align-items: center; gap: 6px; }
.su-i { color: var(--ink-2); display: inline-grid; }
.su-crits { list-style: none; margin: 0; padding: 0; }
.su-crit { display: flex; align-items: baseline; gap: 10px; padding: 0 0 38px; font-size: 14.5px; }
.su-crit:last-child { padding-bottom: 22px; }
.su-n { width: 16px; flex: none; }
.su-c { flex: 1; color: var(--ink); }
.su-op { color: #19a99a; margin: 0 2px; }
.su-pts { flex: none; padding-right: 60px; color: var(--ink); }
.su-add { color: #4a5be0; font-size: 14.5px; }
.su-chan { align-self: flex-start; height: 32px; padding: 0 12px; margin-bottom: 20px; border: 1px solid #4a5be0; border-radius: 4px; background: #f0f1ff; color: #4a5be0; font-size: 14.5px; }
.su-cfg { display: flex; gap: 24px; flex-wrap: wrap; }
.su-cfg label { display: block; font-size: 14.5px; margin-bottom: 8px; color: var(--ink); }
.su-in { width: 250px; height: 34px; padding: 0 12px; display: flex; align-items: center; border: 1px solid var(--line-in); border-radius: 4px; font-size: 14.5px; }
.su-in.sel { justify-content: space-between; background: #f6f7fa; }
.su-note { display: inline-block; margin: 20px 0 0; padding: 7px 16px; background: #fff8e1; border: 1px solid #f3e3b0; font-size: 14px; }
.su-foot { position: sticky; bottom: 0; display: flex; gap: 12px; margin: 8px -30px 0; padding: 12px 30px; background: #fff; border-top: 1px solid var(--line); }
.su-save { height: 32px; padding: 0 14px; border-radius: 4px; background: #a7b3f2; color: #fff; font-weight: 500; }
.su-cancel { height: 32px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--line-btn); background: #fff; color: var(--ink); }
@media (max-width: 760px) {
  .su-wrap { padding: 8px; }
  .su-card { padding: 18px 14px 14px; }
  .su-bar { flex-wrap: wrap; }
  .su-find { width: 100%; }
  .su-primary { margin-left: 0; }
  .su-rhead { flex-wrap: wrap; margin-left: -6px; gap: 8px; }
  .su-rhead .su-h1 { flex: 1 1 calc(100% - 40px); }
  .su-active { flex-basis: 100%; order: 3; }
  .su-danger, .su-more { order: 4; }
  .su-box { padding: 14px 14px 16px; }
  .su-crit { padding-bottom: 20px; flex-wrap: wrap; }
  .su-pts { padding-right: 0; flex-basis: 100%; padding-left: 26px; color: var(--ink-2); }
  .su-in { width: 100%; }
  .su-cfg > div { flex: 1 1 100%; }
  .su-foot { margin: 8px -14px 0; padding: 10px 14px; }
}
