/* Daynex logo palette. VOIX layout is retained; this file owns brand colors. */
:root{--brand:#1d4ed8;--brand-soft:#eaf2fc;--line:#e2e8f0;--ink:#0f172a;--muted:#64748b;background:#f4f6f9;color:#0f172a}
body,.workspace{background:#f4f6f9;color:#0f172a}.sidebar,.topbar,.panel,.form-right{background:#fff;border-color:#e2e8f0}.review-strip{background:#eaf2fc;color:#58708e;border-color:#d7e5f6}.review-strip b,.review-strip a{color:#1d4ed8}.customer-logo,.product-footer{border-color:#e2e8f0}.product-footer,.version{color:#74849b}.search-wrap input{background:#f3f6fb!important;border-color:#e2e8f0!important}.nav-row{color:#475569}.nav-row:hover{background:#f3f7fc}.nav-row.active{background:#eaf2fc;color:#1d4ed8;border-left-color:#3174f1}.nav-row.active .nav-icon{color:#1d4ed8;border-color:#d9e6fa;box-shadow:0 2px 8px #3174f110}.nav-icon{color:#64748b;border-color:#e7edf5}.nav-row .nav-count{background:#eaf2fc;color:#3174f1}.breadcrumb strong{background:#eaf2fc;color:#1d4ed8}.breadcrumb strong:before{background:#27ae60}.breadcrumb>span,.account small,.customer-logo span{color:#64748b}.avatar{background:#eaf2fc;color:#1d4ed8}.surface-select select{color:#475569;background:#f8fafc;border-color:#e2e8f0}.page-heading h1,h2,h3{color:#0f172a}.page-heading p,.hint,.save-note,.tool-note,.overline,.muted{color:#64748b}.btn{border-color:#dbe3ee;color:#475569;background:white}.btn:hover:not(:disabled){border-color:#9cbbea;background:#f7faff}.btn.primary,.btn.teal{background:#1d4ed8;border-color:#1d4ed8;color:#fff;box-shadow:0 3px 8px #3174f11c}.btn.primary:hover:not(:disabled),.btn.teal:hover:not(:disabled){background:#1741b8}.btn.soft{background:#eaf2fc;border-color:#d8e5f7;color:#1d4ed8}.btn.ghost,.linklike{color:#3174f1}.tabs{border-color:#e2e8f0}.tabs button{color:#64748b}.tabs button[aria-selected=true]{color:#1d4ed8;border-color:#3174f1}.form-right hr,.paper-end{border-color:#e2e8f0}label{color:#475569}input:not([type=checkbox]),select,textarea{border-color:#dce4ee;background:#fff;color:#334155}input::placeholder,textarea::placeholder{color:#7d8da4}.recipient-card{background:#eff5fe;border-color:#dae7fa}.recipient-card strong{color:#1e3a5f}.recipient-card small,.recipient-card .overline{color:#5d7696}.recipient-search .hint{color:#64748b}.empty-recipient,.line-empty,.empty{color:#64748b}.line-empty{background:#f8fafc;border-color:#d9e5f2}.form-right .summary-note,.summary-note{background:#eef5ff;color:#4d73a7}th{background:#f5f8fc;color:#475569;border-color:#e2e8f0}td{color:#475569;border-color:#edf1f6}td strong{color:#243b59}td small{color:#6e829b}.line-table .name{color:#334155}.calculated{background:#f5f8fc!important;color:#64748b!important}.sum-row{color:#64748b}.sum-row strong{color:#334155}.sum-row.total{color:#1d4ed8;border-color:#3174f1}.sum-row.total strong{color:#1d4ed8}.table-footer{color:#64748b}.page-num{background:#3174f1}.filters-row,.batch-row{background:#f7faff;border-color:#e2e8f0;color:#64748b}.stat-card{border-color:#e2e8f0}.stat-card span,.stat-card small{color:#64748b}.stat-card strong{color:#1d4ed8}.tag{background:#eef2f7;color:#586b85}.tag.blue{background:#eaf2fc;color:#1d4ed8}.tag.green{background:#e5f5eb;color:#237443}.tag.orange{background:#fff4d9;color:#9b6c12}.tag.red{background:#fdebed;color:#b53245}.collection-effect{border-top-color:#3174f1}.large-amount{color:#1e3a5f}.allocation,.section-label{border-color:#e2e8f0}.status-box{background:#fff7e5;color:#8c661b;border-left:3px solid #f7bf26}.validation{background:#fff3f3;color:#b53245;border-color:#f1ced2}.validation.success{color:#237443;background:#eef8f0;border-color:#d9ecdf}.notice{background:#eaf2fc;color:#4f6f99}.section-label{color:#64748b}.dialog-head,.dialog-actions{border-color:#e2e8f0}.dialog-head>button{color:#64748b}.catalog-row{border-color:#e2e8f0}.catalog-row strong{color:#334155}.catalog-row small,.receipt-header{color:#64748b}.document-paper{color:#334155;border-color:#e2e8f0}.document-paper .paper-top{border-color:#3174f1}.paper-top h2{color:#1d4ed8}.paper-top small,.paper-end{color:#64748b}.paper-party strong{color:#1e3a5f}.paper-money{background:#eff5fe;border-color:#dce7f8}.paper-money strong{color:#1d4ed8}.document-paper .watermark{color:#eb334922}.card-visual{background:linear-gradient(120deg,#1d4ed8,#3174f1)}.card-visual small{color:#dfebff}.history-list li{color:#64748b;border-color:#e2e8f0}.reference-card{border-color:#e2e8f0}.reference-card p{color:#64748b}.reference-card a{color:#1d4ed8}.attachment-list{color:#64748b}.steps{border-color:#dce7f8}.steps span{color:#64748b;border-color:#e2e8f0}.steps span.active{color:#1d4ed8;background:#eaf2fc}.mobile-toggle{background:#eaf2fc;color:#1d4ed8}.toast{background:#173b6d;box-shadow:0 8px 30px #1d4ed822}
.operations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.operation-card{padding:21px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:block;text-align:left;color:#334155;font:inherit;cursor:pointer}.operation-card span{display:block;font-size:11px;color:#64748b}.operation-card strong{display:block;font-size:24px;font-weight:650;color:#1e3a5f;font-variant-numeric:tabular-nums;margin:10px 0 6px}.operation-card small{display:block;color:#64748b;font-size:10px}.operation-card.warning{border-top:3px solid #f7bf26}.operation-card.good{border-top:3px solid #27ae60}.operation-card.info{border-top:3px solid #3174f1}.operation-card.danger{border-top:3px solid #eb3349}.dashboard-pair{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin-bottom:21px;align-items:start}.dashboard-pair .panel+.panel{margin-top:0}.summary-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #edf1f6;font-size:12px;color:#475569}.summary-item:last-child{border:0}.summary-item strong{display:block;font-weight:600;color:#334155}.summary-item small{display:block;color:#64748b;margin-top:4px}.nav-subgroup{padding:8px 14px;color:#91a0b3;font-size:9px;letter-spacing:1px}.nav-row.sub{padding-left:24px;font-size:12px;height:40px}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:21px}.detail-stat{background:#fff;border:1px solid #e2e8f0;padding:18px;border-radius:10px;font-size:11px;color:#64748b}.detail-stat strong{display:block;font-size:20px;color:#1e3a5f;margin-top:9px;font-weight:600}.view-mode{display:flex;gap:4px}.view-mode .btn.selected{color:#1d4ed8;background:#eaf2fc;border-color:#d6e5fa}.entity-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.entity-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.entity-card h2{margin:10px 0;font-size:15px}.entity-card small{color:#64748b;display:block}.entity-card .card-value{font-size:23px;color:#1d4ed8;margin:16px 0}.entity-card .more-actions{margin-top:17px}.label-value{display:flex;justify-content:space-between;font-size:11px;color:#64748b;gap:12px;padding:7px 0}.label-value strong{color:#334155;font-weight:500}.card-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#3174f1;background:#eaf2fc}.card-symbol svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}.subnav-toggle{border:0;background:none;font:inherit;width:100%;cursor:pointer}
@media(max-width:1200px){.operations-grid{grid-template-columns:repeat(2,1fr)}.entity-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-pair{grid-template-columns:1fr}.detail-stats{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.entity-cards{grid-template-columns:1fr}.operations-grid{gap:10px}.operation-card{padding:15px}.operation-card strong{font-size:20px}.detail-stats{grid-template-columns:1fr}.operation-card small{line-height:1.5}}
