:root { --bg:#f5f6fb; --card:#fff; --ink:#1e2430; --muted:#657084; --line:#d9deea; --accent:#2f6fed; --good:#147c3d; --bad:#b72525; }
* { box-sizing:border-box; }
body { margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; background:var(--bg); color:var(--ink); }
header { display:flex; gap:16px; justify-content:space-between; align-items:center; padding:18px 22px; background:#111827; color:white; }
h1 { margin:0 0 4px; font-size:24px; } header p { margin:0; color:#c9d2e3; }
.pill { border:1px solid rgba(255,255,255,.3); border-radius:999px; padding:7px 12px; font-size:13px; white-space:nowrap; }
.tabs { display:flex; gap:8px; padding:10px 16px; background:white; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:10; overflow:auto; }
.tab, button { border:0; border-radius:10px; background:var(--accent); color:white; padding:10px 14px; font-weight:700; cursor:pointer; }
.tab { background:#e8ecf7; color:#263043; }
.tab.active { background:var(--accent); color:white; }
button.secondary { background:#687386; } button.good { background:var(--good); } button.danger { background:var(--bad); }
main { padding:16px; max-width:1300px; margin:0 auto; }
.panel { display:none; } .active-panel { display:block; }
.grid { display:grid; gap:16px; } .grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; box-shadow:0 2px 10px rgba(25,35,60,.05); margin-bottom:16px; }
h2 { margin:0 0 12px; font-size:20px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
label { display:flex; flex-direction:column; gap:5px; font-weight:700; color:#323b4d; }
label.check { flex-direction:row; align-items:center; }
input, select, textarea { border:1px solid var(--line); border-radius:10px; padding:10px; font:inherit; background:white; color:var(--ink); }
.button-row { display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.small { color:var(--muted); font-size:14px; line-height:1.4; }
.score-box { display:flex; gap:20px; padding:10px; border:1px solid var(--line); border-radius:12px; background:#f9fbff; }
.canvas-wrap { width:100%; overflow:auto; border:1px dashed var(--line); border-radius:14px; background:#222; text-align:center; }
#targetCanvas { max-width:100%; height:auto; display:block; margin:0 auto; cursor:crosshair; }
.shots-list { display:grid; gap:8px; max-height:420px; overflow:auto; }
.shot-row { display:grid; grid-template-columns:1fr 80px 70px; gap:8px; align-items:center; padding:8px; border:1px solid var(--line); border-radius:10px; }
.shot-row input { padding:7px; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; }
th, td { border-bottom:1px solid var(--line); padding:9px; text-align:left; vertical-align:top; }
th { background:#f2f5fb; }
.student-card { display:flex; justify-content:space-between; gap:10px; border:1px solid var(--line); border-radius:10px; padding:10px; margin-bottom:8px; }
.readable { max-width:850px; line-height:1.55; }
footer { text-align:center; color:var(--muted); padding:30px; }
@media (max-width:800px){ header{display:block;} .grid.two,.form-grid{grid-template-columns:1fr;} .shot-row{grid-template-columns:1fr;} }
