#pg-lookup .lookup-note{margin:18px 0;color:var(--calc-muted)}
#pg-lookup #tb-tables{padding:22px}
#pg-lookup .lookup-note button{margin:6px 0;font-size:14px}
#pg-lookup .lookup-help{margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--calc-line)}
#pg-lookup .lookup-help h3{margin:0 0 8px;font-size:19px}
#pg-lookup .lookup-help p{margin:0;max-width:950px}
#pg-lookup .lookup-mobile-choice{display:none;margin-bottom:18px}
#pg-lookup .lookup-mobile-choice label{display:block;margin-bottom:6px;font-weight:600}
#pg-lookup .lookup-method{margin-top:16px;overflow-wrap:anywhere;color:var(--calc-muted)}
#pg-lookup .tb-tbl-chiprow{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
#pg-lookup .tb-tbl-chip{border:1px solid var(--calc-line);background:var(--calc-panel-2);color:var(--calc-text);border-radius:8px;padding:9px 12px;min-height:44px;font:inherit;font-size:14px;cursor:pointer;white-space:normal;text-align:left}
#pg-lookup .tb-tbl-chip.active,#pg-lookup .tb-tbl-find{background:var(--calc-action);color:var(--calc-on-action);border-color:var(--calc-action);font-weight:600}
#pg-lookup :is(button,input,select,[tabindex]):focus-visible{outline:3px solid var(--calc-teal);outline-offset:3px}
#pg-lookup .tb-tbl-body{min-width:0}
#pg-lookup .tb-tbl-formula{margin-bottom:12px;overflow-wrap:anywhere}
#pg-lookup .tb-tbl-lookupbar{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px;background:var(--calc-panel-2);color:var(--calc-text);border:1px solid var(--calc-line);border-radius:9px;margin-bottom:16px}
#pg-lookup .tb-tbl-field{display:flex;flex-direction:column;gap:5px;min-width:0}
#pg-lookup .tb-tbl-field label{font-size:13px;font-weight:600}
#pg-lookup .tb-tbl-field :is(input,select){width:160px;max-width:100%;min-height:44px;border:1px solid var(--calc-line);background:var(--calc-panel);color:var(--calc-text);padding:8px;border-radius:6px;font:inherit}
#pg-lookup .tb-tbl-find{min-height:44px;padding:8px 22px;border:1px solid var(--calc-action);border-radius:6px;font:inherit;cursor:pointer}
#pg-lookup .tb-tbl-result{flex-basis:100%;font-weight:600;overflow-wrap:anywhere}
#pg-lookup .tb-tbl-tablewrap{overflow:auto;max-width:100%;max-height:480px;border:1px solid var(--calc-line);border-radius:8px;scroll-margin:20px}
#pg-lookup .tb-tbl-table{border-collapse:separate;border-spacing:0;width:100%;font:13px 'IBM Plex Mono',monospace;color:var(--calc-text)}
#pg-lookup .tb-tbl-table :is(th,td){padding:9px 12px;text-align:center;white-space:nowrap;border-bottom:1px solid var(--calc-line)}
#pg-lookup .tb-tbl-table thead th{position:sticky;top:0;background:var(--calc-panel-2);color:var(--calc-text);z-index:2}
#pg-lookup .tb-tbl-table tbody th{position:sticky;left:0;background:var(--calc-panel-2);color:var(--calc-text);z-index:1}
#pg-lookup .tb-tbl-table tbody th:not(:first-child){position:static}
#pg-lookup .tb-tbl-table .tbl-corner{left:0;z-index:3}
#pg-lookup .tb-tbl-table tbody tr:nth-child(even){background:var(--calc-panel-2)}
#pg-lookup .tb-tbl-table .tbl-hit-row th,#pg-lookup .tb-tbl-table .tbl-hit-col,#pg-lookup .tb-tbl-table .tbl-hit{background:var(--calc-action)!important;color:var(--calc-on-action)!important;font-weight:700}
#pg-lookup .tb-tbl-table .tbl-hit{outline:2px solid var(--calc-text);outline-offset:-3px}
#pg-lookup .tb-tbl-loading,#pg-lookup .tb-tbl-error{padding:16px;color:var(--calc-text)}
@media(max-width:600px){#pg-lookup #tb-tables{padding:14px}#pg-lookup .lookup-mobile-choice{display:block}#pg-lookup .tb-tbl-chiprow{display:none}#pg-lookup .tb-tbl-field{width:100%}#pg-lookup .tb-tbl-field :is(input,select){width:100%}#pg-lookup .tb-tbl-tablewrap{max-height:360px}#pg-lookup .tb-tbl-lookupbar{padding:12px}}
@media(max-width:600px){#pg-lookup .tb-tbl-table .tbl-corner{white-space:normal;min-width:64px;max-width:88px;overflow-wrap:anywhere}}
