/* Sinh tự động từ CSS sáng (scripts/gen_dark.py) — bảng màu tối cho mọi vùng cũ. */
body.theme-dark .choice-panel{border:1px solid var(--d-line-2);background:var(--d-surface)}
body.theme-dark .choice-list [aria-selected=true]{background:var(--d-surface-2)}
body.theme-dark .profile-dropdown{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark .profile-dropdown button{border-bottom:1px dashed var(--d-line)}
body.theme-dark #media-dialog .dialog-head{border-bottom:1px solid var(--d-line)}
body.theme-dark .media-toolbar{background:var(--d-surface-2);border-bottom:1px solid var(--d-line)}
body.theme-dark #media-dialog .asset-item>button:last-child{background:var(--d-surface)}
body.theme-dark .media-footer{border-top:1px solid var(--d-line);color:#7fb0ff}
body.theme-dark .native-file-row{border-bottom:1px solid var(--d-line)}
body.theme-dark .native-file-row input::file-selector-button{border:1px solid var(--d-line-2);color:var(--d-ink)}
body.theme-dark .choice-list .choice-add{border-top:1px dashed var(--d-line-2)}
body.theme-dark .choice-list .choice-add:hover{background:var(--d-surface-2)}
body.theme-dark .preview-notice{border-left:4px solid var(--d-line-2);background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .preview-actions{background:var(--d-surface)}
body.theme-dark .catalog-count{color:#7fb0ff}
body.theme-dark .catalog-table .sort-btn{color:var(--d-ink-2)}
body.theme-dark .catalog-table .filter-row th{background:var(--d-surface)}
body.theme-dark .danger-outline{border-color:var(--d-line);color:#ff9a90}
body.theme-dark .danger-outline:hover{background:var(--d-surface-2)}
body.theme-dark .scope-toggle{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .scope-panel{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .scope-panel label{color:var(--d-ink)}
body.theme-dark .scope-panel label:hover{background:var(--d-surface-2)}
body.theme-dark .catalog-scope-toggle{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .choice-caret{color:#7fb0ff}
body.theme-dark .suggest-panel{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .suggest-item{color:var(--d-ink)}
body.theme-dark .suggest-sub{color:#7fb0ff}
body.theme-dark .suggest-empty{color:#7fb0ff}
body.theme-dark .suggest-more{border-top:1px solid var(--d-line)}
body.theme-dark .label-btn{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .label-btn.danger{color:#ff9a90}
body.theme-dark .label-btn.danger:hover,body.theme-dark .label-btn.danger:focus-visible{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .label-pill span{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .label-system{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .brand-editor{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .brand-picker{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .retention-form{border-top:1px solid var(--d-line)}
body.theme-dark .lb-card{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .lb-bar{border-bottom:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .lb-status{color:var(--d-ink-2)}
body.theme-dark .lb-status.dirty{color:#ff9a90}
body.theme-dark .lb-split::after{background:var(--d-surface-3)}
body.theme-dark .lb-stage{border:1px solid var(--d-line);background:var(--d-surface-3)}
body.theme-dark .lb-page{background:var(--d-surface)}
body.theme-dark .lb-a4-end{border-top:2px dashed var(--d-line-2)}
body.theme-dark .lb-a4-end span{background:#3a1d1d}
body.theme-dark .lb-block:hover{outline-color:var(--d-line-2)}
body.theme-dark .lb-logo-ph{border:2px dashed var(--d-line-2)}
body.theme-dark .lb-panel{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .lb-section{border-bottom:1px solid var(--d-line)}
body.theme-dark .lb-range output{color:var(--d-ink-2)}
body.theme-dark .lb-color input{border:1px solid var(--d-line-2)}
body.theme-dark .lb-color code{color:#7fb0ff}
body.theme-dark .lb-row{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .media-count{color:#7fb0ff}
body.theme-dark .media-view{border:1px solid var(--d-line-2)}
body.theme-dark .media-view button{background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark .media-view button+button{border-left:1px solid var(--d-line-2)}
body.theme-dark .media-view button:hover{background:var(--d-surface-2)}
body.theme-dark #crop-area:not(:empty){border-bottom:1px solid var(--d-line)}
body.theme-dark .media-item{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .media-item .media-cover{background:var(--d-surface-2)}
body.theme-dark .media-item figcaption{color:#7fb0ff}
body.theme-dark .media-item figcaption strong{color:var(--d-ink)}
body.theme-dark .media-item .media-crop{background:var(--d-surface)}
body.theme-dark .media-footer{border-top:1px solid var(--d-line);color:#7fb0ff}
body.theme-dark .media-dropzone{border:2px dashed var(--d-line-2);background:var(--d-surface)}
body.theme-dark .media-dropzone.dragging{background:var(--d-surface-2)}
body.theme-dark .media-drop-icon .solid-icon{color:#7fb0ff}
body.theme-dark .media-dropzone h2{color:var(--d-ink)}
body.theme-dark .media-dropzone p{color:#7fb0ff}
body.theme-dark .media-empty{color:#7fb0ff}
body.theme-dark .settings-head{border-bottom:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .field-label{color:var(--d-ink-2)}
body.theme-dark .segmented{border:1px solid var(--d-line-2)}
body.theme-dark .segmented span{border-right:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .switch-track{background:var(--d-surface-3)}
body.theme-dark .switch-track:after{background:var(--d-surface)}
body.theme-dark .brand-asset{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .brand-preview{border:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .brand-preview-tab{background:var(--d-surface)}
body.theme-dark .menu-item{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .menu-item-label .solid-icon{color:var(--d-ink-2)}
body.theme-dark .menu-item.child{background:var(--d-surface-2)}
body.theme-dark .lib-tabs{border-bottom:1px solid var(--d-line)}
body.theme-dark .lib-tabs button{color:var(--d-ink-2)}
body.theme-dark .media-item .media-delete{background:var(--d-surface)}
body.theme-dark .explorer-layout{border:1px solid var(--d-line)}
body.theme-dark .explorer-tree{border-right:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .tree-node{color:var(--d-ink)}
body.theme-dark .tree-node.sub .solid-icon{color:var(--d-ink-2)}
body.theme-dark .tree-node:hover{background:var(--d-surface-2)}
body.theme-dark .explorer-crumbs{color:#7fb0ff}
body.theme-dark .explorer-crumbs button:hover{background:var(--d-surface-2)}
body.theme-dark .folder-tile{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .folder-tile:hover{background:var(--d-surface-2)}
body.theme-dark .folder-tile span{color:#7fb0ff}
body.theme-dark .folder-info{background:var(--d-surface-2)}
body.theme-dark .project-drop{border:2px dashed var(--d-line-2);background:var(--d-surface)}
body.theme-dark .project-drop.dragging{background:var(--d-surface-2)}
body.theme-dark .project-drop-text>.solid-icon{color:#7fb0ff}
body.theme-dark .file-icon{background:var(--d-surface-2)}
body.theme-dark .bulk-supplier-list{border:1px solid var(--d-line)}
body.theme-dark .bulk-supplier-group{background:var(--d-surface-2);border-bottom:1px solid var(--d-line);color:var(--d-ink)}
body.theme-dark #dialog .bulk-supplier-list .bulk-supplier-row{border-bottom:1px solid var(--d-line)}
body.theme-dark .page-head.quote-view-head{border-bottom:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark #quote-form .group-head .head-add-line{border:1px solid var(--d-line-2);background:var(--d-surface-2);color:var(--d-ink)}
body.theme-dark .suggest-cols>span{color:var(--d-ink-2)}
body.theme-dark .suggest-cols-head{border-bottom:1px solid var(--d-line)}
body.theme-dark .suggest-cols-head>span{color:#7fb0ff}
body.theme-dark .suggest-footer{border-top:1px solid var(--d-line)}
body.theme-dark .line-image-field .line-image-thumb{border:1px solid var(--d-line)}
body.theme-dark .progress-badge{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .progress-badge.pending{background:var(--d-surface-2);color:#7fb0ff}
body.theme-dark .progress-badge.in_progress{background:var(--d-brand-soft);color:#7fb0ff}
body.theme-dark .progress-badge.overdue{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .progress-badge.completed{background:var(--d-surface-3);color:var(--d-ink-2)}
body.theme-dark .progress-dates{color:var(--d-ink-2)}
body.theme-dark .progress-track{background:var(--d-surface-3)}
body.theme-dark .progress-panel.cancelled .progress-track span{background:var(--d-brand-soft)}
body.theme-dark .progress-note{background:var(--d-surface-2)}
body.theme-dark .report-label{color:var(--d-ink)}
body.theme-dark .attention-card .attention-tile{border:1px solid var(--d-line);background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .attention-card .attention-tile:hover{background:var(--d-surface-2)}
body.theme-dark .attention-tile strong{color:#7fb0ff}
body.theme-dark .attention-card .attention-tile.alert{border-color:var(--d-line);background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .attention-tile.alert strong{color:#ff9a90}
body.theme-dark .attention-list{border-top:1px solid var(--d-line)}
body.theme-dark .overdue-row{border-bottom:1px solid var(--d-line)}
body.theme-dark header .bell-toggle{border:1px solid var(--d-line);background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark header .bell-menu:has(.bell-count) .bell-toggle{border-color:var(--d-line);color:#ff9a90}
body.theme-dark .bell-panel{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .bell-head{border-bottom:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .bell-item{border-bottom:1px solid var(--d-line)}
body.theme-dark .bell-title{color:var(--d-ink)}
body.theme-dark .bell-late{color:#ff9a90}
body.theme-dark .bell-empty{color:#7fb0ff}
body.theme-dark #quote-form>.card.fold-card{background:var(--d-surface)}
body.theme-dark .fold-toggle .solid-icon{color:#7fb0ff}
body.theme-dark .group-head .group-no{color:#7fb0ff}
body.theme-dark .group-head .group-count{background:var(--d-surface)}
body.theme-dark .group-head .drag-handle:hover{background:var(--d-surface)}
body.theme-dark .group-head .group-toggle{color:#7fb0ff}
body.theme-dark .group-head .group-toggle:hover{background:var(--d-surface)}
body.theme-dark .qm-card{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark .qm-title{color:var(--d-ink)}
body.theme-dark .qm-title .solid-icon{color:var(--d-ink)}
body.theme-dark .qm-tools .choice-button{border:1px solid var(--d-line-2);color:var(--d-ink);background:var(--d-surface)}
body.theme-dark .qm-search input{border:1px solid var(--d-line-2)}
body.theme-dark .qm-tools .qm-icon-btn{border:1px solid var(--d-line-2);color:var(--d-ink)}
body.theme-dark .qm-tools .qm-tool{border:1px solid var(--d-line-2);color:var(--d-ink)}
body.theme-dark .qm-table{color:var(--d-ink)}
body.theme-dark .qm-table th{background:var(--d-surface-2);color:var(--d-ink-2);border-bottom:2px solid var(--d-line)}
body.theme-dark .qm-table td{border-bottom:1px solid var(--d-line)}
body.theme-dark .qm-table tbody tr:hover{background:var(--d-surface-2)}
body.theme-dark .qm-id{color:var(--d-ink-2)}
body.theme-dark .qm-thumb{background:var(--d-surface-3)}
body.theme-dark .qm-table .qm-name{color:var(--d-ink)}
body.theme-dark .qm-name .solid-icon{color:#7fb0ff}
body.theme-dark .qm-meta{color:#7fb0ff}
body.theme-dark .qm-money{color:#ff9a90}
body.theme-dark .qm-customer{color:var(--d-ink)}
body.theme-dark .qm-phone{color:var(--d-ink-2)}
body.theme-dark .qm-chip{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .qm-status.published{background:var(--d-surface-3);color:var(--d-ink-2)}
body.theme-dark .qm-status.draft{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .qm-date{color:var(--d-ink-2)}
body.theme-dark .qm-table .qm-act{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .qm-table .qm-act:hover{background:var(--d-surface-2)}
body.theme-dark .qm-table .qm-act.pdf{border-color:var(--d-line);color:#ff9a90}
body.theme-dark .qm-table .qm-act.pdf:hover{background:var(--d-surface-2)}
body.theme-dark .qm-table .qm-act.excel{border-color:var(--d-line-2);color:var(--d-ink-2)}
body.theme-dark .qm-table .qm-act.excel:hover{background:var(--d-surface-2)}
body.theme-dark .qm-empty{color:#7fb0ff}
body.theme-dark .qm-pager{color:#7fb0ff}
body.theme-dark{color:var(--d-ink);background:var(--d-surface-2)}
body.theme-dark button{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark button:hover{background:var(--d-surface-2)}
body.theme-dark .danger{color:#ff9a90}
body.theme-dark header{background:var(--d-surface);border-bottom:1px solid var(--d-line)}
body.theme-dark .avatar{background:var(--d-surface-2)}
body.theme-dark .muted:not(:is(.quote-paper,.qc-sheet) *){color:#7fb0ff}
body.theme-dark .card{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark label:not(:is(.quote-paper,.qc-sheet) *){color:var(--d-ink-2)}
body.theme-dark input,body.theme-dark select,body.theme-dark textarea{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .stat{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark th:not(:is(.quote-paper,.qc-sheet) *){color:#7fb0ff;background:var(--d-surface-2)}
body.theme-dark td:not(:is(.quote-paper,.qc-sheet) *),body.theme-dark th:not(:is(.quote-paper,.qc-sheet) *){border-bottom:1px solid var(--d-line)}
body.theme-dark .badge{background:var(--d-surface-3)}
body.theme-dark .badge.ok{background:var(--d-surface-3);color:var(--d-ink-2)}
body.theme-dark .badge.warn{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .empty{color:#7fb0ff}
body.theme-dark .group-title{background:var(--d-surface-2)}
body.theme-dark .line-editor{border-bottom:1px solid var(--d-line)}
body.theme-dark .notice{background:var(--d-surface-2)}
body.theme-dark .errors{background:var(--d-surface-2);border-left:3px solid var(--d-line-2)}
body.theme-dark .actions{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark .auth{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark .inline-error{color:#ff9a90}
body.theme-dark .hint:not(:is(.quote-paper,.qc-sheet) *){color:#7fb0ff}
body.theme-dark .shell{background:var(--d-surface-2)}
body.theme-dark nav .solid-icon{color:#7fb0ff}
body.theme-dark th:not(:is(.quote-paper,.qc-sheet) *){background:var(--d-surface);color:#7fb0ff;border-bottom:1px solid var(--d-line)}
body.theme-dark .button-link{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark #dialog .dialog-head{border-bottom:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .login-card{background:var(--d-surface)}
body.theme-dark .login-card h1{color:var(--d-ink)}
body.theme-dark #auth .login-input{border:1px solid var(--d-line-2)}
body.theme-dark .login-row{color:var(--d-ink)}
body.theme-dark #auth .login-remember{color:var(--d-ink)}
body.theme-dark .login-row a{color:var(--d-ink)}
body.theme-dark .google-login{background:var(--d-brand-soft)}
body.theme-dark .google-login .google-mark{background:var(--d-surface)}
body.theme-dark .login-or{color:var(--d-ink)}
body.theme-dark .copy-field input{background:var(--d-surface-2)}
body.theme-dark .login-foot{color:var(--d-ink)}
body.theme-dark .login-help{color:var(--d-ink)}
body.theme-dark .brand-section{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .color-field{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .color-field input[type=color]{border:1px solid var(--d-line-2)}
body.theme-dark .color-meta{color:var(--d-ink)}
body.theme-dark .color-meta code{color:#7fb0ff}
body.theme-dark .qm-folders{border-bottom:1px solid var(--d-line)}
body.theme-dark .qm-folders button{color:var(--d-ink-2)}
body.theme-dark .qm-folders button:hover{background:var(--d-surface-2)}
body.theme-dark .qm-folders em{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .qm-folders [data-qm-folder=trash][aria-selected=true]{color:#ff9a90}
body.theme-dark .qm-table tr.selected td{background:var(--d-surface-2)}
body.theme-dark .qm-table .qm-act.delete{border-color:var(--d-line);color:#ff9a90}
body.theme-dark .qm-table .qm-act.delete:hover{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .bulk-bar{border:1px solid var(--d-line-2);background:var(--d-surface-2);color:var(--d-ink)}
body.theme-dark .toast-undo{border-color:var(--d-line)}
body.theme-dark .toast-undo:hover{background:var(--d-surface)}
body.theme-dark .media-page .media-item .media-delete:hover{color:#ff9a90}
body.theme-dark nav details>summary:after,body.theme-dark nav details[open]>summary:after{color:#7fb0ff}
body.theme-dark .icon-btn,body.theme-dark .drag-handle{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark .icon-btn:hover,body.theme-dark .icon-btn:focus-visible{background:var(--d-surface-2)}
body.theme-dark .icon-btn.danger{color:#ff9a90}
body.theme-dark .icon-btn.danger:hover,body.theme-dark .icon-btn.danger:focus-visible{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .drag-handle:hover{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .group-toggle{color:var(--d-ink-2)}
body.theme-dark .group-toggle:hover{background:var(--d-surface-2)}
body.theme-dark .group-block{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .group-head{border-bottom:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .group-type,body.theme-dark .group-count{color:#7fb0ff}
body.theme-dark .group-count{background:var(--d-surface)}
body.theme-dark .group-body .line-editor{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .group-body .line-editor:last-of-type{border-bottom:1px solid var(--d-line)}
body.theme-dark .actions{background:var(--d-surface)}
body.theme-dark #dialog .preview-actions,body.theme-dark #dialog .dialog-actions{border-top:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .attention-card .attention-tile.has.in_progress{border-color:var(--d-line-2);background:var(--d-surface-2);color:#7fb0ff}
body.theme-dark .attention-tile.has.in_progress strong{color:#7fb0ff}
body.theme-dark .attention-card .attention-tile.has.pending{border-color:var(--d-line);background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .attention-tile.has.pending strong{color:#ff9a90}
body.theme-dark .attention-card .attention-tile.has.completed{border-color:var(--d-line-2);background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .attention-tile.has.completed strong{color:var(--d-ink-2)}
body.theme-dark .attention-card .attention-tile.has.cancelled{border-color:var(--d-line-2);background:var(--d-surface-2);color:var(--d-ink)}
body.theme-dark .attention-tile.has.cancelled strong{color:var(--d-ink-2)}
body.theme-dark .media-file-name{color:var(--d-ink-2)}
body.theme-dark .user-perms{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .perm-table th,body.theme-dark .perm-table td{border-bottom:1px solid var(--d-line)}
body.theme-dark .perm-table thead th{background:var(--d-surface-2)}
body.theme-dark .perm-role{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .contact-quotes li{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .product-name-link{color:var(--d-ink)}
body.theme-dark .product-detail-img{border:1px solid var(--d-line)}
body.theme-dark .product-detail-img.empty{background:var(--d-surface-2)}
body.theme-dark .product-detail dt{color:#7fb0ff}
body.theme-dark .product-detail-sup td{border-bottom:1px solid var(--d-line)}
body.theme-dark .crop-avatar-preview{color:#7fb0ff}
body.theme-dark .crop-avatar-preview canvas{background:var(--d-surface-2)}
body.theme-dark .mv-tools button{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .mv-tools button:hover,body.theme-dark .mv-tools button:focus-visible{background:var(--d-surface)}
body.theme-dark .mv-nav{background:var(--d-surface)}
body.theme-dark .mv-nav:hover,body.theme-dark .mv-nav:focus-visible{background:var(--d-surface)}
body.theme-dark .card-toggle{border:1px solid var(--d-line);background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark .menu-group-toggle{border:1px solid var(--d-line);background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark .menu-group-toggle em{background:var(--d-surface-2)}
body.theme-dark .company-box{border:1px solid var(--d-line-2);background:var(--d-surface-2)}
body.theme-dark .company-box legend{color:var(--d-ink)}
body.theme-dark .user-status.active{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .user-status.resigned{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .user-status.suspended{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .user-extra .chip{background:var(--d-surface-2);color:#7fb0ff}
body.theme-dark .user-extra .muted-chip{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark #quote-form .line-editor.field-error{background:var(--d-surface-2)}
body.theme-dark #quote-form .fold-extra .bulk-supplier-btn.icon-only:hover,body.theme-dark #quote-form .fold-extra .bulk-supplier-btn.icon-only:focus-visible{background:var(--d-surface)}
body.theme-dark .share-badge.on{background:var(--d-surface-3);color:var(--d-ink-2)}
body.theme-dark .share-badge.off{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .close-quote:hover{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .user-hidden-menus{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .ap-tabs{border-bottom:1px solid var(--d-line)}
body.theme-dark .ap-tabs button{color:var(--d-ink-2)}
body.theme-dark .ap-tabs em{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .ap-kind.publish{background:var(--d-surface-2);color:#7fb0ff}
body.theme-dark .ap-kind.delete{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .ap-status.pending{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .ap-status.approved{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .ap-status.rejected{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .ap-status.cancelled{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .ap-note{border-left:3px solid var(--d-line-2);background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .ap-approve{border-color:var(--d-line-2);color:var(--d-ink-2)}
body.theme-dark .ap-approve:hover{background:var(--d-surface-3)}
body.theme-dark .ap-paper{border:1px solid var(--d-line)}
body.theme-dark .ap-detail dt{color:#7fb0ff}
body.theme-dark .ap-asset{background:var(--d-surface-2)}
body.theme-dark .ap-banner.pending{background:var(--d-surface-2);border:1px solid var(--d-line);color:#ff9a90}
body.theme-dark .ap-banner.rejected{background:var(--d-surface-2);border:1px solid var(--d-line);color:#ff9a90}
body.theme-dark .bell-notice.unread{background:var(--d-surface-2)}
body.theme-dark .lb-import-cols tr.unmatched td{background:var(--d-surface-2)}
body.theme-dark .lb-import-fields tr.missing td{color:#7fb0ff}
body.theme-dark .lb-import-thumb{border:1px solid var(--d-line);background:var(--d-surface-3)}
body.theme-dark .lb-font-item{border:1px solid var(--d-line)}
body.theme-dark .lb-panel-width{border-bottom:1px solid var(--d-line)}
body.theme-dark .share-item.current{background:var(--d-surface-2)}
body.theme-dark 0%,body.theme-dark 35%{background:var(--d-surface-2)}
body.theme-dark .share-chip{background:var(--d-surface-2);color:var(--d-ink)}
body.theme-dark .share-chip.no-dl,body.theme-dark .sl-no-dl{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .share-mode .share-mode-state{color:#7fb0ff}
body.theme-dark .sl-group h3 em{color:#7fb0ff;background:var(--d-surface-2)}
body.theme-dark .upload-locked{color:#ff9a90}
body.theme-dark .draft-issues li{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .share-dl label>span{background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .share-dl label.on:first-child>span{border-color:var(--d-line-2);background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .share-dl label.on:last-child>span{border-color:var(--d-line-2);background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .sl-name:hover strong{color:#7fb0ff}
body.theme-dark .sl-preview{border:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .sl-table tr.selected td{background:var(--d-surface-2)}
body.theme-dark #share-box .share-item:not(.current):hover{border-color:var(--d-line-2);background:var(--d-surface)}
body.theme-dark .share-editing{background:var(--d-surface-2)}
body.theme-dark .share-editing code{background:var(--d-surface);border:1px solid var(--d-line)}
body.theme-dark .share-mode-conflict{background:var(--d-surface-2);border:1px solid var(--d-line);color:#ff9a90}
body.theme-dark .share-replace{color:#ff9a90}
body.theme-dark .catalog-clickable tbody tr[data-record-row]:hover td{background:var(--d-surface-2)}
body.theme-dark .catalog-clickable tbody tr.selected td{background:var(--d-surface-2)}
body.theme-dark .catalog-delete-failed li{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .qm-phone-eye:hover,body.theme-dark .qm-phone.revealed .qm-phone-eye{background:var(--d-surface-2)}
body.theme-dark .bulk-bar::after{color:#7fb0ff}
body.theme-dark .suggest-phone,body.theme-dark .suggest-email,body.theme-dark .suggest-code{color:var(--d-ink-2)}
body.theme-dark .suggest-price{color:#ff9a90}
body.theme-dark .lib-view{border:1px solid var(--d-line-2)}
body.theme-dark .lib-view button{background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark .lib-view button+button{border-left:1px solid var(--d-line-2)}
body.theme-dark .share-form .sub-count{color:var(--d-ink-2)}
body.theme-dark .share-form label.sub-empty .sub-count{color:#ff9a90}
body.theme-dark .share-guest{border-color:var(--d-line)!important;background:var(--d-surface-2)}
body.theme-dark .help-q{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink-2)}
body.theme-dark .th-used{color:var(--d-ink)}
body.theme-dark .th-preview{border:1px solid var(--d-line-2);background:var(--d-surface)}
body.theme-dark .th-table th{background:var(--d-brand-soft);color:var(--d-ink)}
body.theme-dark .th-table td{color:var(--d-ink)}
body.theme-dark .th-head-row{color:var(--d-ink-2)}
body.theme-dark .th-col{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .th-width{color:var(--d-ink-2)}
body.theme-dark .th-req{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .th-note{color:#ff9a90}
body.theme-dark .lb-header-set{border-bottom:1px solid var(--d-line)}
body.theme-dark .lb-header-linked-note{color:var(--d-ink)}
body.theme-dark .label-go{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .label-go b{background:var(--d-surface-2)}
body.theme-dark.is-readonly #main .page-head h1::after,body.theme-dark #dialog:has(fieldset[disabled]) .dialog-head h2::after{background:var(--d-surface-3);color:var(--d-ink-2)}
body.theme-dark .catalog-tools .catalog-scope-toggle{border-color:var(--d-line-2)}
body.theme-dark input.input-reject{border-color:var(--d-line-2)!important}
body.theme-dark input.email-bad{border-color:var(--d-line-2)!important}
body.theme-dark #quote-form .fold-head .fold-chevron:hover{background:var(--d-surface)}
body.theme-dark #quote-form .fold-head .fold-chevron .solid-icon{color:#7fb0ff}
body.theme-dark .wm-box{border:1px solid var(--d-line)}
body.theme-dark .wm-intro{color:var(--d-ink-2)}
body.theme-dark .wm-presets button{border:1px solid var(--d-line-2);background:var(--d-surface)}
body.theme-dark .wm-presets button i{background:var(--d-brand-soft)}
body.theme-dark .wm-preview{border:1px solid var(--d-line-2);background:var(--d-surface)}
body.theme-dark .wm-sample{color:var(--d-ink)}
body.theme-dark .wm-sample b{color:#7fb0ff}
body.theme-dark .wm-table span:nth-child(-n+6){background:var(--d-brand-soft)}
body.theme-dark .wm-dot{border:2px solid var(--d-line)}
body.theme-dark .wm-tip{color:#7fb0ff}
body.theme-dark .wm-preview.wm-frame{border:1px solid var(--d-line-2);background:var(--d-surface)}
body.theme-dark .issue-go{border:1px solid var(--d-line);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .issue-go:hover,body.theme-dark .issue-go:focus-visible{border-color:var(--d-line-2);background:var(--d-surface-2)}
body.theme-dark .issue-no{background:#3a1d1d}
body.theme-dark .issue-body small{color:#ff9a90}
body.theme-dark .img-peek{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .img-peek img{background:var(--d-surface-2)}
body.theme-dark .fn-auto{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .fn-auto b{color:var(--d-ink)}
body.theme-dark .qd-resume{border:1px solid var(--d-line);background:var(--d-surface)}
body.theme-dark .qd-dot{background:#3a1d1d}
body.theme-dark .qd-text small{color:#ff9a90}
body.theme-dark .qd-text b{color:var(--d-ink)}
body.theme-dark .qd-x{color:#7fb0ff}
body.theme-dark .qd-x:hover{background:var(--d-surface-3);color:var(--d-ink)}
body.theme-dark .guide-group h3{color:#7fb0ff}
body.theme-dark .guide-group a{color:var(--d-ink)}
body.theme-dark .guide-group a:hover{background:var(--d-surface-2)}
body.theme-dark .guide-group a.active{background:var(--d-surface-2)}
body.theme-dark .guide-meta{color:#7fb0ff}
body.theme-dark .guide-open,body.theme-dark .guide-link{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .guide-toc{background:var(--d-surface-2)}
body.theme-dark .guide-toc b{color:var(--d-ink-2)}
body.theme-dark .guide-article .guide-toc button.small{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .guide-body{color:var(--d-ink)}
body.theme-dark .guide-body h2{border-top:1px solid var(--d-line)}
body.theme-dark .guide-body blockquote{background:var(--d-surface-2);color:var(--d-ink)}
body.theme-dark .guide-body code{background:var(--d-surface-2)}
body.theme-dark .guide-table th,body.theme-dark .guide-table td{border:1px solid var(--d-line)}
body.theme-dark .guide-table th{background:var(--d-surface-2)}
body.theme-dark .wm-orient{border:1px solid var(--d-line-2);background:var(--d-surface)}
body.theme-dark .wm-orient button{color:var(--d-ink)}
body.theme-dark .wm-orient button+button{border-left:1px solid var(--d-line-2)}
body.theme-dark .lb-pick{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .lb-align{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .lb-inline-input{background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .lb-pick-note{color:#7fb0ff}
body.theme-dark .lb-pick-item{border:1px solid var(--d-line);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .lb-pick-item img,body.theme-dark .lb-pick-noimg{background:var(--d-surface-2)}
body.theme-dark .lb-pick-item small{color:#7fb0ff}
body.theme-dark .lb-pick-item.on{background:var(--d-surface-2)}
body.theme-dark .project-images .media-item .quote-image-name{color:var(--d-ink)}
body.theme-dark .sl-filter{border:1px solid var(--d-line-2);background:var(--d-surface);color:var(--d-ink)}
body.theme-dark .sl-filter b{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .sl-filter.on b{background:var(--d-surface)}
body.theme-dark .sl-filter.warn:not(.on) b{background:var(--d-surface-3);color:#ff9a90}
body.theme-dark .sl-sticky{background:var(--d-surface)}
body.theme-dark .sl-head-wrap{border-bottom:1px solid var(--d-line)}
body.theme-dark .sl-head th{background:var(--d-surface);color:#7fb0ff}
body.theme-dark .sl-v2 .sl-group{border:1px solid var(--d-line)}
body.theme-dark .sl-group-head{border-bottom:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .sl-avatar{background:var(--d-surface-2)}
body.theme-dark .sl-v2 .sl-group-head em{background:var(--d-surface-3);color:var(--d-ink-2)}
body.theme-dark .sl-group-views{color:#7fb0ff}
body.theme-dark .sl-v2 .sl-table td{border-top:1px solid var(--d-line)}
body.theme-dark .sl-v2 .sl-table tbody tr:hover td{background:var(--d-surface)}
body.theme-dark .sl-v2 .sl-table tr.selected td{background:var(--d-surface-2)}
body.theme-dark .sl-v2 .sl-table tr.is-off .sl-name strong,body.theme-dark .sl-v2 .sl-table tr.is-off .sl-mode{color:#7fb0ff}
body.theme-dark .sl-sub{color:#7fb0ff}
body.theme-dark .sl-gone{background:var(--d-surface-2);color:#7fb0ff}
body.theme-dark .sl-mode .solid-icon{color:var(--d-ink-2)}
body.theme-dark .sl-soon .sl-exp{color:#ff9a90}
body.theme-dark .sl-dl.ok{background:var(--d-surface-2);color:var(--d-ink-2)}
body.theme-dark .sl-dl.no{background:var(--d-surface-2);color:#ff9a90}
body.theme-dark .sl-sep{background:var(--d-surface-3)}
body.theme-dark .sl-empty{color:#7fb0ff}
body.theme-dark .sl-empty strong{color:var(--d-ink)}
body.theme-dark .guide-article .guide-toc{background:var(--d-surface-2)}
body.theme-dark #quote-form>.card.fold-card.collapsed{border-color:var(--d-line)}
body.theme-dark #quote-form .fold-card.collapsed>.fold-head{background:var(--d-surface-3);border:1px solid var(--d-line)}
body.theme-dark #quote-form .fold-card.collapsed>.fold-head:hover{background:var(--d-brand-soft)}
body.theme-dark #quote-form .fold-card.collapsed .fold-toggle{color:var(--d-ink)}
body.theme-dark #quote-form .fold-card.collapsed .fold-toggle .solid-icon{color:#7fb0ff}
body.theme-dark #quote-form .fold-card.collapsed .fold-extra,body.theme-dark #quote-form .fold-card.collapsed .fold-extra .hint{color:#7fb0ff}
body.theme-dark .group-block.collapsed>.group-head{background:var(--d-surface-3);border-color:var(--d-line)}
body.theme-dark .group-block.collapsed>.group-head,body.theme-dark .group-block.collapsed>.group-head .group-name,body.theme-dark .group-block.collapsed>.group-head input{color:var(--d-ink)}
body.theme-dark .group-block.collapsed>.group-head .group-no,body.theme-dark .group-block.collapsed>.group-head .group-toggle,body.theme-dark .group-block.collapsed>.group-head .drag-handle{color:#7fb0ff}
body.theme-dark .group-block.collapsed>.group-head .group-type{color:#7fb0ff}
body.theme-dark .group-block.collapsed>.group-head .group-count{background:var(--d-brand-soft);color:var(--d-ink)}
body.theme-dark .group-block.collapsed>.group-head .group-toggle:hover,body.theme-dark .group-block.collapsed>.group-head .drag-handle:hover{background:var(--d-brand-soft);color:var(--d-ink)}
body.theme-dark .qd-done{border:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .qd-done .solid-icon{color:var(--d-ink-2)}
body.theme-dark .qd-done strong{color:var(--d-ink)}
body.theme-dark .qd-next{color:var(--d-ink-2)}
body.theme-dark .qd-mode{border:1px solid var(--d-line)}
body.theme-dark .qd-mode:hover{background:var(--d-surface-2)}
body.theme-dark .qd-mode:has(input:checked){background:var(--d-surface-2)}
body.theme-dark .qd-mode b{color:var(--d-ink)}
body.theme-dark .qd-mode small{color:#7fb0ff}
body.theme-dark .qd-opts{border:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark .qd-opt{color:var(--d-ink)}
body.theme-dark .qd-days{color:var(--d-ink-2)}
body.theme-dark .qd-days input:disabled{background:var(--d-surface-2)}
body.theme-dark #share-form .share-users label.share-user-own{background:var(--d-surface-2)}
body.theme-dark #share-form .share-own-tag{background:var(--d-brand-soft);color:#7fb0ff}
body.theme-dark #record-form .image-field:has(img.thumb) .image-x{border:1px solid var(--d-line);background:var(--d-surface);color:#ff9a90}
body.theme-dark #record-form .image-field:has(img.thumb) .image-x:hover{background:var(--d-surface-2)}
body.theme-dark #record-form .image-field:has(img.thumb) img.thumb{border:1px solid var(--d-line);background:var(--d-surface-2)}
body.theme-dark #record-form label.record-active{border-top:1px solid var(--d-line);color:var(--d-ink)}
body.theme-dark #share-form .share-secs-unit{color:#7fb0ff}
body.theme-dark .required{color:#ff9a90}
body.theme-dark .field-error{border:1px solid var(--d-line-2)!important;background:var(--d-surface-2)!important}
body.theme-dark .image-choice{border-bottom:1px solid var(--d-line)}
body.theme-dark .image-choice>.file-btn{border:1px solid var(--d-line-2);color:var(--d-ink)}
body.theme-dark .image-choice .file-status{color:var(--d-ink)}
body.theme-dark .image-x{color:#ff9a90}
body.theme-dark .issue-link{color:#ff9a90}
