:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1a1a1a;background:#fafafa}*{box-sizing:border-box}body{margin:0}.app{max-width:720px;margin:0 auto;padding:2rem 1.25rem}header h1{margin:0;font-size:1.75rem}.subtitle{margin:.25rem 0 1.5rem;color:#666}.error{color:#b00020}.queue{list-style:none;padding:0;display:grid;gap:1rem}.card{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:1rem 1.25rem}.question{font-weight:600;margin-bottom:.5rem}.reasoning{color:#555;font-size:.92rem;margin-top:.25rem}.confidence{margin-top:.5rem;font-size:.8rem;color:#888}.actions{display:flex;gap:.5rem;margin-top:.75rem}.actions button{font:inherit;padding:.4rem .9rem;border:1px solid #ccc;border-radius:6px;background:#fff;color:#1a1a1a;cursor:pointer}.actions button:hover:not(:disabled){background:#f2f2f2}.actions button:disabled{opacity:.5;cursor:not-allowed}.btn-approve,.btn-confirm{border-color:#0e8a16;color:#0e8a16}.btn-reject{border-color:#b00020;color:#b00020}.review-form{margin-top:.75rem;display:grid;gap:.5rem}.review-form label{display:grid;gap:.25rem;font-size:.85rem;color:#555}.review-form textarea,.category-select select,.category-new input{font:inherit;padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px;width:100%;resize:vertical}.category-select label{display:grid;gap:.25rem;font-size:.85rem;color:#555}.category-new{display:flex;gap:.5rem;margin-top:.5rem}.category-new input{flex:1}.category-new button{font:inherit;padding:.4rem .9rem;border:1px solid #ccc;border-radius:6px;background:#fff;cursor:pointer}.card-error{color:#b00020;font-size:.85rem;margin:.5rem 0 0}.tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid #e5e5e5}.tab{font:inherit;padding:.5rem .9rem;border:none;border-bottom:2px solid transparent;background:none;color:#666;cursor:pointer}.tab:hover{color:#1a1a1a}.tab.active{color:#1a1a1a;border-bottom-color:#1a1a1a;font-weight:600}.browser,.summary-viewer{display:grid;gap:1rem}.browser-filter{display:grid;gap:.25rem;font-size:.85rem;color:#555}.browser-filter select{font:inherit;padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px}.sheet-list{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.sheet-row{font:inherit;text-align:left;width:100%;display:grid;gap:.2rem;padding:.75rem 1rem;border:1px solid #e5e5e5;border-radius:8px;background:#fff;cursor:pointer}.sheet-row:hover{background:#f7f7f7}.sheet-row.selected{border-color:#1a1a1a}.sheet-row-decision{font-weight:600}.sheet-row-situation{color:#777;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.browser-note{color:#888;font-size:.8rem}.sheet-detail-head,.summary-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.sheet-detail-head button{font:inherit;padding:.25rem .7rem;border:1px solid #ccc;border-radius:6px;background:#fff;cursor:pointer}.sheet-meta{font-size:.8rem;color:#888}.sheet-field{margin-bottom:.75rem}.sheet-label{display:block;font-size:.75rem;color:#888;margin-bottom:.2rem}.sheet-text{margin:0;white-space:pre-wrap}.sheet-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}.tag{font-size:.75rem;padding:.15rem .5rem;border-radius:999px;background:#eef;color:#446}.btn-edit{border-color:#555;color:#555}.review-form input[type=text]{font:inherit;padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px;width:100%}.confirm-prompt{font-size:.85rem;color:#b00020;align-self:center}.summary-content{margin:0;white-space:pre-wrap;line-height:1.5}.browser-filter input{font:inherit;padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px}.category-row{padding:.75rem 1rem;border:1px solid #e5e5e5;border-radius:8px;background:#fff}.category-view{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.category-info{display:grid;gap:.2rem}.category-name{font-weight:600}.category-desc{color:#777;font-size:.85rem}.category-edit{display:grid;gap:.5rem}.category-edit input{font:inherit;padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px;width:100%}.category-view .actions{margin-top:0;flex-wrap:wrap}.calibration,.calib-session{display:grid;gap:1rem}.calib-question-head,.calib-progress-head,.calib-session-head{display:flex;justify-content:space-between;align-items:center}.calib-question-head{margin-bottom:.5rem}.calib-hint{color:#666;font-size:.85rem;margin:.25rem 0 .75rem}.calib-answer-form{display:grid;gap:.5rem}.calib-answer-form label{display:grid;gap:.25rem;font-size:.85rem;color:#555}.calib-answer-form textarea{font:inherit;padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px;width:100%;resize:vertical}.calib-compare{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin:.5rem 0 .75rem}.calib-side{border:1px solid #e5e5e5;border-radius:8px;padding:.6rem .75rem}.calib-prediction{background:#f3f6ff}.calib-actual{background:#f4faf4}.calib-side-label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em;color:#888;margin-bottom:.3rem}.calib-side-decision{margin:0;font-weight:600;white-space:pre-wrap}.calib-score{display:flex;align-items:baseline;gap:.75rem}.calib-match{font-weight:600;color:#0e8a16}.calib-progress{display:grid;gap:.6rem}.calib-trend{list-style:none;margin:0;padding:0;display:grid;gap:.3rem}.calib-trend li{display:flex;justify-content:space-between;font-size:.9rem}.calib-trend-label{color:#777}.calib-trend-rate{font-weight:600}.calib-complete{display:grid;gap:.5rem}@media(max-width:520px){.calib-compare{grid-template-columns:1fr}}header{display:flex;justify-content:space-between;align-items:flex-start}.logout{font:inherit;padding:.4rem .9rem;border:1px solid #ccc;border-radius:6px;background:#fff;color:#555;cursor:pointer}.logout:hover{background:#f2f2f2}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:1.25rem}.auth-card{width:100%;max-width:360px;background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:1.5rem;display:grid;gap:.75rem}.auth-card h2{margin:0}.auth-hint{margin:0;color:#666;font-size:.88rem}.auth-card input{font:inherit;padding:.5rem .6rem;border:1px solid #ccc;border-radius:6px}.auth-card button{font:inherit;padding:.5rem .9rem;border:1px solid #0e8a16;border-radius:6px;background:#fff;color:#0e8a16;cursor:pointer}.auth-card button:disabled{opacity:.5;cursor:not-allowed}.token-issued{background:#f6fff6;border:1px solid #0e8a16;border-radius:8px;padding:.75rem 1rem;margin:1rem 0}.token-plaintext{display:block;margin:.5rem 0;padding:.5rem;background:#f2f2f2;border-radius:6px;word-break:break-all;font-size:.85rem}.token-row{display:flex;justify-content:space-between;align-items:center}.token-info{display:flex;align-items:center;gap:.6rem}.token-label{font-weight:600}.token-prefix{color:#888;font-size:.85rem}.token-revoked{color:#b00020;font-size:.8rem}
