*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;height:100%;font-family:Inter,Segoe UI,sans-serif;font-size:14px;line-height:1.5;color:#0f172a;background-color:#f1f5f9}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:700;line-height:1.2;color:#0f172a}h1{font-size:28px}h2{font-size:20px}h3{font-size:16px}h4,h5,h6{font-size:14px}p{margin:0;line-height:1.8}a{color:#6366f1;text-decoration:none;transition:color .2s ease-in-out}a:hover{color:#9294f5}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}.text-muted{color:#475569}.text-success{color:#10b981}.text-warning{color:#f59e0b}.text-danger{color:#ef4444}.text-info{color:#3b82f6}.mt-0{margin-top:0}.mt-xs{margin-top:4px}.mt-sm{margin-top:8px}.mt-md{margin-top:16px}.mt-lg{margin-top:24px}.mt-xl{margin-top:32px}.mb-0{margin-bottom:0}.mb-xs{margin-bottom:4px}.mb-sm{margin-bottom:8px}.mb-md{margin-bottom:16px}.mb-lg{margin-bottom:24px}.mb-xl{margin-bottom:32px}.flex-center{display:flex;align-items:center;justify-content:center}.flex-between{display:flex;align-items:center;justify-content:space-between}.hidden{display:none}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-container{padding:24px;max-width:1800px;margin:0 auto}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.page-header h1{color:#0f172a;font-size:28px;font-weight:700;margin:0}.btn{padding:8px 16px;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease-in-out;text-transform:uppercase;letter-spacing:.5px;font-family:Inter,Segoe UI,sans-serif}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background-color:#6366f1;color:#fff}.btn-primary:hover:not(:disabled){background-color:#4f46e5;transform:translateY(-1px);box-shadow:0 4px 16px #6366f14d}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-secondary{background-color:#fff;color:#0f172a;border:1px solid #E2E8F0}.btn-secondary:hover:not(:disabled){background-color:#eef2ff;transform:translateY(-1px)}.btn-secondary:active:not(:disabled){transform:translateY(0)}.btn-danger{background-color:#ef4444;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:600;transition:all .2s ease-in-out}.btn-danger:hover:not(:disabled){background-color:#eb1515;transform:translateY(-1px);box-shadow:0 4px 12px #ef444440}.btn-sm{padding:4px 8px;font-size:12px}.btn-icon{background:none;border:none;margin:0;cursor:pointer;font-family:inherit;font-size:inherit;font-size:18px;padding:4px 8px;border-radius:4px;transition:all .2s ease-in-out;color:#475569}.btn-icon:hover{background-color:#6366f11a;color:#0f172a}.btn-icon.btn-danger{background:none;opacity:.6}.btn-icon.btn-danger:hover{opacity:1;background-color:#ef44441a;color:#ef4444;transform:none;box-shadow:none}.filters-section{background-color:#fff;border:1px solid #E2E8F0;border-radius:8px;box-shadow:0 1px 3px #00000014;padding:24px;margin-bottom:24px}.filters-title{font-weight:600;color:#475569;margin-bottom:16px;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:16px}.filter-group{display:flex;flex-direction:column;gap:6px}.filter-group label{font-weight:600;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.filter-input,.filter-select{width:100%;padding:8px 16px;border:1px solid #E2E8F0;border-radius:4px;background-color:#fff;font-family:Inter,Segoe UI,sans-serif;font-size:14px;color:#0f172a;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;outline:none}.filter-input:focus,.filter-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.filter-input::placeholder,.filter-select::placeholder{color:#94a3b8}.filter-input,.filter-select{padding:8px 16px}.filters-actions{display:flex;gap:8px;flex-wrap:wrap}.error-message{background-color:#ef44441a;color:#ed2d2d;padding:20px 24px;border-radius:8px;margin-bottom:16px;border-left:5px solid #EF4444;font-size:16px;font-weight:600;line-height:1.5}.loading-state{text-align:center;padding:48px 24px;color:#475569}.loading-state p{margin:0;font-size:20px}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:48px;color:#475569}.empty-state p{font-size:20px;margin:0}.skeleton-row:hover{background:none!important}.skeleton-row td{padding:16px}.skeleton-bar{display:block;height:16px;width:100%;border-radius:4px;background:linear-gradient(90deg,#94a3b81a 25%,#94a3b833 37%,#94a3b81a 63%);background-size:400% 100%;animation:skeleton-shimmer 1.4s ease infinite}@keyframes skeleton-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.dialog-header .header-text{min-width:0}.dialog-header .header-sub{margin:2px 0 0;font-size:13px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-section{padding:20px 28px;border-bottom:1px solid #EEF2F7}.form-section:last-child{border-bottom:none}.form-section-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:#4a6080;margin-bottom:14px}.po-row{display:flex;gap:16px;flex-wrap:wrap}.po-field{display:flex;flex-direction:column;gap:6px;flex:1 1 150px;min-width:0}.po-field label{font-size:12px;font-weight:600;color:#4a6080}.po-field-grow{flex:2 1 220px}.po-field-hall{flex:0 1 200px}.po-field-qty{flex:0 0 110px}.po-field-kw{flex:0 0 200px}.req{color:#6366f1}.opt{font-weight:400;color:#94a3b8;font-size:11px}.kw-wrap{display:flex;align-items:center;gap:8px}.kw-wrap input{flex:1}.kw-sep{color:#94a3b8;font-weight:600}.facts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px 24px}.fact{display:flex;flex-direction:column;gap:3px;min-width:0}.fact-label{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.4px}.fact-value{font-size:14px;color:#0f172a;overflow:hidden;text-overflow:ellipsis}.phase-progress-cell{min-width:150px}.phase-progress-bar{display:flex;height:8px;border-radius:999px;overflow:hidden;background:#f1f5f9;margin-bottom:6px}.phase-progress-bar .seg{display:block;min-width:2px}.phase-progress-bar .seg-phase-done{background:#6366f1}.phase-progress-bar .seg-phase-left{background:#e2e8f0}.phase-progress-legend{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px}.phase-progress-legend .lbl{white-space:nowrap}.phase-progress-legend .lbl:before{content:"";display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:4px;vertical-align:middle}.phase-progress-legend .lbl-phase-done:before{background:#6366f1}.phase-progress-legend .lbl-phase-left:before{background:#cbd5e1}.phase-progress-legend .lbl-phase-all:before{background:#10b981}.phase-progress-legend .lbl-phase-left{color:#475569;font-weight:600}.phase-progress-legend .lbl-phase-all{color:#059669}.deadline-tag{display:inline-block;white-space:nowrap}.deadline-tag.deadline-overdue{color:#dc2626;font-weight:600}.deadline-tag.deadline-soon{color:#d97706;font-weight:600}.deadline-tag.deadline-ok{color:#475569}.table-container{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #00000014;margin-bottom:24px;border:1px solid #E2E8F0}.data-table{width:100%;border-collapse:collapse}.data-table thead{background:#f8fafc;border-bottom:2px solid #E2E8F0}.data-table th{padding:16px;text-align:left;font-weight:600;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.data-table td{padding:16px;border-bottom:1px solid #F1F5F9;color:#0f172a;font-size:14px}.data-table tbody tr{transition:background-color .15s ease-in-out}.data-table tbody tr:nth-child(2n) td{background-color:#f8faff}.data-table tbody tr:hover td{background-color:#6366f10f}.data-table tbody tr:last-child td{border-bottom:none}.actions-cell{display:flex;gap:8px;align-items:center}.badge{display:inline-block;padding:4px 8px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.badge.badge-active{background-color:#10b9811f;color:#0c8a60}.badge.badge-inactive{background-color:#94a3b81f;color:#475569}.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-bottom:16px;flex-wrap:wrap}.btn-pagination{padding:8px 16px;background-color:#fff;border:1px solid #E2E8F0;border-radius:4px;cursor:pointer;font-family:Inter,Segoe UI,sans-serif;font-size:14px;font-weight:600;color:#0f172a;transition:all .2s ease-in-out}.btn-pagination:hover:not(:disabled){border-color:#6366f1;color:#6366f1;transform:translateY(-1px)}.btn-pagination:disabled{opacity:.4;cursor:not-allowed}.page-numbers{display:flex;gap:4px}.btn-page-number{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;background-color:#fff;border:1px solid #E2E8F0;border-radius:4px;cursor:pointer;font-size:12px;font-family:Inter,Segoe UI,sans-serif;font-weight:600;color:#0f172a;transition:all .2s ease-in-out}.btn-page-number:hover{border-color:#6366f1;color:#6366f1}.btn-page-number.active{background-color:#6366f1;color:#fff;border-color:#6366f1;box-shadow:0 2px 8px #6366f14d}.pagination-info{text-align:center;font-size:12px;color:#475569}.dialog-backdrop{position:fixed;inset:0;background-color:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px;animation:fadeIn .2s ease-out}.dialog{background:#fff;border:1px solid #E2E8F0;border-radius:12px;width:100%;max-width:520px;box-shadow:0 10px 30px #00000026;animation:slideUp .25s ease-out;overflow:hidden}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #E2E8F0;background:#f8fafc}.dialog-header h2{margin:0;color:#0f172a;font-size:20px;font-weight:700}.dialog-body{padding:24px}.dialog-footer{padding:16px 24px;border-top:1px solid #F1F5F9;display:flex;justify-content:flex-end;gap:8px;background-color:#f8fafc}.form-group{margin-bottom:16px}.form-group label{display:block;font-weight:600;color:#475569;font-size:12px;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.form-input,.form-select{width:100%;padding:8px 16px;border:1px solid #E2E8F0;border-radius:4px;background-color:#fff;font-family:Inter,Segoe UI,sans-serif;font-size:14px;color:#0f172a;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;outline:none}.form-input:focus,.form-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.form-input::placeholder,.form-select::placeholder{color:#94a3b8}.form-input,.form-select{padding:10px 16px}.form-input:disabled,.form-select:disabled{opacity:.5;cursor:not-allowed}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.input{width:100%;padding:8px 16px;border:1px solid #E2E8F0;border-radius:4px;background-color:#fff;font-family:Inter,Segoe UI,sans-serif;font-size:14px;color:#0f172a;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;outline:none}.input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.input::placeholder{color:#94a3b8}.input{padding:8px 10px;border-radius:6px;box-sizing:border-box}.filters-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.filters-bar .filter-input,.filters-bar .filter-select{width:100%;padding:8px 16px;border:1px solid #E2E8F0;border-radius:4px;background-color:#fff;font-family:Inter,Segoe UI,sans-serif;font-size:14px;color:#0f172a;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;outline:none}.filters-bar .filter-input:focus,.filters-bar .filter-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.filters-bar .filter-input::placeholder,.filters-bar .filter-select::placeholder{color:#94a3b8}.filters-bar .filter-input,.filters-bar .filter-select{padding:8px 16px;min-width:160px}.modal-backdrop{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px;animation:fadeIn .2s ease-out}.modal{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:32px;width:100%;max-width:680px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #00000026;animation:slideUp .25s ease-out}.modal h2{margin:0 0 24px;font-size:20px;font-weight:700;color:#0f172a}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid #F1F5F9}.header-actions{display:flex;gap:8px;align-items:center}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:768px){.page-container{padding:16px}.page-header{flex-direction:column;gap:16px;align-items:flex-start}.filters-grid,.form-row{grid-template-columns:1fr}.dialog{max-width:100%;margin:8px}}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:0 10px;height:24px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap;background:#f1f5f9;color:#475569}.status-badge .status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.status-badge--claimed{background:#dcfce7;color:#15803d}.status-badge--progress{background:#dbeafe;color:#1d4ed8}.status-badge--done{background:#dcfce7;color:#166534}.status-badge--idle{background:#f1f5f9;color:#475569}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:6px;padding:0 10px;height:28px;border-radius:8px;background:#f1f5f9;color:#475569;font-size:13px;white-space:nowrap}.chip svg{width:13px;height:13px;color:#94a3b8;flex-shrink:0}.action-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 16px;height:44px;border-radius:10px;border:1px solid transparent;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}.action-btn svg{width:14px;height:14px;flex-shrink:0}.action-btn:disabled{opacity:.6;cursor:not-allowed}.action-btn--primary{background:#6366f1;color:#fff}.action-btn--primary:hover:not(:disabled){background:#4f46e5}.action-btn--outline{background:#fff;color:#475569;border-color:#e2e8f0}.action-btn--outline:hover:not(:disabled){background:#f8fafc}.action-btn--warn{background:#fef3c7;color:#b45309;border-color:#fde68a}.action-btn--warn:hover:not(:disabled){background:#fde9af}.empty-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:18px 20px;color:#94a3b8;font-size:14px}.empty-card .empty-icon{width:16px;height:16px;color:#94a3b8;flex-shrink:0}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:700}
