/* Operate surface: reuse knowledge-library navigation/document/properties. */
.vl-library{padding-top:24px;font-size:13px;line-height:1.65}
.vl-library .p1-library-nav{align-self:start;max-height:none;height:auto;overflow:visible}
.vl-library .vl-platform{margin-bottom:30px;padding:0 4px}
.vl-platform label{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}
.vl-platform>div{display:flex;align-items:center;gap:8px}
.vl-platform .ai-platform-icon{flex:none}
.vl-platform select{width:100%;min-width:0;height:36px;border:1px solid var(--line);border-radius:5px;background:var(--bg,#fff);color:var(--text);font:inherit;font-size:12px;padding:0 6px}
.vl-platform .plane-select{flex:1;min-width:0}.vl-platform .plane-select-trigger{border:1px solid var(--line);border-radius:5px;min-height:36px;padding:7px 8px;background:var(--bg,#fff);font-size:12px}.vl-platform small{display:block;margin-top:8px;color:var(--muted);font-size:12px}
.vl-library .p1-library-nav button{width:100%;display:flex;justify-content:space-between;text-align:left;gap:8px}
.vl-library .p1-document-heading{margin-bottom:24px}
.vl-library .p1-document-heading p{margin-bottom:0}
.vl-library .p1-heading-line{display:flex;align-items:center;justify-content:space-between}
.vl-library .vl-properties h3{display:flex;align-items:center;gap:8px}
.vl-library .vl-properties dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0}
.vl-library .vl-properties dd{margin:0;text-align:right}
.vl-property-note{border-top:1px solid var(--line);margin-top:16px;padding-top:18px;font-size:12px}
.vl-property-note span{color:var(--muted)}
.vl-property-note p{margin:5px 0 16px;overflow-wrap:anywhere}
.vl-note{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0}
.vl-scoreboard{background:var(--soft);border-radius:12px;display:grid;grid-template-columns:164px minmax(0,1fr);padding:24px;gap:28px}
.vl-score{border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;gap:12px}
.vl-score>span{font-size:12px;color:var(--muted)}
.vl-score strong{font-size:40px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}
.vl-score strong small{font-size:12px;color:var(--muted);font-weight:400;margin-left:6px}
.vl-scoreboard dl{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}
.vl-scoreboard dt{font-size:12px;color:var(--muted)}
.vl-scoreboard dd{font-size:25px;line-height:1.4;font-weight:500;margin:5px 0;font-variant-numeric:tabular-nums}
.vl-scoreboard dl small{font-size:12px;color:var(--muted)}
.vl-findings{margin:0}
.vl-findings>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}
.vl-findings dt{font-weight:500}
.vl-findings dd{margin:0;color:var(--muted)}
.vl-method{padding:16px 20px;background:var(--soft);border-radius:10px;color:var(--muted)}
.vl-method p{margin:6px 0;line-height:1.9}
.vl-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.vl-table th{background:var(--soft);text-align:left;font-weight:500;color:var(--muted);padding:11px 12px;font-size:12px}
.vl-table td{padding:16px 12px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.vl-table th:first-child{width:32%}
.vl-table th:last-child{width:96px}
.vl-table small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.vl-table strong{font-weight:500}
.vl-table .btn{font-size:12px;min-height:30px;padding:4px 9px;white-space:nowrap}
.vl-table a{color:var(--primary,#0073aa)}
.vl-table .vl-target td{background:var(--soft)}
.vl-sources th:first-child{width:34%}
.vl-sources th:nth-child(2){width:72px}
.vl-sources th:last-child{width:75px}
.vl-questions th:first-child{width:54px}
.vl-questions th:last-child{width:85px}
.vl-questions td:first-child{color:var(--muted);font-size:12px}
.vl-questions td:last-child{font-size:12px;color:var(--muted)}
.vl-questions textarea{field-sizing:content;width:100%;min-height:62px;resize:vertical;padding:9px 10px;border:1px solid var(--line);border-radius:5px;color:var(--text);font:inherit;background:var(--bg,#fff);line-height:1.65}
.vl-inline-evidence details{border-bottom:1px solid var(--line);padding:12px 0}
.vl-inline-evidence summary{cursor:pointer;font-weight:500;line-height:1.8}
.vl-evidence-body{padding:14px 16px;background:var(--soft);margin-top:12px;border-radius:6px;overflow-wrap:anywhere;line-height:1.9}
.vl-evidence-body p{margin:10px 0}
.vl-source-article{padding:12px 8px 20px}
.vl-source-article+.vl-source-article{border-top:1px solid var(--line)}
.vl-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:24px 0 12px}
.vl-segment{display:flex;gap:4px}
.vl-segment .btn[aria-pressed=true]{background:var(--plane-active);color:var(--text)}
.vl-toolbar form{display:flex;gap:6px}
.vl-toolbar input{width:180px;min-width:0;border:1px solid var(--line);border-radius:5px;padding:7px 10px;font:inherit;background:var(--bg,#fff);color:var(--text)}
.vl-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 0;color:var(--muted);font-size:12px}
.vl-pagination>div,.vl-history-actions{display:flex;gap:8px;flex-wrap:wrap}
.vl-history-actions{margin-top:24px}
.vl-mode-note{padding:10px 14px;background:#fff8e9;border-radius:5px;font-size:12px;color:#79602b}
.vl-empty{padding:64px 24px;text-align:center}
.vl-empty>.p1-heading-icon{display:inline-flex}
.vl-empty h3{font-size:18px;margin:18px 0 10px}
.vl-empty p{color:var(--muted);line-height:1.9}
.vl-steps{list-style:none;margin:12px 0;padding:0}
.vl-steps li{display:flex;align-items:center;gap:10px;padding:14px 8px;font-size:12px;color:var(--muted)}
.vl-steps span{font-size:12px}
.vl-steps li[aria-current=step]{color:var(--text);background:var(--plane-active);border-radius:4px;font-weight:500}
.vl-form-actions{display:flex;align-items:center;gap:16px;padding:24px 0}
.vl-form-actions span{font-size:12px;color:var(--muted)}
.vl-library .dt-records{margin:0;padding:0;border:0}
.vl-library .dt-answer-layout{display:grid;grid-template-columns:minmax(180px,28%) minmax(0,1fr);gap:24px;border:0;align-items:start}
.vl-library .dt-answer-layout>nav{position:static;display:block;max-height:none;height:auto;overflow:visible;border:0;padding:0}
.vl-library .dt-answer-layout>nav button{display:block;text-align:left;width:100%;padding:12px 10px;margin:0 0 4px;min-height:0;border:0;border-radius:5px;background:none;font-size:12px;line-height:1.75;font-weight:400;color:var(--text)}
.vl-library .dt-answer-layout>nav button[aria-pressed=true]{background:var(--plane-active);font-weight:500;color:var(--text)}
.vl-library .dt-answer-layout>nav button:hover{background:var(--soft)}
.vl-library .dt-answer-detail{width:auto;max-width:none;margin:0;min-height:0;max-height:none;height:auto;overflow:visible;padding:0 0 0 24px;border-left:1px solid var(--line)}
.vl-library .dt-answer-detail>header{padding:0 0 18px}
.vl-library .dt-answer-position .btn{display:none}
.vl-library .dt-answer-detail h3{font-size:17px;line-height:1.7;margin:14px 0}
.vl-library .dt-answer-body{font-size:13px;line-height:1.95}
.vl-library .dt-answer-labels{display:flex;gap:5px;flex-wrap:wrap;margin-top:16px}
.vl-library .dt-answer-labels span{font-size:12px;padding:3px 7px}
.vl-library .dt-citation p{overflow-wrap:anywhere}
.vl-library .dt-progress{border:0;border-radius:0;padding:8px 0;margin:0}
.vl-library .dt-task-list{display:block;margin-top:20px}
.vl-library .dt-task-list li{grid-template-columns:26px minmax(0,1fr) 100px;padding:16px 0;border-radius:0}
.vl-library button:focus-visible,.vl-library select:focus-visible,.vl-library input:focus-visible,.vl-library textarea:focus-visible,.vl-library summary:focus-visible{outline:2px solid #0075ad;outline-offset:3px}
@container knowledge-library (max-width:950px){.vl-library .p1-library-layout{grid-template-columns:160px minmax(0,1fr);gap:22px}.vl-scoreboard{grid-template-columns:120px minmax(0,1fr);padding:20px;gap:20px}.vl-scoreboard dl{gap:20px 12px}.vl-score strong{font-size:34px}.vl-library .dt-answer-layout{grid-template-columns:180px minmax(0,1fr);gap:16px}.vl-library .dt-answer-detail{padding-left:16px}}
@container knowledge-library (max-width:700px){.vl-library .p1-library-layout{grid-template-columns:minmax(0,1fr);gap:20px}.vl-library .p1-library-nav{display:block;position:static;padding:0}.vl-library .p1-library-nav>div{margin-bottom:12px}.vl-library .p1-library-nav .vl-platform{max-width:320px;margin-bottom:16px}.vl-library .p1-library-nav>div:not(.vl-platform){display:flex;flex-wrap:wrap;gap:4px}.vl-library .p1-library-nav h3{display:none}.vl-library .p1-library-nav button{width:auto;min-height:36px;padding:7px 10px;gap:8px}.vl-library .p1-library-nav button small{font-size:12px}.vl-scoreboard{grid-template-columns:minmax(0,1fr)}.vl-score{border-right:0;border-bottom:1px solid var(--line);padding-bottom:18px;gap:8px}.vl-scoreboard dl{gap:20px}.vl-findings>div{grid-template-columns:minmax(0,1fr);gap:6px}.vl-library .dt-answer-layout{grid-template-columns:minmax(0,1fr)}.vl-library .dt-answer-detail{padding:24px 0 0;border-left:0;border-top:1px solid var(--line)}.vl-steps{display:flex;flex-wrap:wrap}.vl-steps li{padding:8px}.vl-table td,.vl-table th{padding:10px 7px;font-size:12px}.vl-table th:last-child{width:72px}.vl-table .btn{font-size:12px;padding:3px 5px}.vl-questions th:first-child{width:36px}.vl-questions th:last-child{width:56px}.vl-sources th:nth-child(2){width:48px}.vl-sources th:last-child{width:50px}.vl-toolbar form{width:100%}.vl-toolbar input{flex:1}.vl-library .dt-task-list li{grid-template-columns:22px minmax(0,1fr);gap:8px}.vl-library .dt-task-list li small{grid-column:2}.vl-form-actions{align-items:flex-start;flex-direction:column}.vl-pagination{align-items:flex-start;flex-direction:column}}
