:root{color-scheme:light;font:12px 'Courier New',monospace;color:#555;background:#fff}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:10px;background:#fff}button,input,select{font:inherit;color:inherit;border:1px solid #aaa;border-radius:0;background:#fff}button{padding:3px 7px;cursor:pointer}button:hover{background:#eee}button:disabled{opacity:.5;cursor:wait}input:not([type=checkbox]),select{width:100%;padding:4px 6px}input:focus,select:focus{outline:1px solid #777;outline-offset:1px}a{color:inherit}h1,h2,p{margin:0}h1,h2{font-size:12px;font-weight:bold}p{line-height:1.4}.muted,.small{font-size:10px;color:#777}.topbar{display:flex;align-items:center;gap:16px;margin-bottom:10px}.brand{font-weight:bold}.header-right{display:flex;align-items:center;gap:8px}main{max-width:760px;margin:0}.page-heading{margin-bottom:8px}.badge{font-size:10px;color:#666}.badge.off{color:#888}.stats{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:12px}.stat{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px}.stat strong{font-size:12px;font-weight:normal}.stat .small{width:100%}.section-nav{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:14px}.section-nav button.selected{background:#ddd;border-color:#888}.card-heading{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 8px}.card-heading p{margin-top:5px}.card{margin-top:10px}.table-scroll{position:relative;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th,td{padding:6px 8px;border-bottom:1px solid #ddd;font-size:11px;font-weight:normal}th{color:#888}th:first-child,td:first-child{padding-left:0}td:last-child{text-align:right}.user-role{display:block;margin-top:3px;font-size:10px;color:#888}.empty{text-align:left!important;padding:10px 0}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:560px}label{display:flex;flex-direction:column;gap:4px;font-size:11px}.checkbox{flex-direction:row;align-items:center;gap:5px}.checkbox input{accent-color:#777}.form-footer{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.form-footer p{max-width:560px}#model-status,#settings-section>p{margin-top:10px}footer{font-size:9px;color:#999;margin-top:14px}.notice{font-size:11px;margin-bottom:10px}.error{font-size:10px;color:#555;line-height:1.4}.login-wrap{margin:0}.login-card{width:200px;padding:0}.login-card form{display:flex;flex-direction:column;gap:8px;margin-top:12px}.login-card>p{margin-top:8px}.login-card button{align-self:flex-start}.login-card .error:empty{display:none}dialog{position:fixed;left:10px;top:20px;right:auto;bottom:auto;margin:0;width:min(350px,calc(100vw - 20px));padding:12px;border:1px solid #aaa;border-radius:0;background:#fff;color:#555;font:12px 'Courier New',monospace}dialog::backdrop{background:rgba(0,0,0,.15)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}dialog form{display:flex;flex-direction:column;gap:10px}.two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dialog-actions{display:flex;gap:4px;margin-top:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:480px){.settings-grid{grid-template-columns:1fr}.card-heading{flex-direction:column}.stats{gap:12px}.topbar{gap:10px}th,td{padding:6px}}
main{max-width:1120px}.topbar,.header-right{flex-wrap:wrap}.stats{gap:18px}.filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:12px 0 8px}.filters label:first-child{flex:1;min-width:180px;max-width:300px}.filters label{min-width:140px}.filters button{min-height:26px}.table-note{margin:8px 0}.token-breakdown{display:block;margin-top:4px;font-size:10px;color:#777;white-space:normal;min-width:150px;line-height:1.4}.tokens-cell{font-variant-numeric:tabular-nums}.row-actions{white-space:normal;min-width:100px}.row-actions button{margin:2px 0 2px 4px}dialog{width:min(430px,calc(100vw - 20px));max-height:calc(100vh - 40px);overflow-y:auto}.password-actions{display:flex;gap:5px;flex-wrap:wrap}.dialog-actions{flex-wrap:wrap}textarea{font:inherit;color:inherit;width:100%;border:1px solid #aaa;background:#fff;padding:8px;resize:vertical;line-height:1.5}.invitation-label{margin:12px 0}#invitation-status{margin-top:8px}.usage-dialog{width:min(1040px,calc(100vw - 20px))}.usage-toolbar{display:flex;align-items:flex-end;gap:10px;margin-bottom:10px}.usage-toolbar label{width:160px}.usage-toolbar button{min-height:26px}.usage-summary th,.usage-summary td{font-variant-numeric:tabular-nums}.history-heading{margin:16px 0 8px}#usage-error:not(:empty){margin:8px 0}#load-more-usage{margin-top:12px}@media(max-width:480px){.header-right{gap:8px}.filters{gap:8px}.filters label{flex:1;min-width:130px}.filters label:first-child{max-width:none;flex-basis:100%}.row-actions button{margin-left:0}.two-columns{grid-template-columns:1fr}}
.request-detail-row>td{text-align:left!important;padding:4px 0 10px;white-space:normal}.request-detail-row details{border-left:2px solid #ddd;padding-left:8px}.request-detail-row summary{cursor:pointer;color:#777;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.request-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.request-metadata dt{font-size:10px;color:#888}.request-metadata dd{margin:3px 0 0;overflow-wrap:anywhere;font-size:11px}.request-prompt{padding:10px;background:#f6f6f6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:11px 'Courier New',monospace;line-height:1.5}.request-error{padding:8px;background:#fff3f3;overflow-wrap:anywhere;font-size:11px}.api-keys-section{border-top:1px solid #ddd;margin-top:22px;padding-top:16px}.key-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:10px}.key-form label:first-child{flex:1;min-width:180px}.key-form button{min-height:26px}#keys-status,#keys-error:not(:empty){margin:8px 0}#key-copy-status{margin-top:8px}#api-keys-list .badge{display:block;margin-top:5px}@media(max-width:640px){.request-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}.key-form label:first-child{flex-basis:100%}}@media(max-width:360px){.request-metadata{grid-template-columns:1fr}}
.request-content-heading{font-size:11px;margin:12px 0 4px}.request-content-heading+.request-prompt{margin-top:4px}
.request-screenshot{display:inline-flex;align-items:center;min-height:44px;font-size:12px;text-underline-offset:2px}
.structured-response{margin-top:14px;padding-top:4px;border-top:1px solid #ddd}.response-answer,.response-explanation{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.response-answer{font-size:12px;font-weight:bold;padding:8px 10px;background:#f6f6f6}.response-explanation{font-size:11px;max-height:280px;overflow:auto}.response-code{font:11px 'Courier New',monospace;line-height:1.6;white-space:pre;overflow:auto;max-width:min(920px,calc(100vw - 80px));max-height:420px;padding:10px;margin:4px 0 0;background:#f6f6f6;tab-size:4}.response-source{margin-top:12px}
