:root{font-family:"Segoe UI",system-ui,sans-serif;background:#f5f8fd;color:#17304e}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}.h2-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:14px 32px;background:#0759b9;color:#fff;border-bottom:2px solid #ffc928}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-weight:650}.brand b{background:#ffc928;color:#17304e;border-radius:10px;padding:7px 10px;font-size:22px}.h2-topbar nav{display:flex;gap:8px;flex-wrap:wrap}.h2-topbar nav a{color:white;padding:10px 12px;border-radius:8px;text-decoration:none;font-weight:600}.h2-topbar nav a[aria-current=page]{background:#ffc928;color:#17304e}main{max-width:1280px;margin:auto;padding:32px 24px}.intro{margin-bottom:24px}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;color:#0759b9}h1{font-size:34px;letter-spacing:-.035em;margin:8px 0 12px}h2{font-size:23px;margin:0 0 12px}h3{font-size:17px}p{line-height:1.65;color:#526780}button,input,select,textarea{font:inherit;border:1px solid #b8c9df;border-radius:9px;min-height:44px;background:white;color:#17304e}button{cursor:pointer;padding:10px 16px;font-weight:600}button:hover{background:#edf3fc;border-color:#0759b9}.primary{background:#0759b9;color:white;border-color:#0759b9}.primary:hover{background:#064b9c}button:disabled{opacity:.5;cursor:default}a{color:#0759b9}:focus-visible{outline:3px solid #ffc928;outline-offset:3px}label{display:grid;gap:8px;font-size:14px;font-weight:600;margin-bottom:18px}input,select,textarea{width:100%;padding:10px 12px;min-width:0}textarea{min-height:86px;resize:vertical}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.6}.check input{width:18px;min-height:18px;margin-top:4px;accent-color:#0759b9}.panel{background:white;border:1px solid #dce5f1;border-radius:16px;padding:24px;margin:20px 0}.narrow{max-width:480px}.scope,.section-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.scope label{min-width:240px}.notice{background:#fff7d8;border:1px solid #eddb99;border-radius:12px;padding:16px 20px;margin:18px 0;line-height:1.6}.notice p{margin:6px 0}.tabs{display:flex;gap:8px;border-bottom:1px solid #dce5f1;padding:12px 0;margin-bottom:24px;overflow:auto}.tabs button{white-space:nowrap;border-color:transparent;background:transparent}.tabs button[aria-selected=true]{background:#0759b9;color:white}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two-col>.panel{margin-top:0}video{display:block;width:100%;max-height:300px;background:#102641;border-radius:10px;margin:16px 0}.case-row,.clip-row{background:white;border:1px solid #dce5f1;border-radius:12px;padding:18px;margin:12px 0;display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.case-row p,.clip-row p{margin:6px 0}.tag{display:inline-block;padding:4px 9px;background:#edf3fc;border-radius:6px;font-size:12px;font-weight:600}.candidate{padding:12px;border-bottom:1px solid #dce5f1}.candidate label{display:flex;align-items:flex-start;font-weight:400;margin:0}.candidate input{width:18px;min-height:18px;flex-shrink:0}.pagination{display:flex;gap:12px;justify-content:flex-end;margin-top:16px}#message{min-height:26px}#message.error{color:#a02f32}#history{padding-left:20px}#history li{padding:10px 0;line-height:1.6}#history small{display:block;color:#5b6f89}.empty{border:1px dashed #b8c9df;border-radius:12px;padding:32px;text-align:center;color:#526780}@media(max-width:760px){.h2-topbar{padding:12px 16px;gap:12px}.brand span{display:none}.h2-topbar nav{gap:0}.h2-topbar nav a{font-size:12px;padding:9px}.two-col{grid-template-columns:1fr;gap:0}main{padding:24px 16px}.panel{padding:20px}h1{font-size:28px}.case-row,.clip-row{flex-wrap:wrap}.scope label{width:100%}.section-heading button{margin-bottom:12px}}

.training-mode-tabs{display:flex;gap:8px;padding:0 0 12px;border-bottom:1px solid #dce5f1;margin-bottom:24px}.training-mode-tabs a{padding:10px 24px;min-height:44px;border-radius:9px;color:#17304e;font-weight:650;text-decoration:none}.training-mode-tabs a[aria-current=page]{background:#0759b9;color:white}
