:root{color-scheme:light;--color-red: #c0392b;--color-red-hover: #a93226;--color-green: #1D8649;--color-yellow: #d97706;--color-grey: #888888;--color-dark-blue: #111111;--color-light-blue: #555555;--surface-bg: #ffffff;--surface-card: #f5f5f5;--surface-border: #e0e0e0;--header-bg: #ffffff;--header-border: #e0e0e0;--text-primary: #111111;--text-secondary: #555555;--text-muted: #888888;--text-on-dark: #111111;--gap: 12px;--radius: 4px;--shadow: 0 1px 3px rgba(0, 0, 0, .07)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--surface-bg: #141414;--surface-card: #1e1e1e;--surface-border: #2e2e2e;--header-bg: #0f0f0f;--header-border: #2e2e2e;--text-primary: #eeeeee;--text-secondary: #999999;--text-muted: #666666;--text-on-dark: #eeeeee;--color-dark-blue: #dddddd;--color-light-blue: #aaaaaa;--shadow: 0 1px 4px rgba(0, 0, 0, .45)}}[data-theme=dark]{color-scheme:dark;--surface-bg: #141414;--surface-card: #1e1e1e;--surface-border: #2e2e2e;--surface-input: #2a2a2a;--header-bg: #0f0f0f;--header-border: #2e2e2e;--text-primary: #eeeeee;--text-secondary: #999999;--text-muted: #666666;--text-on-dark: #eeeeee;--color-dark-blue: #dddddd;--color-light-blue: #aaaaaa;--shadow: 0 1px 4px rgba(0, 0, 0, .45)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.5}body{background-color:var(--surface-bg);color:var(--text-primary);min-height:100vh}.app-header{background:var(--header-bg);border-bottom:1px solid var(--header-border);padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.app-header-brand{display:flex;align-items:baseline;gap:12px}.app-title{font-size:1.1rem;font-weight:700;color:var(--text-primary);letter-spacing:.02em}.app-subtitle{font-size:.72rem;color:var(--text-secondary)}.app-nav{display:flex;align-items:center;gap:4px}.app-nav a{color:var(--text-secondary);text-decoration:none;font-size:.82rem;font-weight:500;padding:5px 10px;border-radius:var(--radius);transition:background .15s,color .15s}.app-nav a:hover{background:var(--surface-card);color:var(--text-primary)}.app-nav a.active,.app-nav a[aria-current=page]{background:transparent;color:var(--color-red);font-weight:600}.assets-view{padding:20px;max-width:100%;overflow-x:auto}.assets-header{margin-bottom:12px}.assets-header h2{font-size:1.1rem;font-weight:600;color:var(--text-primary)}.smartspim-top-card{background:var(--surface-bg);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 20px 0;margin-bottom:16px;overflow:hidden}.smartspim-top-card .assets-table{border-radius:0;box-shadow:none;margin:0 -20px;width:calc(100% + 40px)}.smartspim-top-card .assets-paging{margin:0 -20px;border-radius:0;box-shadow:none}.smartspim-charts{display:flex;flex-wrap:wrap;gap:24px;margin-top:8px;align-items:flex-start}.smartspim-desc{flex:1 1 280px;max-width:420px;font-size:.85rem;color:var(--text-secondary);line-height:1.6;display:flex;flex-direction:column;gap:10px}.smartspim-chart-section{flex:1 1 auto}.chart-title{font-size:.95rem;font-weight:600;color:var(--text-secondary);margin-bottom:8px}.badge{display:inline-block;padding:1px 7px;border-radius:10px;font-size:.75rem;font-weight:600}.badge-yes{background:#d1fae5;color:#065f46}.badge-no{background:#fee2e2;color:#991b1b}.ch-links{display:inline-block;white-space:nowrap;margin-right:6px}.assets-table{width:100%;border-collapse:collapse;font-size:.82rem;background:var(--surface-bg);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.assets-table thead{background:var(--surface-card);color:var(--text-primary);border-bottom:2px solid var(--surface-border)}.assets-table thead th{padding:8px 10px;text-align:left;white-space:nowrap;font-weight:600}.assets-table thead th.sortable{vertical-align:top}.assets-table thead th.sortable:hover{background:var(--surface-border)}.assets-table thead .col-label{display:block;cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:5px;white-space:nowrap}.assets-table thead .col-filter{display:block;width:100%;padding:3px 6px;font-size:.76rem;border:1px solid var(--surface-border);border-radius:3px;background:var(--surface-bg);color:var(--text-primary);outline:none;min-width:60px;box-sizing:border-box}.assets-table thead .col-filter::placeholder{color:var(--text-muted)}.assets-table thead .col-filter:focus{background:var(--surface-bg);border-color:var(--color-red)}.assets-table thead select.col-filter option{background:var(--surface-bg);color:var(--text-primary)}.assets-table thead .col-links{vertical-align:middle}.assets-table tbody tr:nth-child(2n){background:var(--surface-card)}.assets-table tbody tr:hover{background:var(--surface-card)}.assets-table td{padding:6px 10px;border-bottom:1px solid var(--surface-border);vertical-align:middle;word-break:break-word;max-width:260px}.assets-table .link-cell{white-space:nowrap;max-width:none}.assets-table .link-cell a{display:inline-block;margin-right:6px;padding:2px 7px;font-size:.75rem;font-weight:600;border-radius:3px;text-decoration:none;background:var(--text-primary);color:var(--surface-bg);transition:background .15s}.assets-table .link-cell a:hover{background:var(--color-red)}.no-link{color:var(--text-secondary);opacity:.4}.assets-paging{display:flex;align-items:center;gap:12px;padding:8px 10px;font-size:.82rem;color:var(--text-secondary);background:var(--surface-card);border:1px solid var(--surface-border);border-top:none;border-radius:0 0 var(--radius) var(--radius)}.assets-paging .page-btn{padding:3px 12px;font-size:.82rem;border:1px solid var(--surface-border);border-radius:3px;background:var(--surface-bg);cursor:pointer;color:var(--text-primary)}.assets-paging .page-btn:hover:not(:disabled){background:var(--text-primary);color:var(--surface-bg);border-color:var(--text-primary)}.assets-paging .page-btn:disabled{opacity:.4;cursor:default}.assets-paging .page-info{flex:1;text-align:center}.settings-bar{background:var(--header-bg);border-bottom:1px solid var(--surface-border);padding:var(--gap) 20px;display:flex;flex-wrap:wrap;align-items:center;gap:var(--gap)}.settings-content{display:flex;flex-wrap:wrap;align-items:center;gap:var(--gap);width:100%}.settings-content .input,.settings-content .project-menu{display:flex;align-items:center;gap:6px;font-size:.875rem}.settings-content .input label,.settings-content .project-menu label{font-weight:600;color:var(--text-primary);white-space:nowrap}.settings-content .input select,.settings-content .project-menu select{padding:4px 8px;border:1px solid var(--surface-border);border-radius:var(--radius);background:#fff;font-size:.875rem;color:var(--text-primary);cursor:pointer;min-width:180px}.settings-content .input select:focus,.settings-content .project-menu select:focus{outline:2px solid var(--color-red);outline-offset:1px}.data-type-toggles{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-left:8px;padding-left:12px;border-left:2px solid var(--surface-border)}.toggles-label{font-weight:600;font-size:.82rem;color:var(--text-primary);white-space:nowrap}.data-type-label{display:flex;align-items:center;gap:4px;font-size:.85rem;color:var(--text-primary);cursor:pointer;-webkit-user-select:none;user-select:none}.data-type-label input[type=checkbox]{accent-color:var(--color-red);width:14px;height:14px;cursor:pointer}.data-type-label input[type=checkbox]:disabled{opacity:.5;cursor:wait}.query-panel{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--gap)}.query-section{display:flex;flex-direction:column;border:1px solid var(--surface-border);border-radius:var(--radius);background:#fff;min-width:180px;max-width:340px;font-size:.875rem}.query-section-header{display:flex;align-items:center;gap:6px;padding:5px 8px;background:var(--surface-card);border-bottom:1px solid var(--surface-border);border-radius:var(--radius) var(--radius) 0 0}.query-section-label{font-weight:600;color:var(--text-primary);flex:1;white-space:nowrap}.query-section-summary{font-size:.78rem;color:var(--text-secondary);white-space:nowrap}.query-section-toggle{background:none;border:none;cursor:pointer;font-size:.8rem;color:var(--text-secondary);padding:0 2px;line-height:1}.query-section-body{display:flex;flex-direction:column;gap:4px;padding:6px 8px}.project-search{width:100%;padding:4px 6px;border:1px solid var(--surface-border);border-radius:var(--radius);font-size:.875rem;color:var(--text-primary)}.project-search:focus{outline:2px solid var(--color-red);outline-offset:1px}.project-actions{display:flex;gap:6px}.project-action-btn{flex:1;background:var(--surface-card);border:1px solid var(--surface-border);border-radius:var(--radius);padding:4px 8px;font-size:.875rem;cursor:pointer;color:var(--color-dark-blue)}.project-action-btn:hover{background:var(--text-primary);color:var(--surface-bg);border-color:var(--text-primary)}.project-list{max-height:180px;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.project-checkbox-label{display:flex;align-items:center;gap:5px;padding:2px 4px;border-radius:3px;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0}.project-checkbox-label .project-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.project-checkbox-label:hover{background:var(--surface-card)}.project-checkbox-label input[type=checkbox]{accent-color:var(--color-red);flex-shrink:0}.filters-section .query-section-header{justify-content:space-between}.add-filter-btn{background:var(--text-primary);color:var(--surface-bg);border:none;border-radius:var(--radius);padding:2px 8px;font-size:.78rem;cursor:pointer;white-space:nowrap}.add-filter-btn:hover{background:var(--color-red)}.filter-rows{display:flex;flex-direction:column;gap:6px}.filter-row{display:flex;align-items:flex-start;gap:5px}.filter-col-select{flex:1;min-width:0;padding:3px 5px;border:1px solid var(--surface-border);border-radius:var(--radius);font-size:.82rem;background:#fff;color:var(--text-primary)}.filter-col-select:focus{outline:2px solid var(--color-red);outline-offset:1px}.filter-values{flex:1;min-width:0}.filter-values-hint{display:block;font-size:.78rem;color:var(--text-secondary);padding:3px 0;font-style:italic}.filter-values-select{width:100%;border:1px solid var(--surface-border);border-radius:var(--radius);font-size:.82rem;padding:2px;background:#fff;color:var(--text-primary)}.filter-values-select:focus{outline:2px solid var(--color-red);outline-offset:1px}.filter-remove-btn{background:none;border:1px solid var(--surface-border);border-radius:var(--radius);width:22px;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--color-red);font-size:1rem;line-height:1;flex-shrink:0;padding:0}.filter-remove-btn:hover{background:var(--color-red);color:#fff;border-color:var(--color-red)}.app-main{padding:var(--gap) 20px;display:flex;flex-direction:column;gap:var(--gap)}.card{background:var(--surface-bg);border-radius:var(--radius);border:1px solid var(--surface-border);padding:16px;box-shadow:var(--shadow);margin:5px}.card.error{border-color:var(--color-red)}.card.error h2{color:var(--color-red);margin-bottom:10px}.card.error code{background:#f5f5f5;padding:1px 4px;border-radius:3px;font-size:.85em}.card.error pre{background:#fff5f5;border:1px solid #fed7d7;color:var(--color-red)}.error-hint{margin-top:8px;font-size:.85rem;color:var(--text-secondary)}.card h2{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:8px}.card pre{background:#f5f5f5;padding:8px;border-radius:4px;overflow-x:auto;font-size:.8rem}.loading-message{color:var(--text-secondary);font-size:.9rem;padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px}.loading-message:before{content:"";display:block;width:40px;height:40px;border:3px solid var(--surface-border);border-top-color:var(--color-red);border-radius:50%;animation:dv-spin .75s linear infinite}.acorn-list{list-style:none;margin:8px 0}.acorn-list li{padding:3px 0;display:flex;align-items:center;gap:8px;font-size:.85rem}.badge{display:inline-block;padding:1px 6px;border-radius:10px;font-size:.7rem;font-weight:600;text-transform:uppercase}.badge.metadata{background:var(--color-light-blue);color:#fff}.badge.asset{background:var(--color-green);color:#fff}.note{font-size:.8rem;color:var(--text-secondary);margin-top:12px}.time-view{margin-bottom:var(--gap);overflow-x:auto}.time-view--collapsed{padding-bottom:10px}.tv-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.tv-header-row .view-header{font-size:.85rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em;margin-bottom:0;flex:1}.tv-collapse-btn{background:none;border:1px solid transparent;border-radius:var(--radius);color:var(--text-secondary);cursor:pointer;font-size:.7rem;line-height:1;padding:4px 7px;transition:color .15s,border-color .15s}.tv-collapse-btn:hover{color:var(--text-primary);border-color:var(--surface-border)}.dv-ctrl-color{width:40px;height:26px;padding:1px 2px;border:1px solid var(--surface-border);border-radius:var(--radius);background:var(--surface-bg);cursor:pointer}.time-view .plot svg{width:100%;height:auto}.placeholder-note{color:var(--text-secondary);font-size:.85rem;padding:20px;text-align:center;opacity:.7}.data-views-container{display:flex;flex-wrap:wrap;gap:var(--gap);margin-bottom:var(--gap)}.data-view{flex:1 1 auto;min-width:360px}.data-view .view-header{font-size:.85rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.dv-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dv-header-row .view-header{margin-bottom:0}.dv-header-btns{display:flex;gap:4px;align-items:center;margin-left:auto}.dv-gear-btn{background:none;border:1px solid transparent;border-radius:var(--radius);color:var(--text-secondary);cursor:pointer;font-size:1.15rem;line-height:1;padding:3px 6px;transition:color .15s,border-color .15s,transform .3s}.dv-gear-btn:hover{color:var(--text-primary);border-color:var(--surface-border)}.dv-gear-btn--active{color:var(--color-red);border-color:var(--color-red);transform:rotate(45deg)}.dv-remove-btn{background:none;border:1px solid transparent;border-radius:var(--radius);color:var(--text-secondary);cursor:pointer;font-size:1rem;line-height:1;padding:3px 7px;transition:color .15s,border-color .15s}.dv-remove-btn:hover:not(:disabled){color:var(--color-red);border-color:var(--color-red)}.dv-remove-btn:disabled{opacity:.3;cursor:not-allowed}.dv-gear-panel{margin-bottom:10px}.dv-gear-panel[hidden]{display:none}.dv-gear-panel .dv-ctrl-section-title{margin:8px 0 4px;padding:6px 2px 0}.dv-gear-panel .dv-debug-controls,.dv-gear-panel .dv-debug-wrap{margin-top:4px}.dv-plot-controls{background:var(--surface-card);border:1px solid var(--surface-border);border-radius:var(--radius);display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px 12px;margin-bottom:10px;padding:10px 14px}.dv-plot-controls[hidden]{display:none}.dv-ctrl-row{display:flex;flex-direction:column;gap:3px;font-size:.77rem;color:var(--text-secondary);cursor:default}.dv-ctrl-row.dv-ctrl-checkbox{flex-direction:row;align-items:center;gap:6px}.dv-ctrl-row.dv-ctrl-checkbox input[type=checkbox]{width:14px;height:14px;cursor:pointer}.dv-ctrl-input{font-size:.82rem;padding:3px 6px;border:1px solid var(--surface-border);border-radius:var(--radius);background:var(--surface-bg);color:var(--text-primary);width:100%}.dv-ctrl-number{width:80px}.dv-ctrl-input:focus{outline:2px solid var(--color-red);outline-offset:1px}.dv-ctrl-input:disabled{opacity:.45;cursor:not-allowed;background:var(--surface-border)}.dv-ctrl-section-title{grid-column:1 / -1;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);border-top:1px solid var(--surface-border);padding-top:8px;margin-top:2px}.dv-transform-row{grid-column:1 / -1;flex-direction:row;align-items:center;gap:8px;flex-wrap:nowrap}.dv-transform-axis-label{font-size:.77rem;color:var(--text-secondary);white-space:nowrap;min-width:54px}.dv-ctrl-transform-op{flex:1;min-width:0}.dv-ctrl-transform-val{width:90px;flex-shrink:0}.dv-plot-title{font-size:.92rem;font-weight:600;color:var(--text-primary);text-align:center;margin-bottom:4px}.dv-spinner-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:160px;padding:24px}.dv-spinner{width:36px;height:36px;border:3px solid var(--surface-border);border-top-color:var(--color-red);border-radius:50%;animation:dv-spin .75s linear infinite}@keyframes dv-spin{to{transform:rotate(360deg)}}.dv-spinner-label{font-size:.85rem;color:var(--text-secondary)}.data-view-layout{display:flex;flex-wrap:wrap;gap:var(--gap);align-items:flex-start}.data-view-settings{display:flex;flex-direction:column;gap:8px;min-width:160px;flex:0 0 160px}.dv-select-label{display:flex;flex-direction:column;gap:2px;font-size:.78rem;color:var(--text-secondary)}.dv-select{font-size:.82rem;padding:3px 6px;border:1px solid var(--surface-border);border-radius:var(--radius);background:var(--surface-bg);color:var(--text-primary);cursor:pointer}.dv-select:focus{outline:2px solid var(--color-red);outline-offset:1px}.dv-tooltip-select{min-height:52px;resize:vertical}.dv-tooltip-select option{padding:2px 4px;border-radius:2px}.dv-tooltip-select option:checked{background:var(--text-primary);color:var(--surface-bg)}.dv-filter-chips{display:flex;flex-wrap:wrap;gap:4px;min-height:4px}.dv-filter-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;font-size:.75rem;background:#333;color:#fff;border-radius:999px}.dv-filter-chip-remove{background:none;border:none;color:#fff;cursor:pointer;font-size:.85rem;line-height:1;padding:0;opacity:.8}.dv-filter-chip-remove:hover{opacity:1}.dv-add-filter-row{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.dv-add-filter-col,.dv-add-filter-val{font-size:.8rem;padding:3px 5px;border:1px solid var(--surface-border);border-radius:var(--radius);background:var(--surface-bg);color:var(--text-primary);flex:1 1 80px;min-width:0}.dv-add-filter-btn{padding:3px 9px;font-size:.8rem;font-weight:600;background:var(--text-primary);color:var(--surface-bg);border:none;border-radius:var(--radius);cursor:pointer;white-space:nowrap}.dv-add-filter-btn:disabled{opacity:.4;cursor:default}.dv-add-filter-btn:not(:disabled):hover{background:var(--color-red)}.dv-update-btn{margin-top:8px;padding:5px 12px;font-size:.82rem;font-weight:600;background:var(--text-primary);color:var(--surface-bg);border:none;border-radius:var(--radius);cursor:pointer;transition:background .15s}.dv-update-btn:hover{background:var(--color-red)}.dv-update-btn--dirty{background:var(--color-yellow);color:var(--color-dark-blue);animation:pulse-dirty 1.5s ease-in-out infinite}@keyframes pulse-dirty{0%,to{opacity:1}50%{opacity:.75}}.data-view-plot{flex:1 1 400px;min-width:0;overflow-x:auto}.data-view-plot svg{width:100%;height:auto}.dv-debug-controls{display:flex;align-items:center;gap:6px;margin-top:6px}.dv-debug-toggle{flex:1;padding:4px 10px;font-size:.78rem;font-weight:600;background:none;color:var(--text-secondary);border:1px solid var(--surface-border);border-radius:var(--radius);cursor:pointer;text-align:left;transition:background .15s,color .15s}.dv-debug-limit-sel{font-size:.75rem;padding:3px 4px;border:1px solid var(--surface-border);border-radius:var(--radius);background:var(--surface-bg);color:var(--text-secondary);cursor:pointer}.dv-debug-toggle:hover{background:var(--surface-border);color:var(--text-primary)}.dv-debug-wrap{margin-top:6px;border:1px solid var(--surface-border);border-radius:var(--radius);background:#fff;padding:6px}.dv-debug-note{font-size:.75rem;color:var(--text-secondary);margin-bottom:4px}.dv-debug-error{font-size:.75rem;color:var(--color-red);white-space:pre-wrap;word-break:break-all;background:#fff5f5;padding:6px;border-radius:var(--radius)}.dv-plot-error{padding:12px;border:1px solid var(--color-red, #e53e3e);border-radius:var(--radius);background:#fff5f5;color:var(--color-red, #e53e3e)}.dv-plot-error strong{display:block;margin-bottom:6px;font-size:.85rem}.dv-plot-error pre{font-size:.78rem;white-space:pre-wrap;word-break:break-all;margin:0}.dv-no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;border:1px dashed var(--surface-border);border-radius:var(--radius);margin-top:8px;background:var(--surface-card);text-align:center}.dv-no-data span{font-size:.9rem;font-weight:600;color:var(--text-secondary)}.dv-no-data small{font-size:.78rem;color:var(--text-secondary);opacity:.8}.dv-debug-scroll{overflow-x:auto;max-height:300px;overflow-y:auto}.dv-debug-table{border-collapse:collapse;font-size:.72rem;font-family:Consolas,Menlo,monospace;white-space:nowrap;width:100%}.dv-debug-table th{position:sticky;top:0;background:var(--surface-card);border:1px solid var(--surface-border);padding:3px 8px;text-align:left;font-weight:700;font-size:.72rem;z-index:1}.dv-debug-type{display:block;font-weight:400;color:var(--text-secondary);font-size:.65rem}.dv-debug-table td{border:1px solid var(--surface-border);padding:2px 8px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.dv-debug-table tbody tr:nth-child(2n) td{background:var(--surface-card)}.dv-debug-null{color:var(--color-grey);font-style:italic}.add-data-view-btn{display:block;margin-bottom:var(--gap);padding:6px 16px;font-size:.82rem;font-weight:600;background:none;color:var(--text-secondary);border:1px dashed var(--surface-border);border-radius:var(--radius);cursor:pointer;transition:background .15s,color .15s}.add-data-view-btn:hover{background:var(--surface-card);color:var(--text-primary)}.contributions-view{width:calc(100% + 40px);margin:calc(-1 * var(--gap)) -20px;padding:28px 40px;background:var(--surface-bg);min-height:calc(100vh - 58px);box-sizing:border-box}.contributions-header{margin-bottom:var(--gap);padding-bottom:var(--gap);border-bottom:2px solid var(--surface-border)}.contributions-header h2{font-size:1.2rem;font-weight:700;color:var(--text-primary);margin-bottom:var(--gap)}.contributions-asset-input{display:flex;align-items:center;gap:var(--gap);flex-wrap:wrap;margin-bottom:var(--gap)}.contributions-asset-input label{font-weight:600;white-space:nowrap}.contributions-asset-input input{flex:1;min-width:260px;padding:6px 10px;border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.9rem}.contributions-info{font-size:.88rem;margin-bottom:var(--gap);padding:8px 12px;background:var(--surface-card);border-radius:var(--radius);min-height:2em}.contributions-info ul{margin:4px 0 0 1rem;padding:0}.contributions-controls{margin-bottom:var(--gap)}.contributions-author-controls{display:flex;gap:var(--gap);flex-wrap:wrap}.contributions-author-controls fieldset{border:1px solid var(--color-grey);border-radius:var(--radius);padding:8px 12px;display:flex;flex-direction:column;gap:6px}.contributions-author-controls input[type=text],.contributions-author-controls select{padding:5px 8px;border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.88rem}.contributions-author-controls select[size]{min-width:180px}.contributions-author-controls div{display:flex;gap:6px}.contributions-table-container{overflow-x:auto;margin-bottom:var(--gap)}.contributions-matrix{border-collapse:collapse;font-size:.82rem;width:100%}.contributions-matrix th,.contributions-matrix td{border:1px solid var(--color-grey);padding:4px 6px;white-space:nowrap}.contributions-matrix th{background:var(--surface-card);font-weight:600;text-align:center}.contributions-matrix .cell-center{text-align:center}.contributions-matrix .cell-high{background-color:#63a}.contributions-matrix .cell-high select{background:transparent;color:#fff}.contributions-matrix .cell-low{background-color:#d4b5f0}.contributions-matrix select{border:none;background:transparent;font-size:.8rem;cursor:pointer;width:100%}.contributions-latex-section{margin-top:var(--gap)}.contributions-latex-output{margin-top:var(--gap);padding:var(--gap);background:var(--surface-card);border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.8rem;overflow-x:auto;white-space:pre}.cv-statement-label{font-size:.8rem;font-weight:600;color:var(--color-text-muted, #6b7280);margin:var(--gap) 0 4px}.cv-statement-label-descriptions{margin-top:calc(var(--gap) * 1.5)}.contributions-statement-output{display:block;width:100%;padding:var(--gap);background:var(--surface-card);border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.85rem;font-family:inherit;line-height:1.6;resize:vertical;min-height:4rem;box-sizing:border-box;color:inherit}.contributions-descriptions-output{min-height:6rem}.cv-matrix-png-toolbar{margin-bottom:12px}.cv-matrix-png-preview{overflow-x:auto;background:#fff;border:1px solid var(--color-grey);border-radius:var(--radius);padding:16px;display:inline-block;max-width:100%}.cv-matrix-png-preview canvas{display:block}.contributions-project-section{margin-top:var(--gap);padding:var(--gap);background:var(--surface-card);border:1px solid var(--border-color, #e5e7eb);border-radius:var(--radius)}.contributions-project-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.contributions-project-row label{font-size:.85rem;font-weight:600;color:var(--color-muted, #6b7280);white-space:nowrap}.contributions-project-row input[type=text]{flex:1;min-width:180px;padding:.4rem .75rem;border:1px solid var(--border-color, #d1d5db);border-radius:var(--radius);font-size:.875rem;background:var(--surface-input, #fff);color:inherit}.contributions-endpoint-status{margin-top:.5rem;font-size:.85rem;min-height:1.25em}.contributions-endpoint-status.status-success{color:#059669}.contributions-endpoint-status.status-error{color:#dc2626}.contributions-endpoint-status.status-loading{color:var(--color-muted, #6b7280)}.cell-supporting{background:#6366f11f}.cell-equal{background:#6366f147}.cell-lead{background:#6366f18c;color:#fff}.contributions-preview-section{margin-top:var(--gap)}.cv-section{margin-bottom:16px;border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--radius);background:var(--surface-card);overflow:hidden}.cv-section-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:var(--surface-card);border:none;cursor:pointer;font-size:.88rem;font-weight:600;color:var(--text-primary);text-align:left}.cv-section-toggle:hover{background:var(--surface-hover, #f9fafb)}.cv-toggle-icon{font-size:.7rem;color:var(--color-muted, #6b7280)}.cv-section-body{padding:12px 16px 16px}.cv-tabs{display:flex;gap:2px;margin-bottom:12px;border-bottom:2px solid var(--surface-border, #e5e7eb)}.cv-tab{padding:6px 14px;border:none;background:transparent;font-size:.85rem;font-weight:500;color:var(--color-muted, #6b7280);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;border-radius:var(--radius) var(--radius) 0 0}.cv-tab:hover{color:var(--text-primary);background:var(--surface-hover, #f9fafb)}.cv-tab-active{color:#4338ca;border-bottom-color:#4338ca;font-weight:600}.cv-tab-panel{padding:4px 0 8px}.cv-asset-input-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cv-asset-input-row input{flex:1;min-width:240px;padding:6px 10px;border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.88rem}.cv-info{font-size:.85rem;color:var(--color-muted, #6b7280);margin:6px 0 0;min-height:1.2em}.cv-assets-table{border-collapse:collapse;font-size:.85rem;margin-top:10px;width:100%}.cv-assets-table th,.cv-assets-table td{border:1px solid var(--surface-border, #e5e7eb);padding:4px 10px;text-align:left}.cv-assets-table th{background:var(--surface-bg);font-weight:600}.cv-project-section{padding:12px 16px}.cv-project-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cv-project-row label{font-size:.85rem;font-weight:600;color:var(--color-muted, #6b7280);white-space:nowrap}.cv-project-row input[type=text]{flex:1;min-width:180px;padding:6px 10px;border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.875rem;background:var(--surface-input, #fff);color:inherit}.cv-contributors-section{padding:16px}.cv-section-heading{font-size:1rem;font-weight:700;color:var(--text-primary);margin:0 0 12px}.cv-subsection-heading{font-size:.88rem;font-weight:600;color:var(--text-primary);margin:16px 0 8px}.cv-contributors-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.cv-contributors-header .cv-section-heading{margin:0}.cv-author-selector-wrap{display:flex;align-items:center;gap:6px}.cv-selector-label{font-size:.82rem;font-weight:600;color:var(--text-secondary, #6b7280);white-space:nowrap}.cv-author-select{font-size:.83rem;padding:4px 8px;border:1px solid var(--surface-border, #e5e7eb);border-radius:6px;background:var(--surface-input, #fff);color:inherit;cursor:pointer;min-width:160px}.cv-author-select:focus{outline:2px solid #4338ca}.cv-row-locked{opacity:.35;pointer-events:none}.cv-author-detail-section{padding:16px}.cv-author-detail-header{margin-bottom:12px}.cv-detail-name-badge{display:inline-block;background:#ede9fe;color:#4338ca;border-radius:6px;padding:1px 10px;font-size:.95rem;font-weight:700}[data-theme=dark] .cv-detail-name-badge{background:#312e81;color:#c4b5fd}.cv-detail-meta-grid{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}.cv-detail-meta-item{display:flex;flex-direction:column;gap:4px;min-width:180px}.cv-detail-aff-item{flex:1}.cv-detail-label{font-size:.78rem;font-weight:600;color:var(--text-secondary, #6b7280);text-transform:uppercase;letter-spacing:.04em}.cv-detail-hint{margin:0 0 12px}.cv-detail-credit-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-bottom:16px}.cv-credit-card{border:1px solid var(--surface-border, #e5e7eb);border-radius:10px;padding:12px 14px;background:var(--surface-bg, #fafafa);display:flex;flex-direction:column;gap:6px}[data-theme=dark] .cv-credit-card{background:#1f2937;border-color:#374151}.cv-credit-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.cv-credit-role-name{font-size:.85rem;font-weight:600;color:var(--text-primary)}.cv-credit-level-badge{font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:9999px;text-transform:uppercase;letter-spacing:.05em}.cv-credit-level-lead{background:#4338ca26;color:#4338ca}.cv-credit-level-equal{background:#818cf833;color:#3730a3}.cv-credit-level-supporting{background:#f3f4f6;color:#6b7280}[data-theme=dark] .cv-credit-level-lead{background:#a5b4fc33;color:#a5b4fc}[data-theme=dark] .cv-credit-level-equal{background:#818cf833;color:#818cf8}[data-theme=dark] .cv-credit-level-supporting{background:#374151;color:#9ca3af}.cv-credit-desc-textarea{width:100%;box-sizing:border-box;font-size:.82rem;padding:5px 8px;border:1px solid var(--surface-border, #e5e7eb);border-radius:6px;background:var(--surface-input, #fff);color:inherit;resize:vertical;font-family:inherit}.cv-credit-desc-textarea:focus{outline:2px solid #4338ca;border-color:transparent}.cv-authors-table-wrap,.cv-table-scroll{overflow-x:auto}.cv-authors-table{border-collapse:collapse;font-size:.8rem;white-space:nowrap}.cv-authors-table th,.cv-authors-table td{border:1px solid var(--surface-border, #e5e7eb);padding:3px 5px}.cv-authors-table th{background:var(--surface-bg);font-weight:600;text-align:center;font-size:.75rem}.cv-author-name-input,.cv-orcid-input{border:none;background:transparent;font-size:.8rem;width:100%;min-width:0;color:inherit}.cv-author-name-input{min-width:120px}.cv-orcid-input{min-width:140px;color:var(--color-muted, #6b7280)}.cv-author-name-input:focus,.cv-orcid-input:focus{outline:1px solid #4338ca;border-radius:2px}.cv-chip-select{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:140px;padding:2px 4px}.cv-chip{display:inline-flex;align-items:center;gap:3px;padding:2px 6px 2px 8px;background:#e0e7ff;color:#3730a3;border-radius:99px;font-size:.75rem;white-space:nowrap;max-width:300px;overflow:hidden;text-overflow:ellipsis}.cv-chip-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.cv-chip-remove{border:none;background:transparent;color:#6366f1;font-size:.9rem;line-height:1;cursor:pointer;padding:0;flex-shrink:0}.cv-chip-remove:hover{color:#dc2626}.cv-chip-add{border:1px dashed #9ca3af;background:transparent;color:#6b7280;border-radius:99px;width:20px;height:20px;font-size:.9rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0}.cv-chip-add:hover{border-color:#4338ca;color:#4338ca}.cv-chip-dropdown{position:absolute;z-index:200;background:var(--surface-card, #fff);border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--radius);box-shadow:0 4px 16px #0000001f;min-width:220px;max-height:200px;overflow-y:auto;display:flex;flex-direction:column}.cv-chip-dropdown-item{padding:6px 12px;border:none;background:transparent;text-align:left;font-size:.83rem;cursor:pointer;color:var(--text-primary);white-space:nowrap}.cv-chip-dropdown-item:hover{background:#f0f0ff;color:#3730a3}.cv-orcid-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;position:relative}.cv-orcid-search-btn{font-size:.8rem;padding:3px 8px;white-space:nowrap}.cv-orcid-dropdown{top:calc(100% + 4px);left:0}.cv-doi-row{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;max-width:480px}.cv-doi-input{padding:6px 10px;border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--radius);font-size:.9rem;background:var(--surface-card, #fff);color:var(--text-primary)}.cv-doi-input:focus{outline:2px solid #4338ca;outline-offset:1px;border-color:transparent}[data-theme=dark] .cv-chip{background:#3730a3;color:#e0e7ff}[data-theme=dark] .cv-chip-remove{color:#a5b4fc}[data-theme=dark] .cv-chip-dropdown{background:#1f2937;border-color:#4b5563}[data-theme=dark] .cv-chip-dropdown-item:hover{background:#312e81;color:#e0e7ff}.cv-x-btn{border:none;background:transparent;color:#9ca3af;font-size:1rem;cursor:pointer;padding:0 4px;line-height:1}.cv-x-btn:hover{color:#dc2626}.cv-add-row-btn{margin-top:8px;font-size:.82rem;padding:4px 12px}.cv-affiliations-table{border-collapse:collapse;font-size:.82rem;width:100%;max-width:520px}.cv-affiliations-table th,.cv-affiliations-table td{border:1px solid var(--surface-border, #e5e7eb);padding:3px 6px}.cv-affiliations-table th{background:var(--surface-bg);font-weight:600}.cv-aff-name-input{border:none;background:transparent;font-size:.82rem;width:100%;color:inherit}.cv-aff-name-input:focus{outline:1px solid #4338ca;border-radius:2px}.cv-meta-columns{display:flex;gap:24px;align-items:flex-start;margin-top:16px}.cv-meta-columns .cv-affiliations-section,.cv-meta-columns .cv-sections-section{flex:1;min-width:0;margin-top:0}.cv-sections-section{margin-top:16px}.cv-sections-table{border-collapse:collapse;font-size:.82rem;width:100%;max-width:520px}.cv-sections-table th,.cv-sections-table td{border:1px solid var(--surface-border, #e5e7eb);padding:3px 6px}.cv-sections-table th{background:var(--surface-bg);font-weight:600}.cv-sec-title-input{border:none;background:transparent;font-size:.82rem;width:100%;color:inherit}.cv-sec-title-input:focus{outline:1px solid #4338ca;border-radius:2px}.cv-placeholder{color:var(--color-muted, #6b7280);font-size:.85rem;font-style:italic;padding:8px 0}.cv-history-section{padding:10px 16px 12px}.cv-history-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.cv-history-section .cv-section-title{font-size:.88rem;font-weight:600;color:var(--text-primary)}.cv-history-hint{font-size:.78rem;color:var(--color-muted, #6b7280)}.cv-topbar{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.cv-topbar .cv-history-section{flex:1;min-width:0;margin-bottom:0;border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--radius);background:var(--surface-card);overflow:hidden}.cv-project-widget{margin-left:auto;flex-shrink:0;width:260px;background:var(--surface-card);border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:8px}.cv-pw-name-row{display:flex;align-items:center;gap:8px}.cv-pw-name-row label{font-size:.82rem;font-weight:600;color:var(--color-muted, #6b7280);white-space:nowrap}.cv-pw-name-row input[type=text]{flex:1;min-width:0;padding:5px 8px;border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.875rem;background:var(--surface-input, #fff);color:inherit}.cv-pw-lock-row{display:flex;align-items:center}.cv-pw-lock-label{display:flex;align-items:center;gap:6px;font-size:.82rem;color:var(--text-primary);cursor:pointer}.cv-pw-password-row{display:flex;align-items:center;gap:8px}.cv-pw-password-row label{font-size:.82rem;font-weight:600;color:var(--color-muted, #6b7280);white-space:nowrap}.cv-pw-password-row input[type=password]{flex:1;min-width:0;padding:5px 8px;border:1px solid var(--color-grey);border-radius:var(--radius);font-size:.875rem;background:var(--surface-input, #fff);color:inherit}.cv-pw-btn-row{display:flex;gap:6px}.cv-pw-btn-row button{flex:1}[data-theme=dark] .cv-pw-name-row input[type=text],[data-theme=dark] .cv-pw-password-row input[type=password]{background:var(--surface-input, #1f2937);border-color:#4b5563}.cv-output-section{padding:0}.cv-output-section .cv-tabs{margin:0;padding:0 16px}.cv-output-section .cv-tab-panel{padding:16px}[data-theme="dark"] .cv-section-toggle:hover,:root:not([data-theme="light"]) @media (prefers-color-scheme: dark) .cv-section-toggle:hover{background:var(--surface-hover)}[data-theme=dark] .cv-tab-active,:root:not([data-theme=light]) .cv-tab-active{color:#a5b4fc;border-bottom-color:#a5b4fc}.subject-view{padding:var(--gap);width:100%}.subject-selector{display:flex;align-items:center;gap:8px;margin-top:8px}.subject-selector label{font-weight:600;font-size:.875rem;color:var(--text-primary);white-space:nowrap}.subject-selector input{padding:5px 10px;border:1px solid var(--surface-border);border-radius:var(--radius);background:var(--surface-bg);color:var(--text-primary);font-size:.875rem;font-family:inherit;min-width:220px;max-width:360px;width:100%;transition:border-color .15s,box-shadow .15s}.subject-selector input:focus{outline:none;border-color:var(--color-red);box-shadow:0 0 0 2px color-mix(in srgb,var(--color-red) 20%,transparent)}.subject-selector input::placeholder{color:var(--text-muted)}.subject-info-card{background:var(--surface-card);border-radius:var(--radius);padding:var(--gap);margin-bottom:var(--gap)}.subject-info-card h3{margin:0 0 .5rem}.subject-info-card dl{display:grid;grid-template-columns:9rem 1fr;gap:.25rem .75rem;margin:0}.subject-info-card dt{font-weight:600;color:var(--color-muted, #666)}.subject-info-card dd{margin:0}.subject-timeline-section,.subject-detail-section,.subject-assets-section{background:var(--surface-card);border-radius:var(--radius);padding:var(--gap);margin-bottom:var(--gap)}.subject-timeline-section h3,.subject-detail-section h3,.subject-assets-section h3{margin:0 0 .75rem}.subject-assets-table-wrapper{overflow-x:auto}.subject-assets-table{width:100%}.subject-assets-table .asset-derived-row{opacity:.82;background:var(--surface-bg, #f8f8f8)}.subject-assets-table .asset-name-child{padding-left:1.5rem;color:var(--color-muted, #666)}.subject-assets-table tr.asset-highlighted{outline:2px solid var(--color-accent, #2196F3);outline-offset:-2px;background:color-mix(in srgb,var(--color-accent, #2196F3) 12%,transparent)}.subject-timeline-wrapper{display:flex;flex-direction:column;gap:8px}.subject-timeline{display:block}.tl-window{fill:#506edc1f;stroke:#506edc8c;stroke-width:1.5px;pointer-events:all}.subject-timeline-bubbles{display:flex;flex-direction:row;gap:6px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:thin;scrollbar-color:var(--text-secondary) var(--surface-border)}.subject-timeline-bubbles::-webkit-scrollbar{height:5px}.subject-timeline-bubbles::-webkit-scrollbar-track{background:var(--surface-border);border-radius:3px}.subject-timeline-bubbles::-webkit-scrollbar-thumb{background:var(--text-secondary);border-radius:3px}.tl-bubble{flex:0 0 auto;width:82px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px 6px;border:1.5px solid var(--surface-border);border-radius:10px;background:var(--surface-bg);cursor:pointer;font-family:inherit;font-size:.75rem;color:var(--text-primary);text-align:center;transition:border-color .15s,box-shadow .15s,transform .1s}.tl-bubble:hover{border-color:var(--bubble-color);box-shadow:0 2px 8px #00000021;transform:translateY(-2px)}.tl-bubble--selected{border-color:var(--bubble-color);box-shadow:0 0 0 2px var(--bubble-color);background:var(--surface-card)}.tl-bubble-dot{display:block;width:22px;height:22px;border-radius:50%;background:var(--bubble-color);flex-shrink:0}.tl-bubble-type{font-weight:600;font-size:.7rem;color:var(--text-primary);line-height:1.2;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.tl-bubble-date{font-size:.67rem;color:var(--text-secondary);line-height:1.2;white-space:nowrap}.subject-detail-container{min-height:60px}.detail-card{padding:.75rem;background:var(--surface-card);border-radius:var(--radius)}.detail-card h4{margin:0 0 .5rem}.detail-card dl{display:grid;grid-template-columns:10rem 1fr;gap:.2rem .75rem;margin:0}.detail-card dt{font-weight:600;color:var(--color-muted, #666)}.detail-card dd{margin:0;word-break:break-word}.detail-placeholder,.detail-empty{color:var(--color-muted, #888);font-style:italic;margin:0}.detail-tab-bar{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem;border-bottom:2px solid var(--color-grey, #ddd);padding-bottom:.25rem}.detail-tab-btn{background:none;border:1px solid transparent;border-radius:var(--radius) var(--radius) 0 0;padding:.3rem .75rem;cursor:pointer;font-size:.85rem;color:inherit}.detail-tab-btn:hover{background:var(--color-grey, #eee)}.detail-tab-btn.active{background:var(--surface-card, #fff);border-color:var(--color-grey, #ddd);border-bottom-color:var(--surface-card, #fff);font-weight:600;margin-bottom:-2px}.detail-tab-panel{padding:.5rem 0}.detail-table{width:100%;border-collapse:collapse;font-size:.85rem;margin:.5rem 0}.detail-table th,.detail-table td{border:1px solid var(--color-grey, #ddd);padding:.3rem .5rem;text-align:left}.detail-table th{background:var(--color-grey, #f0f0f0);font-weight:600}.error-banner{background:#fff5f5;border-left:4px solid #f44336;padding:var(--gap);border-radius:var(--radius);margin-bottom:var(--gap)}.subject-loading{color:var(--color-muted, #888);padding:var(--gap)}.theme-toggle-btn{background:none;border:1px solid var(--surface-border);border-radius:var(--radius);color:var(--text-secondary);cursor:pointer;font-size:1rem;line-height:1;padding:4px 8px;transition:border-color .15s,color .15s;flex-shrink:0}.theme-toggle-btn:hover{border-color:var(--text-secondary);color:var(--text-primary)}[data-theme=dark] .dv-debug-wrap,[data-theme=dark] .query-section,[data-theme=dark] .filter-col-select,[data-theme=dark] .filter-values-select,[data-theme=dark] .dv-ctrl-input,[data-theme=dark] .dv-select,[data-theme=dark] .dv-add-filter-col,[data-theme=dark] .dv-add-filter-val,[data-theme=dark] .assets-paging,[data-theme=dark] .assets-table,[data-theme=dark] .assets-table tbody tr:nth-child(2n){background:var(--surface-bg);color:var(--text-primary)}[data-theme=dark] .settings-bar{background:var(--header-bg);border-color:var(--header-border)}[data-theme=dark] .error-banner,[data-theme=dark] .dv-debug-error,[data-theme=dark] .dv-plot-error{background:#2a0a0a}[data-theme=dark] .card pre{background:var(--surface-card);color:var(--text-primary)}[data-theme=dark] .dv-filter-chip{background:#555}[data-theme=dark] .contributions-view{background:var(--surface-bg)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .dv-debug-wrap,:root:not([data-theme=light]) .query-section,:root:not([data-theme=light]) .filter-col-select,:root:not([data-theme=light]) .filter-values-select,:root:not([data-theme=light]) .dv-ctrl-input,:root:not([data-theme=light]) .dv-select,:root:not([data-theme=light]) .dv-add-filter-col,:root:not([data-theme=light]) .dv-add-filter-val,:root:not([data-theme=light]) .assets-paging,:root:not([data-theme=light]) .assets-table,:root:not([data-theme=light]) .assets-table tbody tr:nth-child(2n){background:var(--surface-bg);color:var(--text-primary)}:root:not([data-theme=light]) .settings-bar{background:var(--header-bg);border-color:var(--header-border)}:root:not([data-theme=light]) .error-banner{background:#2a0a0a}:root:not([data-theme=light]) .dv-debug-error,:root:not([data-theme=light]) .dv-plot-error{background:#2a0a0a}:root:not([data-theme=light]) .card pre{background:var(--surface-card);color:var(--text-primary)}:root:not([data-theme=light]) .dv-filter-chip{background:#555}:root:not([data-theme=light]) .contributions-view{background:var(--surface-bg)}}
