:root{color:#152a33;background:#f2f6f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin-top:0}.app-shell{width:min(1480px,calc(100% - 40px));margin:0 auto;padding:24px 0 56px}.topbar{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:18px}.brand-block{display:flex;gap:13px;align-items:flex-start}.brand-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#175f73;box-shadow:0 6px 16px #175f7333}h1{margin-bottom:4px;font-size:clamp(1.35rem,2vw,1.72rem);letter-spacing:-.025em}h2{margin-bottom:0;font-size:1.08rem}h3{margin-bottom:12px;font-size:.95rem}.eyebrow{margin-bottom:4px;color:#55737e;font-size:.68rem;font-weight:800;letter-spacing:.12em}.subtitle{margin-bottom:0;color:#647b84;font-size:.88rem}.topbar-actions,.status-strip,.read-only-badge,.quiet-button,.primary-button,.back-button,.section-title{display:flex;align-items:center;gap:7px}.read-only-badge{border:1px solid #a8c9b5;border-radius:999px;padding:7px 11px;color:#28633d;background:#edf8f1;font-size:.79rem;font-weight:750}.quiet-button,.back-button{min-height:36px;border:1px solid #c7d4d8;border-radius:7px;padding:0 11px;color:#3b545d;background:#fff}.status-strip{min-height:42px;border:1px solid #cad8dc;border-radius:8px;padding:7px 8px 7px 12px;background:#fff;color:#4d6871;font-size:.84rem;box-shadow:0 2px 8px #17313a0a}.status-strip span{flex:1}.status-strip button{width:31px;height:28px;display:grid;place-items:center;border:0;border-radius:6px;background:#edf3f5;color:#315763}.spinning{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:16px 0}.metric-card{display:flex;gap:13px;min-height:112px;padding:18px;border:1px solid #d1dde0;border-radius:10px;background:#fff;box-shadow:0 3px 12px #17313a0a}.metric-icon{flex:0 0 38px;height:38px;display:grid;place-items:center;border-radius:9px;color:#17657b;background:#e8f3f6}.metric-card.red .metric-icon{color:#a92e35;background:#fff0f0}.metric-card.amber .metric-icon{color:#91631a;background:#fff7df}.metric-card p{margin-bottom:5px;color:#5c737c;font-size:.78rem;font-weight:700}.metric-card strong{display:block;margin-bottom:3px;font-size:1.65rem;letter-spacing:-.04em}.metric-card span{color:#809198;font-size:.73rem}.filter-panel,.records-panel,.context-card,.hook-card,.diff-card{border:1px solid #d1dde0;border-radius:10px;background:#fff;box-shadow:0 3px 12px #17313a0a}.filter-panel{padding:16px;margin-bottom:16px}.section-title{margin-bottom:13px}.filter-grid{display:grid;grid-template-columns:140px repeat(4,minmax(140px,1fr)) auto;gap:10px;align-items:end}label{display:grid;gap:6px;color:#4a626b;font-size:.76rem;font-weight:750}input,select{width:100%;min-height:38px;border:1px solid #c5d2d6;border-radius:7px;padding:7px 9px;color:#20363e;background:#fbfdfd}input:focus,select:focus,button:focus-visible{outline:2px solid #83b9c7;outline-offset:1px}.primary-button{justify-content:center;min-height:38px;border:1px solid #155c70;border-radius:7px;padding:0 14px;color:#fff;background:#1b667a;font-weight:750}.records-panel{overflow:hidden}.records-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;border-bottom:1px solid #dbe4e6}.records-heading>span{color:#6e838b;font-size:.78rem}.records-table{overflow-x:auto}.record-row{width:100%;min-width:980px;display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr .7fr .65fr 24px;gap:12px;align-items:center;min-height:54px;border:0;border-bottom:1px solid #e2e9eb;padding:8px 18px;text-align:left;color:#38515a;background:#fff}button.record-row:hover{background:#f5f9fa}.record-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.record-row>span:first-child{display:flex;align-items:center;gap:6px}.record-header{min-height:38px;color:#70848c;background:#f7fafb;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.record-header span{font-size:.72rem}.magnitude{font-weight:750}.change-type{display:inline-block;width:fit-content;border-radius:999px;padding:5px 9px;font-size:.7rem;font-weight:800;text-transform:capitalize}.change-type.added{color:#a02d35;background:#ffeded}.change-type.deleted{color:#875b16;background:#fff4d7}.change-type.modified{color:#4d4b91;background:#eef}.empty-state{padding:40px 18px;text-align:center;color:#71858d}.detail-view{margin-top:18px}.back-button{margin-bottom:12px}.detail-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:19px;border:1px solid #d1dde0;border-radius:10px 10px 0 0;background:#fff}.detail-header p:last-child{margin:7px 0 0;color:#6b8189;font-size:.82rem}.notice{display:flex;gap:9px;align-items:flex-start;padding:11px 15px;border:solid #e9b8bb;border-width:0 1px 1px;color:#7f2d34;background:#fff4f4;font-size:.82rem;line-height:1.45}.notice svg{flex:none;margin-top:1px}.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin:14px 0}.context-card,.hook-card{padding:17px}.context-card p{margin:0;color:#415962;white-space:pre-wrap;line-height:1.55;font-size:.86rem}.hook-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e3eaec;color:#5f757d;font-size:.78rem}.hook-row strong{color:#755019;text-transform:capitalize}.fingerprint{margin:11px 0 0;color:#83949a;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.67rem;overflow-wrap:anywhere}.diff-card{overflow:hidden}.diff-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #dbe4e6}.diff-heading h3{margin:0}.diff-heading span{color:#8b3e43;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.diff-output{max-height:650px;overflow:auto;padding:10px 0;background:#fbfcfc;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.81rem;line-height:1.55}.diff-line{display:grid;grid-template-columns:25px 1fr;padding:1px 17px;white-space:pre-wrap;overflow-wrap:anywhere}.diff-line.added{color:#b4232d;background:#ffebec;font-weight:700}.diff-line.deleted{color:#9c4c51;background:#fff5f5;text-decoration:line-through;text-decoration-thickness:1px}.line-symbol{-webkit-user-select:none;user-select:none;opacity:.75}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 10%,#edf6f8 0,#f4f7f8 45%,#e8eff1)}.auth-card{width:min(430px,100%);display:grid;gap:14px;padding:30px;border:1px solid #cedade;border-radius:12px;background:#fff;box-shadow:0 20px 50px #17313a21}.auth-card>svg{color:#17657b}.auth-card h1{margin:-8px 0 0}.auth-card p{margin-bottom:0;color:#5d737c;line-height:1.45}.password-entry{display:grid;grid-template-columns:1fr auto;gap:7px}.password-entry button{min-width:65px;border:1px solid #c5d2d6;border-radius:7px;background:#f6f9fa}.link-button{min-height:30px;border:0;color:#17657b;background:transparent;text-decoration:underline}.password-note{padding:9px 11px;border-radius:7px;background:#f1f6f7;font-size:.75rem}@media(max-width:1000px){.metric-grid,.filter-grid{grid-template-columns:repeat(2,1fr)}.filter-grid .primary-button{grid-column:span 2}}@media(max-width:680px){.app-shell{width:min(100% - 20px,620px);padding-top:14px}.topbar,.detail-header{flex-direction:column;align-items:stretch}.topbar-actions{justify-content:space-between}.metric-grid,.filter-grid,.detail-grid{grid-template-columns:1fr}.filter-grid .primary-button{grid-column:auto}.metric-card{min-height:96px}}
