/* Dense, quiet workbench tables. Existing getref navigation/detail tokens remain. */
.v3-table-toolbar label{white-space:nowrap;flex-shrink:0}.v3-pager>span{display:flex;align-items:center;gap:5px}.v3-pager select{display:inline-block;width:auto}.wrap.v3-catalog{display:block}
.v3-filter-role{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:12px}.v3-filter-role select{width:auto;display:inline-block;padding:6px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:4px}
.wrap{max-width:1800px;padding:18px 24px 24px}.review-banner{font-size:11px}.v3-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px}.v3-title>div:first-child{display:flex;align-items:baseline;gap:16px}.v3-title h1{font-size:22px;margin:0;line-height:1.4}.v3-title .sub{font-size:12px}.v3-query,.v3-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v3-query{padding:12px 0;border-top:1px solid var(--line)}.v3-query label,.v3-filters label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);white-space:nowrap}.v3-query input,.v3-query select,.v3-filters select,.v3-pager select,.v3-table-toolbar select{background:var(--input-bg,var(--bg));color:var(--text);border:1px solid var(--line);border-radius:4px;min-height:30px;padding:4px 8px;font:inherit;max-width:100%}.v3-query input[type=date]{width:130px;font-size:12px;color-scheme:dark}.v3-query form{display:flex;gap:5px;margin-left:auto}.v3-query form input{width:220px;font-size:12px}.v3-group{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden;margin-right:7px}.v3-group .btn{border:0;border-radius:0;padding:6px 13px;background:transparent;font-size:12px;min-height:30px}.btn.on{background:var(--primary-wash,#203b34);color:var(--primary,#98ddc4);border-color:#446e5b}.v3-filters{padding:0 0 12px;border-bottom:1px solid var(--line);gap:6px}.v3-filters .btn{font-size:11px;padding:5px 9px}.v3-filters label{margin-left:7px}.v3-filters>.quiet{margin-left:auto}.v3-chips{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:9px 0 0}.v3-chip{border:1px solid #436455;border-radius:4px;background:var(--primary-wash,#203b34);color:var(--primary,#98ddc4);padding:4px 8px;font-size:11px;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.v3-chips small{color:var(--dim);font-size:10px;margin-left:7px}.v3-summary{display:flex;gap:25px;align-items:baseline;flex-wrap:wrap;min-height:57px;padding:17px 0 13px;font-size:11px;color:var(--muted)}.v3-summary b,.v3-summary button{font-size:18px;font-weight:550;color:var(--text);font-variant-numeric:tabular-nums;margin-left:5px}.v3-summary small{font-size:10px;color:var(--dim);margin-left:5px}.v3-summary button{border:0;background:transparent;cursor:pointer;color:var(--gold)}.v3-table-toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:9px}.v3-mode{display:flex;gap:4px}.v3-mode .btn{font-size:12px;padding:6px 11px}.v3-table-toolbar .sub{font-size:10px;margin-right:auto}.v3-table-toolbar label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}.v3-table-toolbar select{font-size:11px}.v3-grid-section{border:1px solid var(--line);border-radius:6px;overflow:hidden}.v3-grid-label{display:flex;gap:12px;align-items:center;padding:10px 12px;background:var(--panel);font-size:12px;border-bottom:1px solid var(--line)}.v3-grid-label span{font-size:10px;color:var(--dim)}.v3-table-scroll{overflow:auto;max-height:calc(100vh - 370px);min-height:170px;scrollbar-color:#42594f transparent;scrollbar-width:thin}.v3-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;table-layout:fixed;font-variant-numeric:tabular-nums}.overview-table{min-width:1060px}.v3-table th{position:sticky;top:0;z-index:2;background:#192627;color:var(--muted);font-size:10px;line-height:1.5;font-weight:500;text-align:right;border-bottom:1px solid var(--line);padding:9px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v3-table td{padding:7px 10px;border-bottom:1px solid #263a37;text-align:right;height:43px;background:var(--bg);line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v3-table tr:last-child td{border-bottom:0}.v3-table tbody tr:hover td{background:#192b27}.v3-table .v3-object{text-align:left;width:270px;position:sticky;left:0;z-index:1;border-right:1px solid #263a37;background:#14201f}.v3-table th.v3-object{z-index:3;background:#192627}.v3-object-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;font-size:12px;text-align:left;color:var(--text)!important}.v3-table small{font-size:10px;color:var(--dim);display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5}.v3-table button:not(.btn){font:inherit;color:var(--primary);background:none;border:0;padding:0;cursor:pointer}.v3-table button:not(.btn):hover{text-decoration:underline}.v3-table button:disabled{color:var(--dim);cursor:default}.v3-table .v3-cell-count{font-weight:600}.v3-table td.v3-heat{background:rgba(117,195,157,var(--heat))}.v3-table .v3-heat button{display:block;width:100%;text-align:right;padding:2px 0}.v3-warn{color:var(--gold)!important}.v3-ready{color:var(--primary);font-size:10px}.muted{color:var(--dim)}.v3-pager{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:var(--panel);border-top:1px solid var(--line);font-size:11px;color:var(--muted);min-height:48px}.v3-pager>div{display:flex;align-items:center;gap:15px}.v3-pager .btn{font-size:11px;padding:4px 9px;min-height:28px}.v3-pager select{font-size:11px;min-height:25px;padding:2px 4px}.v3-footnote{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--dim);line-height:1.6;margin:10px 0}.v3-ledger-layout{display:grid;grid-template-columns:155px minmax(0,1fr);gap:17px;margin-top:4px}.v3-sidebar{padding:10px 12px 10px 0;border-right:1px solid var(--line)}.v3-sidebar>b{display:block;font-size:11px;color:var(--dim);margin-bottom:7px}.v3-sidebar .btn{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;padding:8px 9px;text-align:left;font-size:12px;min-height:33px}.v3-sidebar .btn span{color:var(--dim);font-size:10px}.v3-sidebar p{font-size:10px;line-height:1.9;color:var(--dim);padding:10px 8px}.v3-side-rule{border-top:1px solid var(--line);margin:15px 0}.v3-ledger-main{min-width:0}.v3-directions-strip{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:9px 0 12px}.v3-directions-strip>span{font-size:11px;color:var(--dim);margin-right:5px}.v3-directions-strip .btn{font-size:10px;padding:4px 7px;min-height:27px}.v3-directions-strip b{margin-left:4px;font-weight:500;color:var(--primary)}.ledger-scroll{max-height:calc(100vh - 420px);border:1px solid var(--line);border-bottom:0;border-radius:5px 5px 0 0}.ledger-table{min-width:865px}.ledger-table th,.ledger-table td{text-align:left}.ledger-table th:first-child{width:34px}.ledger-table th:nth-child(2){width:105px}.ledger-table th:nth-child(3){width:26%}.ledger-table th:nth-child(4){width:120px}.ledger-table th:nth-child(5){width:26%}.ledger-table th:nth-child(6){width:125px}.ledger-table th:last-child{width:72px}.ledger-table td{white-space:normal;height:56px;padding:7px 8px;vertical-align:middle}.ledger-table input{accent-color:#98ddc4}.v3-ledger-account button{max-width:100%;overflow:hidden;text-overflow:ellipsis;display:block;text-align:left;white-space:nowrap}.v3-tag{display:inline-block;border:1px solid #3c5349;color:#c0d5c9;border-radius:3px;font-size:10px;padding:0 4px;margin:1px 3px 1px 0;line-height:1.6}.v3-selection{position:sticky;bottom:10px;z-index:4;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px;background:#1d392e;border:1px solid #496b59;border-radius:5px;margin-top:9px;font-size:12px;box-shadow:0 5px 20px #0004}.v3-selection small{font-size:10px;color:var(--muted)}.v3-facet-options{max-height:43vh;overflow:auto;margin:14px 0 18px;display:flex;flex-direction:column;gap:3px}.v3-facet-options label{display:flex;align-items:flex-start;gap:9px;font-size:12px;padding:7px;border-radius:4px;line-height:1.7;cursor:pointer}.v3-facet-options label:hover{background:var(--panel)}.v3-facet-options label[hidden]{display:none}.v3-facet-options input{width:auto;margin-top:4px;accent-color:#98ddc4}.v3-facet-options small{color:var(--gold)}#v3-facet-search{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:9px;color:var(--text)}.v3-loading,.v3-empty{padding:60px 20px;color:var(--muted);text-align:center}.v3-record-head{display:flex;align-items:center;gap:15px;margin-bottom:20px}.v3-record-head h1{font-size:20px;margin:0}.v3-record-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;max-width:1200px}.v3-record-fields{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px 14px;font-size:12px;line-height:1.7;margin:17px 0}.v3-record-fields dt{color:var(--dim)}.v3-record-fields dd{margin:0;overflow-wrap:anywhere}.v3-record-fields dd small{color:var(--dim);font-size:10px}.v3-process-row{border-top:1px solid var(--line);padding:15px 0;font-size:13px}.v3-process-row p{line-height:1.9;color:var(--muted)}.v3-agent .ai-scope{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;font-size:12px;border-bottom:1px solid var(--line)}.v3-agent .ai-scope span{font-size:10px;color:var(--muted)}.v3-agent .ai-mid{display:flex;flex-direction:column;min-width:0;height:100%}.v3-agent .ai-scroll{flex:1;min-height:0}.v3-agent .ai-input{margin:0;border-top:1px solid var(--line);padding:14px}.v3-agent textarea{width:100%;min-height:65px;resize:vertical;background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:10px;color:var(--text);font:inherit;font-size:13px;box-sizing:border-box}.v3-agent .ai-input small{font-size:10px;color:var(--dim)}.v3-user-question{background:#243d32;border:1px solid #436151;border-radius:6px;margin:0 0 20px auto;padding:10px 14px;max-width:90%;font-size:13px}.v3-agent .ai-answer{font-size:13px;line-height:1.9;margin-bottom:30px}.v3-agent table{font-size:12px}.v3-agent .ai-right{overflow:auto}.v3-agent .ai-right-head{padding:12px;font-size:12px;display:flex;justify-content:space-between}.v3-agent .ai-right-head span{font-size:10px;color:var(--dim)}
@media(min-width:1600px){.overview-table .v3-object{width:330px}.v3-table-scroll{max-height:calc(100vh - 350px)}}
@media(max-width:1180px){.v3-title>div:first-child{display:block}.v3-title .sub{font-size:11px}.v3-query form{margin-left:0}.v3-summary{gap:17px}.v3-table-toolbar .sub{display:none}.v3-ledger-layout{grid-template-columns:125px minmax(0,1fr);gap:12px}.v3-footnote{display:block}.v3-footnote span{display:block;margin-top:3px}}
@media(max-width:800px){.wrap{padding:15px}.v3-title{align-items:flex-start}.v3-title>div:last-child{flex-wrap:wrap;justify-content:flex-end}.v3-title h1{font-size:20px}.v3-query{gap:7px}.v3-query form input{width:190px}.v3-query label{flex-wrap:wrap}.v3-summary{gap:12px}.v3-summary b,.v3-summary button{font-size:16px}.v3-ledger-layout{display:block}.v3-sidebar{display:none}.v3-table-scroll{max-height:60vh}.v3-record-layout{display:block}.v3-record-layout>.card{margin-bottom:15px}.v3-group .btn{padding:6px 10px}.v3-chips small{display:none}}
