.physician-lookup{--docpref-border: #c7d2dc;--docpref-control-bg: #ffffff;--docpref-control-text: #111827;--docpref-muted: #4b5563;--docpref-panel: #e5e9ef;--docpref-table-bg: #ffffff;--docpref-table-alt: #f3f6f9;--docpref-table-head: #eef6ff;--docpref-table-pinned: #ffffff;--docpref-text: #111827;background:#7d8086;border-radius:.5rem;color:var(--docpref-text);display:grid;gap:.55rem;margin-top:-.5rem;max-width:none;padding:.35rem 1rem 1rem;width:100%}.lookup-header{align-items:end;display:flex;gap:1rem;justify-content:space-between}.lookup-header h1{margin-bottom:.25rem}.lookup-header p,.result-count{color:var(--docpref-text);margin:0}.lookup-header p{font-weight:700}.result-count{font-weight:700;white-space:nowrap}.control-panel{background:var(--docpref-panel);border:0;border-radius:.5rem;padding:1rem}.lookup-controls{display:grid;gap:.85rem;grid-template-columns:1fr}.lookup-controls label{display:grid;gap:.25rem}.lookup-controls span,.advanced-controls summary,.column-controls summary{color:var(--docpref-text);font-size:.85rem;font-weight:700}.lookup-controls input,.lookup-controls select,.lookup-controls button,.column-controls button,.search-control input,.search-control button{background:var(--docpref-control-bg);border:1px solid var(--docpref-border);border-radius:.35rem;color:var(--docpref-control-text);font:inherit;min-height:2.4rem;padding:.45rem .6rem;width:100%}.lookup-controls button,.column-controls button,.search-control button{cursor:pointer;font-weight:700;width:auto}.table-toolbar{align-items:center;display:flex;gap:.75rem;position:relative}.search-control{color:var(--docpref-text);display:grid;flex:1 1 auto;gap:.25rem;max-width:none;min-width:18rem;padding-top:.25rem}.search-control>span{color:var(--docpref-text);font-size:.85rem;font-weight:700}.search-input-wrap{display:grid;gap:.5rem;grid-template-columns:minmax(0,1fr) auto}.search-control input{width:100%}.search-control button[hidden]{display:none}.filter-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));margin-top:.75rem;max-width:100%}.filter-grid label,.control-row label,.filter-grid select,.control-row select{min-width:0}.control-row{align-items:end;display:flex;flex-wrap:wrap;gap:.75rem}.control-row label{flex:1 1 14rem}.advanced-controls,.column-controls{min-width:0}.column-controls{flex:0 0 auto;height:3rem;padding:0;position:relative;width:7.75rem}.column-controls summary{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.5rem;height:100%;list-style:none;margin:0;padding:.55rem .75rem;white-space:nowrap;width:100%}.column-controls summary::-webkit-details-marker{display:none}.column-controls summary::marker{content:""}.column-controls summary:before{align-items:center;content:"☰";display:inline-flex;font-size:.95rem;font-weight:700;height:1rem;justify-content:center;line-height:1;margin-right:0;width:1rem}.column-controls[open] summary{margin:0}.column-menu{background:var(--docpref-panel);border:1px solid var(--docpref-border);border-radius:.5rem;box-shadow:0 1rem 2rem #00000040;max-height:60vh;overflow:auto;padding:1rem;position:absolute;right:0;top:calc(100% + .5rem);width:min(42rem,calc(100vw - 2rem));z-index:80}.column-actions{align-items:stretch;display:flex;gap:.5rem;margin-top:0}.column-actions button{align-items:center;box-sizing:border-box;display:inline-flex;flex:0 0 11rem;height:3rem;justify-content:center;margin:0;min-height:0;padding:0;width:11rem}.column-grid{display:grid;column-gap:1.25rem;row-gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));margin-top:.75rem}.column-grid label{align-items:center;display:flex;flex-direction:row;gap:.4rem;justify-content:flex-start;line-height:1.25}.column-grid input{flex:0 0 auto;min-height:auto;width:auto}.active-filters{color:var(--docpref-muted);font-size:.9rem}.lookup-results{display:grid;gap:1.25rem}.result-group{display:grid;gap:.65rem}.result-group>h2{font-size:1rem;margin:0}.table-scroll-region{display:grid;gap:0;max-width:100%}.table-top-scroll{background:#252525;border-bottom:1px solid var(--docpref-border);border-radius:.5rem .5rem 0 0;height:1rem;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-color:#777 #252525}.table-top-scroll-spacer{height:1px}.table-top-scroll::-webkit-scrollbar{height:1rem}.table-top-scroll::-webkit-scrollbar-track{background:#252525}.table-top-scroll::-webkit-scrollbar-thumb{background:#777;border:3px solid #252525;border-radius:999px}.table-wrapper{background:var(--docpref-table-bg);border:0;border-radius:0 0 .5rem .5rem;height:clamp(38rem,calc(100vh - 12rem),80rem);isolation:isolate;max-width:100%;overflow:auto;overscroll-behavior:contain;position:relative}.preference-table{--data-column-width: clamp(9.5rem, 10vw, 14rem);--name-column-width: clamp(10rem, 14vw, 16rem);--notes-column-width: clamp(13rem, 16vw, 20rem);background:var(--docpref-table-bg);border-radius:inherit;border-collapse:separate;border-spacing:0;display:table;table-layout:fixed;width:max-content}.preference-table thead{display:table-header-group;position:static}.preference-table tbody{display:table-row-group}.preference-table tr{display:table-row}.preference-table th,.preference-table td{display:table-cell}.table-cell{background:var(--docpref-table-bg);border:0;border-bottom:1px solid #9aa9b4;border-right:1px solid #c7d2dc;box-sizing:border-box;color:var(--docpref-text);line-height:1.35;min-height:3.25rem;overflow-wrap:anywhere;overflow:hidden;padding:.65rem .75rem;text-align:left;vertical-align:top;white-space:normal;width:var(--data-column-width)}.notes-column{width:var(--notes-column-width)}.header-cell{background:var(--docpref-table-head);border-bottom-color:var(--docpref-border);color:var(--docpref-text);font-size:.85rem;font-weight:700;min-height:3.75rem;vertical-align:middle}.preference-table thead .header-cell{position:sticky;top:0;z-index:40}.preference-table tbody .table-cell{background:var(--docpref-table-bg);vertical-align:middle}.preference-table tbody tr:nth-child(2n) .table-cell{background:var(--docpref-table-alt)}.row-header{font-weight:700}.pinned-column{background:var(--docpref-table-bg);background-clip:padding-box;border-right:3px solid var(--docpref-border);left:0;width:var(--name-column-width)}.preference-table .pinned-column{position:sticky;left:0;min-width:var(--name-column-width);max-width:var(--name-column-width);z-index:30}.pinned-header{background:var(--docpref-table-head)}.preference-table thead .pinned-header{left:0;border-top-left-radius:.5rem;z-index:60}.preference-table thead .header-cell:last-child{border-top-right-radius:.5rem}.preference-table tbody tr:last-child .pinned-column{border-bottom-left-radius:.5rem}.preference-table tbody tr:last-child .table-cell:last-child{border-bottom-right-radius:.5rem}.physician-lookup mark{background:color-mix(in srgb,var(--sl-color-accent) 50%,transparent);border-radius:.2rem;color:inherit;padding:0 .1rem}.empty-state{background:var(--docpref-panel);border:0;border-radius:0;color:var(--docpref-text);font-weight:700;margin:0;padding:1rem}.card-list{display:none}@media(max-width:44rem){.lookup-header{align-items:start;flex-direction:column}.lookup-controls{grid-template-columns:1fr}.physician-lookup{box-sizing:border-box;margin-left:0;overflow:hidden;transform:none;width:100%}.table-toolbar{align-items:stretch;flex-direction:column;width:100%}.search-control,.column-controls{box-sizing:border-box;max-width:100%;min-width:0;width:100%}.column-controls{flex-basis:auto;height:auto}.column-controls summary{min-height:3rem}.column-menu{left:0;right:auto;width:100%}.table-scroll-region{height:auto;max-height:none}.table-scroll-region{display:none}.card-list{display:grid;gap:.75rem;min-width:0;width:100%}.card-list article{background:var(--docpref-table-bg);border:0;border-radius:0;box-sizing:border-box;color:var(--docpref-text);max-width:100%;min-width:0;overflow-wrap:anywhere;padding:.85rem;width:100%}.card-list h2{color:var(--docpref-text);font-size:1.05rem;margin:0 0 .5rem}.card-list p{margin:.35rem 0}}
