header{flex-direction:row;align-items:center;gap:1.5rem;margin:2rem 0;display:flex}header h1{flex:auto;margin:0}.clipboard-button{float:right;color:var(--gray);border-color:var(--dark);background-color:var(--light);opacity:0;border:1px solid;border-radius:5px;margin:.3rem;padding:.4rem;transition:all .2s;display:flex;position:absolute;right:0}.clipboard-button>svg{fill:var(--light);filter:contrast(.3)}.clipboard-button:hover{cursor:pointer;border-color:var(--secondary)}.clipboard-button:focus{outline:0}pre:hover>.clipboard-button{opacity:1;transition:all .2s}.breadcrumb-container{flex-flow:wrap;gap:.5rem;margin:.75rem 0 0;padding:0;display:flex}.breadcrumb-element{flex-direction:row;justify-content:center;align-items:center;display:flex}.breadcrumb-element p{margin:0 0 0 .5rem;padding:0;line-height:normal}.article-title{margin:2rem 0 0}.content-meta{color:var(--darkgray);margin-top:0}.content-meta[show-comma=true]>:not(:last-child){margin-right:8px}.content-meta[show-comma=true]>:not(:last-child):after{content:","}.content-meta .new-indicator{opacity:.8;font-size:.85em}.thesis-dashboard{max-width:1200px;margin:0 auto;padding:2rem 1rem}.thesis-dashboard h1{text-align:center;color:var(--dark);margin-bottom:2rem}.thesis-dashboard h3{color:var(--dark);margin-top:2rem;margin-bottom:1rem}.thesis-dashboard.thesis-dashboard-compact{margin-bottom:1rem;padding:.5rem 0}.thesis-dashboard.thesis-dashboard-compact .dashboard-stats{grid-template-columns:1fr;max-width:250px;margin-bottom:1rem}.thesis-dashboard.thesis-dashboard-compact .page-estimation{margin-bottom:0}.thesis-dashboard.thesis-dashboard-compact .overall-progress{margin-bottom:1rem}.thesis-dashboard.thesis-dashboard-compact h3{margin-top:1rem;font-size:.95rem}.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}@media (max-width:800px){.dashboard-stats{grid-template-columns:repeat(2,1fr)}}.stat-card{background:var(--lightgray);text-align:center;border-left:4px solid var(--gray);border-radius:10px;padding:1rem;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.stat-card.draft{border-left-color:gold}.stat-card.review{border-left-color:#3498db}.stat-card.needs-revision{border-left-color:#f39c12}.stat-card.completed{border-left-color:#2ecc71}.stat-card.approved{border-left-color:#1abc9c}.stat-card.words{border-left-color:#9b59b6}.stat-card .stat-number{color:var(--dark);margin-bottom:.5rem;font-size:2rem;font-weight:700}.stat-card .stat-label{color:var(--darkgray);text-transform:uppercase;letter-spacing:.5px;font-size:.8rem}.overall-progress{background:var(--lightgray);border-left:4px solid var(--secondary);border-radius:12px;margin-bottom:2rem;padding:1.5rem}.overall-progress h3{margin-top:0;margin-bottom:1rem}.overall-progress .progress-bar-large{background:var(--light);border:2px solid var(--gray);border-radius:12px;height:24px;margin-bottom:.5rem;overflow:hidden}.overall-progress .progress-bar-large .progress-fill{background:linear-gradient(90deg,var(--secondary),var(--tertiary));border-radius:10px;height:100%;transition:width .5s}.overall-progress .progress-label{text-align:center;color:var(--darkgray);font-size:1rem;font-weight:600;display:block}.page-estimation{background:var(--lightgray);border-left:4px solid #9b59b6;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.page-estimation h3{margin-top:0;margin-bottom:1rem}.page-estimation .page-estimation-header{justify-content:space-between;align-items:baseline;margin-bottom:1rem;display:flex}.page-estimation .page-estimation-header .page-count{color:var(--dark);font-size:2rem;font-weight:700}.page-estimation .page-estimation-header .page-count .page-count-label{color:var(--darkgray);font-size:1rem;font-weight:400}.page-estimation .page-estimation-header .page-percentage{color:#9b59b6;font-size:1.5rem;font-weight:700}.page-estimation .page-grid{grid-template-columns:repeat(10,1fr);gap:6px;margin-bottom:1rem;display:grid}@media (max-width:800px){.page-estimation .page-grid{grid-template-columns:repeat(6,1fr)}}.page-estimation .page-block{aspect-ratio:.7;background:var(--light);border:1.5px solid var(--gray);border-radius:3px;justify-content:center;align-items:center;transition:all .2s;display:flex;position:relative;overflow:hidden}.page-estimation .page-block.filled{background:linear-gradient(135deg,#9b59b6,#8e44ad);border-color:#7d3c98}.page-estimation .page-block.filled .page-block-number{color:#ffffffd9}.page-estimation .page-block.partial .page-block-fill{background:linear-gradient(135deg,#9b59b699,#8e44ad99);transition:height .3s;position:absolute;bottom:0;left:0;right:0}.page-estimation .page-block .page-block-number{z-index:1;color:var(--darkgray);-webkit-user-select:none;user-select:none;font-size:.65rem;font-weight:600;position:relative}.page-estimation .page-estimation-details{color:var(--darkgray);justify-content:space-between;margin-bottom:.5rem;font-size:.9rem;font-weight:500;display:flex}@media (max-width:800px){.page-estimation .page-estimation-details{flex-direction:column;gap:.25rem}}.page-estimation .page-estimation-footnote{color:var(--gray);text-align:right;font-size:.75rem;font-style:italic}.thesis-chapters{margin-top:2rem}.chapters-list{flex-direction:column;gap:1rem;display:flex}.chapter-card{background:var(--lightgray);color:var(--dark);border:2px solid var(--gray);border-radius:8px;padding:1.25rem;text-decoration:none;transition:all .2s;display:block}.chapter-card.chapter-sub{border-left:3px solid var(--tertiary);opacity:.92;margin-left:2rem}.chapter-card.chapter-sub .chapter-title-section .chapter-title{font-size:1rem}.chapter-card:hover{border-color:var(--secondary);transform:translate(4px);box-shadow:0 2px 8px #0000001a}.chapter-card .chapter-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}@media (max-width:800px){.chapter-card .chapter-header{flex-direction:column;align-items:flex-start}}.chapter-card .chapter-title-section{flex:1;align-items:baseline;gap:.5rem;display:flex}.chapter-card .chapter-title-section .chapter-number{color:var(--secondary);font-size:1.1rem;font-weight:700}.chapter-card .chapter-title-section .chapter-title{color:var(--dark);font-size:1.1rem;font-weight:600}.chapter-card .chapter-badges{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.chapter-card .word-count-badge{color:#7d3c98;white-space:nowrap;background-color:#9b59b626;border-radius:10px;align-items:center;padding:.2rem .6rem;font-size:.75rem;font-weight:500;display:inline-flex}.chapter-card .feedback-badge{cursor:help;font-size:1.3rem;animation:2s ease-in-out infinite pulse}.chapter-card .status-badge-small{white-space:nowrap;border-radius:12px;align-items:center;gap:.25rem;padding:.25rem .75rem;font-size:.85rem;font-weight:500;display:inline-flex}.chapter-card .status-badge-small.draft{color:#856404;background-color:#fff3cd}.chapter-card .status-badge-small.review{color:#084298;background-color:#cfe2ff}.chapter-card .status-badge-small.needs-revision{color:#984c0c;background-color:#ffe5d0}.chapter-card .status-badge-small.final,.chapter-card .status-badge-small.approved{color:#0a3622;background-color:#d1e7dd}.chapter-card .chapter-progress{align-items:center;gap:1rem;margin-bottom:.5rem;display:flex}.chapter-card .chapter-progress .progress-bar-small{background:var(--light);border:1px solid var(--gray);border-radius:10px;flex:1;height:8px;overflow:hidden}.chapter-card .chapter-progress .progress-bar-small .progress-fill{background:linear-gradient(90deg,var(--secondary),var(--tertiary));border-radius:10px;height:100%;transition:width .3s}.chapter-card .chapter-progress .progress-text{color:var(--darkgray);text-align:right;min-width:40px;font-size:.85rem;font-weight:600}.chapter-card .chapter-meta{color:var(--darkgray);margin-top:.5rem;font-size:.85rem}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@media (prefers-color-scheme:dark){.stat-card,.overall-progress,.chapter-card,.page-estimation{background:var(--light)}.page-estimation .page-block,.overall-progress .progress-bar-large,.chapter-card .chapter-progress .progress-bar-small{background:var(--lightgray)}.status-badge-small.draft{color:#fff3cd;background-color:#664d03}.status-badge-small.review{color:#cfe2ff;background-color:#052c65}.status-badge-small.needs-revision{color:#ffe5d0;background-color:#653208}.status-badge-small.final,.status-badge-small.approved{color:#d1e7dd;background-color:#051b11}.word-count-badge{color:#d2b4de;background-color:#9b59b640}}.feedback-badge-container{margin:1.5rem 0}.feedback-badge-box{background:linear-gradient(135deg,#fff3cd 0%,#ffe5b4 100%);border:2px solid #ffc107;border-left:6px solid #ff9800;border-radius:12px;padding:1.25rem 1.5rem;animation:.3s ease-in-out fadeIn;box-shadow:0 2px 8px #ff980026}.feedback-badge-box .feedback-header{align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.feedback-badge-box .feedback-header .feedback-icon{font-size:1.8rem;animation:2s ease-in-out infinite pulse}.feedback-badge-box .feedback-header .feedback-title{color:#856404;letter-spacing:.3px;font-size:1.2rem;font-weight:700}.feedback-badge-box .feedback-message{color:#664d03;padding-left:2.5rem;font-size:.95rem;font-weight:500;line-height:1.6}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:800px){.feedback-badge-box{padding:1rem 1.25rem}.feedback-badge-box .feedback-header .feedback-icon{font-size:1.5rem}.feedback-badge-box .feedback-header .feedback-title{font-size:1.1rem}.feedback-badge-box .feedback-message{margin-top:.5rem;padding-left:0;font-size:.9rem}}@media (prefers-color-scheme:dark){.feedback-badge-box{background:linear-gradient(135deg,#664d03 0%,#523d02 100%);border-color:#ffc107 #ffc107 #ffc107 #ff9800}.feedback-badge-box .feedback-header .feedback-title{color:#fff3cd}.feedback-badge-box .feedback-message{color:#ffe5b4}}@media print{.feedback-badge-container{page-break-inside:avoid;border:2px solid #ffc107;background:#fffdf0!important}}.review-status{background-color:var(--lightgray);border-left:4px solid var(--secondary);border-radius:8px;flex-direction:column;gap:.75rem;margin:1rem 0;padding:1rem;display:flex}.status-badge{border-radius:20px;align-items:center;gap:.5rem;width:fit-content;padding:.5rem 1rem;font-size:.9rem;font-weight:600;display:inline-flex}.status-badge.draft{color:#856404;background-color:#fff3cd}.status-badge.review{color:#084298;background-color:#cfe2ff}.status-badge.needs-revision{color:#984c0c;background-color:#ffe5d0}.status-badge.final,.status-badge.approved{color:#0a3622;background-color:#d1e7dd}.status-badge .status-icon{font-size:1.1rem}.status-badge .status-label{font-weight:500}.progress-container{align-items:center;gap:1rem;display:flex}.progress-container .progress-bar{background-color:var(--lightgray);border:1px solid var(--gray);border-radius:10px;flex:1;height:8px;overflow:hidden}.progress-container .progress-bar .progress-fill{background:linear-gradient(90deg,var(--secondary),var(--tertiary));height:100%;transition:width .3s}.progress-container .progress-text{color:var(--darkgray);white-space:nowrap;font-size:.85rem;font-weight:600}@media (prefers-color-scheme:dark){.review-status{background-color:var(--light)}.status-badge.draft{color:#fff3cd;background-color:#664d03}.status-badge.review{color:#cfe2ff;background-color:#052c65}.status-badge.needs-revision{color:#ffe5d0;background-color:#653208}.status-badge.final,.status-badge.approved{color:#d1e7dd;background-color:#051b11}.progress-container .progress-bar{background-color:var(--light)}}.export-button-container{justify-content:flex-end;margin:1rem 0;display:flex}@media print{.export-button-container{display:none}}.export-button{background-color:var(--secondary);color:#fff;cursor:pointer;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.6rem 1.2rem;font-size:.9rem;font-weight:500;transition:all .2s;display:inline-flex}.export-button:hover{background-color:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 8px #0003}.export-button:active{transform:translateY(0)}.export-button svg{width:18px;height:18px}@media (max-width:800px){.export-button-container{justify-content:center}.export-button{padding:.5rem 1rem;font-size:.85rem}}.tags{flex-wrap:wrap;gap:.4rem;margin:1rem 0;padding-left:0;list-style:none;display:flex}.section-li>.section>.tags{justify-content:flex-end}.tags>li{white-space:nowrap;overflow-wrap:normal;margin:0;display:inline-block}a.internal.tag-link{background-color:var(--highlight);border-radius:8px;margin:0 .1rem;padding:.2rem .4rem}.image-lightbox{z-index:9999999;justify-content:center;align-items:center;transition:opacity .2s;display:none;position:fixed;inset:0}.image-lightbox.open{display:flex}.image-lightbox .lightbox-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0a0dbf;position:absolute;inset:0}.image-lightbox figure{z-index:1;background:var(--light);border-radius:12px;flex-direction:column;gap:.75rem;max-width:min(90vw,1200px);max-height:90vh;margin:0;padding:1rem;display:flex;position:relative;box-shadow:0 25px 80px #00000059}.image-lightbox figure img{object-fit:contain;border-radius:8px;max-width:100%;max-height:70vh;box-shadow:0 8px 25px #00000059}.image-lightbox figure figcaption{color:var(--darkgray);text-align:center;font-size:.95rem}.image-lightbox .lightbox-close{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:999px;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;font-size:1.5rem;transition:background .2s;display:flex;position:absolute;top:.35rem;right:.35rem}.image-lightbox .lightbox-close:hover{background:#000000bf}:root.lightbox-open,:root.lightbox-open body{overflow:hidden}.auditory-streams-map{max-width:100%;margin:2rem 0}.auditory-streams-map .function-tags-legend{background:var(--light);border:1px solid var(--lightgray);border-radius:8px;margin-bottom:2rem;padding:1.5rem}.auditory-streams-map .function-tags-legend h3{color:var(--darkgray);text-transform:uppercase;letter-spacing:.05em;margin:0 0 1rem;font-size:1rem;font-weight:600}.auditory-streams-map .function-tags-legend .legend-tags{flex-wrap:wrap;gap:.75rem;display:flex}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag{color:#000;border-radius:12px;padding:.4rem .75rem;font-size:.85rem;font-weight:500;display:inline-block}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.semantic{color:#000;background:#ffa5004d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.spatialprocessing{color:#000;background:#228b224d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.language{color:#000;background:#dc143c4d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.prosody{color:#000;background:#dda0dd4d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.workingmemory{color:#000;background:#87cefa4d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.visual{color:#000;background:#4169e14d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.motion{color:#000;background:#90ee904d}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag.nonspatial{background:#ffc0cb4d;color:#000!important}.auditory-streams-map .stream-section{background:var(--light);border:1px solid var(--lightgray);border-radius:8px;margin-bottom:3rem;padding:1.5rem}.auditory-streams-map .stream-section .pfc-subgroup{background:rgba(var(--lightgray-rgb,204,204,204),.1);border-radius:6px;margin-bottom:2rem;padding:1rem}.auditory-streams-map .stream-section .pfc-subgroup:last-child{margin-bottom:0}.auditory-streams-map .stream-section .pfc-subgroup .pfc-subgroup-title{color:var(--secondary);text-transform:none;letter-spacing:normal;border-bottom:2px solid var(--secondary);margin:0 0 1rem;padding-bottom:.5rem;font-size:1.1rem;font-weight:600}.auditory-streams-map .stream-section .stream-header{border-bottom:2px solid var(--secondary);margin-bottom:1.5rem;padding-bottom:.75rem}.auditory-streams-map .stream-section .stream-header h2{color:var(--secondary);margin:0 0 .5rem;font-size:1.5rem}.auditory-streams-map .stream-section .stream-header .stream-subtitle{color:var(--darkgray);margin:0;font-size:.9rem;font-style:italic}.auditory-streams-map .stream-section .region-group{margin-bottom:1.5rem}.auditory-streams-map .stream-section .region-group:last-child{margin-bottom:0}.auditory-streams-map .stream-section .region-group h4{color:var(--darkgray);text-transform:uppercase;letter-spacing:.05em;margin:0 0 .75rem;font-size:1rem;font-weight:600}.auditory-streams-map .stream-section .region-group .region-pills{flex-wrap:wrap;gap:.5rem;display:flex}.auditory-streams-map .stream-section .region-group .region-pill{background:var(--highlight);border:1px solid var(--lightgray);color:var(--darkgray);border-radius:20px;align-items:center;gap:.4rem;padding:.5rem .75rem;font-size:.9rem;text-decoration:none;transition:all .2s;display:inline-flex}.auditory-streams-map .stream-section .region-group .region-pill.safe{border-color:var(--secondary)}.auditory-streams-map .stream-section .region-group .region-pill.safe .certainty-icon{color:var(--secondary)}.auditory-streams-map .stream-section .region-group .region-pill.uncertain{border-style:dashed;border-color:var(--gray)}.auditory-streams-map .stream-section .region-group .region-pill.uncertain .certainty-icon{color:var(--gray)}.auditory-streams-map .stream-section .region-group .region-pill:hover{border-color:var(--secondary);background:var(--light);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.auditory-streams-map .stream-section .region-group .region-pill .certainty-icon{font-size:1rem;font-weight:700}.auditory-streams-map .stream-section .region-group .region-pill .region-label{font-weight:500}.auditory-streams-map .stream-section .region-group .region-pill .function-badge{color:#000;border-radius:10px;margin-left:.2rem;padding:.15rem .4rem;font-size:.75rem;font-weight:500}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.semantic{color:#000;background:#ffa5004d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.spatialprocessing{color:#000;background:#228b224d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.language{color:#000;background:#dc143c4d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.prosody{color:#000;background:#dda0dd4d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.workingmemory{color:#000;background:#87cefa4d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.visual{color:#000;background:#4169e14d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.motion{color:#000;background:#90ee904d}.auditory-streams-map .stream-section .region-group .region-pill .function-badge.nonspatial{background:#ffc0cb4d;color:#000!important}.auditory-streams-map .stream-section .region-group .region-pill .function-badge:not(.semantic):not(.spatialprocessing):not(.language):not(.prosody):not(.workingmemory):not(.visual):not(.motion):not(.nonspatial){color:#b8860b;background:#ffd7004d}.auditory-streams-map .region-pill .function-badge.nonspatial{color:#000!important}@media (max-width:768px){.auditory-streams-map{margin:1rem 0}.auditory-streams-map .function-tags-legend{margin-bottom:1.5rem;padding:1rem}.auditory-streams-map .function-tags-legend h3{margin-bottom:.75rem;font-size:.9rem}.auditory-streams-map .function-tags-legend .legend-tags{gap:.5rem}.auditory-streams-map .function-tags-legend .legend-tags .legend-tag{padding:.5rem .75rem;font-size:.9rem;font-weight:600}.auditory-streams-map .stream-section{margin-bottom:2rem;padding:1rem}.auditory-streams-map .stream-section .stream-header{margin-bottom:1rem;padding-bottom:.5rem}.auditory-streams-map .stream-section .stream-header h2{margin-bottom:.4rem;font-size:1.25rem}.auditory-streams-map .stream-section .stream-header .stream-subtitle{font-size:.85rem;line-height:1.4}.auditory-streams-map .stream-section .region-group{margin-bottom:1.25rem}.auditory-streams-map .stream-section .region-group h4{margin-bottom:.6rem;font-size:.9rem}.auditory-streams-map .stream-section .region-group .region-pills{gap:.5rem}.auditory-streams-map .stream-section .region-group .region-pill{align-items:center;min-height:44px;padding:.6rem .85rem;font-size:.95rem;display:inline-flex}.auditory-streams-map .stream-section .region-group .region-pill .certainty-icon{font-size:1.1rem}.auditory-streams-map .stream-section .region-group .region-pill .region-label{font-weight:600}.auditory-streams-map .stream-section .region-group .region-pill .function-badge{padding:.2rem .5rem;font-size:.8rem;font-weight:600}}@media (max-width:480px){.auditory-streams-map .stream-section{padding:.75rem}.auditory-streams-map .stream-section .region-pill{justify-content:flex-start;width:100%}}.backlinks{flex-direction:column;flex:0 auto;min-height:1.4rem;margin-top:1rem;display:flex}.backlinks:has(button.backlinks-header.collapsed){flex:0 1.4rem}button.backlinks-header{text-align:left;cursor:pointer;color:var(--dark);background-color:#0000;border:none;align-items:center;gap:0;margin:0;padding:0;display:flex}button.backlinks-header h3{margin:0;padding:0;font-size:1rem}button.backlinks-header .fold{opacity:.8;margin-left:.5rem;transition:transform .3s}button.backlinks-header.collapsed .fold{transform:rotate(-90deg)}ul.backlinks-content.overflow{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--gray)transparent;max-height:250px;margin:.5rem 0;padding:0 .5rem 0 0;list-style:none;position:relative;overflow:hidden auto}ul.backlinks-content.overflow.collapsed{max-height:0;margin:0;overflow:hidden}ul.backlinks-content.overflow::-webkit-scrollbar{width:6px}ul.backlinks-content.overflow::-webkit-scrollbar-track{background:0 0}ul.backlinks-content.overflow::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}ul.backlinks-content.overflow::-webkit-scrollbar-thumb:hover{background:var(--darkgray)}ul.backlinks-content.overflow>li>a{background-color:#0000}.page-navigation{background-color:var(--lightgray);border-top:3px solid var(--secondary);border-radius:8px;margin:2rem 0;padding:1.5rem}@media print{.page-navigation{display:none}}.page-navigation .chapter-info{border-bottom:1px solid var(--gray);margin-bottom:1rem;padding-bottom:.75rem;font-size:.9rem}.page-navigation .chapter-info .chapter-label{color:var(--darkgray);margin-right:.5rem;font-weight:500}.page-navigation .chapter-info .chapter-name{color:var(--dark);font-weight:600}.page-navigation .nav-buttons{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (max-width:800px){.page-navigation .nav-buttons{grid-template-columns:1fr}}.page-navigation .nav-button.prev a{justify-content:flex-start}.page-navigation .nav-button.next a{text-align:right;justify-content:flex-end}.page-navigation .nav-button a{background-color:var(--light);border:2px solid var(--gray);color:var(--dark);border-radius:6px;align-items:center;gap:.75rem;padding:1rem;text-decoration:none;transition:all .2s;display:flex}.page-navigation .nav-button a:hover{border-color:var(--secondary);background-color:var(--lightgray);transform:translate(0)}.page-navigation .nav-button a:hover svg{opacity:1}.page-navigation .nav-button a svg{opacity:.6;flex-shrink:0;transition:opacity .2s}.page-navigation .nav-button a .nav-text{flex-direction:column;gap:.25rem;min-width:0;display:flex}.page-navigation .nav-button a .nav-text .nav-label{text-transform:uppercase;letter-spacing:.5px;color:var(--darkgray);font-size:.75rem;font-weight:600}.page-navigation .nav-button a .nav-text .nav-title{color:var(--dark);text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:500;overflow:hidden}.page-navigation .nav-button.prev a:hover{transform:translate(-4px)}.page-navigation .nav-button.next a:hover{transform:translate(4px)}.page-navigation .nav-button .nav-placeholder{height:1px}@media (prefers-color-scheme:dark){.page-navigation{background-color:var(--light)}.page-navigation .nav-button a{background-color:var(--lightgray)}.page-navigation .nav-button a:hover{background-color:var(--gray)}}.page-title{font-size:1.75rem;font-family:var(--titleFont);margin:0}.search{min-width:fit-content;max-width:14rem}@media (max-width:800px){.search{flex-grow:.3}}.search>.search-button{border:1px var(--lightgray)solid;font-family:inherit;font-size:inherit;height:2rem;text-align:inherit;cursor:pointer;white-space:nowrap;background-color:#0000;border-radius:4px;align-items:center;width:100%;padding:0 1rem 0 0;display:flex}.search>.search-button>p{color:var(--gray);text-wrap:unset;display:inline}.search>.search-button svg{cursor:pointer;width:18px;min-width:18px;margin:0 .5rem}.search>.search-button svg .search-path{stroke:var(--darkgray);stroke-width:1.5px;transition:stroke .5s}.search>.search-container{contain:layout;z-index:999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);width:100vw;height:100vh;display:none;position:fixed;top:0;left:0;overflow-y:auto}.search>.search-container.active{display:inline-block}.search>.search-container>.search-space{width:65%;margin-top:12vh;margin-left:auto;margin-right:auto}@media not (min-width:1200px){.search>.search-container>.search-space{width:90%}}.search>.search-container>.search-space>*{background:var(--light);border-radius:7px;width:100%;margin-bottom:2em;box-shadow:0 14px 50px #1b21301f,0 10px 30px #1b213029}.search>.search-container>.search-space>input{box-sizing:border-box;font-family:var(--bodyFont);color:var(--dark);border:1px solid var(--lightgray);padding:.5em 1em;font-size:1.1em}.search>.search-container>.search-space>input:focus{outline:none}.search>.search-container>.search-space>.search-layout{border:1px solid var(--lightgray);box-sizing:border-box;flex-direction:row;flex:0 0 100%;display:none}.search>.search-container>.search-space>.search-layout.display-results{display:flex}.search>.search-container>.search-space>.search-layout[data-preview]>.results-container{flex:0 0 min(30%,450px)}@media not (max-width:800px){.search>.search-container>.search-space>.search-layout[data-preview] .result-card>p.preview{display:none}.search>.search-container>.search-space>.search-layout[data-preview]>div:first-child{border-right:1px solid var(--lightgray);border-top-right-radius:unset;border-bottom-right-radius:unset}.search>.search-container>.search-space>.search-layout[data-preview]>div:last-child{border-top-left-radius:unset;border-bottom-left-radius:unset}}.search>.search-container>.search-space>.search-layout>div{border-radius:5px;height:63vh}@media (max-width:800px){.search>.search-container>.search-space>.search-layout{flex-direction:column}.search>.search-container>.search-space>.search-layout>.preview-container{display:none!important}.search>.search-container>.search-space>.search-layout[data-preview]>.results-container{flex:0 0 100%;width:100%;height:auto}}.search>.search-container>.search-space>.search-layout .highlight{background:color-mix(in srgb,var(--tertiary)60%,#fff0);border-radius:5px;scroll-margin-top:2rem}.search>.search-container>.search-space>.search-layout>.preview-container{color:var(--dark);flex-direction:column;flex-grow:1;padding:0;font-family:inherit;font-weight:400;line-height:1.5em;display:flex;overflow:hidden}.search>.search-container>.search-space>.search-layout>.preview-container .match-nav{border-bottom:1px solid var(--lightgray);background:var(--light);flex-shrink:0;justify-content:center;align-items:center;gap:.5rem;padding:.4rem 1rem;display:flex}.search>.search-container>.search-space>.search-layout>.preview-container .match-nav .match-nav-btn{border:1px solid var(--lightgray);cursor:pointer;color:var(--dark);background:0 0;border-radius:4px;padding:.15rem .5rem;font-size:1.1rem;line-height:1;transition:background .15s}.search>.search-container>.search-space>.search-layout>.preview-container .match-nav .match-nav-btn:hover{background:var(--lightgray)}.search>.search-container>.search-space>.search-layout>.preview-container .match-nav .match-nav-counter{color:var(--gray);text-align:center;min-width:4rem;font-size:.85rem}.search>.search-container>.search-space>.search-layout>.preview-container .preview-inner{flex-grow:1;width:min(800px,100%);margin:0 auto;padding:0 2rem;overflow-y:auto}.search>.search-container>.search-space>.search-layout>.preview-container .highlight.active-highlight{background:color-mix(in srgb,var(--tertiary)90%,#fff0);outline:2px solid var(--tertiary);border-radius:3px}.search>.search-container>.search-space>.search-layout>.preview-container a[role=anchor]{background-color:#0000}.search>.search-container>.search-space>.search-layout>.results-container{overflow-y:auto}.search>.search-container>.search-space>.search-layout>.results-container .result-card{cursor:pointer;border-bottom:1px solid var(--lightgray);box-sizing:border-box;text-transform:none;text-align:left;width:100%;font-family:inherit;font-size:100%;line-height:1.15;font-weight:inherit;outline:none;margin:0;padding:1em;transition:background .2s;display:block;overflow:hidden}.search>.search-container>.search-space>.search-layout>.results-container .result-card:hover,.search>.search-container>.search-space>.search-layout>.results-container .result-card:focus,.search>.search-container>.search-space>.search-layout>.results-container .result-card.focus{background:var(--lightgray)}.search>.search-container>.search-space>.search-layout>.results-container .result-card>h3{align-items:center;gap:.5rem;margin:0;display:flex}.search>.search-container>.search-space>.search-layout>.results-container .result-card>h3 .match-count{background:color-mix(in srgb,var(--tertiary)20%,transparent);color:var(--secondary);white-space:nowrap;border-radius:8px;flex-shrink:0;padding:.1rem .45rem;font-size:.7rem;font-weight:400}@media not (max-width:800px){.search>.search-container>.search-space>.search-layout>.results-container .result-card>p.card-description{display:none}}.search>.search-container>.search-space>.search-layout>.results-container .result-card>ul.tags{margin-top:.45rem;margin-bottom:0}.search>.search-container>.search-space>.search-layout>.results-container .result-card>ul>li>p{background-color:var(--highlight);color:var(--secondary);border-radius:8px;margin:0 .1rem;padding:.2rem .4rem;font-weight:700;line-height:1.4rem}.search>.search-container>.search-space>.search-layout>.results-container .result-card>ul>li>p.match-tag{color:var(--tertiary)}.search>.search-container>.search-space>.search-layout>.results-container .result-card>p{margin-bottom:0}.annotations-badge-link{color:var(--darkgray);align-items:center;text-decoration:none;transition:color .2s;display:flex}.annotations-badge-link:hover{color:var(--secondary)}.annotations-badge{cursor:pointer;justify-content:center;align-items:center;padding:.5rem;display:flex;position:relative}.annotations-badge svg{width:20px;height:20px}.annotations-count{background:var(--secondary);color:#fff;border-radius:10px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:.15rem .35rem;font-size:.65rem;font-weight:600;animation:2s ease-in-out infinite pulse;display:flex;position:absolute;top:0;right:0;box-shadow:0 2px 4px #0003}.annotations-badge.has-new{animation:.5s ease-in-out wiggle}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}@media (max-width:768px){.annotations-badge svg{width:18px;height:18px}.annotations-count{min-width:16px;height:16px;padding:.1rem .3rem;font-size:.6rem}}.darkmode{cursor:pointer;width:20px;height:20px;text-align:inherit;background:0 0;border:none;flex-shrink:0;margin:0;padding:0;position:relative}.darkmode svg{width:20px;height:20px;fill:var(--darkgray);transition:opacity .1s;position:absolute;top:calc(50% - 10px)}:root[saved-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[saved-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[saved-theme=dark] .darkmode>.dayIcon{display:none}:root[saved-theme=dark] .darkmode>.nightIcon,:root .darkmode>.dayIcon{display:inline}:root .darkmode>.nightIcon{display:none}.readermode{cursor:pointer;width:20px;height:20px;text-align:inherit;background:0 0;border:none;flex-shrink:0;margin:0;padding:0;position:relative}.readermode svg{width:20px;height:20px;fill:var(--darkgray);stroke:var(--darkgray);transition:opacity .1s;position:absolute;top:calc(50% - 10px)}:root[reader-mode=on] .sidebar.left,:root[reader-mode=on] .sidebar.right{opacity:0;transition:opacity .2s}:root[reader-mode=on] .sidebar.left:hover,:root[reader-mode=on] .sidebar.right:hover{opacity:1}@media (max-width:800px){.page>#quartz-body>:not(.sidebar.left:has(.explorer)){transition:transform .3s ease-in-out}.page>#quartz-body.lock-scroll>:not(.sidebar.left:has(.explorer)){transition:transform .3s ease-in-out;transform:translate(100dvw)}.page>#quartz-body .sidebar.left:has(.explorer){box-sizing:border-box;background-color:var(--light);margin:0;padding:1rem 0;position:sticky}.page>#quartz-body .hide-until-loaded~.explorer-content{display:none}}.explorer{flex-direction:column;flex:0 auto;min-height:1.2rem;display:flex;overflow-y:hidden}.explorer.collapsed{flex:0 1.2rem}.explorer.collapsed .fold{transform:rotate(-90deg)}.explorer .fold{opacity:.8;margin-left:.5rem;transition:transform .3s}@media (max-width:800px){.explorer{height:initial;flex-shrink:0;order:-1;align-self:flex-start;margin-top:auto;margin-bottom:auto;overflow:hidden}}.explorer button.mobile-explorer{display:none}.explorer button.desktop-explorer{display:flex}@media (max-width:800px){.explorer button.mobile-explorer{display:flex}.explorer button.desktop-explorer{display:none}}@media not (max-width:800px){.explorer.desktop-only{display:flex}}.explorer svg{pointer-events:all;transition:transform .35s}.explorer svg>polyline{pointer-events:none}button.mobile-explorer,button.desktop-explorer{text-align:left;cursor:pointer;color:var(--dark);background-color:#0000;border:none;align-items:center;padding:0;display:flex}button.mobile-explorer h2,button.desktop-explorer h2{margin:0;font-size:1rem;display:inline-block}.explorer-content{margin-top:.5rem;list-style:none;overflow:hidden auto}.explorer-content ul{overscroll-behavior:contain;margin:0;padding:0;list-style:none}.explorer-content ul li{margin-bottom:.4rem}.explorer-content ul li>a{color:var(--dark);opacity:.75;pointer-events:all;line-height:1.2;display:block}.explorer-content ul li>a.active{opacity:1;color:var(--tertiary)}.explorer-content .folder-outer{visibility:collapse;grid-template-rows:0fr;transition-property:grid-template-rows,visibility;transition-duration:.3s;transition-timing-function:ease-in-out;display:grid}.explorer-content .folder-outer.open{visibility:visible;grid-template-rows:1fr}.explorer-content .folder-outer>ul{border-left:1px solid var(--lightgray);margin-left:6px;padding-left:.8rem;overflow:hidden}.folder-container{-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;margin-bottom:.4rem;display:flex}.folder-container div>a{color:var(--secondary);font-family:var(--headerFont);font-size:.95rem;font-weight:600;line-height:1.2;display:inline-block}.folder-container div>a:hover{color:var(--tertiary)}.folder-container div>button{color:var(--dark);text-align:left;cursor:pointer;font-family:var(--headerFont);background-color:#0000;border:none;align-items:center;padding-left:0;padding-right:0;display:flex}.folder-container div>button span{color:var(--secondary);pointer-events:none;margin:0;font-size:.95rem;font-weight:600;line-height:1.2;display:inline-block}.folder-icon{color:var(--secondary);cursor:pointer;backface-visibility:visible;flex-shrink:0;margin-right:5px;transition:transform .3s}li:has(>.folder-outer:not(.open))>.folder-container>svg{transform:rotate(-90deg)}.folder-icon:hover{color:var(--tertiary)}@media (max-width:800px){.explorer.collapsed{flex:0 0 34px}.explorer.collapsed>.explorer-content{visibility:hidden;transform:translate(-100vw)}.explorer:not(.collapsed){flex:0 0 34px}.explorer:not(.collapsed)>.explorer-content{visibility:visible;transform:translate(0)}.explorer .explorer-content{box-sizing:border-box;z-index:99999;background-color:var(--light);visibility:hidden;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin-top:0;padding:4rem 0 2rem;transition:transform .2s,visibility .2s;position:fixed;top:0;left:0;overflow:hidden auto;transform:translate(-100vw)}.explorer .mobile-explorer{z-index:100000;margin:0;padding:5px;position:relative}.explorer .mobile-explorer .lucide-menu{stroke:var(--darkgray)}.mobile-no-scroll{overscroll-behavior:none}}.graph{flex-direction:column;flex:0 auto;min-height:1.4rem;margin-bottom:1rem;display:flex}.graph:has(button.graph-header.collapsed){flex:0 1.4rem}.graph button.graph-header{text-align:left;cursor:pointer;color:var(--dark);background-color:#0000;border:none;align-items:center;padding:0;display:flex}.graph button.graph-header h3{margin:0;font-size:1rem;display:inline-block}.graph button.graph-header .fold{opacity:.8;margin-left:.5rem;transition:transform .3s}.graph button.graph-header.collapsed .fold{transform:rotate(-90deg)}.graph .graph-header-static{align-items:center;display:flex}.graph .graph-header-static h3{margin:0;font-size:1rem}.graph>.graph-outer{border:1px solid var(--lightgray);box-sizing:border-box;border-radius:5px;height:250px;margin:.5em 0;transition:height .3s,margin .3s;position:relative;overflow:hidden}.graph>.graph-outer.collapsed{border:none;height:0;margin:0;display:none;overflow:hidden}.graph>.graph-outer>.global-graph-icon{cursor:pointer;color:var(--dark);opacity:.5;cursor:pointer;background:0 0;border:none;border-radius:4px;width:24px;height:24px;margin:.3rem;padding:.2rem;transition:background-color .5s;position:absolute;top:0;right:0}.graph>.graph-outer>.global-graph-icon:hover{background-color:var(--lightgray)}.graph>.global-graph-outer{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);width:100vw;height:100%;display:none;position:fixed;top:0;left:0;overflow:hidden}.graph>.global-graph-outer.active{display:inline-block}.graph>.global-graph-outer>.global-graph-container{border:1px solid var(--lightgray);background-color:var(--light);box-sizing:border-box;border-radius:5px;width:80vw;height:80vh;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}@media not (min-width:1200px){.graph>.global-graph-outer>.global-graph-container{width:90%}}.stream-badge-container{background:var(--light);border:1px solid var(--lightgray);border-radius:8px;margin:1rem 0;padding:1rem}.stream-badge-container .stream-badges{flex-direction:column;gap:.5rem;margin-bottom:.75rem;display:flex}.stream-badge-container .stream-badges .stream-badge{text-align:center;border-radius:16px;padding:.4rem .75rem;font-size:.85rem;font-weight:500;display:inline-block}.stream-badge-container .stream-badges .stream-badge.what{color:#06c;background:#87cefa33;border:1px solid #87cefa80}.stream-badge-container .stream-badges .stream-badge.where{color:#c06;background:#ffb6c133;border:1px solid #ffb6c180}.stream-badge-container .stream-overview-link{color:var(--secondary);align-items:center;gap:.25rem;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s;display:inline-flex}.stream-badge-container .stream-overview-link:hover{color:var(--tertiary);transform:translate(2px)}.toc{flex-direction:column;flex:0 auto;min-height:1.4rem;margin-bottom:1rem;display:flex}.toc:has(button.toc-header.collapsed){flex:0 1.4rem}button.toc-header{text-align:left;cursor:pointer;color:var(--dark);background-color:#0000;border:none;align-items:center;padding:0;display:flex}button.toc-header h3{margin:0;font-size:1rem;display:inline-block}button.toc-header .fold{opacity:.8;margin-left:.5rem;transition:transform .3s}button.toc-header.collapsed .fold{transform:rotate(-90deg)}ul.toc-content.overflow{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--gray)transparent;max-height:350px;margin:.5rem 0;padding:0 .5rem 0 0;list-style:none;position:relative;overflow:hidden auto}ul.toc-content.overflow::-webkit-scrollbar{width:6px}ul.toc-content.overflow::-webkit-scrollbar-track{background:0 0}ul.toc-content.overflow::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}ul.toc-content.overflow::-webkit-scrollbar-thumb:hover{background:var(--darkgray)}ul.toc-content.overflow>li>a{color:var(--dark);opacity:.35;transition:opacity .5s,color .3s}ul.toc-content.overflow>li>a.in-view{opacity:.75}ul.toc-content.overflow .depth-0{padding-left:0}ul.toc-content.overflow .depth-1{padding-left:1rem}ul.toc-content.overflow .depth-2{padding-left:2rem}ul.toc-content.overflow .depth-3{padding-left:3rem}ul.toc-content.overflow .depth-4{padding-left:4rem}ul.toc-content.overflow .depth-5{padding-left:5rem}ul.toc-content.overflow .depth-6{padding-left:6rem}.bibliography{background-color:var(--lightgray);border-left:4px solid var(--secondary);border-radius:8px;margin:2rem 0;padding:1.5rem}.bibliography h3{color:var(--dark);align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1.2rem;display:flex}.bibliography h3 .bib-count{color:var(--darkgray);opacity:.8;font-size:.85rem;font-weight:400}.bibliography .bibliography-content{font-size:.9rem}.bibliography .sources-list,.bibliography .bibliography-list{margin:0;padding:0;list-style:none}.bibliography .source-item,.bibliography .bib-entry{gap:.75rem;margin-bottom:1rem;line-height:1.6;display:flex}.bibliography .source-item:last-child,.bibliography .bib-entry:last-child{margin-bottom:0}.bibliography .source-number,.bibliography .bib-number{color:var(--secondary);flex-shrink:0;font-size:.85rem;font-weight:600}.bibliography .source-text,.bibliography .bib-details{color:var(--darkgray)}.bibliography .bib-details .bib-author{color:var(--dark);font-weight:600}.bibliography .bib-details .bib-year{color:var(--darkgray)}.bibliography .bib-details .bib-title{color:var(--dark)}.bibliography .bib-details .bib-journal{color:var(--darkgray)}.bibliography .bib-details .bib-url{color:var(--secondary);font-weight:500;text-decoration:none;transition:color .2s}.bibliography .bib-details .bib-url:hover{color:var(--tertiary);text-decoration:underline}@media print{.bibliography{page-break-inside:avoid;border:1px solid #ccc}}@media (prefers-color-scheme:dark){.bibliography{background-color:var(--light)}}footer{text-align:left;opacity:.7;margin-bottom:4rem}footer ul{flex-direction:row;gap:1rem;margin:-1rem 0 0;padding:0;list-style:none;display:flex}ul.section-ul{margin-top:2em;padding-left:0;list-style:none}li.section-li{margin-bottom:1em}li.section-li>.section{grid-template-columns:fit-content(8em) 3fr 1fr;display:grid}@media (max-width:800px){li.section-li>.section>.tags{display:none}}li.section-li>.section>.desc>h3>a{background-color:#0000}li.section-li>.section .meta{opacity:.6;margin:0 1em 0 0}.popover .section{grid-template-columns:fit-content(8em) 1fr!important}.popover .section>.tags{display:none}.section h3{margin:0}.section h3 a{align-items:center;gap:.35rem;display:inline-flex}.section>.tags{margin:0}.stream-indicator{margin-left:.25rem;font-size:.85rem;line-height:1;display:inline-block}.stream-indicator.safe{color:#28a745}.stream-indicator.uncertain{color:#ffc107}.tag-overview-page{max-width:1200px;margin:0 auto}.tag-cloud-header{border-bottom:2px solid var(--lightgray);margin-bottom:1.5rem;padding-bottom:1rem}.tag-cloud-description{color:var(--gray);align-items:center;gap:.5rem;margin:0;font-size:1.1rem;display:flex}.tag-search-input{border:2px solid var(--lightgray);background:var(--light);width:100%;max-width:600px;color:var(--dark);border-radius:12px;padding:.875rem 1.25rem;font-family:inherit;font-size:1rem;transition:all .2s}.tag-search-input::placeholder{color:var(--gray)}.view-toggle{border-bottom:2px solid var(--lightgray);gap:.75rem;margin:1.5rem 0 2rem;padding-bottom:1rem;display:flex}.view-toggle-btn{background:var(--light);border:2px solid var(--lightgray);color:var(--dark);cursor:pointer;border-radius:8px;align-items:center;gap:.5rem;padding:.625rem 1.25rem;font-family:inherit;font-size:.95rem;font-weight:600;transition:all .2s;display:flex}.view-toggle-btn:hover{background:var(--highlight);border-color:var(--secondary);transform:translateY(-1px)}.tag-cloud-view{background:var(--highlight);border:1px solid var(--lightgray);border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;min-height:250px;margin:2rem 0;padding:2.5rem;display:flex}.tag-cloud-item{color:var(--secondary);white-space:nowrap;background:var(--light);border:2px solid var(--lightgray);border-radius:8px;padding:.5rem 1rem;font-weight:600;line-height:1.5;text-decoration:none;transition:all .25s cubic-bezier(.4,0,.2,1);display:inline-block;box-shadow:0 1px 3px #0000000d}.tag-cloud-item:hover{background:var(--secondary);color:#fff;border-color:var(--secondary);transform:translateY(-3px)scale(1.05);box-shadow:0 4px 12px #00000026}.tag-list-view{flex-direction:column;gap:2rem;margin:2rem 0;display:flex}.tag-list-item{border:2px solid var(--lightgray);background:var(--light);border-radius:12px;padding:1.5rem;transition:all .2s}.tag-list-item:hover{background:var(--highlight);border-color:var(--secondary);transform:translate(8px);box-shadow:0 4px 12px #00000014}.tag-list-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.tag-list-header h2{margin:0;font-size:1.5rem}.tag-list-header .tag-link{color:var(--secondary);font-weight:700;text-decoration:none;transition:color .2s}.tag-list-header .tag-link:hover{color:var(--tertiary)}.tag-badge{background:var(--secondary);color:#fff;text-align:center;border-radius:20px;min-width:2.5rem;padding:.375rem .875rem;font-size:.9rem;font-weight:600}.tag-description{color:var(--gray);margin-bottom:1rem;font-size:.95rem;line-height:1.6}.page-listing{margin-top:1rem}.tag-item-count{color:var(--gray);margin-bottom:.75rem;font-size:.9rem}.showing-first{color:var(--secondary);font-weight:600}@media (max-width:768px){.tag-overview-page{padding:1rem .5rem}.tag-cloud-header h1{font-size:2rem}.tag-cloud-view{gap:.75rem;padding:1.5rem}.tag-cloud-item{padding:.375rem .75rem;font-size:.9rem!important}.view-toggle{flex-direction:column}.view-toggle-btn{justify-content:center;width:100%}.tag-list-item:hover{transform:translate(4px)}.tag-search-input{font-size:.95rem}}.annotations-overview{max-width:1200px;margin:0 auto;padding:2rem 1rem}.annotations-header{margin-bottom:2rem;position:relative}.annotations-header h1{margin:.5rem 0;font-size:2.5rem}.back-button{background:var(--lightgray);color:var(--darkgray);border-radius:8px;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.5rem 1rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s;display:inline-flex}.back-button:hover{background:var(--secondary);color:#fff;transform:translate(-4px)}.back-button svg{width:18px;height:18px}.annotations-description{color:var(--gray);margin-bottom:2rem;font-size:1.1rem;line-height:1.6}.annotations-group-links{margin:2rem 0}.group-link{background:var(--secondary);color:#fff;border-radius:8px;align-items:center;gap:.75rem;padding:1rem 1.5rem;font-size:1rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #0000001a}.group-link:hover{background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.group-link svg{width:20px;height:20px}.hypothesis-embed-container{background:var(--light);border:1px solid var(--lightgray);border-radius:8px;margin:3rem 0;overflow:hidden}.hypothesis-embed-container h2{background:var(--lightgray);border-bottom:1px solid var(--gray);margin:0;padding:1.5rem;font-size:1.5rem}.stream-note{color:var(--gray);padding:1rem;font-size:.95rem;font-style:italic}.annotations-list-container{max-height:800px;padding:1.5rem;overflow-y:auto}.annotation-item{background:var(--light);border:1px solid var(--lightgray);border-radius:6px;margin-bottom:1rem;padding:1.5rem}.annotation-meta{color:var(--darkgray);justify-content:space-between;margin-bottom:.75rem;display:flex}.annotation-meta .date{color:var(--gray);font-size:.9rem}.annotation-item blockquote{background:var(--highlight);border-left:3px solid var(--secondary);color:var(--darkgray);margin:1rem 0;padding:.75rem 1rem;font-style:italic}.annotation-item .annotation-text{margin:1rem 0;line-height:1.6}.annotation-item .page-link{color:var(--secondary);font-weight:500;text-decoration:none}.annotation-item .page-link:hover{text-decoration:underline}.no-annotations,.error{text-align:center;color:var(--gray);padding:2rem;font-style:italic}.error{color:var(--darkgray)}.usage-instructions{background:var(--highlight);border-left:4px solid var(--secondary);border-radius:8px;margin:3rem 0;padding:2rem}.usage-instructions h3{color:var(--secondary);margin-top:0;font-size:1.3rem}.usage-instructions ol{margin:1.5rem 0;padding-left:1.5rem}.usage-instructions li{margin:.75rem 0;font-size:1rem;line-height:1.6}.usage-instructions strong{color:var(--secondary)}.usage-instructions .note{background:var(--light);border-radius:6px;margin:1.5rem 0 0;padding:1rem;font-size:.95rem;font-style:italic}@media (max-width:768px){.annotations-overview{padding:1rem .5rem}.annotations-header h1{font-size:2rem}.hypothesis-stream{height:600px}.usage-instructions{padding:1.5rem}}.tag-cloud-container{max-width:1200px;margin:0 auto;padding:0}.tag-cloud-header{margin-bottom:1.5rem}.tag-cloud-header h1{color:var(--dark);margin:0 0 .5rem;font-size:2rem;font-weight:700}.tag-cloud-description{color:var(--gray);margin:0;font-size:1rem}.tag-search-container{margin:1.5rem 0}.tag-search-input{border:2px solid var(--lightgray);background:var(--light);width:100%;max-width:500px;color:var(--dark);border-radius:8px;padding:.75rem 1rem;font-size:.95rem;transition:all .2s}.tag-search-input:focus{border-color:var(--secondary);box-shadow:0 0 0 3px var(--highlight);outline:none}.view-toggle{gap:.5rem;margin:1.5rem 0;display:flex}.view-toggle-btn{background:var(--light);border:2px solid var(--lightgray);color:var(--dark);cursor:pointer;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s;display:flex}.view-toggle-btn:hover{background:var(--highlight);border-color:var(--secondary)}.view-toggle-btn.active{background:var(--secondary);border-color:var(--secondary);color:#fff}.view-toggle-btn svg{width:14px;height:14px}.tag-cloud{background:var(--highlight);border-radius:8px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;min-height:200px;margin:2rem 0;padding:2rem;display:flex}.tag-cloud-item{color:var(--secondary);white-space:nowrap;background:var(--light);border:1px solid var(--lightgray);border-radius:6px;padding:.4rem .8rem;font-weight:600;line-height:1.4;text-decoration:none;transition:all .2s;display:inline-block}.tag-cloud-item:hover{background:var(--secondary);color:#fff;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.tag-cloud-item .tag-count{opacity:.7;margin-left:.3rem;font-size:.85em;font-weight:400}.tag-list-container{margin:2rem 0}.tag-list{gap:.5rem;display:grid}.tag-list-item{border:1px solid var(--lightgray);background:var(--light);border-radius:6px;transition:all .2s}.tag-list-item:hover{background:var(--highlight);border-color:var(--secondary);transform:translate(4px)}.tag-list-link{color:var(--dark);justify-content:space-between;align-items:center;padding:.875rem 1.25rem;text-decoration:none;display:flex}.tag-name{color:var(--secondary);font-size:1rem;font-weight:600}.tag-list-count{color:var(--gray);font-size:.9rem}@media (max-width:768px){.tag-cloud-container{padding:1rem .5rem}.tag-cloud-header h1{font-size:2rem}.tag-cloud{gap:.5rem;padding:1rem}.view-toggle{flex-direction:column}.view-toggle-btn{justify-content:center;width:100%}}@keyframes dropin{0%{opacity:0;visibility:hidden}1%{opacity:0}to{opacity:1;visibility:visible}}.popover{z-index:999;will-change:transform;visibility:hidden;opacity:0;padding:1rem;transition:opacity .3s,visibility .3s;position:fixed;top:0;left:0;overflow:visible}.popover>.popover-inner{width:30rem;max-height:20rem;font-weight:initial;font-style:initial;line-height:normal;font-size:initial;font-family:var(--bodyFont);border:1px solid var(--lightgray);background-color:var(--light);overscroll-behavior:contain;white-space:normal;-webkit-user-select:none;user-select:none;cursor:default;border-radius:5px;padding:0 1rem 1rem;position:relative;overflow:auto;box-shadow:6px 6px 36px #00000040}.popover>.popover-inner[data-content-type][data-content-type*=pdf],.popover>.popover-inner[data-content-type][data-content-type*=image]{max-height:100%;padding:0}.popover>.popover-inner[data-content-type][data-content-type*=image] img{border-radius:0;margin:0;display:block}.popover>.popover-inner[data-content-type][data-content-type*=pdf] iframe{width:100%}.popover h1{font-size:1.5rem}.popover .popover-block-ref{background-color:var(--lightgray);border-left:3px solid var(--secondary);border-radius:4px;margin:.5rem 0;padding:.75rem}.popover .popover-block-ref .block-ref-anchor{display:none}.popover .popover-block-ref p,.popover .popover-block-ref li,.popover .popover-block-ref blockquote,.popover .popover-block-ref pre{margin:0}@media (max-width:800px){.popover{display:none!important}}.active-popover,.popover:hover{animation:.3s .2s forwards dropin}code[data-theme*=\ ]{color:var(--shiki-light);background-color:var(--shiki-light-bg)}code[data-theme*=\ ] span{color:var(--shiki-light)}[saved-theme=dark] code[data-theme*=\ ]{color:var(--shiki-dark);background-color:var(--shiki-dark-bg)}[saved-theme=dark] code[data-theme*=\ ] span{color:var(--shiki-dark)}.callout{border:1px solid var(--border);background-color:var(--bg);box-sizing:border-box;--callout-icon-note:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"18\" y1=\"2\" x2=\"22\" y2=\"6\"></line><path d=\"M7.5 20.5 19 9l-4-4L3.5 16.5 2 22z\"></path></svg>");--callout-icon-abstract:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"8\" y=\"2\" width=\"8\" height=\"4\" rx=\"1\" ry=\"1\"></rect><path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"></path><path d=\"M12 11h4\"></path><path d=\"M12 16h4\"></path><path d=\"M8 11h.01\"></path><path d=\"M8 16h.01\"></path></svg>");--callout-icon-info:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\"></line><line x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\"></line></svg>");--callout-icon-todo:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z\"></path><path d=\"m9 12 2 2 4-4\"></path></svg>");--callout-icon-tip:url("data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z\"></path></svg> ");--callout-icon-success:url("data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg> ");--callout-icon-question:url("data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\"></path><line x1=\"12\" y1=\"17\" x2=\"12.01\" y2=\"17\"></line></svg> ");--callout-icon-warning:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z\"></path><line x1=\"12\" y1=\"9\" x2=\"12\" y2=\"13\"></line><line x1=\"12\" y1=\"17\" x2=\"12.01\" y2=\"17\"></line></svg>");--callout-icon-failure:url("data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line></svg> ");--callout-icon-danger:url("data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"13 2 3 14 12 14 11 22 21 10 12 10 13 2\"></polygon></svg> ");--callout-icon-bug:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"8\" height=\"14\" x=\"8\" y=\"6\" rx=\"4\"></rect><path d=\"m19 7-3 2\"></path><path d=\"m5 7 3 2\"></path><path d=\"m19 19-3-2\"></path><path d=\"m5 19 3-2\"></path><path d=\"M20 13h-4\"></path><path d=\"M4 13h4\"></path><path d=\"m10 4 1 2\"></path><path d=\"m14 4-1 2\"></path></svg>");--callout-icon-example:url("data:image/svg+xml; utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"8\" y1=\"6\" x2=\"21\" y2=\"6\"></line><line x1=\"8\" y1=\"12\" x2=\"21\" y2=\"12\"></line><line x1=\"8\" y1=\"18\" x2=\"21\" y2=\"18\"></line><line x1=\"3\" y1=\"6\" x2=\"3.01\" y2=\"6\"></line><line x1=\"3\" y1=\"12\" x2=\"3.01\" y2=\"12\"></line><line x1=\"3\" y1=\"18\" x2=\"3.01\" y2=\"18\"></line></svg> ");--callout-icon-quote:url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1z\"></path><path d=\"M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z\"></path></svg>");--callout-icon-fold:url("data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpolyline points=\"6 9 12 15 18 9\"%3E%3C/polyline%3E%3C/svg%3E");border-radius:5px;padding:0 1rem;overflow-y:hidden}.callout>.callout-content{transition:grid-template-rows .1s cubic-bezier(.02,.01,.47,1);display:grid;overflow:hidden}.callout>.callout-content>:first-child{margin-top:0}.callout[data-callout]{--color:#448aff;--border:#448aff44;--bg:#448aff10;--callout-icon:var(--callout-icon-note)}.callout[data-callout=abstract]{--color:#00b0ff;--border:#00b0ff44;--bg:#00b0ff10;--callout-icon:var(--callout-icon-abstract)}.callout[data-callout=info],.callout[data-callout=todo]{--color:#00b8d4;--border:#00b8d444;--bg:#00b8d410;--callout-icon:var(--callout-icon-info)}.callout[data-callout=todo]{--callout-icon:var(--callout-icon-todo)}.callout[data-callout=tip]{--color:#00bfa5;--border:#00bfa544;--bg:#00bfa510;--callout-icon:var(--callout-icon-tip)}.callout[data-callout=success]{--color:#09ad7a;--border:#09ad7144;--bg:#09ad7110;--callout-icon:var(--callout-icon-success)}.callout[data-callout=question]{--color:#dba642;--border:#dba64244;--bg:#dba64210;--callout-icon:var(--callout-icon-question)}.callout[data-callout=warning]{--color:#db8942;--border:#db894244;--bg:#db894210;--callout-icon:var(--callout-icon-warning)}.callout[data-callout=failure],.callout[data-callout=danger],.callout[data-callout=bug]{--color:#db4242;--border:#db424244;--bg:#db424210;--callout-icon:var(--callout-icon-failure)}.callout[data-callout=bug]{--callout-icon:var(--callout-icon-bug)}.callout[data-callout=danger]{--callout-icon:var(--callout-icon-danger)}.callout[data-callout=example]{--color:#7a43b5;--border:#7a43b544;--bg:#7a43b510;--callout-icon:var(--callout-icon-example)}.callout[data-callout=quote]{--color:var(--secondary);--border:var(--lightgray);--callout-icon:var(--callout-icon-quote)}.callout.is-collapsed>.callout-title>.fold-callout-icon{transform:rotate(-90deg)}.callout.is-collapsed .callout-content>*{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;transition:height .1s cubic-bezier(.02,.01,.47,1),margin .1s cubic-bezier(.02,.01,.47,1),padding .1s cubic-bezier(.02,.01,.47,1);overflow-y:clip}.callout.is-collapsed .callout-content>:first-child{margin-top:-1rem}.callout-title{color:var(--color);--icon-size:18px;align-items:flex-start;gap:5px;padding:1rem 0;display:flex}.callout-title .fold-callout-icon{opacity:.8;cursor:pointer;--callout-icon:var(--callout-icon-fold);transition:transform .15s}.callout-title>.callout-title-inner>p{color:var(--color);margin:0}.callout-title .callout-icon,.callout-title .fold-callout-icon{width:var(--icon-size);height:var(--icon-size);flex:0 0 var(--icon-size);background-size:var(--icon-size)var(--icon-size);background-position:50%;background-color:var(--color);-webkit-mask-image:var(--callout-icon);mask-image:var(--callout-icon);-webkit-mask-size:var(--icon-size)var(--icon-size);mask-size:var(--icon-size)var(--icon-size);padding:.2rem 0;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.callout-title .callout-title-inner{font-weight:600}html{scroll-behavior:smooth;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;width:100vw;overflow-x:hidden}body{box-sizing:border-box;background-color:var(--light);font-family:var(--bodyFont);color:var(--darkgray);margin:0}.text-highlight{background-color:var(--textHighlight);border-radius:5px;padding:0 .1rem}::selection{background:color-mix(in srgb,var(--tertiary)60%,#fff0);color:var(--darkgray)}p,ul,text,a,tr,td,li,ol,ul,.katex,.math,.typst-doc,.typst-doc *{color:var(--darkgray);fill:var(--darkgray);overflow-wrap:break-word;text-wrap:pretty}.math.math-display{text-align:center}article>mjx-container.MathJax,article blockquote>div>mjx-container.MathJax{display:flex}article>mjx-container.MathJax>svg,article blockquote>div>mjx-container.MathJax>svg{margin-left:auto;margin-right:auto}article blockquote>div>mjx-container.MathJax>svg{margin-top:1rem;margin-bottom:1rem}strong{font-weight:600}a{color:var(--secondary);font-weight:600;text-decoration:none;transition:color .2s}a:hover{color:var(--tertiary)}a.internal{background-color:var(--highlight);border-radius:5px;padding:0 .1rem;line-height:1.4rem;text-decoration:none}a.internal.broken{color:var(--secondary);opacity:.5;transition:opacity .2s}a.internal.broken:hover{opacity:.8}a.internal:has(>img){background-color:#0000;border-radius:0;padding:0}a.internal.tag-link:before{content:"#"}a.external .external-icon{height:1ex;margin:0 .15em}a.external .external-icon>path{fill:var(--dark)}.flex-component{display:flex}.desktop-only{display:initial}.desktop-only.flex-component{display:flex}@media (max-width:800px){.desktop-only,.desktop-only.flex-component{display:none}}.mobile-only,.mobile-only.flex-component{display:none}@media (max-width:800px){.mobile-only{display:initial}.mobile-only.flex-component{display:flex}}.page{max-width:1500px;margin:0 auto}.page article>h1{font-size:2rem}.page article li:has(>input[type=checkbox]){padding-left:0;list-style-type:none}.page article li:has(>input[type=checkbox]:checked){text-decoration:line-through;-webkit-text-decoration-color:var(--gray);text-decoration-color:var(--gray);color:var(--gray)}.page article li>*{margin-top:0;margin-bottom:0}.page article p>strong{color:var(--dark)}.page>#quartz-body{grid-template:"grid-sidebar-left grid-header grid-sidebar-right""grid-sidebar-left grid-center grid-sidebar-right""grid-sidebar-left grid-footer grid-sidebar-right"/280px auto 280px;gap:5px;display:grid}@media (min-width:800px) and (max-width:1200px){.page>#quartz-body{grid-template:"grid-sidebar-left grid-header""grid-sidebar-left grid-center""grid-sidebar-left grid-sidebar-right""grid-sidebar-left grid-footer"/280px auto;gap:5px}}@media (max-width:800px){.page>#quartz-body{grid-template:"grid-sidebar-left""grid-header""grid-center""grid-sidebar-right""grid-footer"/auto;gap:5px}}@media not (min-width:1200px){.page>#quartz-body{padding:0 1rem}}@media (max-width:800px){.page>#quartz-body{margin:0 auto}}.page>#quartz-body .sidebar{box-sizing:border-box;gap:1.2rem;height:100vh;padding:6rem 2rem 2rem;display:flex;position:sticky;top:0}.page>#quartz-body .sidebar.left{z-index:1;flex-direction:column;grid-area:grid-sidebar-left}@media (max-width:800px){.page>#quartz-body .sidebar.left{position:initial;height:unset;flex-direction:row;align-items:center;gap:0;padding:2rem 0 0;display:flex}}.page>#quartz-body .sidebar.right{flex-direction:column;grid-area:grid-sidebar-right;margin-right:0}@media (max-width:800px){.page>#quartz-body .sidebar.right{margin-left:inherit;margin-right:inherit}}@media not (min-width:1200px){.page>#quartz-body .sidebar.right{position:initial;height:unset;flex-direction:row;width:100%;padding:0}.page>#quartz-body .sidebar.right>*{flex:1;max-height:24rem}.page>#quartz-body .sidebar.right>.toc{display:none}}.page>#quartz-body .page-header,.page>#quartz-body .page-footer{margin-top:1rem}.page>#quartz-body .page-header{grid-area:grid-header;margin:6rem 0 0}@media (max-width:800px){.page>#quartz-body .page-header{margin-top:0;padding:0}}.page>#quartz-body .center>article{grid-area:grid-center}.page>#quartz-body footer{grid-area:grid-footer}.page>#quartz-body .center,.page>#quartz-body footer{min-width:100%;max-width:100%;margin-left:auto;margin-right:auto}@media (min-width:800px) and (max-width:1200px){.page>#quartz-body .center,.page>#quartz-body footer{margin-right:0}}@media (max-width:800px){.page>#quartz-body .center,.page>#quartz-body footer{margin-left:0;margin-right:0}}.page>#quartz-body footer{margin-left:0}.footnotes{border-top:1px solid var(--lightgray);margin-top:2rem}input[type=checkbox]{color:var(--secondary);border:1px solid var(--lightgray);background-color:var(--light);appearance:none;border-radius:3px;width:16px;height:16px;margin-inline:-1.4rem .2rem;position:relative;transform:translateY(2px)}input[type=checkbox]:checked{border-color:var(--secondary);background-color:var(--secondary)}input[type=checkbox]:checked:after{content:"";border:solid var(--light);border-width:0 2px 2px 0;width:4px;height:8px;display:block;position:absolute;top:1px;left:4px;transform:rotate(45deg)}blockquote{border-left:3px solid var(--secondary);margin:1rem 0;padding-left:1rem;transition:border-color .2s}h1,h2,h3,h4,h5,h6,thead{font-family:var(--headerFont);color:var(--dark);font-weight:revert;margin-bottom:0}article>h1>a[role=anchor],article>h2>a[role=anchor],article>h3>a[role=anchor],article>h4>a[role=anchor],article>h5>a[role=anchor],article>h6>a[role=anchor],article>thead>a[role=anchor]{color:var(--dark);background-color:#0000}h1[id]>a[href^=\#],h2[id]>a[href^=\#],h3[id]>a[href^=\#],h4[id]>a[href^=\#],h5[id]>a[href^=\#],h6[id]>a[href^=\#]{opacity:0;font-family:var(--codeFont);-webkit-user-select:none;user-select:none;margin:0 .5rem;transition:opacity .2s;transform:translateY(-.1rem)}h1[id]:hover>a,h2[id]:hover>a,h3[id]:hover>a,h4[id]:hover>a,h5[id]:hover>a,h6[id]:hover>a{opacity:1}h1:not([id])>a[role=anchor],h2:not([id])>a[role=anchor],h3:not([id])>a[role=anchor],h4:not([id])>a[role=anchor],h5:not([id])>a[role=anchor],h6:not([id])>a[role=anchor]{display:none}h1{margin-top:2.25rem;margin-bottom:1rem;font-size:1.75rem}h2{margin-top:1.9rem;margin-bottom:1rem;font-size:1.4rem}h3{margin-top:1.62rem;margin-bottom:1rem;font-size:1.12rem}h4,h5,h6{margin-top:1.5rem;margin-bottom:1rem;font-size:1rem}figure[data-rehype-pretty-code-figure]{margin:0;line-height:1.6rem;position:relative}figure[data-rehype-pretty-code-figure]>[data-rehype-pretty-code-title]{font-family:var(--codeFont);border:1px solid var(--lightgray);width:fit-content;color:var(--darkgray);border-radius:5px;margin-bottom:-.5rem;padding:.1rem .5rem;font-size:.9rem}figure[data-rehype-pretty-code-figure]>pre{padding:0}pre{font-family:var(--codeFont);border:1px solid var(--lightgray);border-radius:5px;padding:0 .5rem;position:relative;overflow-x:auto}pre:has(>code.mermaid){border:none}pre>code{counter-reset:line;counter-increment:line 0;background:0 0;padding:.5rem 0;font-size:.85rem;display:grid;overflow-x:auto}pre>code [data-highlighted-chars]{background-color:var(--highlight);border-radius:5px}pre>code>[data-line]{box-sizing:border-box;border-left:3px solid #0000;padding:0 .25rem}pre>code>[data-line][data-highlighted-line]{background-color:var(--highlight);border-left:3px solid var(--secondary)}pre>code>[data-line]:before{content:counter(line);counter-increment:line;text-align:right;color:#738a9499;width:1rem;margin-right:1rem;display:inline-block}pre>code[data-line-numbers-max-digits="2"]>[data-line]:before{width:2rem}pre>code[data-line-numbers-max-digits="3"]>[data-line]:before{width:3rem}code{color:var(--dark);font-size:.9em;font-family:var(--codeFont);background:var(--lightgray);border-radius:5px;padding:.1rem .2rem}tbody,li,p{line-height:1.6rem}.table-container{overflow-x:auto}.table-container>table{border-collapse:collapse;margin:1rem;padding:1.5rem}.table-container>table th,.table-container>table td{min-width:75px}.table-container>table>*{line-height:2rem}th{text-align:left;border-bottom:2px solid var(--gray);padding:.4rem .7rem}td{padding:.2rem .7rem}tr{border-bottom:1px solid var(--lightgray)}tr:last-child{border-bottom:none}img{content-visibility:auto;border-radius:5px;max-width:100%;margin:1rem 0}p>img+em{display:block;transform:translateY(-1rem)}hr{background-color:var(--lightgray);border:none;width:100%;height:1px;margin:2rem auto}audio,video{border-radius:5px;width:100%}.spacer{flex:2 auto}div:has(>.overflow){max-height:100%;overflow-y:hidden}ul.overflow,ol.overflow{content:"";clear:both;width:100%;max-height:100%;margin-bottom:0;overflow-y:auto}ul.overflow>li.overflow-end,ol.overflow>li.overflow-end{height:.5rem;margin:0}ul.overflow.gradient-active,ol.overflow.gradient-active{-webkit-mask-image:linear-gradient(#000 calc(100% - 50px),#0000 100%);mask-image:linear-gradient(#000 calc(100% - 50px),#0000 100%)}.transclude ul{padding-left:1rem}.katex-display{display:initial;overflow:auto hidden}.external-embed.youtube{aspect-ratio:16/9;border-radius:5px;width:100%;height:100%}iframe.pdf{border:1px solid var(--lightgray);background-color:var(--light);border-radius:8px;width:100%;height:auto;min-height:520px;margin:1rem 0;display:block;box-shadow:0 10px 30px #00000014}.navigation-progress{background:var(--secondary);z-index:9999;width:0;height:3px;transition:width .2s;position:fixed;top:0;left:0}:root{--ba-brand:#02667f;--ba-brand-ink:#0b1f2a;--ba-accent:#ffd166;--ba-success:#2ecc71;--ba-warning:#f39c12;--ba-danger:#e74c3c;--ba-info:#3498db;--ba-bg-1:#0f1419;--ba-bg-2:#131a21;--ba-bg-3:#18212a;--ba-text-1:#e6edf3;--ba-text-2:#a9b6c3;--ba-text-3:#6e7681;--ba-border:#253243;--ba-shadow:#0000004d;--ba-gap:16px;--ba-radius:16px}.light{--ba-brand:#025566;--ba-brand-ink:#0b1f2a;--ba-accent:#e6a400;--ba-success:#27ae60;--ba-warning:#d68910;--ba-danger:#c0392b;--ba-info:#2980b9;--ba-bg-1:#fff;--ba-bg-2:#f6f8fa;--ba-bg-3:#eef2f5;--ba-text-1:#0d1117;--ba-text-2:#57606a;--ba-text-3:#8b949e;--ba-border:#d0d7de;--ba-shadow:#00000014}.content .ba-dash,article .ba-dash{color:var(--ba-text-1);padding:var(--ba-gap);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6}.content .ba-dash *,article .ba-dash *{box-sizing:border-box}.content .ba-dash a,article .ba-dash a{color:var(--ba-brand);text-decoration:none}.content .ba-dash a:hover,article .ba-dash a:hover{text-decoration:underline}.ba-dash>.ba-cards,.ba-dash .ba-cards{grid-template-columns:1fr;gap:12px;display:grid}@media (min-width:480px){.ba-dash>.ba-cards,.ba-dash .ba-cards{grid-template-columns:repeat(2,1fr)}}@media (min-width:768px){.ba-dash>.ba-cards,.ba-dash .ba-cards{grid-template-columns:repeat(3,1fr)}}@media (min-width:1400px){.ba-dash>.ba-cards,.ba-dash .ba-cards{grid-template-columns:repeat(6,1fr)}}.ba-card{background:var(--ba-bg-2);border:1px solid var(--ba-border);box-shadow:0 2px 8px var(--ba-shadow);border-radius:12px;min-width:0;padding:16px;transition:transform .2s,box-shadow .2s}.ba-card:hover{box-shadow:0 4px 16px var(--ba-shadow);transform:translateY(-2px)}.ba-card__head{text-transform:uppercase;letter-spacing:.04em;color:var(--ba-text-2);white-space:nowrap;text-overflow:ellipsis;margin-bottom:6px;font-size:.7rem;font-weight:600;overflow:hidden}.ba-card__body{color:var(--ba-brand);margin:8px 0;font-size:1.75rem;font-weight:700;line-height:1.2}.ba-card__foot{color:var(--ba-text-3);margin-top:6px;font-size:.75rem;line-height:1.3}.ba-badge{text-transform:uppercase;letter-spacing:.03em;border-radius:12px;align-items:center;gap:4px;padding:4px 12px;font-size:.75rem;font-weight:600;display:inline-flex}.ba-badge.is-draft{background:var(--ba-bg-3);color:var(--ba-text-3);border:1px solid var(--ba-border)}.ba-badge.is-draft:before{content:"⚪"}.ba-badge.is-review{background:color-mix(in srgb,var(--ba-info)15%,transparent);color:var(--ba-info);border:1px solid var(--ba-info)}.ba-badge.is-review:before{content:"🔵"}.ba-badge.is-needsrev{background:color-mix(in srgb,var(--ba-warning)15%,transparent);color:var(--ba-warning);border:1px solid var(--ba-warning)}.ba-badge.is-needsrev:before{content:"🟡"}.ba-badge.is-final{background:color-mix(in srgb,var(--ba-success)15%,transparent);color:var(--ba-success);border:1px solid var(--ba-success)}.ba-badge.is-final:before{content:"🟢"}.ba-badge.is-approved{background:color-mix(in srgb,var(--ba-brand)15%,transparent);color:var(--ba-brand);border:2px solid var(--ba-success)}.ba-badge.is-approved:before{content:"✅"}.ba-progress{margin:16px 0;position:relative}.ba-progress__track{background:var(--ba-bg-3);border:1px solid var(--ba-border);border-radius:12px;height:24px;overflow:hidden}.ba-progress__bar{background:linear-gradient(90deg,var(--ba-brand)0%,var(--ba-accent)100%);height:100%;width:calc(var(--value,0)*100%);border-radius:12px;transition:width .6s cubic-bezier(.4,0,.2,1)}.ba-progress__label{color:var(--ba-text-1);text-shadow:0 1px 2px var(--ba-shadow);font-size:.75rem;font-weight:700;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.ba-table{border-collapse:collapse;border-radius:var(--ba-radius);border:1px solid var(--ba-border);width:100%;overflow:hidden}.ba-table thead{background:var(--ba-bg-3);z-index:10;position:sticky;top:0}.ba-table th{text-align:left;text-transform:uppercase;letter-spacing:.03em;color:var(--ba-text-2);border-bottom:2px solid var(--ba-border);padding:12px 16px;font-size:.875rem;font-weight:600}.ba-table td{border-bottom:1px solid var(--ba-border);padding:12px 16px}.ba-table tbody tr:nth-child(2n){background:var(--ba-bg-2)}.ba-table tbody tr:hover{background:var(--ba-bg-3)}.ba-card.is-compact{padding:12px!important}.ba-card.is-compact .ba-card__body{margin:6px 0!important;font-size:1.5rem!important}.ba-card.is-compact .ba-card__head{margin-bottom:4px!important;font-size:.65rem!important}.ba-card.is-compact .ba-card__foot{margin-top:4px!important;font-size:.7rem!important}.ba-card.is-spacious{padding:32px!important}@media print{.ba-dash{background:#fff!important}.ba-card{break-inside:avoid;box-shadow:none;border:1px solid #ccc}.ba-card:hover{transform:none}.darkmode,.search,.explorer,div.explorer,.explorer-content,.explorer-ul,button.mobile-explorer,button.desktop-explorer,.graph,.backlinks,footer,.export-button,.export-button-container,.page-navigation,.comments,nav,header,button,.sidebar,.left,.right,.left.sidebar,.right.sidebar,aside,.toc,.breadcrumbs,.breadcrumb-container,.tag-list,.tags,.annotations-badge,.annotations-badge-link,.reader-mode,.readermode,.feedback-badge,.feedback-badge-container,.review-status,.content-meta,iframe,embed,object,hypothesis-sidebar,hypothesis-notebook,.hypothesis-sidebar,.popover,.lightbox,.popover-hint{visibility:hidden!important;display:none!important}body{font-size:11pt;line-height:1.5;color:#000!important;background:#fff!important;margin:0!important;padding:0!important}html,body,#quartz-root,.page,#quartz-body{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:block!important}.page>#quartz-body,body .page>#quartz-body,#quartz-root>#quartz-body,#quartz-root.page>#quartz-body{grid-template:none!important;display:block!important}.center,article,main,.popover-hint,.page-listing{float:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:1cm!important}.article-content,.page-content,article>*,.center>*{max-width:100%!important;display:block!important}.left,.right,aside,.sidebar{visibility:hidden!important;width:0!important;height:0!important;display:none!important;overflow:hidden!important}h1{page-break-after:avoid;font-size:24pt}h2{page-break-after:avoid;margin-top:24pt;font-size:18pt}h3{page-break-after:avoid;font-size:14pt}h4,h5,h6{page-break-after:avoid;font-size:12pt}p,ul,ol,blockquote,pre{page-break-inside:avoid}pre,code{page-break-inside:avoid;background:#f5f5f5;border:1px solid #ccc}a{color:#000;text-decoration:underline}a[href^=http]:after{content:" (" attr(href)")";color:#666;font-size:9pt}img{page-break-inside:avoid;max-width:100%}table{border-collapse:collapse;page-break-inside:avoid;width:100%}th,td{border:1px solid #ccc;padding:8pt}.page-break{page-break-after:always}.content-meta{color:#666;border-bottom:1px solid #ccc;margin-bottom:12pt;padding-bottom:6pt;font-size:9pt}*{color:#000!important;box-shadow:none!important;text-shadow:none!important;background:0 0!important}pre,code{background:#f9f9f9!important}}.rag-chatbot .rag-chat-fab{cursor:pointer;border-radius:50%;justify-content:center;align-items:center;font-size:2.5rem;transition:all .3s;color:#fff!important;z-index:999999!important;background:#2563eb!important;border:3px solid #fff!important;width:70px!important;height:70px!important;display:flex!important;position:fixed!important;bottom:2rem!important;right:2rem!important;box-shadow:0 8px 24px #2563eb80!important}.rag-chatbot .rag-chat-fab:hover{transform:scale(1.1);box-shadow:0 6px 16px #0006}.rag-chatbot .rag-chat-fab:active{transform:scale(.95)}.rag-chatbot .rag-chat-fab.hidden{visibility:hidden!important;opacity:0!important;pointer-events:none!important;display:none!important}.rag-chatbot .rag-chat-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:flex-end;align-items:center;padding:1rem 8rem 1rem 1rem;transition:opacity .3s;z-index:999998!important;opacity:1!important;visibility:visible!important;background:#00000080!important;width:100vw!important;height:100vh!important;display:flex!important;position:fixed!important;top:0!important;left:0!important}.rag-chatbot .rag-chat-overlay.hidden{opacity:0!important;visibility:hidden!important;display:none!important}.rag-chatbot .rag-chat-overlay.fullscreen{justify-content:center;padding:1rem;background:#000000a6!important}.rag-chatbot .rag-chat-overlay.fullscreen .rag-chat-panel{margin-right:0!important}.rag-chatbot .rag-chat-panel{background:var(--light);border-radius:12px;flex-direction:column;width:450px;max-width:90vw;height:calc(100vh - 2rem);animation:.3s slideIn;display:flex;box-shadow:0 10px 40px #0000004d;margin-right:80px!important}.rag-chatbot .rag-chat-panel.fullscreen{border-radius:16px;width:min(1000px,95vw);height:calc(100vh - 2rem)}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.rag-chatbot .rag-chat-header{background:var(--secondary);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1.5rem;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-title{align-items:center;gap:.75rem;display:flex}.rag-chatbot .rag-chat-header .rag-chat-title .rag-chat-icon{font-size:2rem}.rag-chatbot .rag-chat-header .rag-chat-title h3{margin:0;font-size:1.25rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-title .rag-chat-subtitle{opacity:.9;margin:0;font-size:.85rem;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-header-actions{align-items:center;gap:.5rem;margin-right:1rem;display:flex}.rag-chatbot .rag-chat-header .rag-chat-expand{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-expand.active{background:#ffffff26}.rag-chatbot .rag-chat-header .rag-chat-expand:hover{background:#ffffff1a}.rag-chatbot .rag-chat-header .rag-chat-lang{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem .75rem;font-size:.85rem;font-weight:600;transition:all .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-lang .rag-lang-text{letter-spacing:.5px}.rag-chatbot .rag-chat-header .rag-chat-lang:hover{background:#ffffff1a}.rag-chatbot .rag-chat-header .rag-chat-clear{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-clear:hover{background:#ffffff1a;color:#ef4444!important}.rag-chatbot .rag-chat-header .rag-chat-features{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-features:hover{background:#ffffff1a}.rag-chatbot .rag-chat-header .rag-chat-settings{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-settings:hover{background:#ffffff1a;transform:rotate(90deg)}.rag-chatbot .rag-chat-header .rag-chat-close{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem;font-size:1.5rem;transition:background .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-header .rag-chat-close:hover{background:#ffffff1a}.rag-chatbot .rag-settings-panel{border-bottom:1px solid var(--lightgray);background:var(--lightgray);padding:1rem;transition:all .3s}.rag-chatbot .rag-settings-panel.hidden{display:none}.rag-chatbot .rag-settings-panel .rag-settings-header h4{color:var(--dark);margin:0 0 .75rem;font-size:1rem;font-weight:600}.rag-chatbot .rag-settings-panel .rag-settings-content{flex-direction:column;gap:.5rem;display:flex}.rag-chatbot .rag-settings-panel .rag-reindex-btn,.rag-chatbot .rag-settings-panel .rag-citation-manager-btn,.rag-chatbot .rag-settings-panel .rag-compare-tool-btn,.rag-chatbot .rag-settings-panel .rag-gap-analysis-btn,.rag-chatbot .rag-settings-panel .rag-timeline-btn,.rag-chatbot .rag-settings-panel .rag-concept-map-btn,.rag-chatbot .rag-settings-panel .rag-batch-export-btn,.rag-chatbot .rag-settings-panel .rag-fact-checker-btn{background:var(--secondary);color:var(--light);cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.95rem;font-weight:500;transition:all .2s;display:flex}.rag-chatbot .rag-settings-panel .rag-reindex-btn svg,.rag-chatbot .rag-settings-panel .rag-citation-manager-btn svg,.rag-chatbot .rag-settings-panel .rag-compare-tool-btn svg,.rag-chatbot .rag-settings-panel .rag-gap-analysis-btn svg,.rag-chatbot .rag-settings-panel .rag-timeline-btn svg,.rag-chatbot .rag-settings-panel .rag-concept-map-btn svg,.rag-chatbot .rag-settings-panel .rag-batch-export-btn svg,.rag-chatbot .rag-settings-panel .rag-fact-checker-btn svg{flex-shrink:0}.rag-chatbot .rag-settings-panel .rag-reindex-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-citation-manager-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-compare-tool-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-gap-analysis-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-timeline-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-concept-map-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-batch-export-btn:hover:not(:disabled),.rag-chatbot .rag-settings-panel .rag-fact-checker-btn:hover:not(:disabled){background:var(--tertiary);transform:translate(4px)}.rag-chatbot .rag-settings-panel .rag-reindex-btn:disabled,.rag-chatbot .rag-settings-panel .rag-citation-manager-btn:disabled,.rag-chatbot .rag-settings-panel .rag-compare-tool-btn:disabled,.rag-chatbot .rag-settings-panel .rag-gap-analysis-btn:disabled,.rag-chatbot .rag-settings-panel .rag-timeline-btn:disabled,.rag-chatbot .rag-settings-panel .rag-concept-map-btn:disabled,.rag-chatbot .rag-settings-panel .rag-batch-export-btn:disabled,.rag-chatbot .rag-settings-panel .rag-fact-checker-btn:disabled{opacity:.6;cursor:not-allowed;background:var(--gray)}.rag-chatbot .rag-settings-panel .rag-settings-hint{color:var(--gray);margin:0;font-size:.85rem;line-height:1.4}.rag-chatbot .rag-features-panel{border-bottom:1px solid var(--lightgray);background:var(--lightgray);padding:1rem;transition:all .3s}.rag-chatbot .rag-features-panel.hidden{display:none}.rag-chatbot .rag-features-panel .rag-features-header h4{color:var(--dark);margin:0 0 .75rem;font-size:1rem;font-weight:600}.rag-chatbot .rag-features-panel .rag-features-content{flex-direction:column;gap:.5rem;display:flex}.rag-chatbot .rag-features-panel .rag-citation-manager-btn,.rag-chatbot .rag-features-panel .rag-compare-tool-btn,.rag-chatbot .rag-features-panel .rag-gap-analysis-btn,.rag-chatbot .rag-features-panel .rag-timeline-btn,.rag-chatbot .rag-features-panel .rag-concept-map-btn,.rag-chatbot .rag-features-panel .rag-batch-export-btn,.rag-chatbot .rag-features-panel .rag-fact-checker-btn{background:var(--secondary);color:var(--light);cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.95rem;font-weight:500;transition:all .2s;display:flex}.rag-chatbot .rag-features-panel .rag-citation-manager-btn svg,.rag-chatbot .rag-features-panel .rag-compare-tool-btn svg,.rag-chatbot .rag-features-panel .rag-gap-analysis-btn svg,.rag-chatbot .rag-features-panel .rag-timeline-btn svg,.rag-chatbot .rag-features-panel .rag-concept-map-btn svg,.rag-chatbot .rag-features-panel .rag-batch-export-btn svg,.rag-chatbot .rag-features-panel .rag-fact-checker-btn svg{flex-shrink:0}.rag-chatbot .rag-features-panel .rag-citation-manager-btn:hover:not(:disabled),.rag-chatbot .rag-features-panel .rag-compare-tool-btn:hover:not(:disabled),.rag-chatbot .rag-features-panel .rag-gap-analysis-btn:hover:not(:disabled),.rag-chatbot .rag-features-panel .rag-timeline-btn:hover:not(:disabled),.rag-chatbot .rag-features-panel .rag-concept-map-btn:hover:not(:disabled),.rag-chatbot .rag-features-panel .rag-batch-export-btn:hover:not(:disabled),.rag-chatbot .rag-features-panel .rag-fact-checker-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-features-panel .rag-citation-manager-btn:disabled,.rag-chatbot .rag-features-panel .rag-compare-tool-btn:disabled,.rag-chatbot .rag-features-panel .rag-gap-analysis-btn:disabled,.rag-chatbot .rag-features-panel .rag-timeline-btn:disabled,.rag-chatbot .rag-features-panel .rag-concept-map-btn:disabled,.rag-chatbot .rag-features-panel .rag-batch-export-btn:disabled,.rag-chatbot .rag-features-panel .rag-fact-checker-btn:disabled{opacity:.6;cursor:not-allowed;background:var(--gray)}.rag-chatbot .rag-features-panel .rag-features-hint{color:var(--gray);margin:0;font-size:.85rem;line-height:1.4}.rag-chatbot .rag-history-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-history-panel.hidden{display:none}.rag-chatbot .rag-history-panel .rag-history-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.rag-chatbot .rag-history-panel .rag-history-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-history-panel .rag-history-header .rag-history-close{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem .5rem;font-size:1.5rem;transition:background .2s;color:#fff!important}.rag-chatbot .rag-history-panel .rag-history-header .rag-history-close:hover{background:#ffffff1a}.rag-chatbot .rag-history-panel .rag-history-search{border-bottom:1px solid var(--lightgray);padding:1rem}.rag-chatbot .rag-history-panel .rag-history-search input{border:1px solid var(--gray);background:var(--light);width:100%;color:var(--dark);border-radius:8px;padding:.75rem;font-size:.9rem}.rag-chatbot .rag-history-panel .rag-history-search input:focus{border-color:var(--secondary);outline:none}.rag-chatbot .rag-history-panel .rag-history-list{flex:1;padding:.5rem;overflow-y:auto}.rag-chatbot .rag-history-panel .rag-history-list::-webkit-scrollbar{width:6px}.rag-chatbot .rag-history-panel .rag-history-list::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-history-panel .rag-history-item{background:var(--lightgray);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;margin:.25rem 0;padding:1rem;transition:all .2s;display:flex}.rag-chatbot .rag-history-panel .rag-history-item:hover{background:var(--gray);transform:translate(4px)}.rag-chatbot .rag-history-panel .rag-history-item.active{background:var(--secondary);color:var(--light)}.rag-chatbot .rag-history-panel .rag-history-item.active .rag-history-item-title,.rag-chatbot .rag-history-panel .rag-history-item.active .rag-history-item-meta{color:var(--light)}.rag-chatbot .rag-history-panel .rag-history-item .rag-history-item-content{flex:1}.rag-chatbot .rag-history-panel .rag-history-item .rag-history-item-title{color:var(--dark);margin-bottom:.25rem;font-size:.95rem;font-weight:600}.rag-chatbot .rag-history-panel .rag-history-item .rag-history-item-meta{color:var(--gray);font-size:.8rem}.rag-chatbot .rag-history-panel .rag-history-item .rag-history-delete{cursor:pointer;opacity:.6;background:0 0;border:none;border-radius:4px;padding:.5rem;font-size:1.2rem;transition:all .2s}.rag-chatbot .rag-history-panel .rag-history-item .rag-history-delete:hover{opacity:1;background:#ef44441a;transform:scale(1.1)}.rag-chatbot .rag-history-panel .rag-history-empty{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-citation-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-citation-panel.hidden{display:none}.rag-chatbot .rag-citation-panel .rag-citation-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.rag-chatbot .rag-citation-panel .rag-citation-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-citation-panel .rag-citation-header .rag-citation-header-actions{align-items:center;gap:.5rem;margin-right:.5rem;display:flex}.rag-chatbot .rag-citation-panel .rag-citation-header .rag-citation-header-actions .rag-citation-home{cursor:pointer;background:#ffffff26;border:1px solid #ffffff4d;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s,transform .2s;color:#fff!important}.rag-chatbot .rag-citation-panel .rag-citation-header .rag-citation-header-actions .rag-citation-home:hover{background:#ffffff40;transform:translateY(-1px)}.rag-chatbot .rag-citation-panel .rag-citation-header .rag-citation-close{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem .5rem;font-size:1.5rem;transition:background .2s;color:#fff!important}.rag-chatbot .rag-citation-panel .rag-citation-header .rag-citation-close:hover{background:#ffffff1a}.rag-chatbot .rag-citation-panel .rag-citation-stats{background:var(--lightgray);border-bottom:1px solid var(--gray);padding:1rem}.rag-chatbot .rag-citation-panel .rag-citation-stats .rag-citation-stat{color:var(--dark);font-size:.95rem}.rag-chatbot .rag-citation-panel .rag-citation-stats .rag-citation-stat strong{color:var(--secondary);font-size:1.2rem}.rag-chatbot .rag-citation-panel .rag-citation-export{border-bottom:1px solid var(--lightgray);gap:.5rem;padding:1rem;display:flex}.rag-chatbot .rag-citation-panel .rag-citation-export .rag-export-btn{background:var(--secondary);color:var(--light);cursor:pointer;border:none;border-radius:8px;flex:1;padding:.75rem;font-size:.85rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-citation-panel .rag-citation-export .rag-export-btn:hover{background:var(--tertiary);transform:translateY(-2px);box-shadow:0 2px 8px #0003}.rag-chatbot .rag-citation-panel .rag-citation-list{flex:1;padding:1rem;overflow-y:auto}.rag-chatbot .rag-citation-panel .rag-citation-list::-webkit-scrollbar{width:6px}.rag-chatbot .rag-citation-panel .rag-citation-list::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-citation-panel .rag-citation-item{background:var(--lightgray);border-left:3px solid var(--secondary);border-radius:8px;align-items:center;gap:.75rem;margin-bottom:.5rem;padding:.75rem;display:flex}.rag-chatbot .rag-citation-panel .rag-citation-item .rag-citation-number{background:var(--secondary);color:var(--light);border-radius:4px;flex-shrink:0;padding:.2rem .5rem;font-size:.8rem;font-weight:600}.rag-chatbot .rag-citation-panel .rag-citation-item .rag-citation-title{color:var(--dark);flex:1;font-size:.9rem;line-height:1.4}.rag-chatbot .rag-citation-panel .rag-citation-empty{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-gap-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-gap-panel.hidden{display:none}.rag-chatbot .rag-gap-panel .rag-gap-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.rag-chatbot .rag-gap-panel .rag-gap-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-gap-panel .rag-gap-header .rag-gap-header-actions{align-items:center;gap:.5rem;margin-right:8rem;display:flex}.rag-chatbot .rag-gap-panel .rag-gap-header .rag-gap-header-actions button{cursor:pointer;background:#ffffff26;border:1px solid #ffffff59;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s;color:#fff!important}.rag-chatbot .rag-gap-panel .rag-gap-header .rag-gap-header-actions button:hover{background:#ffffff40}.rag-chatbot .rag-gap-panel .rag-gap-header .rag-gap-header-actions button.rag-gap-close{background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem}.rag-chatbot .rag-gap-panel .rag-gap-header .rag-gap-header-actions button.rag-gap-close:hover{background:#ffffff1f}.rag-chatbot .rag-gap-panel .rag-gap-form{border-bottom:1px solid var(--lightgray);background:var(--light);padding:1.5rem}.rag-chatbot .rag-gap-panel .rag-gap-form .rag-gap-description{color:var(--dark);margin:0 0 1rem;font-size:.9rem;line-height:1.5}.rag-chatbot .rag-gap-panel .rag-gap-form .rag-gap-analyze-btn{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-gap-panel .rag-gap-form .rag-gap-analyze-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-gap-panel .rag-gap-form .rag-gap-analyze-btn:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-gap-panel .rag-gap-output{flex:1;padding:1.5rem;overflow-y:auto}.rag-chatbot .rag-gap-panel .rag-gap-output::-webkit-scrollbar{width:6px}.rag-chatbot .rag-gap-panel .rag-gap-output::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-gap-panel .rag-gap-placeholder,.rag-chatbot .rag-gap-panel .rag-gap-loading{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-gap-panel .rag-gap-error{color:#c62828;text-align:center;background:#ffebee;border-radius:8px;padding:1rem}.rag-chatbot .rag-gap-panel .rag-gap-result{background:var(--lightgray);border-left:4px solid var(--secondary);color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:1.5rem;font-size:.95rem;line-height:1.8}.rag-chatbot .rag-gap-panel .rag-gap-result h1,.rag-chatbot .rag-gap-panel .rag-gap-result h2,.rag-chatbot .rag-gap-panel .rag-gap-result h3{color:var(--dark);margin:1.5rem 0 .75rem}.rag-chatbot .rag-gap-panel .rag-gap-result h1:first-child,.rag-chatbot .rag-gap-panel .rag-gap-result h2:first-child,.rag-chatbot .rag-gap-panel .rag-gap-result h3:first-child{margin-top:0}.rag-chatbot .rag-gap-panel .rag-gap-result ul,.rag-chatbot .rag-gap-panel .rag-gap-result ol{margin:.75rem 0;padding-left:1.5rem}.rag-chatbot .rag-gap-panel .rag-gap-result ul li,.rag-chatbot .rag-gap-panel .rag-gap-result ol li{margin:.5rem 0}.rag-chatbot .rag-gap-panel .rag-copy-gap{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.75rem;font-size:.9rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-gap-panel .rag-copy-gap:hover{background:var(--tertiary);transform:translateY(-2px)}.rag-chatbot .rag-compare-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-compare-panel.hidden{display:none}.rag-chatbot .rag-compare-panel .rag-compare-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.rag-chatbot .rag-compare-panel .rag-compare-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-compare-panel .rag-compare-header .rag-compare-close{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem .5rem;font-size:1.5rem;transition:background .2s;color:#fff!important}.rag-chatbot .rag-compare-panel .rag-compare-header .rag-compare-close:hover{background:#ffffff1a}.rag-chatbot .rag-compare-panel .rag-compare-form{border-bottom:1px solid var(--lightgray);background:var(--light);padding:1.5rem}.rag-chatbot .rag-compare-panel .rag-compare-form label{color:var(--dark);margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.rag-chatbot .rag-compare-panel .rag-compare-form input{border:1px solid var(--gray);background:var(--light);width:100%;color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:.75rem;font-size:.9rem}.rag-chatbot .rag-compare-panel .rag-compare-form input:focus{border-color:var(--secondary);outline:none}.rag-chatbot .rag-compare-panel .rag-compare-form .rag-compare-btn{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-compare-panel .rag-compare-form .rag-compare-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-compare-panel .rag-compare-form .rag-compare-btn:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-compare-panel .rag-compare-output{flex:1;padding:1.5rem;overflow-y:auto}.rag-chatbot .rag-compare-panel .rag-compare-output::-webkit-scrollbar{width:6px}.rag-chatbot .rag-compare-panel .rag-compare-output::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-compare-panel .rag-compare-placeholder,.rag-chatbot .rag-compare-panel .rag-compare-loading{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-compare-panel .rag-compare-error{color:#c62828;text-align:center;background:#ffebee;border-radius:8px;padding:1rem}.rag-chatbot .rag-compare-panel .rag-compare-result{background:var(--lightgray);border-left:4px solid var(--secondary);color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:1.5rem;font-size:.95rem;line-height:1.8}.rag-chatbot .rag-compare-panel .rag-compare-result h1,.rag-chatbot .rag-compare-panel .rag-compare-result h2,.rag-chatbot .rag-compare-panel .rag-compare-result h3{color:var(--dark);margin:1rem 0 .5rem}.rag-chatbot .rag-compare-panel .rag-compare-result h1:first-child,.rag-chatbot .rag-compare-panel .rag-compare-result h2:first-child,.rag-chatbot .rag-compare-panel .rag-compare-result h3:first-child{margin-top:0}.rag-chatbot .rag-compare-panel .rag-compare-result table{border-collapse:collapse;width:100%;margin:1rem 0}.rag-chatbot .rag-compare-panel .rag-compare-result table th,.rag-chatbot .rag-compare-panel .rag-compare-result table td{border:1px solid var(--gray);text-align:left;padding:.75rem}.rag-chatbot .rag-compare-panel .rag-compare-result table th{background:var(--secondary);color:var(--light);font-weight:600}.rag-chatbot .rag-compare-panel .rag-copy-compare{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.75rem;font-size:.9rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-compare-panel .rag-copy-compare:hover{background:var(--tertiary);transform:translateY(-2px)}.rag-chatbot .rag-writing-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-writing-panel.hidden{display:none}.rag-chatbot .rag-writing-panel .rag-writing-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1rem 1rem 2rem;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-header>div:first-child{flex-shrink:0}.rag-chatbot .rag-writing-panel .rag-writing-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-writing-panel .rag-writing-header p{opacity:.8;margin:0;font-size:.85rem;color:#fff!important}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions{align-items:center;gap:.5rem;margin-left:auto;margin-right:8rem;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions button{cursor:pointer;border:none;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s;color:#fff!important}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions .rag-writing-home{background:#ffffff26}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions .rag-writing-home:hover{background:#ffffff40}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions .rag-writing-back{background:#ffffff1a;border:1px solid #ffffff59}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions .rag-writing-back:hover{background:#fff3}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions .rag-writing-close{background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem}.rag-chatbot .rag-writing-panel .rag-writing-header .rag-writing-header-actions .rag-writing-close:hover{background:#ffffff1f}.rag-chatbot .rag-writing-panel .rag-writing-body{background:color-mix(in srgb,var(--lightgray)30%,transparent);flex:1;display:flex;overflow:hidden}.rag-chatbot .rag-writing-panel .rag-writing-form-container{border-right:1px solid var(--lightgray);background:var(--light);flex-direction:column;width:380px;min-width:320px;max-width:40%;transition:width .3s,min-width .3s;display:flex;position:relative}.rag-chatbot .rag-writing-panel .rag-writing-form-container.collapsed{background:0 0;border-right:none;width:60px;min-width:60px}.rag-chatbot .rag-writing-panel .rag-writing-form-container.collapsed .rag-writing-form{opacity:0;pointer-events:none;visibility:hidden}.rag-chatbot .rag-writing-panel .rag-writing-form{background:var(--light);box-shadow:inset -1px 0 0 var(--lightgray);border-bottom:none;flex-direction:column;flex:1;align-items:center;gap:.85rem;padding:1.5rem 2.5rem;display:flex;position:relative;overflow-y:auto}.rag-chatbot .rag-writing-panel .rag-writing-form>*{width:100%;max-width:520px;margin-left:auto;margin-right:auto}.rag-chatbot .rag-writing-panel .rag-writing-form label{color:var(--dark);margin-bottom:.3rem;font-size:.9rem;font-weight:600;display:block}.rag-chatbot .rag-writing-panel .rag-writing-form input,.rag-chatbot .rag-writing-panel .rag-writing-form select,.rag-chatbot .rag-writing-panel .rag-writing-form textarea{border:1px solid var(--gray);background:var(--light);width:100%;color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:.75rem;font-size:.9rem}.rag-chatbot .rag-writing-panel .rag-writing-form input:focus,.rag-chatbot .rag-writing-panel .rag-writing-form select:focus,.rag-chatbot .rag-writing-panel .rag-writing-form textarea:focus{border-color:var(--secondary);outline:none;box-shadow:0 0 0 2px #2563eb26}.rag-chatbot .rag-writing-panel .rag-writing-form textarea{resize:vertical;min-height:90px}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-template{margin-bottom:1rem}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-template select{margin-bottom:0}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-toolbar{justify-content:flex-end;margin-bottom:.75rem;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-toolbar .rag-writing-link-btn{border:1px solid var(--lightgray);background:var(--light);color:var(--dark);cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .9rem;font-size:.85rem;transition:all .2s;display:inline-flex}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-toolbar .rag-writing-link-btn svg{pointer-events:none}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-toolbar .rag-writing-link-btn:hover{border-color:var(--secondary);color:var(--secondary)}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-grid label,.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-grid input{margin-bottom:0}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block{border:1px solid var(--lightgray);background:color-mix(in srgb,var(--lightgray)85%,transparent);border-radius:10px;width:100%;margin-bottom:1rem;padding:1rem;overflow:hidden}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-sources-header{flex-direction:column;gap:.5rem;width:100%;margin-bottom:.85rem;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-sources-header>div{width:100%}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-sources-header span{color:var(--dark);margin-bottom:.25rem;font-weight:600;display:block}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-sources-header p{color:var(--gray);margin:0;font-size:.8rem}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-sources-header input{box-sizing:border-box;width:100%!important;margin:0!important}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-source-list{flex-direction:column;gap:.5rem;max-height:240px;padding:.25rem;display:flex;overflow-y:auto}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-source-empty{text-align:center;width:100%;color:var(--gray);padding:1rem;font-size:.85rem}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-source{border:1px solid var(--lightgray);background:var(--light);color:var(--darkgray);cursor:pointer;text-align:left;border-radius:12px;align-items:center;min-height:42px;padding:.5rem .75rem;font-size:.85rem;transition:all .2s;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-source.selected{background:var(--secondary);color:#fff;border-color:var(--secondary)}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-sources-block .rag-writing-source:hover{border-color:var(--secondary)}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-generate{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:10px;padding:.85rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-generate:hover:not(:disabled){background:var(--tertiary);transform:translateY(-1px);box-shadow:0 6px 18px #2563eb40}.rag-chatbot .rag-writing-panel .rag-writing-form .rag-writing-generate:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-writing-panel .rag-writing-toggle{background:var(--secondary);color:#fff;cursor:pointer;z-index:100;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:.6rem;transition:all .2s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 12px #0003}.rag-chatbot .rag-writing-panel .rag-writing-toggle:hover{transform:translate(-50%,-50%)scale(1.1);box-shadow:0 6px 16px #0000004d}.rag-chatbot .rag-writing-panel .rag-writing-toggle svg{transition:transform .2s}.rag-chatbot .rag-writing-panel .rag-writing-form-container.collapsed .rag-writing-toggle svg{transform:rotate(180deg)}.rag-chatbot .rag-writing-panel .rag-writing-main{background:color-mix(in srgb,var(--lightgray)45%,transparent);flex-direction:column;flex:1;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-output{flex:1;padding:1.25rem 1.5rem;overflow-y:auto}.rag-chatbot .rag-writing-panel .rag-writing-output::-webkit-scrollbar{width:6px}.rag-chatbot .rag-writing-panel .rag-writing-output::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-writing-panel .rag-writing-output .rag-writing-placeholder,.rag-chatbot .rag-writing-panel .rag-writing-loading{text-align:center;color:var(--gray);padding:2rem}.rag-chatbot .rag-writing-panel .rag-writing-error{color:#c62828;text-align:center;background:#ffebee;border-radius:10px;padding:1rem}.rag-chatbot .rag-writing-panel .rag-writing-result{border-left:4px solid var(--secondary);background:#f3f4f6;border-radius:10px;margin-bottom:1rem;padding:1.5rem;font-size:.95rem;line-height:1.8}.rag-chatbot .rag-writing-panel .rag-writing-result h1,.rag-chatbot .rag-writing-panel .rag-writing-result h2,.rag-chatbot .rag-writing-panel .rag-writing-result h3{color:var(--dark);margin:1rem 0 .5rem}.rag-chatbot .rag-writing-panel .rag-copy-writing{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:10px;padding:.75rem;font-size:.9rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-writing-panel .rag-copy-writing:hover{background:var(--tertiary)}.rag-chatbot .rag-writing-panel .rag-writing-followup{border-top:1px solid var(--lightgray);background:var(--light);padding:1rem 1.5rem 1.5rem}.rag-chatbot .rag-writing-panel .rag-writing-followup.hidden{display:none}.rag-chatbot .rag-writing-panel .rag-writing-followup textarea{border:1px solid var(--lightgray);border-radius:8px;width:100%;min-height:90px;padding:.75rem}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions{flex-wrap:wrap;gap:.75rem;margin-top:.75rem;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions button{cursor:pointer;border:none;border-radius:8px;flex:1;padding:.75rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions #rag-writing-send-followup{color:var(--dark);background:#e5e7eb}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions #rag-writing-send-followup:hover{background:#d1d5db}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions #rag-writing-approve{background:var(--secondary);color:#fff}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions #rag-writing-approve:hover:not(:disabled){background:var(--tertiary)}.rag-chatbot .rag-writing-panel .rag-writing-followup .rag-writing-followup-actions #rag-writing-approve:disabled{opacity:.5;cursor:not-allowed}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete{z-index:100000;background:var(--light);border:1px solid var(--gray);border-radius:8px;max-height:220px;padding:.25rem 0;display:none;position:fixed;overflow-y:auto;box-shadow:0 8px 20px #00000026}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete.visible{display:block}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete .rag-autocomplete-item{cursor:pointer;justify-content:space-between;padding:.35rem .75rem;font-size:.9rem;display:flex}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete .rag-autocomplete-item:hover,.rag-chatbot .rag-writing-panel .rag-writing-autocomplete .rag-autocomplete-item.selected{background:color-mix(in srgb,var(--secondary)12%,transparent);color:var(--dark)}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete .rag-autocomplete-item .rag-autocomplete-file{flex:1;padding-right:.5rem}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete .rag-autocomplete-item .rag-autocomplete-meta{color:var(--gray);font-size:.8rem}.rag-chatbot .rag-writing-panel .rag-writing-autocomplete .rag-autocomplete-empty{color:var(--gray);padding:.5rem .75rem;font-size:.85rem}@media (max-width:900px){.rag-chatbot .rag-writing-panel .rag-writing-body{flex-direction:column}.rag-chatbot .rag-writing-panel .rag-writing-form-container,.rag-chatbot .rag-writing-panel .rag-writing-form-container.collapsed{border-right:none;width:100%;min-width:100%}.rag-chatbot .rag-writing-panel .rag-writing-form-container.collapsed .rag-writing-form{opacity:1;visibility:visible;pointer-events:auto}.rag-chatbot .rag-writing-panel .rag-writing-toggle{writing-mode:horizontal-tb;width:auto;margin:.5rem auto;position:static;transform:none}}.rag-chatbot .rag-timeline-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-timeline-panel.hidden{display:none}.rag-chatbot .rag-timeline-panel .rag-timeline-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem 1rem 1rem;display:flex}.rag-chatbot .rag-timeline-panel .rag-timeline-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-timeline-panel .rag-timeline-header .rag-timeline-header-actions{align-items:center;gap:.5rem;margin-right:8rem;display:flex}.rag-chatbot .rag-timeline-panel .rag-timeline-header .rag-timeline-header-actions button{cursor:pointer;background:#ffffff26;border:1px solid #ffffff59;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s;color:#fff!important}.rag-chatbot .rag-timeline-panel .rag-timeline-header .rag-timeline-header-actions button:hover{background:#ffffff40}.rag-chatbot .rag-timeline-panel .rag-timeline-header .rag-timeline-header-actions button.rag-timeline-close{background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem}.rag-chatbot .rag-timeline-panel .rag-timeline-header .rag-timeline-header-actions button.rag-timeline-close:hover{background:#ffffff1f}.rag-chatbot .rag-timeline-panel .rag-timeline-form{border-bottom:1px solid var(--lightgray);background:var(--light);padding:1.5rem}.rag-chatbot .rag-timeline-panel .rag-timeline-form label{color:var(--dark);margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.rag-chatbot .rag-timeline-panel .rag-timeline-form input{border:1px solid var(--gray);background:var(--light);width:100%;color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:.75rem;font-size:.9rem}.rag-chatbot .rag-timeline-panel .rag-timeline-form input:focus{border-color:var(--secondary);outline:none}.rag-chatbot .rag-timeline-panel .rag-timeline-form .rag-timeline-generate-btn{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-timeline-panel .rag-timeline-form .rag-timeline-generate-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-timeline-panel .rag-timeline-form .rag-timeline-generate-btn:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-timeline-panel .rag-timeline-output{flex:1;padding:1.5rem;overflow-y:auto}.rag-chatbot .rag-timeline-panel .rag-timeline-output::-webkit-scrollbar{width:6px}.rag-chatbot .rag-timeline-panel .rag-timeline-output::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-timeline-panel .rag-timeline-placeholder,.rag-chatbot .rag-timeline-panel .rag-timeline-loading{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-timeline-panel .rag-timeline-error{color:#c62828;text-align:center;background:#ffebee;border-radius:8px;padding:1rem}.rag-chatbot .rag-timeline-panel .rag-timeline-result{background:var(--lightgray);border-left:4px solid var(--secondary);color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:1.5rem;font-size:.95rem;line-height:1.8}.rag-chatbot .rag-timeline-panel .rag-timeline-result h1,.rag-chatbot .rag-timeline-panel .rag-timeline-result h2,.rag-chatbot .rag-timeline-panel .rag-timeline-result h3{color:var(--dark);margin:1.5rem 0 .75rem}.rag-chatbot .rag-timeline-panel .rag-timeline-result h1:first-child,.rag-chatbot .rag-timeline-panel .rag-timeline-result h2:first-child,.rag-chatbot .rag-timeline-panel .rag-timeline-result h3:first-child{margin-top:0}.rag-chatbot .rag-timeline-panel .rag-timeline-result ul,.rag-chatbot .rag-timeline-panel .rag-timeline-result ol{margin:.75rem 0;padding-left:1.5rem}.rag-chatbot .rag-timeline-panel .rag-timeline-result ul li,.rag-chatbot .rag-timeline-panel .rag-timeline-result ol li{margin:.5rem 0}.rag-chatbot .rag-timeline-panel .rag-copy-timeline{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.75rem;font-size:.9rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-timeline-panel .rag-copy-timeline:hover{background:var(--tertiary);transform:translateY(-2px)}.rag-chatbot .rag-concept-map-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-concept-map-panel.hidden{display:none}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem 1rem 1rem;display:flex}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header .rag-concept-map-header-actions{align-items:center;gap:.5rem;margin-right:8rem;display:flex}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header .rag-concept-map-header-actions button{cursor:pointer;background:#ffffff26;border:1px solid #ffffff59;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s;color:#fff!important}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header .rag-concept-map-header-actions button:hover{background:#ffffff40}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header .rag-concept-map-header-actions button.rag-concept-map-close{background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-header .rag-concept-map-header-actions button.rag-concept-map-close:hover{background:#ffffff1f}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form{border-bottom:1px solid var(--lightgray);background:var(--light);padding:1.5rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form label{color:var(--dark);margin-bottom:.5rem;font-size:.9rem;font-weight:600;display:block}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form input{border:1px solid var(--gray);background:var(--light);width:100%;color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:.75rem;font-size:.9rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form input:focus{border-color:var(--secondary);outline:none}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form .rag-concept-map-generate-btn{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form .rag-concept-map-generate-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-concept-map-panel .rag-concept-map-form .rag-concept-map-generate-btn:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-concept-map-panel .rag-concept-map-output{flex:1;padding:1.5rem;overflow-y:auto}.rag-chatbot .rag-concept-map-panel .rag-concept-map-output::-webkit-scrollbar{width:6px}.rag-chatbot .rag-concept-map-panel .rag-concept-map-output::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-concept-map-panel .rag-concept-map-placeholder,.rag-chatbot .rag-concept-map-panel .rag-concept-map-loading{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-error{color:#c62828;text-align:center;background:#ffebee;border-radius:8px;padding:1rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-result{background:var(--lightgray);border-left:4px solid var(--secondary);color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:1.5rem;font-size:.95rem;line-height:1.8}.rag-chatbot .rag-concept-map-panel .rag-concept-map-result h1,.rag-chatbot .rag-concept-map-panel .rag-concept-map-result h2,.rag-chatbot .rag-concept-map-panel .rag-concept-map-result h3{color:var(--dark);margin:1.5rem 0 .75rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-result h1:first-child,.rag-chatbot .rag-concept-map-panel .rag-concept-map-result h2:first-child,.rag-chatbot .rag-concept-map-panel .rag-concept-map-result h3:first-child{margin-top:0}.rag-chatbot .rag-concept-map-panel .rag-concept-map-result ul,.rag-chatbot .rag-concept-map-panel .rag-concept-map-result ol{margin:.75rem 0;padding-left:1.5rem}.rag-chatbot .rag-concept-map-panel .rag-concept-map-result ul li,.rag-chatbot .rag-concept-map-panel .rag-concept-map-result ol li{margin:.5rem 0}.rag-chatbot .rag-concept-map-panel .rag-concept-map-result pre{background:var(--light);border-radius:6px;padding:1rem;font-family:Courier New,monospace;font-size:.85rem;line-height:1.4;overflow-x:auto}.rag-chatbot .rag-concept-map-panel .rag-copy-concept-map{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.75rem;font-size:.9rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-concept-map-panel .rag-copy-concept-map:hover{background:var(--tertiary);transform:translateY(-2px)}.rag-chatbot .rag-batch-export-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-batch-export-panel.hidden{display:none}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem 1rem 1rem;display:flex}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header .rag-batch-export-header-actions{align-items:center;gap:.5rem;margin-right:8rem;display:flex}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header .rag-batch-export-header-actions button{cursor:pointer;background:#ffffff26;border:1px solid #ffffff59;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s;color:#fff!important}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header .rag-batch-export-header-actions button:hover{background:#ffffff40}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header .rag-batch-export-header-actions button.rag-batch-export-close{background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem}.rag-chatbot .rag-batch-export-panel .rag-batch-export-header .rag-batch-export-header-actions button.rag-batch-export-close:hover{background:#ffffff1f}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form{flex-direction:column;flex:1;padding:1.5rem;display:flex;overflow:hidden}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-controls{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;display:flex}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-controls button{background:var(--lightgray);color:var(--dark);border:1px solid var(--gray);cursor:pointer;border-radius:8px;padding:.5rem 1rem;font-size:.85rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-controls button:hover{background:var(--gray);border-color:var(--secondary)}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-controls input{border:1px solid var(--gray);background:var(--light);min-width:200px;color:var(--dark);border-radius:8px;flex:1;padding:.5rem .75rem;font-size:.9rem}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-controls input:focus{border-color:var(--secondary);outline:none}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list{border:1px solid var(--lightgray);background:var(--light);border-radius:8px;flex:1;margin-bottom:1rem;padding:.5rem;overflow-y:auto}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list::-webkit-scrollbar{width:6px}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list label{background:var(--lightgray);cursor:pointer;color:var(--dark);border-radius:6px;align-items:center;gap:.75rem;margin:.25rem 0;padding:.75rem;font-size:.9rem;transition:all .2s;display:flex}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list label:hover{background:var(--gray);transform:translate(4px)}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list label input[type=checkbox]{cursor:pointer;flex-shrink:0;width:18px;height:18px}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-list label span{flex:1}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-btn{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-batch-export-panel .rag-batch-export-form .rag-batch-export-btn:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-batch-export-panel .rag-batch-export-empty{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-fact-checker-panel{background:var(--light);z-index:10;border-radius:12px;flex-direction:column;width:50%;max-width:50%;display:flex;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rag-chatbot .rag-fact-checker-panel.hidden{display:none}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header{background:var(--secondary);color:var(--light);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:1rem 1.5rem 1rem 1rem;display:flex}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#fff!important}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header .rag-fact-checker-header-actions{align-items:center;gap:.5rem;margin-right:8rem;display:flex}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header .rag-fact-checker-header-actions button{cursor:pointer;background:#ffffff26;border:1px solid #ffffff59;border-radius:6px;padding:.35rem .75rem;font-weight:600;transition:background .2s;color:#fff!important}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header .rag-fact-checker-header-actions button:hover{background:#ffffff40}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header .rag-fact-checker-header-actions button.rag-fact-checker-close{background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-header .rag-fact-checker-header-actions button.rag-fact-checker-close:hover{background:#ffffff1f}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-form{border-bottom:1px solid var(--lightgray);background:var(--light);padding:1.5rem}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-form .rag-fact-checker-description{color:var(--dark);margin:0 0 1rem;font-size:.9rem;line-height:1.5}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-form .rag-fact-checker-btn{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-form .rag-fact-checker-btn:hover:not(:disabled){background:var(--tertiary);transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-form .rag-fact-checker-btn:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-output{flex:1;padding:1.5rem;overflow-y:auto}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-output::-webkit-scrollbar{width:6px}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-output::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-placeholder,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-loading{text-align:center;color:var(--gray);padding:2rem;font-size:.95rem}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-error{color:#c62828;text-align:center;background:#ffebee;border-radius:8px;padding:1rem}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result{background:var(--lightgray);border-left:4px solid var(--secondary);color:var(--dark);border-radius:8px;margin-bottom:1rem;padding:1.5rem;font-size:.95rem;line-height:1.8}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result h1,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result h2,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result h3{color:var(--dark);margin:1.5rem 0 .75rem}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result h1:first-child,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result h2:first-child,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result h3:first-child{margin-top:0}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result ul,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result ol{margin:.75rem 0;padding-left:1.5rem}.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result ul li,.rag-chatbot .rag-fact-checker-panel .rag-fact-checker-result ol li{margin:.5rem 0}.rag-chatbot .rag-fact-checker-panel .rag-copy-fact-checker{background:var(--secondary);width:100%;color:var(--light);cursor:pointer;border:none;border-radius:8px;padding:.75rem;font-size:.9rem;font-weight:500;transition:all .2s}.rag-chatbot .rag-fact-checker-panel .rag-copy-fact-checker:hover{background:var(--tertiary);transform:translateY(-2px)}.rag-chatbot .rag-chat-history{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex;color:#fff!important}.rag-chatbot .rag-chat-history:hover{background:#ffffff1a}.rag-chatbot .rag-quick-actions{border-bottom:1px solid var(--lightgray);flex-direction:column;gap:.5rem;padding:1rem;display:flex}.rag-chatbot .rag-quick-actions .rag-quick-btn{background:var(--lightgray);border:1px solid var(--gray);cursor:pointer;text-align:left;color:var(--dark);border-radius:8px;padding:.75rem 1rem;font-size:.9rem;transition:all .2s}.rag-chatbot .rag-quick-actions .rag-quick-btn:hover{background:var(--gray);transform:translate(4px)}.rag-chatbot .rag-quick-actions .rag-quick-btn a,.rag-chatbot .rag-quick-actions .rag-quick-btn .rag-wikilink{background:#2563eb1a;border-radius:4px;padding:.1rem .3rem;font-weight:600;text-decoration:none;transition:all .2s;color:var(--secondary)!important}.rag-chatbot .rag-quick-actions .rag-quick-btn a:hover,.rag-chatbot .rag-quick-actions .rag-quick-btn .rag-wikilink:hover{background:#2563eb33;text-decoration:underline}.rag-chatbot .rag-chat-messages{flex-direction:column;flex:1;gap:1rem;padding:1.5rem;display:flex;overflow-y:auto}.rag-chatbot .rag-chat-messages::-webkit-scrollbar{width:6px}.rag-chatbot .rag-chat-messages::-webkit-scrollbar-track{background:0 0}.rag-chatbot .rag-chat-messages::-webkit-scrollbar-thumb{background:var(--gray);border-radius:3px}.rag-chatbot .rag-chat-messages::-webkit-scrollbar-thumb:hover{background:var(--secondary)}.rag-chatbot .rag-message{flex-direction:column;max-width:85%;animation:.3s fadeIn;display:flex}.rag-chatbot .rag-message.user{align-self:flex-end}.rag-chatbot .rag-message.user .rag-message-content{background:var(--secondary);color:var(--light);border-radius:16px 16px 4px}.rag-chatbot .rag-message.assistant{align-self:flex-start}.rag-chatbot .rag-message.assistant .rag-message-content{background:var(--lightgray);color:var(--dark);border-radius:16px 16px 16px 4px}.rag-chatbot .rag-message-content{white-space:pre-wrap;word-wrap:break-word;padding:.875rem 1.125rem;font-size:.95rem;line-height:1.5;position:relative}.rag-chatbot .rag-message-content .rag-md-table-wrapper{width:100%;margin:.75rem 0;overflow-x:auto}.rag-chatbot .rag-message-content table.rag-md-table{border-collapse:collapse;background:color-mix(in srgb,var(--light)90%,transparent);border:1px solid color-mix(in srgb,var(--lightgray)80%,transparent);border-radius:8px;width:100%;min-width:500px;margin:0;font-size:.9rem;overflow:hidden}.rag-chatbot .rag-message-content table.rag-md-table th,.rag-chatbot .rag-message-content table.rag-md-table td{border:1px solid color-mix(in srgb,var(--lightgray)80%,transparent);text-align:left;vertical-align:top;padding:.45rem .6rem}.rag-chatbot .rag-message-content table.rag-md-table th{background:color-mix(in srgb,var(--secondary)8%,transparent);font-weight:600}.rag-chatbot .rag-message-content table.rag-md-table tbody tr:nth-child(odd){background:color-mix(in srgb,var(--lightgray)35%,transparent)}.rag-chatbot .rag-message-content h1{color:var(--dark);border-bottom:2px solid var(--lightgray);margin:1rem 0 .75rem;padding-bottom:.25rem;font-size:1.5rem;font-weight:700;line-height:1.2}.rag-chatbot .rag-message-content h1:first-child{margin-top:0}.rag-chatbot .rag-message-content h2{color:var(--dark);margin:.75rem 0 .5rem;font-size:1.25rem;font-weight:700;line-height:1.3}.rag-chatbot .rag-message-content h2:first-child{margin-top:0}.rag-chatbot .rag-message-content h3{color:var(--dark);margin:.5rem 0 .4rem;font-size:1.1rem;font-weight:600;line-height:1.3}.rag-chatbot .rag-message-content h3:first-child{margin-top:0}.rag-chatbot .rag-message-content strong{color:var(--dark);font-weight:700}.rag-chatbot .rag-message-content em{color:var(--dark);font-style:italic}.rag-chatbot .rag-message-content br{content:"";margin:.25rem 0;display:block}.rag-chatbot .rag-message-content .rag-wikilink{background:#2563eb26;border:1px solid #2563eb4d;border-radius:5px;padding:.15rem .5rem;font-weight:600;text-decoration:none;transition:all .2s;color:var(--secondary)!important}.rag-chatbot .rag-message-content .rag-wikilink:hover{background:#2563eb40;transform:translateY(-1px);box-shadow:0 2px 5px #0000001a}.rag-chatbot .rag-message-content .rag-wikilink:active{transform:scale(.98)}.rag-chatbot .rag-message.user .rag-message-content .rag-wikilink{background:#fffffff2;border:1px solid #fff;box-shadow:0 1px 3px #0000001a;color:#1e40af!important}.rag-chatbot .rag-message.user .rag-message-content .rag-wikilink:hover{background:#fff;box-shadow:0 2px 5px #00000026;color:#1e3a8a!important}.rag-chatbot .rag-message.assistant .rag-message-content .rag-wikilink{background:#2563eb26;border:1px solid #2563eb4d;color:var(--secondary)!important}.rag-chatbot .rag-message.assistant .rag-message-content .rag-wikilink:hover{border-color:var(--secondary);background:#2563eb40}.rag-chatbot .rag-source-cite,.rag-chatbot .rag-citation-link{white-space:nowrap;cursor:pointer;background:#2563eb14;border:1px solid #2563eb33;border-radius:4px;padding:.1rem .35rem;font-size:.85em;font-weight:600;text-decoration:none;transition:all .2s;color:var(--secondary)!important}.rag-chatbot .rag-source-cite:hover,.rag-chatbot .rag-citation-link:hover{border-color:var(--secondary);background:#2563eb26;transform:translateY(-1px);box-shadow:0 1px 3px #0000001a}.rag-chatbot .rag-references-section{background:var(--lightgray);border-left:3px solid var(--secondary);border-radius:4px;margin-top:1.5rem;padding:1rem}.rag-chatbot .rag-references-section .rag-references-title{color:var(--dark);margin-bottom:.75rem;font-size:.95rem;font-weight:700}.rag-chatbot .rag-references-section .rag-reference-item{gap:.5rem;margin-bottom:.5rem;font-size:.9rem;line-height:1.4;display:flex}.rag-chatbot .rag-references-section .rag-reference-item:last-child{margin-bottom:0}.rag-chatbot .rag-references-section .rag-reference-item .rag-reference-number{color:var(--secondary);flex-shrink:0;font-weight:600}.rag-chatbot .rag-references-section .rag-reference-item .rag-reference-link{color:var(--dark);text-decoration:none;transition:color .2s}.rag-chatbot .rag-references-section .rag-reference-item .rag-reference-link:hover{color:var(--secondary);text-decoration:underline}.rag-chatbot .rag-copy-btn{cursor:pointer;opacity:0;color:var(--dark);background:#0000001a;border:none;border-radius:4px;justify-content:center;align-items:center;padding:.4rem;transition:all .2s;display:flex;position:absolute;top:.5rem;right:.5rem}.rag-chatbot .rag-copy-btn:hover{background:#0003;transform:scale(1.1)}.rag-chatbot .rag-copy-btn.copied{color:#fff;background:#10b981}.rag-chatbot .rag-message.assistant .rag-message-content:hover .rag-copy-btn{opacity:1}.rag-chatbot .rag-message-sources{background:color-mix(in srgb,var(--light)85%,transparent);border:1px solid color-mix(in srgb,var(--gray)60%,transparent);border-radius:8px;margin-top:.75rem;padding:.75rem;font-size:.85rem;transition:background .3s,border .3s,color .3s}.rag-chatbot .rag-message-sources .rag-sources-title{color:var(--secondary);margin-bottom:.5rem;font-weight:600}.rag-chatbot .rag-message-sources .rag-source-item{border-bottom:1px solid var(--lightgray);flex-direction:column;gap:.15rem;padding:.5rem 0;display:flex}.rag-chatbot .rag-message-sources .rag-source-item:last-child{border-bottom:none}.rag-chatbot .rag-message-sources .rag-source-item .rag-source-title{align-items:center;gap:.5rem;font-weight:600;display:flex}.rag-chatbot .rag-message-sources .rag-source-item .rag-source-title .rag-evidence-indicator{cursor:help;flex-shrink:0;font-size:.9rem}.rag-chatbot .rag-message-sources .rag-source-item .rag-source-title a{color:var(--secondary);text-decoration:none;transition:color .2s}.rag-chatbot .rag-message-sources .rag-source-item .rag-source-title a:hover{color:var(--tertiary);text-decoration:underline}.rag-chatbot .rag-message-sources .rag-source-item .rag-source-meta{color:var(--gray);font-size:.78rem;font-style:italic}.rag-chatbot .rag-chat-input-container{border-top:1px solid var(--lightgray);background:var(--light);align-items:flex-end;gap:.75rem;padding:1rem;display:flex;position:relative}.rag-chatbot .rag-chat-actions{align-items:center;gap:.5rem;display:flex}.rag-chatbot .rag-autocomplete{background:var(--light);border:1px solid var(--gray);z-index:10;border-radius:8px;max-height:200px;margin-bottom:.5rem;display:none;position:absolute;bottom:100%;left:1rem;right:calc(1.75rem + 44px);overflow-y:auto;box-shadow:0 -4px 12px #00000026}.rag-chatbot .rag-autocomplete.visible{display:block}.rag-chatbot .rag-autocomplete .rag-autocomplete-item{cursor:pointer;border-bottom:1px solid var(--lightgray);color:var(--dark);padding:.75rem 1rem;font-size:.9rem;transition:background .15s}.rag-chatbot .rag-autocomplete .rag-autocomplete-item:last-child{border-bottom:none}.rag-chatbot .rag-autocomplete .rag-autocomplete-item:hover,.rag-chatbot .rag-autocomplete .rag-autocomplete-item.selected{background:var(--lightgray)}.rag-chatbot .rag-autocomplete .rag-autocomplete-item.selected{background:var(--secondary);color:var(--light)}.rag-chatbot .rag-autocomplete .rag-autocomplete-empty{text-align:center;color:var(--gray);padding:1rem;font-size:.9rem}.rag-chatbot .rag-chat-input{border:1px solid var(--gray);resize:none;background:var(--light);max-height:120px;color:var(--dark);border-radius:8px;flex:1;padding:.75rem;font-family:inherit;font-size:.95rem;transition:border-color .2s}.rag-chatbot .rag-chat-input:focus{border-color:var(--secondary);outline:none}.rag-chatbot .rag-chat-input::placeholder{color:var(--gray)}.rag-chatbot .rag-link-btn{background:var(--lightgray);color:var(--dark);border:1px solid var(--gray);cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:.5rem .75rem;font-size:.85rem;font-weight:500;transition:all .2s;display:flex}.rag-chatbot .rag-link-btn svg{flex-shrink:0}.rag-chatbot .rag-link-btn:hover{background:var(--gray);border-color:var(--secondary);transform:translateY(-1px)}.rag-chatbot .rag-link-btn:active{transform:translateY(0)}.rag-chatbot .rag-chat-send{background:var(--secondary);color:var(--light);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;min-width:44px;padding:.75rem;transition:all .2s;display:flex}.rag-chatbot .rag-chat-send:hover:not(:disabled){background:var(--tertiary);transform:scale(1.05)}.rag-chatbot .rag-chat-send:active:not(:disabled){transform:scale(.95)}.rag-chatbot .rag-chat-send:disabled{opacity:.6;cursor:not-allowed}.rag-chatbot .rag-chat-status{text-align:center;padding:.5rem 1rem;font-size:.85rem;display:none}.rag-chatbot .rag-chat-status.info{color:#1976d2;background:#e3f2fd}.rag-chatbot .rag-chat-status.warning{color:#e65100;background:#fff3e0}.rag-chatbot .rag-chat-status.error{color:#c62828;background:#ffebee}.rag-chatbot .rag-loading-spinner{border:2px solid var(--light);border-top-color:#0000;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:768px){.rag-chatbot .rag-chat-panel{border-radius:0;width:100%;max-width:100vw;height:100vh;margin:0}.rag-chatbot .rag-chat-fab{width:56px;height:56px;font-size:1.75rem;bottom:1rem;right:1rem}}.page{max-width:1400px!important}.page>#quartz-body{transition:grid-template-columns .3s}.sidebar.left.sidebar-hidden~* #quartz-body{grid-template-columns:0 auto 280px!important}body:has(.sidebar.left.sidebar-hidden) .page>#quartz-body{grid-template-columns:0 auto 280px!important}.sidebar.right.sidebar-hidden~* #quartz-body{grid-template-columns:280px auto 0!important}body:has(.sidebar.right.sidebar-hidden) .page>#quartz-body{grid-template-columns:280px auto 0!important}body:has(.sidebar.left.sidebar-hidden):has(.sidebar.right.sidebar-hidden) .page>#quartz-body{grid-template-columns:0 auto 0!important}.sidebar.right{scrollbar-width:thin;scrollbar-color:var(--gray)transparent;flex-direction:column;transition:transform .3s,opacity .3s;display:flex;height:100vh!important;max-height:100vh!important;overflow:hidden auto!important}.sidebar.right::-webkit-scrollbar{width:8px}.sidebar.right::-webkit-scrollbar-track{background:0 0}.sidebar.right::-webkit-scrollbar-thumb{background:var(--gray);border-radius:4px}.sidebar.right::-webkit-scrollbar-thumb:hover{background:var(--darkgray)}.sidebar.right.sidebar-hidden{opacity:0;pointer-events:none;transform:translate(100%)}.sidebar.left{transition:transform .3s,opacity .3s;overflow-x:hidden!important}.sidebar.left.sidebar-hidden{opacity:0;pointer-events:none;transform:translate(-100%)}.sidebar.left .flex-component{box-sizing:border-box;width:100%;max-width:100%}.toc,.backlinks,.graph{flex-shrink:0;overflow:visible!important}.toc-content,.backlinks-content{overflow-y:auto!important}.filtered-toggle-list{flex-shrink:0;overflow:visible!important}.filtered-toggle-list ul{overflow:visible!important}.graph{flex-shrink:1;min-height:250px}.sidebar-toggle{z-index:99999;background:var(--light);border:1px solid var(--lightgray);cursor:pointer;border-radius:5px;justify-content:center;align-items:center;padding:.35rem .4rem;transition:all .2s;display:flex;position:fixed;top:1rem;box-shadow:0 1px 3px #00000014}.sidebar-toggle:hover{background:var(--highlight);border-color:var(--secondary);box-shadow:0 2px 6px #0000001f}.sidebar-toggle svg{width:16px;height:16px;stroke:var(--darkgray);transition:stroke .2s}.sidebar-toggle:hover svg{stroke:var(--secondary)}.sidebar-toggle.left-toggle{left:.75rem}.sidebar-toggle.right-toggle{right:5rem}@media (max-width:768px){.sidebar-toggle{display:none}}.explorer ul li a:hover,.explorer ul li .folder-button:hover{background-color:var(--lightgray);border-radius:4px;transition:background-color .2s}.explorer ul li a{padding:.2rem .5rem;transition:background-color .2s;display:block}.pdf-container{border:1px solid var(--lightgray);background:var(--light);border-radius:8px;margin:1.5rem 0;overflow:hidden}.pdf-container .pdf-controls{background:var(--lightgray);border-bottom:1px solid var(--gray);align-items:center;padding:.75rem 1rem;display:flex}.pdf-container .pdf-controls .pdf-link{color:var(--darkgray);background:var(--light);border-radius:4px;flex:1;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.pdf-container .pdf-controls .pdf-link:hover{background:var(--highlight);color:var(--secondary)}.pdf-container .pdf-controls .pdf-link svg{flex-shrink:0}.pdf-container .pdf-controls .pdf-link span{flex:1}.pdf-container iframe.pdf{border:none;width:100%;min-height:600px;display:block}.export-all-button{background:var(--secondary);color:var(--light);cursor:pointer;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s;display:flex;position:relative;overflow:hidden}.export-all-button:hover:not([disabled]){background:var(--tertiary);transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.export-all-button[disabled]{opacity:.7;cursor:not-allowed}.export-all-button svg{flex-shrink:0}.export-all-button .export-progress{background:#000000b3;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;display:flex;position:absolute;inset:0}.export-all-button .export-progress .progress-bar{background:var(--tertiary);opacity:.3;height:100%;transition:width .3s;position:absolute;top:0;left:0}.export-all-button .export-progress .progress-text{z-index:1;color:#fff;font-size:.85rem;font-weight:500;position:relative}:root{--light:#faf8f8;--lightgray:#e5e5e5;--gray:#b8b8b8;--darkgray:#4e4e4e;--dark:#2b2b2b;--secondary:#284b63;--tertiary:#84a59d;--highlight:#8f9fa926;--textHighlight:#fff23688;--titleFont:"Schibsted Grotesk",system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--headerFont:"Schibsted Grotesk",system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--bodyFont:"Source Sans Pro",system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--codeFont:"IBM Plex Mono",ui-monospace,SFMono-Regular,SF Mono,Menlo,monospace}:root[saved-theme=dark]{--light:#161618;--lightgray:#393639;--gray:#646464;--darkgray:#d4d4d4;--dark:#ebebec;--secondary:#7b97aa;--tertiary:#84a59d;--highlight:#8f9fa926;--textHighlight:#b3aa0288}