.acnh-page{display:flex;flex-direction:column;gap:16px;padding-bottom:28px;color:var(--text-primary,#0f172a)}
.acnh-page *{box-sizing:border-box}
.acnh-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:4px 2px}
.acnh-page-header h1{margin:3px 0 4px;font-size:28px;line-height:1.2}.acnh-page-header h1 span{color:#059669}.acnh-page-header p{margin:0;color:#64748b;font-size:13px}
.acnh-eyebrow{font-size:11px;font-weight:900;letter-spacing:.12em;color:#059669}.acnh-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.acnh-primary-btn,.acnh-export-btn,.acnh-secondary-btn,.acnh-wait-btn,.acnh-select-btn,.acnh-link-btn{border:0;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer;font-family:inherit;transition:.16s ease;white-space:nowrap}
.acnh-primary-btn{background:#059669;color:white;box-shadow:0 5px 14px rgba(5,150,105,.18)}.acnh-primary-btn:hover{background:#047857}.acnh-primary-btn:disabled,.acnh-select-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.acnh-export-btn{background:#2563eb;color:white}.acnh-export-btn:hover{background:#1d4ed8}.acnh-export-btn:disabled{opacity:.4;cursor:not-allowed}
.acnh-secondary-btn{background:white;color:#334155;border:1px solid #dbe4ef}.acnh-secondary-btn:hover{background:#f8fafc}.acnh-wait-btn{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.acnh-link-btn{padding:5px 8px;background:transparent;color:#2563eb}
.acnh-live-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;font-size:12px;color:#64748b}.acnh-live-bar>div:last-child{text-align:right}
#acnh-instock-state{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.acnh-source{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-weight:900;font-size:11px}.acnh-source.ready{background:#ecfdf5;color:#047857}.acnh-source.error{background:#fef2f2;color:#b91c1c}.acnh-source.loading{background:#eff6ff;color:#1d4ed8}.acnh-source.loading i,.acnh-modal-loading i{width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:acnh-spin .8s linear infinite}@keyframes acnh-spin{to{transform:rotate(360deg)}}
.acnh-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.acnh-kpi{min-height:105px;padding:17px;border-radius:14px;border:1px solid #dbe4ef;background:white;display:flex;flex-direction:column;gap:6px}.acnh-kpi span{font-size:12px;font-weight:800;color:#475569}.acnh-kpi strong{font-size:27px;line-height:1;color:#0f172a}.acnh-kpi small{font-size:11px;color:#64748b}.acnh-kpi.acnh-assigned{background:linear-gradient(135deg,#ecfdf5,#fff);border-color:#a7f3d0}.acnh-kpi.acnh-wait{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa}.acnh-kpi.acnh-stock{background:linear-gradient(135deg,#eff6ff,#fff);border-color:#bfdbfe}.acnh-kpi.acnh-danger{background:linear-gradient(135deg,#fef2f2,#fff);border-color:#fecaca}.acnh-kpi.acnh-ok{background:linear-gradient(135deg,#f0fdf4,#fff);border-color:#bbf7d0}.acnh-kpi.acnh-total{background:linear-gradient(135deg,#f8fafc,#fff)}
.acnh-filter-card,.acnh-table-panel,.acnh-empty-state{background:white;border:1px solid #e2e8f0;border-radius:15px}.acnh-filter-card{padding:14px}.acnh-source-meta{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-bottom:12px;border-bottom:1px solid #eef2f7}.acnh-source-meta>div:first-child{display:flex;flex-direction:column;gap:2px}.acnh-source-meta strong{font-size:13px}.acnh-source-meta small{font-size:11px;color:#64748b}
.acnh-filter-row{display:grid;grid-template-columns:minmax(320px,1fr) 220px auto;gap:10px;align-items:end;padding-top:12px}.acnh-filter-row label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#475569}.acnh-filter-row input,.acnh-filter-row select,.acnh-asset-filter input,.acnh-asset-filter select{height:40px;border:1px solid #cbd5e1;border-radius:9px;background:white;padding:0 11px;font:inherit;color:#0f172a;outline:none}.acnh-filter-row input:focus,.acnh-filter-row select:focus,.acnh-asset-filter input:focus,.acnh-asset-filter select:focus{border-color:#34d399;box-shadow:0 0 0 3px rgba(16,185,129,.1)}
.acnh-table-panel{overflow:hidden}.acnh-table-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid #e2e8f0}.acnh-table-head h2{font-size:16px;margin:0 0 3px}.acnh-table-head p{margin:0;font-size:11px;color:#64748b}.acnh-table-head>span{font-size:12px;font-weight:800;color:#475569}.acnh-table-scroll{overflow:auto;max-height:620px}.acnh-table{width:100%;min-width:1580px;border-collapse:separate;border-spacing:0;font-size:11px}.acnh-table th{position:sticky;top:0;z-index:2;background:#f8fafc;color:#475569;padding:10px 9px;text-align:left;border-bottom:1px solid #dbe4ef;white-space:nowrap}.acnh-table td{padding:10px 9px;border-bottom:1px solid #eef2f7;vertical-align:top}.acnh-table tr:hover td{background:#fbfefd}.acnh-table td strong{display:block;font-size:11.5px;color:#0f172a}.acnh-table td small{display:block;margin-top:3px;color:#64748b;line-height:1.35}.acnh-no{color:#64748b;width:38px}.acnh-asset-value{color:#047857!important}.acnh-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900}.acnh-status.is-assigned{background:#dcfce7;color:#047857}.acnh-status.is-wait{background:#ffedd5;color:#c2410c}.acnh-select-btn{padding:7px 10px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.acnh-select-btn:hover{background:#d1fae5}.acnh-empty{text-align:center!important;padding:28px!important;color:#94a3b8}.acnh-pagination{display:flex;gap:5px;justify-content:flex-end;align-items:center;padding:11px 14px;border-top:1px solid #eef2f7}.acnh-pagination button{min-width:32px;height:32px;border:1px solid #dbe4ef;border-radius:8px;background:white;cursor:pointer}.acnh-pagination button.active{background:#0f766e;color:white;border-color:#0f766e}.acnh-pagination button:disabled{opacity:.35;cursor:not-allowed}.acnh-pagination small{margin-left:7px;color:#64748b}
.acnh-empty-state{text-align:center;padding:58px 20px}.acnh-empty-icon{font-size:42px}.acnh-empty-state h2{margin:12px 0 5px;font-size:20px}.acnh-empty-state p{margin:0 auto 12px;color:#64748b;max-width:620px}.acnh-required{display:inline-block;margin:8px 0 18px;padding:7px 10px;background:#f8fafc;border-radius:8px;color:#475569;font-size:12px}.acnh-denied{color:#b91c1c;font-weight:800}
.acnh-modal[hidden]{display:none}.acnh-modal{position:fixed;inset:0;z-index:10030;display:flex;align-items:center;justify-content:center;padding:20px}.acnh-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px)}.acnh-modal-card{position:relative;width:min(1180px,96vw);max-height:92vh;overflow:hidden;background:white;border-radius:16px;box-shadow:0 24px 80px rgba(15,23,42,.25);display:flex;flex-direction:column}.acnh-modal-card>header{display:flex;align-items:center;justify-content:space-between;padding:16px 19px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f0fdf4,#fff)}.acnh-modal-card>header span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#059669}.acnh-modal-card>header h2{margin:3px 0 0;font-size:20px}.acnh-modal-x{border:0;background:transparent;font-size:27px;color:#64748b;cursor:pointer}.acnh-modal-card #acnh-modal-body{padding:16px;overflow:auto}.acnh-modal-employee{display:grid;grid-template-columns:1fr 1.4fr .8fr 1.8fr;gap:10px;margin-bottom:12px}.acnh-modal-employee>div{padding:11px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.acnh-modal-employee span{display:block;font-size:10px;color:#64748b;margin-bottom:3px}.acnh-modal-employee strong{display:block;font-size:12px}.acnh-modal-employee small{display:block;color:#64748b;margin-top:2px;font-size:10px}.acnh-asset-filter{display:grid;grid-template-columns:minmax(280px,1fr) 180px 180px auto;gap:8px;margin-bottom:10px}.acnh-asset-count{font-size:11px;color:#64748b;margin-bottom:8px}.acnh-modal-loading,.acnh-modal-error{padding:9px 11px;border-radius:9px;margin-bottom:9px;font-size:12px}.acnh-modal-loading{background:#eff6ff;color:#1d4ed8}.acnh-modal-error{background:#fef2f2;color:#b91c1c}.acnh-asset-table-wrap{border:1px solid #e2e8f0;border-radius:11px;overflow:auto;max-height:430px}.acnh-asset-table{width:100%;min-width:950px;border-collapse:collapse;font-size:11px}.acnh-asset-table th{position:sticky;top:0;background:#f8fafc;padding:9px;text-align:left;border-bottom:1px solid #dbe4ef}.acnh-asset-table td{padding:9px;border-bottom:1px solid #eef2f7;vertical-align:top}.acnh-asset-table tr{cursor:pointer}.acnh-asset-table tr:hover td,.acnh-asset-table tr.selected td{background:#ecfdf5}.acnh-asset-table td strong{display:block}.acnh-asset-table td small{display:block;color:#64748b;margin-top:2px}.acnh-match{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:9px;font-weight:900}.acnh-match.good{background:#dcfce7;color:#047857}.acnh-modal-actions{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eef2f7}
@media(max-width:1050px){.acnh-kpis{grid-template-columns:repeat(3,1fr)}.acnh-page-header{flex-direction:column}.acnh-header-actions{justify-content:flex-start}.acnh-modal-employee{grid-template-columns:1fr 1fr}.acnh-asset-filter{grid-template-columns:1fr 1fr}.acnh-asset-filter input{grid-column:1/-1}.acnh-live-bar{align-items:flex-start;flex-direction:column}.acnh-live-bar>div:last-child{text-align:left}}
@media(max-width:680px){.acnh-kpis{grid-template-columns:1fr 1fr}.acnh-filter-row{grid-template-columns:1fr}.acnh-source-meta{align-items:flex-start;flex-direction:column}.acnh-modal{padding:8px}.acnh-modal-card{width:100%;max-height:96vh}.acnh-modal-employee,.acnh-asset-filter{grid-template-columns:1fr}.acnh-asset-filter input{grid-column:auto}.acnh-modal-actions{grid-template-columns:1fr 1fr}.acnh-modal-actions span{display:none}.acnh-wait-btn{grid-column:1/-1}.acnh-page-header h1{font-size:24px}}
