:root{--yellow:#f5c400;--ink:#111;--bg:#f6f6f4;--muted:#6b6b6b;--red:#c62828;color:var(--ink);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}.muted{color:var(--muted)}.small{font-size:.875rem}.loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.login{background:linear-gradient(160deg, var(--yellow) 0 38%, var(--bg) 38%);place-items:center;min-height:100vh;padding:16px;display:grid}.card{text-align:center;background:#fff;border-radius:16px;width:100%;max-width:360px;padding:32px 28px;box-shadow:0 10px 30px #0000001f}.crest{width:64px;height:64px}.card h1{letter-spacing:.5px;margin:8px 0 0}.card p{margin:4px 0 20px}form{flex-direction:column;gap:10px;display:flex}input{font:inherit;text-align:center;border:1px solid #ccc;border-radius:10px;padding:12px 14px}input:focus{outline:2px solid var(--yellow);border-color:var(--ink)}button{font:inherit;background:var(--ink);color:var(--yellow);cursor:pointer;border:0;border-radius:10px;padding:12px 14px;font-weight:600}button:disabled{opacity:.5;cursor:default}button.link{color:var(--muted);background:0 0;padding:4px;font-weight:400;text-decoration:underline}.error{color:var(--red);margin-top:12px!important}.divider{color:var(--muted);align-items:center;gap:10px;margin:20px 0 14px;font-size:.85rem;display:flex}.divider:before,.divider:after{content:"";background:#ddd;flex:1;height:1px}.google-btn{justify-content:center;min-height:44px;display:flex}.topbar{background:var(--yellow);border-bottom:2px solid var(--ink);justify-content:space-between;align-items:center;padding:10px 20px;display:flex}.brand{align-items:center;gap:8px;font-size:1.15rem;font-weight:800;display:flex}.brand img{width:30px;height:30px}.user{align-items:center;gap:10px;display:flex}main{max-width:960px;margin:0 auto;padding:24px 20px}a{color:inherit}.topbar{z-index:10;gap:16px;position:sticky;top:0}.brand{color:var(--ink);text-decoration:none}.topbar nav{flex:1;gap:4px;display:flex}.topbar nav a{border-radius:8px;padding:6px 12px;font-weight:600;text-decoration:none}.topbar nav a.active{background:var(--ink);color:var(--yellow)}@media (width<=560px){.hide-sm,.brand span{display:none}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.page-head h2{margin:8px 0}h3{margin:0 0 12px}h4{margin:18px 0 8px;font-size:.95rem}select{font:inherit;background:#fff;border:1px solid #ccc;border-radius:8px;padding:8px 10px}main input{text-align:left;border-radius:8px;padding:8px 10px}textarea{font:inherit;border:1px solid #ccc;border-radius:8px;width:100%;padding:8px 10px}button.sm{border-radius:7px;padding:5px 10px;font-size:.85rem}button.ghost{color:var(--ink);background:0 0;border:1px solid #ccc}button.ghost:hover{border-color:var(--ink)}.notice{color:#2e7d32;margin:8px 0 0}.error{margin:8px 0 0}.card-section{background:#fff;border-radius:12px;margin:16px 0;padding:18px;box-shadow:0 1px 3px #00000014}.card-section.danger{box-shadow:none;background:0 0;padding:0}.summary{background:var(--ink);color:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:22px;padding:14px 18px;display:flex}.summary>div:not(.form-strip){flex-direction:column;display:flex}.summary b{color:var(--yellow);font-size:1.4rem}.summary span{opacity:.7;text-transform:uppercase;font-size:.75rem}.form-strip{gap:4px;margin-left:auto;display:flex}.dot{border-radius:50%;place-items:center;width:24px;height:24px;font-size:.7rem;font-weight:700;display:grid}.dot.W,.badge.W{color:#fff;background:#2e7d32}.dot.D,.badge.D{color:#fff;background:#9e9e9e}.dot.L,.badge.L{background:var(--red);color:#fff}.badge{text-align:center;border-radius:6px;min-width:54px;padding:3px 8px;font-weight:700;display:inline-block}.badge.muted{background:#eee;font-weight:500}.fixtures{margin:0;padding:0;list-style:none}.fixtures li{border-bottom:1px solid #eee;grid-template-columns:110px 1fr auto 28px;align-items:center;gap:10px;padding:9px 0;display:grid}.fixtures li:last-child{border-bottom:0}.fixtures .date{color:var(--muted);font-size:.9rem}.fixtures .stage{color:var(--muted);font-size:.85rem}.fixtures .veo{text-align:center;color:var(--muted);text-decoration:none}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #eee;padding:7px 8px}th{text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:600}table.stats td:not(:first-child),table.stats th:not(:first-child){text-align:center}.num{min-width:22px;color:var(--muted);font-size:.85rem;display:inline-block}.tabs{gap:6px;margin-bottom:8px;display:flex;overflow:auto hidden;box-shadow:inset 0 -2px #e2e2e2}.tabs a{color:var(--muted);white-space:nowrap;border-bottom:3px solid #0000;padding:8px 14px;font-weight:600;text-decoration:none}.tabs a.active{color:var(--ink);border-color:var(--yellow)}table.admin{background:#fff;border-radius:12px}table.admin input:not([type=checkbox]){width:100%;min-width:120px}table.admin.compact td{padding:4px 8px}tr.inactive td{opacity:.55}.w-code{text-transform:uppercase;width:70px!important;min-width:0!important}.w-num{width:68px!important;min-width:0!important}.w-pos,.w-id{width:110px!important;min-width:0!important}input.changed{background:#fff3e0;border-color:#ef6c00}.actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.row-form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row-form .grow{flex:1;min-width:240px}.report{background:#fafafa;border-radius:8px;margin-top:12px;padding:10px 14px}.report p{margin:4px 0}.grid-form{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:12px;display:grid}.grid-form label{color:var(--muted);flex-direction:column;gap:4px;font-size:.85rem;display:flex}.grid-form label input,.grid-form label select,.grid-form label textarea{color:var(--ink)}.grid-form .wide{grid-column:1/-1}.pair{align-items:center;gap:6px;display:flex}.pair input{width:70px}.goal-list{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:10px;display:flex}.goal-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.goal-row .seq{width:22px;color:var(--muted);text-align:right}.goal-row .og{min-width:200px;color:var(--muted);font-style:italic}.chk{align-items:center;gap:5px;margin:6px 0;font-size:.9rem;display:inline-flex}.row-actions{gap:4px;display:inline-flex}
