:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#edf1f4;background:#11161b;font-size:14px;color-scheme:dark;--line:#35414b;--muted:#9eaab7;--green:#c8ef85}*{box-sizing:border-box}body{margin:0}header{height:72px;padding:0 32px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#151c22}header strong{font-size:24px}header span{margin-left:20px;color:var(--muted)}main{max-width:1600px;margin:auto;padding:32px}h1{font-size:26px;margin:0 0 8px}h2{font-size:20px;margin:0}h3{font-size:15px;margin-top:26px}p{line-height:1.75}.heading,.actions,.toolbar,.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.heading{margin-bottom:24px}.heading p{margin:0;color:var(--muted)}button{border:1px solid var(--line);border-radius:7px;background:#28323b;color:#edf1f4;cursor:pointer;font:inherit;font-size:13px;padding:10px 14px;white-space:nowrap}button:hover{border-color:#8cab64}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);color:#152019;border-color:var(--green);font-weight:600}.panel{border:1px solid var(--line);border-radius:12px;background:#1a232b;overflow:hidden}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;background:#1a232b;margin-bottom:24px}.summary>div{padding:24px;border-right:1px solid var(--line)}.summary>div:last-child{border:0}.summary span{color:var(--muted);font-size:12px}.summary strong{display:block;font-size:27px;font-weight:600;margin-top:12px;font-variant-numeric:tabular-nums}.toolbar{padding:18px 20px;border-bottom:1px solid var(--line)}.toolbar input{width:280px}.toolbar span{font-size:12px;color:var(--muted)}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;color:var(--muted);font-weight:500;background:#182028}td,th{padding:17px 14px;border-bottom:1px solid #303a43;vertical-align:top}td{font-size:13px;font-variant-numeric:tabular-nums}td small{display:block;color:var(--muted);font-size:11px;margin-top:6px;max-width:240px;white-space:normal;line-height:1.6}td button{padding:5px 8px;font-size:12px;margin:0 3px 4px 0}.client-value{color:var(--green);font-weight:600}.badge{padding:4px 7px;border:1px solid #516448;border-radius:5px;color:#c9e2a8;font-size:11px}.muted,.hint,.footnote{color:var(--muted);font-size:12px;line-height:1.75}.footnote{margin:16px 2px}.error{color:#ffb1a8;white-space:pre-wrap}.empty{padding:25px;color:var(--muted);text-align:center}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 22px;border:1px solid #829c59;border-radius:8px;background:#273420;max-width:90vw;z-index:20}input,select,textarea{width:100%;background:#121a21;border:1px solid var(--line);border-radius:6px;color:#edf1f4;padding:11px 12px;font:inherit;font-size:14px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green)}label{display:block;margin-top:18px;font-size:12px;color:#c5ced7}label input,label select,label textarea{margin-top:8px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.login{max-width:420px;margin:8vh auto;padding:30px}.login .primary,dialog form>.primary{width:100%;margin-top:22px}dialog{width:min(570px,calc(100vw - 24px));max-height:90vh;overflow:auto;background:#1a232b;color:#edf1f4;border:1px solid #536170;border-radius:12px;padding:26px}dialog::backdrop{background:#0009}.dialog-head{margin-bottom:14px}.dialog-head button{padding:3px 10px;font-size:22px;background:none;border:0}.suggestion{padding:18px;background:#263122;border:1px solid #4a6036;border-radius:8px;margin-top:20px}.suggestion span,.suggestion small{display:block;font-size:12px;color:#c5d5b5}.suggestion strong{display:block;font-size:28px;color:var(--green);margin:10px 0}.wide{width:min(1160px,calc(100vw - 24px))}.wide td{white-space:normal}.wide td:first-child{max-width:190px;overflow-wrap:anywhere}.wide .table-scroll{max-height:370px;overflow:auto}#auditRows{font-size:12px;line-height:1.8;overflow-wrap:anywhere}#clientToken{margin:8px 0 15px;word-break:break-all}details{margin-top:22px}[hidden]{display:none!important}@media(max-width:800px){main{padding:18px 12px}header{padding:0 16px;height:66px}header span{font-size:11px;margin-left:10px}.heading{align-items:flex-start;flex-direction:column}.summary{grid-template-columns:1fr 1fr}.summary>div{padding:16px}.summary strong{font-size:21px}.toolbar{align-items:flex-start;flex-direction:column}.toolbar input{width:100%}dialog{padding:20px}.two{grid-template-columns:1fr}h1{font-size:23px}.summary>div:nth-child(2){border-right:0}.summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}

.token-reset{border-top:1px solid var(--line,#343d47);margin-top:24px;padding-top:16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.token-reset button{color:#ffada2}.token-reset small{color:#9fa9b6}#retainTokenSection{margin-top:16px}#clientToken{overflow-wrap:anywhere}
/* Team admin additions, scoped to the new page. */
body.team-admin main>.heading .actions,body.team-admin .panel>.heading .actions{flex-wrap:wrap;justify-content:flex-end}body.team-admin .panel{padding:22px;margin-bottom:24px}body.team-admin .panel>.heading{align-items:flex-start}body.team-admin .summary strong{font-size:24px}body.team-admin #ledgerDialog{width:min(1100px,calc(100vw - 24px))}body.team-admin header a{font-size:12px;color:#c8ef85}body.team-admin .table-scroll{max-width:100%}body.team-admin #code{margin-bottom:15px}@media(max-width:800px){body.team-admin .panel{padding:14px}body.team-admin .panel>.heading .actions{justify-content:flex-start}body.team-admin .summary strong{font-size:17px}body.team-admin .summary>div{padding:12px}body.team-admin header strong{font-size:20px}body.team-admin header span{display:none}}
