/* Generat de make-dark.py; nu edita manual. */
html[data-theme=dark] .poster-svg{background:#fff;border-color:#3d3d3d}
:root[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] body{background:#141414;color:#ececec}
html[data-theme=dark] dialog{background:#1e1e1e;color:#ececec}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#191919;color:#ececec;border-color:#3d3d3d}
html[data-theme=dark] input::placeholder{color:#8a8a8a}
html[data-theme=dark] .brand-logo{background:#fff;border-radius:8px;padding:6px}
html[data-theme=dark] body{background:#161616;color:#ebebeb}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] input:focus-visible{outline:3px solid #6b6b6b}
html[data-theme=dark] .sidebar{background:#262626;border-right:1px solid #424242}
html[data-theme=dark] .brand small{color:#c4c4c4}
html[data-theme=dark] .brand-symbol{background:#454545;color:#f2f2f2}
html[data-theme=dark] .workspace-label{color:#b4b4b4}
html[data-theme=dark] .workspace-label>span{background:#191919;color:#c6c6c6}
html[data-theme=dark] .nav-item{color:#c0c0c0}
html[data-theme=dark] .nav-item.active{background:#1c1c1c;color:#e2e2e2}
html[data-theme=dark] .nav-count{color:#bcbcbc}
html[data-theme=dark] .nav-item.active .nav-count{background:#232323;color:#d8d8d8}
html[data-theme=dark] .project-card{background:#171717;border:1px solid #424242}
html[data-theme=dark] .tiny-label{color:#b3b3b3}
html[data-theme=dark] .project-card p{color:#b4b4b4}
html[data-theme=dark] .project-rule{background:#202020}
html[data-theme=dark] .spec{color:#b2b2b2}
html[data-theme=dark] .spec>span{color:#d6d6d6}
html[data-theme=dark] .sidebar-bottom{color:#c1c1c1}
html[data-theme=dark] .sidebar-bottom p{color:#f2f2f2}
html[data-theme=dark] .live-dot{background:#454545}
html[data-theme=dark] .topbar{border-bottom:1px solid #424242;background:#262626}
html[data-theme=dark] .breadcrumb{color:#f2f2f2}
html[data-theme=dark] .breadcrumb span{color:#f2f2f2}
html[data-theme=dark] .breadcrumb strong{color:#d6d6d6}
html[data-theme=dark] .save-status{color:#bfbfbf}
html[data-theme=dark] .save-status.error{color:#d29289}
html[data-theme=dark] .eyebrow{color:#b9b9b9}
html[data-theme=dark] .eyebrow>span{background:#4b4b4b}
html[data-theme=dark] h1>span{color:#f2f2f2}
html[data-theme=dark] .hero p{color:#f2f2f2}
html[data-theme=dark] .hero-count>span{color:#dfdfdf}
html[data-theme=dark] .hero-count>div{color:#b3b3b3}
html[data-theme=dark] .count-arrow{color:#f2f2f2}
html[data-theme=dark] .gallery-tools{border-bottom:1px solid #424242}
html[data-theme=dark] .tab{color:#b3b3b3}
html[data-theme=dark] .tab.active{background:#262626;color:#dedede}
html[data-theme=dark] .tab>span{background:#1b1b1b;color:#c3c3c3}
html[data-theme=dark] .search{border:1px solid #424242;background:#262626}
html[data-theme=dark] .search>span{color:#b7b7b7}
html[data-theme=dark] .search input{color:#d8d8d8}
html[data-theme=dark] .search input::placeholder{color:#f2f2f2}
html[data-theme=dark] .search:focus-within{border-color:#6b6b6b}
html[data-theme=dark] .search kbd{color:#f2f2f2;border:1px solid #424242}
html[data-theme=dark] .gallery-caption{color:#f2f2f2}
html[data-theme=dark] .gallery-caption>span:first-child{color:#c0c0c0}
html[data-theme=dark] .photo-card{border:1px solid #424242;background:#262626}
html[data-theme=dark] .photo-card:hover{border-color:#424242}
html[data-theme=dark] .photo-card.selected{border-color:#6b6b6b}
html[data-theme=dark] .photo-stage{background:#1d1d1d}
html[data-theme=dark] .select-control input{border:1px solid #424242c7;background:#262626f0}
html[data-theme=dark] .select-control input:checked{background:#313131;border-color:#424242}
html[data-theme=dark] .select-control input:checked:after{color:#e1e1e1}
html[data-theme=dark] .zoom-button{background:#262626f0;color:#e1e1e1}
html[data-theme=dark] .photo-code{color:#cecece}
html[data-theme=dark] .photo-meta>span:last-child{color:#f2f2f2}
html[data-theme=dark] .photo-card.selected .photo-code{color:#dedede}
html[data-theme=dark] .selected-badge{background:#1a1a1ae8;color:#d2d2d2}
html[data-theme=dark] .empty-state{color:#b6b6b6}
html[data-theme=dark] .empty-state>span{color:#f2f2f2}
html[data-theme=dark] .empty-state h2{color:#d5d5d5}
html[data-theme=dark] .empty-state button{border:1px solid #424242;background:#262626}
html[data-theme=dark] .gallery-footer{border-top:1px solid #424242;color:#f2f2f2}
html[data-theme=dark] .selection-bar{background:#262626f5;border-top:1px solid #424242}
html[data-theme=dark] .selection-info>div>span{color:#f2f2f2}
html[data-theme=dark] .selection-stack img{border:2px solid #424242}
html[data-theme=dark] .text-button{color:#b6b6b6}
html[data-theme=dark] .send-button{background:#333333;color:#e3e3e3;border:1px solid #424242}
html[data-theme=dark] .send-button:hover:not(:disabled){background:#3a3a3a}
html[data-theme=dark] .send-button:disabled{background:#202020;border-color:#424242;color:#f2f2f2}
html[data-theme=dark] dialog{border:1px solid #424242;color:#e5e5e5}
html[data-theme=dark] dialog::backdrop{background:#000000b8}
html[data-theme=dark] .preview-dialog{background:#161616}
html[data-theme=dark] .dialog-close{background:#262626;color:#dfdfdf}
html[data-theme=dark] .preview-image{background:#1e1e1e}
html[data-theme=dark] .image-nav{background:#262626b0;color:#cecece}
html[data-theme=dark] .preview-meta span{color:#b4b4b4}
html[data-theme=dark] .preview-select{border:1px solid #424242;background:#262626}
html[data-theme=dark] .preview-select.chosen{background:#333333;border-color:#424242}
html[data-theme=dark] .keyboard-help{color:#f2f2f2}
html[data-theme=dark] .success-mark{background:#1f1f1f;border:1px solid #424242;color:#d1d1d1}
html[data-theme=dark] .success-dialog p{color:#bfbfbf}
html[data-theme=dark] .success-dialog .success-note{color:#f2f2f2}
html[data-theme=dark] .export-link{color:#b5b5b5}
html[data-theme=dark] .toast{background:#454545;color:#f2f2f2}
html[data-theme=dark] .load-error{background:#171717;color:#ce9d8d}
html[data-theme=dark] .load-error button{background:#262626}
@media(max-width:650px){html[data-theme=dark] .sidebar{border-bottom:1px solid #424242}}
html[data-theme=dark] .collab-status{color:#bfbfbf;background:#1c1c1c}
html[data-theme=dark] .collab-status button{background:#262626}
html[data-theme=dark] .design-section>p{color:#b5b5b5}
html[data-theme=dark] .design-choice{background:#262626;border:1px solid #424242}
html[data-theme=dark] .design-choice.chosen{border:2px solid #6b6b6b}
html[data-theme=dark] .design-title span{color:#b2b2b2}
html[data-theme=dark] #designVotes{color:#bbbbbb}
html[data-theme=dark] .name-label{color:#b7b7b7}
html[data-theme=dark] .name-label input{background:#161616;border:1px solid #424242;color:#e0e0e0}
html[data-theme=dark] .name-label input:focus{outline:2px solid #424242}
html[data-theme=dark] .name-label input::placeholder{color:#f2f2f2}
html[data-theme=dark] .photo-updated{color:#f2f2f2}
html[data-theme=dark] #directorLink{border:1px solid #424242}
html[data-theme=dark] .model-enlarge{color:#c0c0c0}
html[data-theme=dark] .model-dialog{background:#181818}
html[data-theme=dark] .model-dialog>p{color:#b4b4b4}
html[data-theme=dark] body{color:#f2f2f2;background:#151515}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] input:focus-visible{outline-color:#6b6b6b}
html[data-theme=dark] .nav-item.active{background:#454545;color:#f2f2f2}
html[data-theme=dark] .nav-item.active .nav-count{background:#1e1e1e;color:#f2f2f2}
html[data-theme=dark] .hero-count>span,html[data-theme=dark] .count-arrow,html[data-theme=dark] .tab.active,html[data-theme=dark] .photo-card.selected .photo-code{color:#f2f2f2}
html[data-theme=dark] .send-button,html[data-theme=dark] .select-control input:checked{background:#454545;border-color:#6b6b6b;color:#f2f2f2}
html[data-theme=dark] .select-control input:checked:after{color:#f2f2f2}
html[data-theme=dark] .send-button:hover:not(:disabled){background:#454545}
html[data-theme=dark] .send-button:disabled{background:#1d1d1d;border-color:#424242;color:#f2f2f2}
html[data-theme=dark] .design-choice.chosen{border-color:#6b6b6b}
html[data-theme=dark] .collab-status{background:#454545}
html[data-theme=dark] .name-label input:focus{outline-color:#424242}
html[data-theme=dark] .preview-select.chosen{background:#454545;border-color:#6b6b6b;color:#f2f2f2}
html[data-theme=dark] .toast{background:#454545}
html[data-theme=dark] .success-mark{background:#454545;border-color:#424242;color:#f2f2f2}
html[data-theme=dark] .side-model-caption{color:#f2f2f2}
html[data-theme=dark] #arrangeToggle[aria-pressed=true]{background:#454545;color:#f2f2f2}
html[data-theme=dark] .order-bar{border:1px solid #424242;background:#454545}
html[data-theme=dark] .order-bar strong{color:#f2f2f2}
html[data-theme=dark] .order-bar p{color:#c0c0c0}
html[data-theme=dark] .order-bar [role=status]{color:#f2f2f2}
html[data-theme=dark] .arrange-tools{background:#454545;border-bottom:1px solid #424242}
html[data-theme=dark] .arrange-tools button{border:1px solid #424242;background:#262626;color:#f2f2f2}
html[data-theme=dark] .arrange-tools button:hover:not(:disabled){background:#454545;color:#f2f2f2}
html[data-theme=dark] .drag-grip{color:#f2f2f2}
html[data-theme=dark] .arrange-toggle{border:1px solid #424242;background:#454545;color:#f2f2f2}
html[data-theme=dark] .arrange-toggle:hover:not(:disabled){border-color:#6b6b6b}
html[data-theme=dark] .arrange-toggle[aria-pressed=true]{border-color:#6b6b6b}
html[data-theme=dark] .help-button{color:#f2f2f2}
html[data-theme=dark] .catalog-status{border:1px solid #424242;background:#454545;color:#f2f2f2}
html[data-theme=dark] .help-dialog li,html[data-theme=dark] .help-dialog p{color:#c4c4c4}
html[data-theme=dark] .help-dialog>a{color:#f2f2f2}
html[data-theme=dark] .template-catalog{border:1px solid #424242;background:#262626}
html[data-theme=dark] .template-catalog summary{color:#f2f2f2}
html[data-theme=dark] .template-catalog p{color:#b9b9b9}
html[data-theme=dark] .template-catalog .design-choice{background:#151515}
html[data-theme=dark] .template-label select,html[data-theme=dark] .pdf-quality-label select{border:1px solid #424242;color:#dfdfdf;background:#161616}
html[data-theme=dark] .show-poster{border:1px solid #424242;background:#191919;color:#f2f2f2}
html[data-theme=dark] .show-poster:hover{background:#1d1d1d}
html[data-theme=dark] .delete-photo{background:#262626;color:#eb7077}
html[data-theme=dark] .delete-photo:hover{background:#181818}
html[data-theme=dark] .pdf-quality-label{color:#b9b9b9}
html[data-theme=dark] .download-pdf{border:1px solid #6b6b6b;background:#262626;color:#f2f2f2}
html[data-theme=dark] .pdf-status{color:#f2f2f2}
html[data-theme=dark] .template-catalog{background:#262626}
html[data-theme=dark] .template-catalog>summary{color:#f2f2f2;background:linear-gradient(115deg,#454545,#454545);border:1px solid #6b6b6b}
html[data-theme=dark] .template-catalog>summary:hover{background:linear-gradient(115deg,#454545,#454545)}
html[data-theme=dark] .catalog-step{color:#f2f2f2}
html[data-theme=dark] .catalog-copy>span:last-child{color:#f2f2f2}
html[data-theme=dark] .catalog-action{border:1px solid #ffffff2f;background:#ffffff0a}
html[data-theme=dark] .catalog-symbols i{border:1.5px solid #424242}
html[data-theme=dark] .catalog-symbols i:nth-child(3){border-bottom:16px solid #424242}
html[data-theme=dark] .template-catalog .design-choice:hover{border-color:#6b6b6b}
html[data-theme=dark] .notification-button{border:1px solid #424242;background:#171717;color:#f2f2f2}
html[data-theme=dark] .notification-button>span{color:#f2f2f2}
html[data-theme=dark] .notifications-dialog,html[data-theme=dark] .email-dialog{background:#141414}
html[data-theme=dark] .notifications-dialog>p,html[data-theme=dark] .email-dialog p{color:#bcbcbc}
html[data-theme=dark] .notification-email{border:1px solid #424242;background:#191919;color:#f2f2f2}
html[data-theme=dark] .notification-email button,html[data-theme=dark] .notification-tools button{border:1px solid #424242;background:#262626;color:#f2f2f2}
html[data-theme=dark] .notification-tools{color:#bababa}
html[data-theme=dark] .notification-entry{border:1px solid #424242;background:#262626}
html[data-theme=dark] .notification-entry.unread{border-left:4px solid #6b6b6b;background:#171717}
html[data-theme=dark] .notification-entry>strong{color:#dbdbdb}
html[data-theme=dark] .notification-entry time{color:#f2f2f2}
html[data-theme=dark] .notification-entry p{color:#bcbcbc}
html[data-theme=dark] .notification-photos button{background:#191919;color:#cfcfcf}
html[data-theme=dark] .notification-photos>span{color:#f2f2f2}
html[data-theme=dark] .notification-empty{color:#b8b8b8}
html[data-theme=dark] .email-dialog label{color:#cfcfcf}
html[data-theme=dark] .email-dialog input[type=email],html[data-theme=dark] .email-dialog input[type=password]{border:1px solid #424242;background:#262626;color:#dedede}
html[data-theme=dark] .email-dialog input[readonly]{background:#1a1a1a}
html[data-theme=dark] .email-dialog a{color:#f2f2f2}
html[data-theme=dark] .email-dialog #emailResult{color:#f2f2f2}
@media(max-width:650px){html[data-theme=dark] .catalog-action{background:#ffffff0e}}
html[data-theme=dark] .gallery-crop{background:#1c1c1c}
html[data-theme=dark] .people-button{border:1px solid #6b6b6b;background:#454545;color:#f2f2f2}
html[data-theme=dark] .people-button span{background:#454545;color:#f2f2f2}
html[data-theme=dark] .people-dialog>p,html[data-theme=dark] .duplicate-dialog>p{color:#c1c1c1}
html[data-theme=dark] .selected-person{border:1px solid #424242}
html[data-theme=dark] .selected-person>strong{color:#f2f2f2}
html[data-theme=dark] .selected-person>span{color:#bfbfbf}
html[data-theme=dark] .selected-person>button{background:#262626;border:1px solid #6b6b6b;color:#f2f2f2}
html[data-theme=dark] .person-photo img{background:#171717}
html[data-theme=dark] .person-photo span{color:#c1c1c1}
html[data-theme=dark] .has-duplicates{background:#141414}
html[data-theme=dark] .duplicate-notice{background:#161616;color:#eb707c!important}
html[data-theme=dark] .gallery-group-tools button{border:1px solid #424242;background:#262626;color:#d2d2d2}
html[data-theme=dark] .gallery-group-tools button[aria-pressed=true]{background:#454545;color:#f2f2f2;border-color:#6b6b6b}
html[data-theme=dark] .gallery-group-tools span{color:#b9b9b9}
html[data-theme=dark] .photo-person-heading{background:#181818;border-left:3px solid #6b6b6b;color:#d2d2d2}
html[data-theme=dark] .crop-editor{border:1px solid #424242;color:#e3e3e3;background:#151515}
html[data-theme=dark] .crop-editor::backdrop{background:#00000099}
html[data-theme=dark] .crop-canvas{background:#1b1b1b}
html[data-theme=dark] .crop-controls label{color:#d2d2d2}
html[data-theme=dark] .crop-controls input{accent-color:#6b6b6b}
html[data-theme=dark] .crop-controls p{color:#bababa}
html[data-theme=dark] .crop-controls button{border:1px solid #424242}
html[data-theme=dark] .crop-controls .send-button{color:#f2f2f2;border-color:#6b6b6b}
html[data-theme=dark] .crop-controls .crop-warning,html[data-theme=dark] #cropError{color:#dc897f}
html[data-theme=dark] .crop-button{border-color:#424242;color:#d2d2d2}
html[data-theme=dark] .no-access p{color:#f2f2f2}
html[data-theme=dark] .access-person{border-bottom:1px solid #424242}
html[data-theme=dark] .access-person strong{color:#f2f2f2}
html[data-theme=dark] .access-person span{color:#b8b8b8}
html[data-theme=dark] .access-person button,html[data-theme=dark] .access-add button{border:1px solid #424242;background:#262626;color:#f2f2f2}
html[data-theme=dark] .access-add input{border:1px solid #424242}
html[data-theme=dark] .access-log-tools select{border:1px solid #424242;background:#262626}
html[data-theme=dark] .access-log-row{border-bottom:1px solid #424242}
html[data-theme=dark] .access-log-row time{color:#b8b8b8}
html[data-theme=dark] .access-log-row strong{color:#f2f2f2}
html[data-theme=dark] .selection-meta{color:#b8b8b8}
html[data-theme=dark] .selection-link{color:#f2f2f2}
html[data-theme=dark] .pdf-box{border:1px solid #424242;background:#262626}
html[data-theme=dark] .pdf-choice{background:#454545}
html[data-theme=dark] .pdf-choice button{color:#f2f2f2}
html[data-theme=dark] .pdf-choice button.active{background:#454545;color:#f2f2f2}
html[data-theme=dark] .pdf-box .download-pdf:hover:not(:disabled){background:#454545}
html[data-theme=dark] .team-open{background:#454545;color:#f2f2f2}
html[data-theme=dark] .team-board{border:1px solid #424242;color:#e3e3e3;background:#151515}
html[data-theme=dark] .team-board::backdrop{background:#00000099}
html[data-theme=dark] .team-board .model-dialog-header{background:#151515}
html[data-theme=dark] .team-intro{color:#c5c5c5}
html[data-theme=dark] .team-stat{background:#262626;border:1px solid #424242}
html[data-theme=dark] .team-stat strong{color:#d2d2d2}
html[data-theme=dark] .team-stat span{color:#c2c2c2}
html[data-theme=dark] .team-tools input,html[data-theme=dark] .team-tools select,html[data-theme=dark] .team-member input,html[data-theme=dark] .team-member textarea{border:1px solid #424242;background:#262626}
html[data-theme=dark] .team-tools button,html[data-theme=dark] .team-row button,html[data-theme=dark] .team-extra button,html[data-theme=dark] .team-warning button{border:1px solid #424242;background:#262626;color:#d2d2d2}
html[data-theme=dark] .team-tools a{color:#d2d2d2}
html[data-theme=dark] .team-source{color:#bbbbbb}
html[data-theme=dark] .team-print-note{border-left:3px solid #6b6b6b;background:#191919}
html[data-theme=dark] .team-row,html[data-theme=dark] .team-extra{background:#262626;border:1px solid #424242}
html[data-theme=dark] .team-person small{color:#bcbcbc}
html[data-theme=dark] .team-person p{color:#f2f2f2}
html[data-theme=dark] .team-state{background:#181818;color:#d2d2d2}
html[data-theme=dark] .team-missing .team-state,html[data-theme=dark] .team-review .team-state,html[data-theme=dark] .team-changed .team-state{background:#171717;color:#dd867e}
html[data-theme=dark] .team-printed .team-state{background:#1b1b1b;color:#d2d2d2}
html[data-theme=dark] .team-candidate img,html[data-theme=dark] .team-miniatures img{background:#171717}
html[data-theme=dark] .team-checks span{background:#161616}
html[data-theme=dark] .team-checks .team-warn{background:#171717;color:#dd867e}
html[data-theme=dark] .team-actions{border-top:1px solid #424242}
html[data-theme=dark] .team-print-check input{accent-color:#6b6b6b}
html[data-theme=dark] .team-warning{background:#161616}
html[data-theme=dark] .team-member,html[data-theme=dark] .team-picker{border:1px solid #424242;color:#e3e3e3}
html[data-theme=dark] .team-member p,html[data-theme=dark] .team-picker p{color:#bbbbbb}
html[data-theme=dark] .team-pick{background:#262626;border:1px solid #424242;color:#d2d2d2}
html[data-theme=dark] .team-pick img{background:#171717}
html[data-theme=dark] .team-status{color:#c1c1c1}
html[data-theme=dark] .team-photo-context{background:#191919}
html[data-theme=dark] .team-empty{color:#bbbbbb}
html[data-theme=dark] .team-views button{border:1px solid #424242;background:#262626}
html[data-theme=dark] .team-views button.active{background:#454545;border-color:#6b6b6b;color:#f2f2f2}
html[data-theme=dark] .team-print-card{border:1px solid #424242;background:#262626}
html[data-theme=dark] .photo-card.selected{border-color:#12a150}
html[data-theme=dark] .select-control input:checked{background:#12a150;border-color:#12a150}
