*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#0d0d10;color:#f8f6f5;font:16px/1.45 "Segoe UI",Arial,sans-serif;min-height:100vh}body:before{content:"";position:fixed;inset:-45vh 12vw auto auto;width:68vw;height:56vh;border-radius:50%;transform:rotate(-17deg);border-bottom:6px solid #8c202d;background:linear-gradient(160deg,transparent,#29191d);z-index:-1}aside{width:178px;position:fixed;inset:0 auto 0 0;background:linear-gradient(158deg,#1c191c,#101012 48%,#31191e 49%,#131215 60%);border-right:1px solid #393238;display:flex;flex-direction:column;padding:36px 12px 18px}.brand{display:flex;align-items:center;gap:8px;font-size:21px}.brand svg{width:42px}aside .brand{flex-direction:column}nav{margin-top:42px;display:grid;gap:6px}a{color:#ff9ca3;text-decoration:none}nav a{padding:14px 10px;color:#eee;border-radius:9px}nav .selected,.primary{background:linear-gradient(115deg,#c62537,#851c28);color:white}footer{margin-top:auto;padding:12px}main{padding:30px clamp(16px,2.4vw,42px);max-width:1680px;margin:auto}aside+main{margin-left:178px}header,.bar,.setup,.session,.bottom{display:flex;gap:16px;align-items:center}header{justify-content:space-between;margin-bottom:24px}h1{font-size:clamp(25px,2.3vw,38px);line-height:1.15;margin:10px 0}h2{font-size:20px;margin:0 0 18px}p,th,label,.summary span{color:#c6bdc1}p{margin:8px 0}.setup{margin-bottom:18px;align-items:stretch}.setup label,.setup button{flex:1}.setup label,.panel,header label{background:linear-gradient(145deg,#242226,#161518 62%);border:1px solid #39353b;border-radius:15px;padding:16px}.setup label,header label,label{display:grid;gap:5px;font-size:14px}input,select,button{font:inherit;color:inherit}input,select{background:#141316;border:1px solid #49434a;border-radius:7px;padding:9px;min-width:0;width:100%}button,.end{cursor:pointer;padding:12px 18px;border:1px solid #554048;border-radius:9px;font-weight:600}button:disabled{opacity:.48;cursor:default}.panel{padding:clamp(17px,2vw,32px);min-width:0}.hero{background:radial-gradient(ellipse at bottom left,#33191e,transparent 38%),linear-gradient(140deg,#212024,#121114);margin-bottom:20px}.pill{border:1px solid #99313e;border-radius:30px;padding:4px 12px;color:#ffc3c6;background:#531620;font-size:12px;font-weight:bold;letter-spacing:.08em}.bar{flex-wrap:wrap}.bar span:last-child:not(:first-child){margin-left:auto}.session{padding-top:20px}.scan{flex:1;text-align:center}.qr{width:min(100%,310px);border-radius:6px;image-rendering:pixelated}.summary{flex:.7;text-align:center;display:grid;gap:6px;border-left:1px solid #3d363b;padding:26px}.summary strong{font-size:60px}.end{display:inline-block;background:#1c1215;border-color:#ad3543;color:#fff;margin-top:12px}.placeholder{font-size:82px;color:#aa6c75}.bottom{align-items:stretch}.bottom>section:first-child{flex:1.6}.bottom>section:last-child{flex:1}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:12px 7px;text-align:left;border-bottom:1px solid #363137}th{font-weight:500}.avatar{width:46px;height:46px;object-fit:cover;border-radius:10px}.entry{display:flex;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #343034}.entry small{margin-left:auto}.solo{max-width:440px;margin:8vh auto}.solo label{margin:18px 0}.solo button,#preview{width:100%}#preview{max-height:250px;object-fit:contain}.link{border:0;background:transparent;color:#cac2c5;padding:8px 0}button:focus-visible,a:focus-visible{outline:3px solid white}
@media(max-width:760px){aside{position:static;width:100%;flex-direction:row;align-items:center;justify-content:space-between;padding:10px;gap:8px}aside .brand{flex-direction:row;font-size:0}aside .brand svg{width:29px}nav{margin:0;display:flex;font-size:13px}nav a{padding:8px 4px}footer{padding:0;margin:0;font-size:13px}footer b{display:none}aside+main{margin:0}main{padding:18px 12px}header{align-items:flex-start;flex-wrap:wrap}.setup,.session,.bottom{display:grid}.setup{gap:8px}.setup label{padding:9px}.summary{border:0;padding:8px}.summary strong{font-size:42px}.qr{width:min(76vw,310px)}.bar{gap:8px}.panel{overflow-wrap:anywhere}.solo{margin:4vh auto}}
@media (min-width: 761px) {
  .setup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(0, 1.2fr);
  }
  .setup > label { min-width: 0; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .setup { grid-template-columns: 1fr 1fr; }
}
