:root{color-scheme:dark;--bg:#0a161d;--panel:#12232d;--line:#29424d;--text:#f5f8fa;--muted:#b0c0c8;--gold:#4adbd6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 system-ui,sans-serif}header,footer{display:flex;justify-content:space-between;align-items:center;padding:24px 5%;border-bottom:1px solid var(--line)}a{color:inherit;text-decoration:none}.brand{font-weight:850;letter-spacing:1px}.brand span,.pill{margin-left:15px;color:var(--gold);font-size:12px;border:1px solid var(--line);padding:5px 9px;border-radius:5px}header form{display:flex;align-items:center;gap:15px}main{max-width:1180px;margin:auto;padding:52px 28px}h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.8px;line-height:1.15;margin:8px 0 16px}h2{font-size:23px;margin:0 0 10px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:var(--gold)}.muted{color:var(--muted)}.small{font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:32px 0}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:26px}.card p{margin:0 0 12px}.card strong{display:block;font-size:38px;font-weight:650}.card .status{font-size:12px;color:var(--gold);margin:15px 0 0}.columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{margin-bottom:22px}label{display:block;font-size:13px;font-weight:600;margin:20px 0 15px}input{display:block;width:100%;background:#0b1922;border:1px solid #425d6b;border-radius:7px;padding:13px;color:var(--text);font:inherit;margin-top:8px}input:focus,button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button{cursor:pointer;border:0;border-radius:7px;padding:13px 20px;background:var(--gold);color:#062a2b;font-weight:750;font-size:14px}.secondary,.quiet{background:transparent;border:1px solid #526a78;color:var(--text)}.quiet{padding:8px 13px}.notice{background:#182535;border:1px solid #4b7180;border-radius:9px;padding:18px;margin-bottom:25px;overflow-wrap:anywhere}.login{max-width:510px;margin:20px auto 70px}.login button{width:100%;margin-top:10px}.table{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{color:var(--muted);font-size:12px}td,th{padding:13px 0;border-bottom:1px solid var(--line)}.activity{border-top:1px solid var(--line);padding:18px 0}.activity pre{white-space:pre-wrap;font:13px/1.8 system-ui;color:var(--muted)}footer{font-size:11px;letter-spacing:1px;border-top:1px solid var(--line);border-bottom:0;color:var(--muted)}@media(max-width:680px){.cards,.columns{grid-template-columns:1fr}header{flex-wrap:wrap;gap:14px}main{padding:30px 18px}.brand span{display:inline-block}footer span{display:none}}
.section-head{display:flex;justify-content:space-between;gap:24px;align-items:center}.winner{border:1px solid #534e83;border-radius:10px;padding:24px;background:#232048}.winner h3{font-size:26px;margin:6px 0}select{display:block;width:100%;background:#0b1922;border:1px solid #425d6b;border-radius:7px;padding:13px;color:var(--text);font:inherit;margin-top:8px}td{vertical-align:top;padding-right:22px}td small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere}summary{cursor:pointer;color:var(--gold);padding:8px 0}.actions{min-width:220px;max-width:280px}.actions form{margin:10px 0}.actions button{width:100%}.danger{background:#9b3f3f;color:#fff}.search{display:flex;gap:8px}.search input{margin:0}.add-member{max-width:450px}button:disabled{opacity:.4;cursor:not-allowed}.winner .columns{margin:0}@media(max-width:800px){.section-head{display:block}.search{margin-top:18px}.winner{padding:18px}}
nav{display:flex;gap:24px}nav a{color:var(--muted);font-weight:650}nav a:hover{color:var(--gold)}textarea{display:block;width:100%;background:#0b1922;border:1px solid #425d6b;border-radius:7px;padding:13px;color:var(--text);font:inherit;margin-top:8px;resize:vertical}.board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0}.inline{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0}.inline input{width:auto;margin:0}.task-board{display:flex;gap:16px;overflow-x:auto;align-items:flex-start;padding:0 0 24px;min-height:420px}.task-column{flex:0 0 285px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}.task-column h2{font-size:16px;margin:0}.task-column .section-head{gap:8px;display:flex;margin-bottom:18px}.task-column .pill{margin:0}.task-card{background:#192e3b;border:1px solid #355360;border-radius:9px;padding:16px;margin-bottom:12px;overflow-wrap:anywhere}.task-title{font-weight:650;display:block;line-height:1.4}.task-title:hover{color:var(--gold)}.task-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted);margin-top:12px}.priority{padding:1px 7px;border:1px solid #547283;border-radius:4px}.priority.high{color:#eec071}.priority.urgent,.overdue{color:#ffaaaa}.task-card summary,.task-column>details>summary{font-size:12px}.task-card select{font-size:12px;padding:7px}.task-card button{margin-top:8px}.check-row{display:flex;align-items:center;gap:12px;margin:12px 0}.checked{text-decoration:line-through;color:var(--muted)}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.new-column{border-style:dashed}@media(max-width:680px){.board-toolbar{align-items:flex-start;flex-direction:column}.board-toolbar .search{flex-wrap:wrap}.task-column{flex-basis:270px}nav{order:3;width:100%}}

.board-page{max-width:1800px}

.attachment-preview{max-width:100%;max-height:360px;display:block;margin:12px 0;border-radius:8px}.attachment-link{color:var(--gold);overflow-wrap:anywhere}

/* Create SMP website palette, locally hosted brand assets. */
@font-face{font-family:Righteous;src:url('righteous.ttf') format('truetype');font-weight:400;font-display:swap}
body{background:radial-gradient(ellipse at 90% 0,rgba(94,69,150,.16),transparent 48%),var(--bg);min-height:100vh;display:flex;flex-direction:column}
header{background:rgba(10,22,29,.94);padding:18px 5%;box-shadow:0 4px 30px #0002;gap:24px}
.brand{display:flex;align-items:center;gap:14px;letter-spacing:0;white-space:nowrap}.brand img{width:68px;height:68px;object-fit:contain}.brand-name{font-family:Righteous,system-ui,sans-serif;font-size:22px}.brand span{margin-left:0;border-color:#4adbd655;border-radius:30px;letter-spacing:1px}
main{width:100%;flex:1}h1,h2,.winner h3{font-family:Righteous,system-ui,sans-serif;font-weight:400}h1{letter-spacing:-.8px}h2{letter-spacing:0}
.card,.panel{box-shadow:0 10px 32px #0002}.card{border-top:2px solid #4adbd680}.card strong{color:#fff}.card:nth-child(2){border-top-color:#8099e9}.card:nth-child(3){border-top-color:#a890db}
button{border-radius:24px;transition:background .15s,box-shadow .15s}button:hover:not(:disabled){background:#75e7e2;box-shadow:0 3px 16px #4adbd61a}.secondary,.quiet{border-color:#4adbd66b;color:#d7f8f6}.secondary:hover:not(:disabled),.quiet:hover:not(:disabled){background:#232048;color:#fff}.danger:hover:not(:disabled){background:#b24b4b}
input:focus,textarea:focus,select:focus{outline:2px solid var(--gold);outline-offset:2px}.pill{border-radius:20px}.winner{background:linear-gradient(135deg,#232048,#182935);border-color:#7565a655}.winner .eyebrow{color:#bdabef}
nav a[aria-current=page]{color:var(--gold);border-bottom:2px solid var(--gold);padding-bottom:6px}.task-column{background:#10222c}.task-card:hover{border-color:#4adbd680}.login{border-top:3px solid var(--gold)}footer{background:#081219}
@media(max-width:680px){.brand img{width:48px;height:48px}.brand-name{font-size:18px}.brand{gap:10px}header{padding:16px 18px;gap:14px}.brand span{font-size:10px;padding:4px 7px}nav{gap:24px}.section-head .search{max-width:100%}}
.statistics-filters{display:flex;flex-wrap:wrap;align-items:end;gap:16px}.statistics-filters label{flex:1;min-width:180px;margin:0}.statistics-filters button{margin-bottom:0}.stats-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.chart-grid{stroke:#29424d;stroke-width:1}.chart-label{fill:#b0c0c8;font:12px system-ui}.chart-line{fill:none;stroke-width:2.5}.chart-line.peak{stroke:#4adbd6}.chart-line.average{stroke:#b49be4}.chart-point{fill:#4adbd6;cursor:pointer;stroke:#0a161d;stroke-width:1}.chart-point:focus,.chart-point:hover{r:7;fill:#fff;outline:none}#player-chart svg{width:100%;min-width:600px;height:auto}#player-chart{overflow:auto}header{flex-wrap:wrap;gap:18px}nav{flex-wrap:wrap}@media(max-width:900px){.stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.stats-cards{grid-template-columns:1fr}}
