@font-face{font-family:Cygre;src:url('assets/bold.ttf');font-display:swap}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#101314;color:#eef2f0;font:16px/1.5 Arial,sans-serif}a{color:inherit;text-underline-offset:4px}header{padding:24px max(24px,4vw);display:flex;align-items:center;gap:24px;border-bottom:1px solid #ffffff20}header>a{font-family:Cygre;letter-spacing:2px;text-decoration:none}header>span{font-size:12px;letter-spacing:2px;color:#aab8b1}header>button{margin-left:auto}main{max-width:1450px;margin:auto;padding:30px 4vw 80px}h1,h2,h3{font-family:Cygre;line-height:1.2}h1{font-size:36px;margin:12px 0 24px}h2{font-size:26px}p{max-width:850px}.eyebrow{font:12px monospace;letter-spacing:1.5px;color:#ff666c}.panel{padding:28px;background:#1a2021;border:1px solid #ffffff1a;border-radius:12px}.narrow{max-width:520px;margin:40px auto}.muted{color:#a7b3ae;font-size:14px}label{display:block;font-size:14px;margin:14px 0}input,select,textarea{display:block;width:100%;margin-top:7px;background:#101516;border:1px solid #65716c;border-radius:6px;color:#fff;padding:12px;font:inherit;min-height:44px}textarea{min-height:80px;resize:vertical}button,.button{font:inherit;cursor:pointer;background:#263130;color:#edf3f0;border:1px solid #64716c;border-radius:6px;padding:10px 16px;min-height:44px;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#35423f}button:disabled{opacity:.45;cursor:default}.primary{background:#e52128;border-color:#e52128;font-weight:700}.primary:hover{background:#bb1920}.danger{color:#ff979a}form>button{margin-top:16px}.title-row,.toolbar,.actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.actions{justify-content:flex-start}.toolbar{margin:20px 0}.toolbar input{flex:1;min-width:190px;margin:0}.toolbar select{width:auto;margin:0}nav{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 28px}nav button.active{border-color:#ff5a61;background:#3c2226}.stats{display:flex;gap:14px;flex-wrap:wrap}.stat{background:#1b2323;padding:18px 24px;border-radius:8px;min-width:140px}.stat b{display:block;font-size:28px}.table-wrap{overflow:auto;border:1px solid #ffffff20;border-radius:8px}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid #ffffff14;font-size:14px}th{background:#202829;color:#b9c9c1;font-weight:400}td code{color:#fff;font-size:14px}.badge{display:inline-block;border:1px solid #52645d;border-radius:20px;padding:3px 9px;font-size:12px}.badge.verified,.badge.winner{color:#a9e3be;border-color:#538663}.badge.rejected{color:#ffa5a8}.badge.clarify{color:#f3d4a7}#message:not(:empty){padding:14px 18px;background:#273a32;border:1px solid #57856a;margin-bottom:20px;border-radius:8px}#message.error{background:#40252b;border-color:#93565d}dialog{background:#182021;color:#edf2ef;border:1px solid #697b72;border-radius:12px;max-width:720px;width:calc(100% - 32px);max-height:88vh;padding:32px}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:26px;padding:0;width:44px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.check{display:flex;gap:10px;align-items:flex-start}.check input{width:18px;min-height:18px;margin:2px 0}.promo-card{border:1px solid #4f625b;margin:18px 0;padding:16px;border-radius:8px}.promo-card code{font-size:21px;word-break:break-all}.pagination{display:flex;gap:14px;align-items:center;margin-top:20px}.empty{padding:40px;color:#a7b3ae}.invite-link{width:100%;font-size:14px}.public{max-width:900px}.public h1{font-size:clamp(30px,5vw,48px)}@media(max-width:600px){header>span{display:none}main{padding:22px 18px}h1{font-size:30px}.panel{padding:20px}.grid{grid-template-columns:1fr}dialog{padding:26px 20px}.stat{min-width:125px;flex:1}.title-row{align-items:flex-start}}
/* Admin layout: shared control heights, full-width counters, responsive toolbar. */
body:has(#workspace){font-size:14px;color:#eef0f2;background:#111315}
body:has(#workspace) header{min-height:72px;padding:14px max(24px,calc((100vw - 1320px)/2));gap:24px;background:#151719}
body:has(#workspace) header>a{font-size:18px;white-space:nowrap}
body:has(#workspace) main{max-width:1368px;padding:28px 24px 56px}
#workspace .title-row{gap:16px;margin-bottom:24px;align-items:center}
#workspace .title-row h1{font-size:30px;margin:8px 0 0}
#workspace .eyebrow{margin:0;line-height:1.6;overflow-wrap:anywhere;letter-spacing:.6px}
#workspace .title-row>a{font-size:13px;color:#b9bec4;white-space:nowrap}
#tabs{gap:6px;margin:0 0 24px;padding-bottom:12px;border-bottom:1px solid #ffffff16}
#tabs button{background:transparent;border-color:transparent;padding:9px 16px;min-height:42px;color:#aeb5bd}
#tabs button:hover{background:#24272b;color:#fff}
#tabs button.active{background:#392025;border-color:#9c343d;color:#fff}
#workspace .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#workspace .stat{min-width:0;padding:18px 20px;background:#1b1e22;border:1px solid #ffffff12;border-radius:10px;color:#aeb5bd;font-size:13px}
#workspace .stat b{font-size:30px;line-height:1.2;margin-bottom:8px;color:#f5f6f7;font-variant-numeric:tabular-nums}
#workspace .stat:first-child{border-top:2px solid #ee3442}
#workspace .toolbar{gap:10px;margin:20px 0 16px}
#workspace .toolbar>button{margin-top:0}
#filters{display:flex;align-items:stretch}
#filters input{min-width:240px}
#filters select{min-width:170px}
#filters input,#filters select,#filters button,#filters .button{height:44px;min-height:44px;line-height:20px;margin-top:0}
#filters .button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
body:has(#workspace) button,body:has(#workspace) .button{background:#262a2f;border-color:#454c54;border-radius:7px}
body:has(#workspace) button:hover,body:has(#workspace) .button:hover{background:#333941}
body:has(#workspace) .primary{background:#d92331;border-color:#d92331}
body:has(#workspace) .primary:hover{background:#b91e2a}
body:has(#workspace) input,body:has(#workspace) select,body:has(#workspace) textarea{background:#14171a;border-color:#454c54;color-scheme:dark}
body:has(#workspace) :is(button,a,input,select,textarea):focus-visible{outline:2px solid #ff6974;outline-offset:3px}
#workspace .table-wrap{border-color:#ffffff18;background:#171a1d;border-radius:10px}
#workspace th{background:#22262b;color:#aeb6bf;font-size:12px;font-weight:600}
#workspace th,#workspace td{padding:12px 16px}
#workspace td{height:64px;font-size:13px}
#workspace td code{font-size:13px}
#workspace td:last-child{text-align:right}
#workspace td button{padding:6px 12px;min-height:36px;font-size:13px}
#workspace tbody tr:hover{background:#ffffff03}
#workspace tbody tr:last-child td{border-bottom:0}
#workspace .badge.pending{background:#352c1b;border-color:#776035;color:#f3d48f}
#workspace .badge.verified{background:#193329}
#workspace .badge.rejected{background:#382126}
#workspace .pagination{justify-content:flex-end;gap:12px;margin-top:16px;font-size:13px;color:#aeb5bd;flex-wrap:wrap}
#workspace .pagination button{font-size:13px;min-height:38px;padding:7px 12px}
#modal{background:#1b1e22;border-color:#454c54;padding:28px;max-height:calc(100dvh - 32px)}
#modal h2{padding-right:40px;margin-top:0;font-size:24px;overflow-wrap:anywhere}
#modal .close{background:transparent;border:0}
#modal .grid{gap:0 16px}
#modal .promo-card{background:#14171a;border-color:#3a424a}
#modal .actions{gap:8px}
@media(max-width:900px){#filters{display:grid;grid-template-columns:minmax(0,1fr) auto}#filters input{grid-column:1/-1;min-width:0}#filters select{width:100%;min-width:0}#filters .button{grid-column:1/-1}body:has(#workspace) header>span{display:none}}
@media(max-width:600px){body:has(#workspace) main{padding:20px 16px 40px}body:has(#workspace) header{padding:12px 16px;min-height:64px}#workspace .title-row{align-items:flex-start;margin-bottom:20px}#workspace .title-row h1{font-size:26px}#workspace .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#workspace .stat{padding:14px;font-size:12px}#workspace .stat b{font-size:26px}#tabs{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding-bottom:10px}#tabs button{white-space:nowrap;flex-shrink:0;padding:8px 12px}#workspace .pagination{justify-content:center}#modal{padding:24px 18px}#modal .grid{grid-template-columns:1fr}#modal .actions>*{flex:1 1 160px}}
