@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--primary-blue: #0f172a;--accent-teal: #14b8a6;--accent-mint: #ccfbf1;--accent-soft: #ccfbf1;--text-dark: #0f172a;--text-gray: #64748b;--bg-white: #ffffff;--bg-soft: #f8fafc;--bg-app: #f8fafc;--border-light: #e2e8f0;--success: #059669;--warning: #d97706;--danger: #dc2626;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--col-checkbox-w: 40px;--col-id-w: 120px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-soft);color:var(--text-dark);line-height:1.5;-webkit-font-smoothing:antialiased}.page-title{font-size:20px;font-weight:600;color:var(--text-dark)}.page-subtitle{font-size:13px;color:var(--text-gray)}.maya-card{background:#ffffffe6;border-radius:16px;border:1px solid var(--border-light);box-shadow:var(--shadow-md);transition:transform .2s ease,box-shadow .2s ease;-webkit-backdrop-filter:saturate(140%) blur(8px);backdrop-filter:saturate(140%) blur(8px)}.maya-card:hover{box-shadow:var(--shadow-lg)}.maya-btn{background-color:var(--primary-blue);color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-weight:600;font-size:.875rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s}.maya-btn:hover{opacity:.9;transform:translateY(-1px)}.maya-btn:disabled{background-color:var(--text-gray);cursor:not-allowed}.maya-btn-secondary{background-color:#fff;color:var(--text-dark);padding:.75rem 1.5rem;border-radius:8px;border:1px solid var(--border-light);font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.maya-btn-secondary:hover{background-color:var(--primary-blue);color:#fff;border-color:var(--primary-blue);transform:translateY(-1px)}.maya-btn-danger{background-color:#fff;color:var(--danger);padding:.75rem 1.5rem;border-radius:8px;border:1px solid var(--danger);font-weight:600;font-size:.875rem;cursor:pointer}.glow-animation{position:relative}.glow-animation:after{content:"";position:absolute;inset:-2px;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 120% at 50% 50%,rgba(20,184,166,.15),transparent 60%);z-index:-1}.maya-input{border:1px solid var(--border-light);border-radius:6px;padding:.5rem .625rem;font-size:.875rem;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.maya-input:focus{border-color:var(--accent-teal);box-shadow:0 0 0 3px #14b8a626}.maya-table{width:100%;border-collapse:collapse}.maya-table th.sticky-first,.maya-table td.sticky-first{position:sticky;left:0;background:#f8fafc;z-index:3}.maya-table th.col-sticky-id,.maya-table td.col-sticky-id{position:sticky;left:var(--col-checkbox-w);background:#fff;z-index:2}.maya-table th{background-color:#f1f5f9;padding:1rem;text-align:left;font-size:.75rem;text-transform:uppercase;color:var(--text-gray);font-weight:600;border-bottom:1px solid var(--border-light);position:sticky;top:0;z-index:2;box-shadow:0 2px 4px #0000000f}.table-card{background:#fff;border-radius:12px;box-shadow:0 8px 20px #0000000d}.maya-table td{padding:1rem;border-bottom:1px solid #eef2f7;font-size:.875rem;height:56px}.maya-table th.group-divider-right,.maya-table td.group-divider-right{border-right:2px solid var(--border-light)}.cell-url{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-url a{color:var(--text-dark)}.cell-url a:hover{text-decoration:underline}.cell-url .link-icon{display:inline-block;width:14px;height:14px;margin-right:6px;color:#64748b}.cell-thumb img{width:40px;height:40px;border-radius:6px;object-fit:cover;border:1px solid var(--border-light);background:#fff}.cell-thumb.placeholder{width:40px;height:40px;border-radius:6px;border:1px solid var(--border-light);background:#f1f5f9}.code-pill{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.75rem;color:#334155;background:#f1f5f9;border:1px solid var(--border-light)}.cell-primary{font-weight:600;color:var(--text-dark)}.cell-secondary{font-size:.78rem;color:var(--text-gray)}input[type=checkbox]:hover{outline:2px solid rgba(15,23,42,.08);cursor:pointer}.maya-table tr:hover{background-color:#f8fafc}.row-selected{background-color:var(--accent-soft)!important}.maya-table tbody tr:nth-child(odd){background-color:#fbfdff}.loading-spinner{width:40px;height:40px;border:3px solid var(--accent-soft);border-top:3px solid var(--primary-blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-app)}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.nav-tab{padding:.25rem 1rem;border-radius:9999px;font-weight:500;font-size:.825rem;color:var(--text-gray);transition:all .2s ease;border:1px solid transparent}.nav-tab:hover{background-color:var(--bg-soft);color:var(--primary-blue)}.nav-tab.active{background-color:#e0f2fe;color:var(--primary-blue);font-weight:600;box-shadow:inset 0 -2px #0ea5e9}.sidebar-item{cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1)}.sidebar-item:hover:not(.active){background-color:#f1f5f9!important;color:var(--text-dark)!important}.sidebar-item.active{box-shadow:0 1px 2px #0000000d}.status-pill{display:inline-flex;align-items:center;padding:.125rem .375rem;border-radius:9999px;font-size:.7rem;font-weight:600}.status-pill--pending{background-color:#eef2ff;color:#4f46e5;border:1px solid #c7d2fe}.tooltip{position:fixed;z-index:99999;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 40px #00000026,0 0 0 1px #0000000d;padding:0;pointer-events:none;animation:tooltipFadeIn .15s ease-out;isolation:isolate}.tooltip--interactive{pointer-events:auto}@keyframes tooltipFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.tooltip-content{position:relative;z-index:1}.tooltip-arrow{position:absolute;width:16px;height:16px;background:#fff;border:1px solid #e2e8f0;transform:rotate(45deg);z-index:0}.tooltip-arrow--top,.tooltip-arrow--top-start,.tooltip-arrow--top-end{bottom:-9px;border-top:none;border-left:none}.tooltip-arrow--bottom,.tooltip-arrow--bottom-start,.tooltip-arrow--bottom-end{top:-9px;border-bottom:none;border-right:none}.tooltip-arrow--left{right:-9px;border-left:none;border-bottom:none}.tooltip-arrow--right{left:-9px;border-right:none;border-top:none}.tooltip--compact{padding:8px 12px}.tooltip--large{padding:16px 20px}.tooltip--dark{background:#1e293b;border-color:#334155;color:#fff}.tooltip--dark .tooltip-arrow{background:#1e293b;border-color:#334155}.tooltip--light{background:#fff;border-color:#e2e8f0}.tooltip--no-border{border:none}.tooltip--narrow{max-width:200px}.tooltip--wide{max-width:480px}.tooltip--full{max-width:none}@media(max-width:640px){.tooltip{max-width:calc(100vw - 20px)!important}}.app-layout{min-height:100vh;display:flex;flex-direction:column;background:#f8fafc}.app-topnav{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 1.5rem;background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}.app-topnav-left,.app-topnav-right{display:flex;align-items:center;gap:1.5rem}.app-logo{display:flex;align-items:center;gap:.625rem}.app-logo-icon{display:flex}.app-logo-text{display:inline-block;font-size:1.0625rem;font-weight:700;color:#1e293b;letter-spacing:0;line-height:1;white-space:nowrap}.app-logo-icon{width:28px;height:28px;align-items:center;justify-content:center;flex-shrink:0}.app-panel-tabs{display:flex;align-items:center;gap:.25rem;margin-left:1rem;padding-left:1.5rem;border-left:1px solid #e2e8f0}.app-panel-tab{padding:.5rem 1.25rem;background:transparent;border:none;border-radius:6px;font-size:.9375rem;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s ease;position:relative}.app-panel-tab:hover{color:#334155;background:#f1f5f9}.app-panel-tab.active{color:#1e40af;background:#eff6ff;font-weight:600}.app-panel-tab.active:after{content:"";position:absolute;bottom:-8px;left:50%;transform:translate(-50%);width:24px;height:3px;background:#3b82f6;border-radius:3px 3px 0 0}.app-search{position:relative;display:flex;align-items:center}.app-search-icon{position:absolute;left:.75rem;color:#94a3b8;pointer-events:none}.app-search-input{width:280px;padding:.5rem 2.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;color:#1e293b;transition:all .15s ease}.app-search-input::placeholder{color:#94a3b8}.app-search-input:focus{outline:none;background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.app-search-kbd{position:absolute;right:.75rem;padding:.125rem .375rem;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;font-size:.6875rem;font-family:ui-monospace,monospace;color:#64748b}.app-lang-toggle{display:flex;padding:.1875rem;background:#f1f5f9;border-radius:6px}.app-lang-btn{padding:.375rem .625rem;background:transparent;border:none;border-radius:4px;font-size:.75rem;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s ease}.app-lang-btn:hover{color:#334155}.app-lang-btn.active{background:#fff;color:#1e40af;box-shadow:0 1px 2px #0000000d}.app-icon-btn{position:relative;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s ease}.app-icon-btn:hover{background:#f1f5f9;color:#334155}.app-notification-badge{position:absolute;top:4px;right:4px;min-width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:#ef4444;color:#fff;font-size:.625rem;font-weight:600;border-radius:100px;padding:0 4px}.app-profile-btn{display:flex;align-items:center;gap:.5rem;padding:.25rem;background:transparent;border:none;border-radius:8px;cursor:pointer;transition:all .15s ease}.app-profile-btn:hover{background:#f1f5f9}.app-profile-avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;border-radius:50%;color:#64748b}.app-main{flex:1;display:flex;flex-direction:column;min-height:0}.app-toasts{position:fixed;bottom:1.5rem;right:1.5rem;display:flex;flex-direction:column;gap:.5rem;z-index:1000}.app-toast{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.25rem;background:#1e293b;color:#fff;border-radius:10px;font-size:.875rem;box-shadow:0 10px 25px #00000026;animation:slideIn .2s ease}.app-toast--success{background:#059669}.app-toast--error{background:#dc2626}.app-toast--warning{background:#d97706}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.app-download-menu-content{padding:0}.app-download-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-weight:500;color:#475569;cursor:pointer;transition:all .15s ease}.app-download-btn:hover{background:#f8fafc;border-color:#cbd5e1}.app-download-btn:disabled{opacity:.5;cursor:not-allowed}.app-download-btn svg{flex-shrink:0}.app-download-text{display:inline}.app-download-menu{padding:0!important}.app-download-menu-header{padding:.875rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.8125rem;font-weight:600;color:#1e293b}.app-download-menu-list{padding:.5rem}.app-download-menu-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;background:transparent;border:none;border-radius:8px;font-size:.875rem;color:#334155;cursor:pointer;transition:all .15s ease;text-align:left}.app-download-menu-item:hover{background:#f8fafc}.app-download-menu-item:disabled{opacity:.5;cursor:not-allowed}.app-download-menu-item svg{flex-shrink:0;color:#64748b}.app-download-menu-item:hover svg{color:#3b82f6}.app-download-item-title{font-weight:500;color:#1e293b}.app-download-item-desc{font-size:.75rem;color:#64748b;margin-top:.125rem}.app-download-menu-divider{height:1px;background:#e2e8f0;margin:.5rem 0}@media(max-width:1024px){.app-search-input{width:200px}}@media(max-width:768px){.app-topnav{padding:0 1rem}.app-search,.app-download-text{display:none}.app-download-btn{padding:.5rem}.app-panel-tabs{margin-left:.5rem;padding-left:.75rem}.app-panel-tab{padding:.5rem .75rem;font-size:.875rem}}.panel{display:flex;flex-direction:column;height:100%;background:#f8fafc}.merchant-edit-tabs-container{display:flex;flex-direction:column;height:100%;background:#fff}.merchant-edit-tabs{display:flex;justify-content:center;gap:0;padding:0 1rem;background:#fff;border-bottom:2px solid #e2e8f0}.merchant-edit-tab{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.25rem;background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-2px;color:#64748b;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease;position:relative}.merchant-edit-tab:hover{color:#475569;background:#f8fafc}.merchant-edit-tab--active{color:#2563eb;border-bottom-color:#2563eb}.merchant-edit-tab--active:hover{background:none}.merchant-edit-tab-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#f1f5f9;border-radius:50%;font-size:.875rem;font-weight:600;color:#64748b;transition:all .2s ease}.merchant-edit-tab--active .merchant-edit-tab-number{background:#2563eb;color:#fff}.merchant-edit-tab-label{font-weight:500}.merchant-edit-tab-content{flex:1;overflow-y:auto;background:#f8fafc}.merchant-edit-section{padding:1.25rem 1.5rem;max-width:100%;margin:0;width:100%}.merchant-edit-section-header{margin-bottom:1.25rem}.merchant-edit-section-title{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.merchant-edit-section-desc{font-size:.9375rem;color:#64748b;margin:0}.merchant-edit-section-body{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000000d}.panel-content{display:flex;flex-direction:column;flex:1;padding:1.5rem;overflow:auto}.panel-content--edit{padding:0}.panel-content--tight{padding-top:.5rem}.panel-header--tight{margin-bottom:.75rem}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.panel-header--edit{padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #e2e8f0;margin-bottom:0}.panel-header-left,.panel-header-right{display:flex;align-items:center;gap:.75rem}.panel-back-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:none;border-radius:10px;color:#475569;cursor:pointer;transition:all .15s ease}.panel-back-btn:hover{background:#e2e8f0;color:#1e293b}.panel-title{font-size:1.375rem;font-weight:600;color:#1e293b;margin:0;line-height:1.3}.panel-subtitle{font-size:.875rem;color:#64748b;margin:.125rem 0 0}.panel-count{display:inline-flex;align-items:center;padding:.25rem .75rem;background:#f1f5f9;border-radius:100px;font-size:.8125rem;color:#64748b}.panel-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5625rem 1rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.panel-btn--secondary{background:#fff;border:1px solid #e2e8f0;color:#475569}.panel-btn--secondary:hover{background:#f8fafc;border-color:#cbd5e1}.panel-btn--primary{background:#3b82f6;border:1px solid #3b82f6;color:#fff}.panel-btn--primary:hover{background:#2563eb;border-color:#2563eb}.panel-btn--danger{background:#ef4444;border:1px solid #ef4444;color:#fff}.panel-btn--danger:hover{background:#dc2626;border-color:#dc2626}.panel-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;flex:1;min-height:0}@media(max-width:1200px){.panel-edit-grid{grid-template-columns:1fr}}.panel-edit-section{display:flex;flex-direction:column;border-right:1px solid #e2e8f0;overflow:hidden}.panel-edit-section:last-child{border-right:none}@media(max-width:1200px){.panel-edit-section{border-right:none;border-bottom:1px solid #e2e8f0}.panel-edit-section:last-child{border-bottom:none}}.panel-section-header{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem;background:#fafbfc;border-bottom:1px solid #e2e8f0}.panel-section-icon{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px}.panel-section-icon--merchant{background:#eff6ff;color:#3b82f6}.panel-section-icon--tags{background:#fef3c7;color:#f59e0b}.panel-section-icon--offer{background:#dcfce7;color:#22c55e}.panel-section-icon--location{background:#fce7f3;color:#ec4899}.panel-section-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.panel-section-desc{font-size:.8125rem;color:#64748b;margin:.125rem 0 0}.panel-section-body{flex:1;padding:1.5rem;background:#fff;overflow:auto}.panel-modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.panel-modal{width:100%;max-width:400px;background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 25px 50px #00000026;text-align:center}.panel-modal-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;border-radius:16px}.panel-modal-icon--warning{background:#fef3c7;color:#f59e0b}.panel-modal-icon--danger{background:#fee2e2;color:#ef4444}.panel-modal-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.panel-modal-message{font-size:.875rem;color:#64748b;margin:0 0 1.5rem}.panel-modal-actions{display:flex;gap:.75rem;justify-content:center}.panel-modal-actions .panel-btn{flex:1}.panel-modal-icon--success{background:#dcfce7;color:#16a34a}.panel-modal-icon--info{background:#eff6ff;color:#3b82f6}.panel-modal--wide{max-width:540px;text-align:left}.panel-modal--wide .panel-modal-title{text-align:center}.panel-modal--wide .panel-modal-icon{margin:0 auto 1rem}.panel-modal--wide .panel-modal-actions{justify-content:center;margin-top:1.25rem}.export-results-summary{display:flex;gap:1rem;justify-content:center;margin:1rem 0 1.25rem}.export-results-stat{display:flex;flex-direction:column;align-items:center;padding:.75rem 1.5rem;border-radius:12px;min-width:100px}.export-results-stat--appended{background:#dcfce7;border:1px solid #bbf7d0}.export-results-stat--skipped{background:#fef3c7;border:1px solid #fde68a}.export-results-stat-num{font-size:1.5rem;font-weight:700;color:#1e293b}.export-results-stat-label{font-size:.75rem;font-weight:500;color:#64748b;margin-top:2px}.export-results-section{margin-bottom:1rem}.export-results-section-title{font-size:.8125rem;font-weight:600;margin:0 0 .5rem;padding-bottom:.375rem;border-bottom:1px solid #e2e8f0}.export-results-section-title--appended{color:#166534}.export-results-section-title--skipped{color:#92400e}.export-results-entity{margin-bottom:.75rem}.export-results-entity-label{font-size:.75rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.03em}.export-results-list{list-style:none;padding:0;margin:.375rem 0 0}.export-results-item{display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;border-radius:6px;font-size:.8125rem;margin-bottom:2px}.export-results-item--appended{background:#f0fdf4}.export-results-item--skipped{background:#fffbeb}.export-results-id{font-family:SF Mono,Fira Code,monospace;font-weight:600;color:#1e293b;font-size:.75rem}.export-results-name{color:#64748b;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.export-results-more{font-size:.75rem;color:#94a3b8;font-style:italic;padding:.25rem .5rem}.export-results-disclaimer{font-size:.875rem;color:#64748b;text-align:center;margin:.5rem 0 1rem;padding:.75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}@media(max-width:768px){.panel-content{padding:1rem}.panel-header{flex-direction:column;align-items:stretch}.panel-header-right{justify-content:flex-end}.panel-section-body{padding:1rem}}.extract-entity-tabs{display:flex;gap:.25rem;padding:0 1.5rem;margin-bottom:1rem;border-bottom:1px solid #e2e8f0}.extract-entity-tab{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:transparent;border:none;border-bottom:2px solid transparent;font-size:.875rem;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s ease;margin-bottom:-1px}.extract-entity-tab:hover{color:#334155}.extract-entity-tab.active{color:#1e40af;border-bottom-color:#3b82f6}.extract-entity-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 .375rem;background:#f1f5f9;border-radius:10px;font-size:.6875rem;font-weight:600;color:#64748b}.extract-entity-tab.active .extract-entity-tab-count{background:#dbeafe;color:#1e40af}.extract-run-select{padding:.4375rem 2rem .4375rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-weight:500;color:#334155;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .625rem center;transition:border-color .15s ease}.extract-run-select:hover{border-color:#cbd5e1}.extract-run-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.upload-modal{width:95vw;max-width:900px;max-height:85vh;background:#fff;border-radius:16px;display:flex;flex-direction:column;box-shadow:0 25px 60px #0003;overflow:hidden}.upload-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.upload-modal-header-left{display:flex;align-items:center;gap:.75rem}.upload-modal-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#eff6ff;border-radius:10px;color:#3b82f6}.upload-modal-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.upload-modal-filename{font-size:.8125rem;color:#64748b;margin:.125rem 0 0}.upload-modal-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s ease}.upload-modal-close:hover{background:#f1f5f9;color:#334155}.upload-modal-close:disabled{opacity:.4;cursor:not-allowed}.upload-modal-toolbar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0}.upload-select-all{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#475569;cursor:pointer}.upload-select-all input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.upload-selected-count{font-size:.8125rem;font-weight:500;color:#3b82f6}.upload-modal-body{flex:1;overflow:auto;min-height:200px}.upload-preview-table{width:100%;border-collapse:collapse;font-size:.8125rem}.upload-preview-th{position:sticky;top:0;z-index:2;padding:.5rem .75rem;background:#f1f5f9;border-bottom:1px solid #e2e8f0;text-align:left;font-weight:600;color:#475569;text-transform:uppercase;font-size:.6875rem;letter-spacing:.04em;white-space:nowrap}.upload-preview-th--check{width:40px;text-align:center}.upload-preview-td{padding:.5rem .75rem;border-bottom:1px solid #f1f5f9;color:#334155;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-preview-td--check{width:40px;text-align:center}.upload-preview-td--check input[type=checkbox]{width:15px;height:15px;accent-color:#3b82f6;cursor:pointer}.upload-preview-row{cursor:pointer;transition:background .1s ease}.upload-preview-row:hover{background:#f8fafc}.upload-preview-row--selected{background:#eff6ff}.upload-preview-row--selected:hover{background:#dbeafe}.upload-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}.upload-progress{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem 1.5rem;color:#475569;font-size:.9375rem}.upload-progress p{margin:0;font-weight:500}.upload-progress-hint{font-size:.8125rem;color:#94a3b8}.upload-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .7s linear infinite}.upload-done{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem 1.5rem}.upload-done-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:#dcfce7;border-radius:50%;color:#22c55e}.upload-done-text{font-size:.9375rem;font-weight:500;color:#1e293b;margin:0}.upload-preview-th--rownum,.upload-preview-td--rownum{width:44px;text-align:center;color:#94a3b8;font-size:.75rem;font-family:ui-monospace,monospace}.upload-cell-link{color:#3b82f6;text-decoration:none;font-size:.8125rem}.upload-cell-link:hover{text-decoration:underline}.upload-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:3rem 1.5rem;color:#94a3b8;font-size:.875rem}.upload-empty svg{opacity:.5}.upload-empty p{margin:0}.upload-modal--pdf{max-width:1100px;max-height:90vh}.upload-modal-icon--pdf{background:#fef2f2;color:#ef4444}.upload-pdf-body{display:flex;flex-direction:row;gap:0;min-height:400px}.upload-pdf-viewer{flex:1;min-width:0;border-right:1px solid #e2e8f0;background:#f1f5f9}.upload-pdf-iframe{width:100%;height:100%;min-height:450px;border:none}.upload-pdf-blocks{width:340px;flex-shrink:0;display:flex;flex-direction:column;overflow-y:auto}.upload-pdf-blocks-header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em;position:sticky;top:0;z-index:1}.upload-pdf-block{display:flex;align-items:flex-start;gap:.5rem;padding:.625rem 1rem;border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background .1s ease}.upload-pdf-block:hover{background:#f8fafc}.upload-pdf-block--selected{background:#eff6ff}.upload-pdf-block--selected:hover{background:#dbeafe}.upload-pdf-block input[type=checkbox]{width:15px;height:15px;accent-color:#3b82f6;cursor:pointer;margin-top:2px;flex-shrink:0}.upload-pdf-block-index{font-size:.6875rem;font-weight:600;color:#94a3b8;font-family:ui-monospace,monospace;min-width:20px;margin-top:1px;flex-shrink:0}.upload-pdf-block-text{font-size:.8125rem;color:#334155;line-height:1.4;word-break:break-word}@media(max-width:768px){.upload-pdf-body{flex-direction:column}.upload-pdf-viewer{border-right:none;border-bottom:1px solid #e2e8f0;min-height:300px}.upload-pdf-blocks{width:100%;max-height:250px}}.panel-btn--dedupe{background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:.8125rem;font-weight:600;display:flex;align-items:center;gap:6px;cursor:pointer;transition:all .2s}.panel-btn--dedupe:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9,#5b21b6);box-shadow:0 2px 8px #6d28d94d}.panel-btn--dedupe:disabled{opacity:.55;cursor:not-allowed}.panel-btn--tags{background:linear-gradient(135deg,#059669,#047857);color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:.8125rem;font-weight:600;display:flex;align-items:center;gap:6px;cursor:pointer;transition:all .2s}.panel-btn--tags:hover:not(:disabled){background:linear-gradient(135deg,#047857,#065f46);box-shadow:0 2px 8px #0596694d}.panel-btn--tags:disabled{opacity:.55;cursor:not-allowed}.btn-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top:2px solid #fff;border-radius:50%;animation:spin .8s linear infinite}.panel-btn--sm{padding:4px 12px;font-size:.75rem}.extract-selection-bar{display:flex;align-items:center;gap:16px;padding:10px 20px;background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:1px solid #bbf7d0;border-radius:8px;margin-bottom:12px}.extract-select-all{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.8125rem;font-weight:600;color:#166534}.extract-select-all input[type=checkbox]{width:16px;height:16px;accent-color:#059669;cursor:pointer}.extract-selection-count{font-size:.8125rem;color:#059669;font-weight:500}.extract-deduped-section{margin-top:32px;border-top:2px solid #e2e8f0;padding-top:24px}.extract-deduped-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.extract-deduped-header-left{display:flex;align-items:center;gap:12px}.extract-deduped-icon{width:40px;height:40px;background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#16a34a}.extract-deduped-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin:0}.extract-deduped-desc{font-size:.8125rem;color:#64748b;margin:2px 0 0}.tags-panel-loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:60px 0;color:#64748b;font-size:.875rem}.tags-panel-error{display:flex;align-items:center;gap:10px;padding:16px 20px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem}.tags-panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center;color:#94a3b8}.tags-panel-empty svg{margin-bottom:16px;color:#cbd5e1}.tags-panel-empty p{font-size:1rem;font-weight:600;color:#64748b;margin:0 0 6px}.tags-panel-empty span{font-size:.8125rem}.tags-panel-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:10px}.tags-panel-table{width:100%;border-collapse:collapse}.tags-panel-th{padding:.5rem .75rem;text-align:left;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;background:#f8fafc;border-bottom:2px solid #e2e8f0;white-space:nowrap}.tags-panel-th--id{width:160px;min-width:140px}.tags-panel-row{transition:background-color .15s}.tags-panel-row:hover{background:#f1f5f9}.tags-panel-row:not(:last-child) .tags-panel-td{border-bottom:1px solid #f1f5f9}.tags-panel-td{padding:.5rem .75rem;vertical-align:top}.tags-panel-td--id{vertical-align:middle}.tags-panel-mid{font-weight:600;color:#1e40af;font-size:.875rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.tags-panel-mname{display:block;font-family:inherit;font-size:.75rem;font-weight:400;color:#64748b;margin-top:2px}.tags-panel-chips{display:flex;flex-wrap:wrap;gap:6px}.tags-panel-chip{display:inline-flex;align-items:center;padding:4px 12px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe;border-radius:20px;font-size:.75rem;font-weight:500;color:#1e40af;white-space:nowrap;max-width:280px;overflow:hidden;text-overflow:ellipsis}.tags-panel-no-tags{font-size:.8125rem;color:#94a3b8;font-style:italic}.tags-panel-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid #e2e8f0;font-size:.8125rem;color:#64748b}.tags-panel-pagination-info{font-weight:500}.tags-panel-pagination-btns{display:flex;align-items:center;gap:8px}.tags-panel-pagination-btns button{padding:4px 12px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-size:.875rem;color:#334155;transition:all .15s}.tags-panel-pagination-btns button:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.tags-panel-pagination-btns button:disabled{opacity:.4;cursor:not-allowed}.tags-panel-pagination-btns span{font-weight:600;color:#334155}.tags-inline-view{padding:0}.tags-inline-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 0}.tags-inline-count{font-size:13px;font-weight:500;color:#64748b}.extract-selectable-table{position:relative}.status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border-radius:100px;font-size:.75rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.status-badge--extracted{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.status-badge--deduped{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.info-pill{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:100px;font-size:.75rem;font-weight:500;color:#1e40af}.historic-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1.25rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:10px;margin-bottom:1rem}.historic-banner-content{display:flex;align-items:center;gap:.75rem;color:#92400e}.historic-banner-content strong{display:block;font-size:.875rem;font-weight:700;color:#78350f}.historic-banner-content span{display:block;font-size:.8125rem;color:#92400e;margin-top:.125rem}.panel-btn--commit{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:.8125rem;font-weight:600;display:flex;align-items:center;gap:6px;cursor:pointer;transition:all .2s}.panel-btn--commit:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:0 2px 8px #2563eb4d}.panel-btn--commit:disabled{opacity:.55;cursor:not-allowed}.panel-btn--export{background:linear-gradient(135deg,#ea580c,#c2410c);color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:.8125rem;font-weight:600;display:flex;align-items:center;gap:6px;cursor:pointer;transition:all .2s}.panel-btn--export:hover:not(:disabled){background:linear-gradient(135deg,#c2410c,#9a3412);box-shadow:0 2px 8px #ea580c4d}.panel-btn--export:disabled{opacity:.55;cursor:not-allowed}.confirmation-drawer{width:100%;max-width:480px;background:#fff;border-radius:16px;padding:2rem;box-shadow:0 25px 60px #0003;text-align:center}.confirmation-drawer-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;background:#fef3c7;border-radius:16px;color:#f59e0b}.confirmation-drawer-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.confirmation-drawer-desc{font-size:.875rem;color:#64748b;margin:0 0 1rem;line-height:1.5}.confirmation-drawer-fields{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:.75rem 1rem;margin-bottom:1.5rem;text-align:left}.confirmation-drawer-fields-label{display:block;font-size:.75rem;font-weight:600;color:#92400e;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.03em}.confirmation-drawer-chips{display:flex;flex-wrap:wrap;gap:.375rem}.confirmation-drawer-chip{display:inline-flex;padding:.25rem .625rem;background:#fff;border:1px solid #fbbf24;border-radius:100px;font-size:.75rem;font-weight:500;color:#92400e}.confirmation-drawer-actions{display:flex;gap:.75rem;justify-content:center}.confirmation-drawer-actions .panel-btn{flex:1}.structured-save-bar{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding:1.25rem 1.5rem;margin-top:.5rem;background:#fff;border-top:1px solid #e2e8f0;border-radius:0 0 12px 12px;position:sticky;bottom:0;z-index:10}.completeness-badge-container{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;z-index:1;overflow:hidden}.completeness-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:6px;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;cursor:default;white-space:nowrap;min-width:72px;max-width:100%;box-sizing:border-box}.completeness-badge--complete{background-color:#d1fae5!important;color:#10b981!important;border:1px solid #6ee7b7}.completeness-badge--partial{background-color:#fef3c7!important;color:#f59e0b!important;border:1px solid #fbbf24}.completeness-badge--incomplete{background-color:#fee2e2!important;color:#ef4444!important;border:1px solid #fca5a5}.completeness-icon-container{position:relative;display:inline-block;cursor:default}.completeness-icon{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;font-size:10px;font-weight:700;border-radius:50%}.completeness-icon--complete{color:#10b981}.completeness-icon--partial{color:#f59e0b}.completeness-icon--incomplete{color:#ef4444}.completeness-row-accent{position:absolute;left:0;top:0;bottom:0;width:3px;border-left:3px solid}.completeness-row-accent--complete{border-left-color:#10b981}.completeness-row-accent--partial{border-left-color:#f59e0b}.completeness-row-accent--incomplete{border-left-color:#ef4444}.completeness-tooltip-wrapper{padding:14px;background:#fff}.completeness-tooltip-wrapper--compact{padding:10px 12px}.completeness-tooltip-header{display:flex;align-items:center;gap:6px;border-bottom:2px solid #e5e7eb;background:#f8fafc;margin:-14px -14px 10px;padding:10px 14px;border-radius:6px 6px 0 0}.completeness-tooltip-icon{font-size:16px;font-weight:700}.completeness-tooltip-title{font-size:13px;font-weight:600;color:#374151}.completeness-tooltip-message{font-size:12px;color:#4b5563;margin-bottom:8px;font-weight:500}.completeness-tooltip-score{font-size:11px;color:#9ca3af;margin-bottom:8px}.completeness-tooltip-fields{margin-top:10px;padding-top:10px;border-top:2px solid #e5e7eb}.completeness-tooltip-fields-title{font-size:11px;font-weight:600;color:#6b7280;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.completeness-tooltip-fields-list{list-style:none;padding:0;margin:0}.completeness-tooltip-fields-list--compact{max-height:120px;overflow-y:auto}.completeness-tooltip-field{font-size:12px;color:#374151;padding:3px 0;display:flex;align-items:center;gap:6px}.completeness-tooltip-field-compact{font-size:11px;color:#4b5563;padding:2px 0}.completeness-tooltip-field-more{font-size:11px;color:#9ca3af;padding:2px 0;font-style:italic}.completeness-tooltip-field-indicator{font-size:8px}.completeness-tooltip-field--critical .completeness-tooltip-field-indicator{color:#ef4444}.completeness-tooltip-field--important .completeness-tooltip-field-indicator{color:#f59e0b}.completeness-tooltip-legend{display:flex;gap:12px;border-top:1px solid #e5e7eb;background:#f8fafc;margin:8px -14px -14px;padding:8px 14px;border-radius:0 0 6px 6px}.completeness-tooltip-legend-item{display:flex;align-items:center;gap:4px;font-size:10px;color:#9ca3af}.completeness-tooltip-legend-dot{font-size:8px}.completeness-tooltip-legend-dot--critical{color:#ef4444}.completeness-tooltip-legend-dot--important{color:#f59e0b}.completeness-tooltip-fields-list--compact::-webkit-scrollbar{width:4px}.completeness-tooltip-fields-list--compact::-webkit-scrollbar-track{background:#f3f4f6;border-radius:2px}.completeness-tooltip-fields-list--compact::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.completeness-tooltip-fields-list--compact::-webkit-scrollbar-thumb:hover{background:#9ca3af}.dt-wrapper{display:flex;flex-direction:column;background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.dt-cell--completeness{width:120px;min-width:120px;max-width:120px;text-align:center;padding:.5rem!important;vertical-align:middle;overflow:hidden;white-space:nowrap}.dt-th--completeness{width:120px;min-width:120px;max-width:120px;text-align:center}.dt-th--completeness .dt-th-content{justify-content:center}.dt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;background:#fafbfc;border-bottom:1px solid #e2e8f0}.dt-toolbar-left,.dt-toolbar-right{display:flex;align-items:center;gap:.75rem}.dt-search{position:relative;display:flex;align-items:center}.dt-search-icon{position:absolute;left:.75rem;color:#94a3b8;pointer-events:none}.dt-search-input{width:260px;padding:.5rem .75rem .5rem 2.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;color:#1e293b;transition:all .15s ease}.dt-search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.dt-toolbar-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem .875rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-weight:500;color:#475569;cursor:pointer;transition:all .15s ease}.dt-toolbar-btn:hover{background:#f8fafc;border-color:#cbd5e1}.dt-toolbar-btn.active{background:#eff6ff;border-color:#3b82f6;color:#1e40af}.dt-toolbar-badge{display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background:#3b82f6;color:#fff;font-size:.6875rem;font-weight:600;border-radius:100px}.dt-count{font-size:.8125rem;color:#64748b}.dt-column-toggle{position:relative}.dt-column-menu-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;font-size:.8125rem;font-weight:600;color:#1e293b}.dt-column-menu-reset{background:none;border:none;font-size:.75rem;color:#3b82f6;cursor:pointer}.dt-column-menu-reset:hover{text-decoration:underline}.dt-column-menu-list{max-height:280px;overflow-y:auto;padding:.5rem}.dt-column-menu-item{display:flex;align-items:flex-start;gap:.625rem;padding:.5rem .625rem;border-radius:6px;font-size:.8125rem;color:#334155;cursor:pointer;transition:background .1s ease}.dt-column-menu-item span{flex:1;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word}.dt-column-menu-item:hover{background:#f8fafc}.dt-column-menu-item input{width:16px;height:16px;margin-top:2px;flex-shrink:0;accent-color:#3b82f6}.dt-filters{display:flex;align-items:flex-end;gap:1rem;padding:1rem 1.25rem;background:#fff;border-bottom:1px solid #e2e8f0}.dt-filter-item{display:flex;flex-direction:column;gap:.375rem}.dt-filter-label{font-size:.6875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.025em}.dt-filter-input{width:160px;padding:.4375rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;color:#1e293b}.dt-filter-input:focus{outline:none;background:#fff;border-color:#3b82f6}.dt-filters-clear{padding:.4375rem .75rem;background:none;border:none;font-size:.8125rem;color:#ef4444;cursor:pointer}.dt-filters-clear:hover{text-decoration:underline}.dt-container{overflow-x:auto}.dt-table{width:100%;border-collapse:collapse}.dt-thead{position:sticky;top:0;z-index:100;background:#f8fafc}.dt-th{padding:.5rem .75rem!important;text-align:left;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0;white-space:nowrap;-webkit-user-select:none;user-select:none;line-height:1.2}.dt-th--sortable{cursor:pointer}.dt-th--sortable:hover{color:#334155;background:#f1f5f9}.dt-th--sorted{color:#1e40af;background:#eff6ff}.dt-th-content{display:flex;align-items:center;gap:.5rem}.dt-sort-icon{font-size:.75rem;color:#94a3b8}.dt-th--sorted .dt-sort-icon{color:#3b82f6}.dt-th--checkbox{width:48px}.dt-th--actions{width:100px;text-align:center}.dt-tbody{background:#fff}.dt-row{border-bottom:1px solid #f1f5f9;transition:background .1s ease;position:relative;z-index:1}.dt-row:hover{background:#f8fafc}.dt-row--clickable{cursor:pointer}.dt-row--clickable:hover{background:#f1f5f9!important}.dt-row--selected{background:#eff6ff}.dt-row--selected:hover{background:#dbeafe}.dt-cell{padding:.5rem .75rem!important;font-size:.875rem;color:#334155;vertical-align:middle;line-height:1.3}.dt-cell--primary{font-weight:500;color:#1e293b}.dt-cell--checkbox{width:48px}.dt-cell--actions{width:100px}.dt-cell-empty{color:#cbd5e1}.dt-cell-truncated{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:help;position:relative;border-bottom:1px dotted #94a3b8}.dt-cell-truncated:hover{color:#1e40af;border-bottom-color:#3b82f6}.dt-cell-tooltip{background:#1e293b!important;color:#fff!important;font-size:.8125rem}.dt-cell-tooltip .tooltip-content{padding:.75rem 1rem}.dt-checkbox{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.dt-badge{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:100px;font-size:.75rem;font-weight:500}.dt-badge--success{background:#dcfce7;color:#166534}.dt-badge--neutral{background:#f1f5f9;color:#475569}.dt-badge--warning{background:#fef3c7;color:#92400e}.dt-badge--error{background:#fee2e2;color:#991b1b}.dt-badge--active,.dt-badge--enabled{background:#dcfce7;color:#166534}.dt-badge--inactive,.dt-badge--disabled{background:#f1f5f9;color:#64748b}.dt-actions{display:flex;align-items:center;justify-content:center;gap:.375rem}.dt-action-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s ease}.dt-action-btn:hover{background:#f1f5f9;color:#334155}.dt-action-btn--edit:hover{background:#eff6ff;color:#3b82f6}.dt-action-btn--delete:hover{background:#fef2f2;color:#ef4444}.dt-empty-cell{padding:0}.dt-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.dt-empty-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:#f8fafc;border-radius:20px;color:#94a3b8;margin-bottom:1.25rem}.dt-empty-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.dt-empty-message{font-size:.875rem;color:#64748b;margin:0}.dt-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.dt-error-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:#fef2f2;border-radius:20px;color:#ef4444;margin-bottom:1.25rem}.dt-error-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.dt-error-message{font-size:.875rem;color:#64748b;margin:0 0 1.25rem}.dt-error-btn{padding:.625rem 1.25rem;background:#3b82f6;border:none;border-radius:8px;font-size:.875rem;font-weight:500;color:#fff;cursor:pointer;transition:background .15s ease}.dt-error-btn:hover{background:#2563eb}.dt-row--skeleton .dt-cell{padding:.5rem .75rem}.dt-skeleton{height:16px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px}.dt-skeleton--checkbox{width:16px;height:16px;border-radius:4px}.dt-skeleton--btn{width:32px;height:32px;border-radius:6px;margin:0 auto}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.dt-pagination{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:#fafbfc;border-top:1px solid #e2e8f0}.dt-pagination-info{font-size:.8125rem;color:#64748b}.dt-pagination-controls{display:flex;align-items:center;gap:.25rem}.dt-pagination-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;transition:all .15s ease}.dt-pagination-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.dt-pagination-btn:disabled{opacity:.4;cursor:not-allowed}.dt-pagination-pages{display:flex;align-items:center;gap:.25rem;margin:0 .5rem}.dt-pagination-page{min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:6px;font-size:.8125rem;font-weight:500;color:#475569;cursor:pointer;transition:all .15s ease}.dt-pagination-page:hover{background:#f1f5f9}.dt-pagination-page.active{background:#3b82f6;color:#fff}@media(max-width:768px){.dt-toolbar{flex-direction:column;align-items:stretch}.dt-toolbar-left,.dt-toolbar-right{justify-content:space-between}.dt-search-input{width:100%}.dt-filters{flex-wrap:wrap}.dt-pagination{flex-direction:column;gap:1rem}}.form-renderer{display:flex;flex-direction:column;gap:1.25rem}.form-section{display:flex;flex-direction:column;gap:.875rem}.form-section-header{padding-bottom:.625rem;border-bottom:1px solid #e2e8f0}.form-section-title{font-size:.9375rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.form-section-description{font-size:.8125rem;color:#64748b;margin:0}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.875rem 1rem}@media(max-width:1200px){.form-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.form-grid{grid-template-columns:1fr}}.form-field{display:flex;flex-direction:column;gap:.375rem}.form-field--full{grid-column:1 / -1}.form-field--compact{gap:.25rem}.form-field--compact .form-label{font-size:.75rem}.form-field--compact .form-input{padding:.4375rem .75rem;font-size:.8125rem}.form-label{display:flex;align-items:center;gap:.25rem;font-size:.8125rem;font-weight:500;color:#475569}.form-required{color:#ef4444}.form-description{font-size:.75rem;color:#94a3b8;margin:0}.form-input{width:100%;padding:.5rem .625rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;color:#1e293b;transition:all .15s ease}.form-input::placeholder{color:#94a3b8}.form-input:hover:not(:disabled):not(:focus){border-color:#cbd5e1}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input--error{border-color:#ef4444}.form-input--error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.form-input--readonly{background:#f8fafc;color:#64748b;cursor:not-allowed}.form-input--empty{border:2px solid #ef4444!important;background-color:#fef2f2!important}.form-input--empty:focus{border-color:#dc2626!important;box-shadow:0 0 0 3px #ef44441a!important}.form-field--empty{background:#fef2f2;padding:.875rem;border-radius:8px;border:1px solid #fecaca}.form-label--critical{color:#dc2626;font-weight:600}.form-empty-indicator{font-size:.75rem;color:#ef4444;font-weight:500;font-style:italic;margin-left:.5rem}.form-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}textarea.form-input{resize:vertical;min-height:100px}select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2.5rem}.form-readonly-value{padding:.5625rem 0;font-size:.875rem;color:#1e293b}.form-empty{color:#cbd5e1}.form-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer}.form-toggle input{display:none}.form-toggle-slider{position:relative;width:44px;height:24px;background:#e2e8f0;border-radius:100px;transition:all .2s ease}.form-toggle-slider:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.form-toggle input:checked+.form-toggle-slider{background:#3b82f6}.form-toggle input:checked+.form-toggle-slider:after{transform:translate(20px)}.form-toggle input:disabled+.form-toggle-slider{opacity:.5;cursor:not-allowed}.form-toggle-label{font-size:.875rem;color:#475569}.form-multiselect{position:relative}.form-multiselect-trigger{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:42px;padding:.375rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .15s ease}.form-multiselect.open .form-multiselect-trigger,.form-multiselect-trigger:hover{border-color:#cbd5e1}.form-multiselect-tags{display:flex;flex-wrap:wrap;gap:.375rem}.form-multiselect-tag{display:inline-flex;align-items:center;padding:.1875rem .5rem;background:#eff6ff;border-radius:4px;font-size:.75rem;color:#1e40af}.form-multiselect-more{display:inline-flex;align-items:center;padding:.1875rem .5rem;background:#f1f5f9;border-radius:4px;font-size:.75rem;color:#64748b}.form-multiselect-placeholder{font-size:.875rem;color:#94a3b8}.form-multiselect-arrow{flex-shrink:0;color:#64748b;transition:transform .2s ease}.form-multiselect.open .form-multiselect-arrow{transform:rotate(180deg)}.form-multiselect-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:200px;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 40px #0000001f;z-index:50}.form-multiselect-option{display:flex;align-items:center;gap:.625rem;padding:.625rem .875rem;font-size:.875rem;color:#334155;cursor:pointer;transition:background .1s ease}.form-multiselect-option:hover{background:#f8fafc}.form-multiselect-option.selected{background:#eff6ff;color:#1e40af}.form-multiselect-option input{width:16px;height:16px;accent-color:#3b82f6}.form-error{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:#ef4444}.form-actions{display:flex;align-items:center;justify-content:space-between;padding-top:1.5rem;border-top:1px solid #e2e8f0}.form-actions-left,.form-actions-right{display:flex;align-items:center;gap:.75rem}.form-dirty-indicator{display:flex;align-items:center;gap:.375rem;font-size:.8125rem;color:#f59e0b}.form-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.form-btn:disabled{opacity:.6;cursor:not-allowed}.form-btn--secondary{background:#fff;border:1px solid #e2e8f0;color:#475569}.form-btn--secondary:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.form-btn--primary{background:#3b82f6;border:1px solid #3b82f6;color:#fff}.form-btn--primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb}.form-btn-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.form-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:4rem 2rem;color:#64748b;font-size:.875rem}.form-loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}input[type=date].form-input,input[type=datetime-local].form-input,input[type=time].form-input{min-height:42px}@media(max-width:640px){.form-actions{flex-direction:column;gap:1rem}.form-actions-left,.form-actions-right{width:100%;justify-content:center}.form-btn{flex:1}}.tags-editor{display:flex;flex-direction:column;height:100%}.tags-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.tags-count{font-size:.8125rem;color:#64748b}.tags-header-actions{display:flex;align-items:center;gap:.5rem}.tags-regenerate-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4375rem .875rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;font-size:.8125rem;font-weight:500;color:#16a34a;cursor:pointer;transition:all .15s ease}.tags-regenerate-btn:hover:not(:disabled){background:#dcfce7;border-color:#86efac}.tags-regenerate-btn:disabled{opacity:.5;cursor:not-allowed}.tags-add-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4375rem .875rem;background:#eff6ff;border:none;border-radius:6px;font-size:.8125rem;font-weight:500;color:#3b82f6;cursor:pointer;transition:all .15s ease}.tags-add-btn:hover:not(:disabled){background:#dbeafe}.tags-add-btn:disabled{opacity:.5;cursor:not-allowed}.tags-add-form{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:1rem}.tags-form-row{display:flex;gap:.75rem}.tags-form-actions{display:flex;justify-content:flex-end;gap:.5rem}.tags-input{flex:1;padding:.5rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;color:#1e293b;transition:all .15s ease}.tags-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.tags-input--small{padding:.375rem .625rem;font-size:.8125rem}.tags-btn{padding:.4375rem .875rem;border-radius:6px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s ease}.tags-btn--secondary{background:#fff;border:1px solid #e2e8f0;color:#475569}.tags-btn--secondary:hover{background:#f8fafc}.tags-btn--primary{background:#3b82f6;border:1px solid #3b82f6;color:#fff}.tags-btn--primary:hover:not(:disabled){background:#2563eb}.tags-btn:disabled{opacity:.6;cursor:not-allowed}.tags-list{display:flex;flex-wrap:wrap;gap:.5rem;flex:1;overflow:auto;align-content:flex-start}.tags-item{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:100px;transition:all .15s ease}.tags-item:hover{background:#dbeafe;border-color:#93c5fd}.tags-item-content{display:flex;align-items:center;gap:.375rem}.tags-item-name{font-size:.8125rem;font-weight:500;color:#1e40af;white-space:nowrap}.tags-item-value{font-size:.75rem;color:#3b82f6;white-space:nowrap}.tags-item-edit{display:flex;align-items:center;gap:.5rem;width:100%}.tags-item-actions{display:flex;align-items:center;gap:.125rem}.tags-icon-btn{width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:50%;color:#3b82f6;cursor:pointer;transition:all .15s ease}.tags-icon-btn:hover{background:#bfdbfe;color:#1e40af}.tags-icon-btn--save{color:#22c55e}.tags-icon-btn--save:hover{background:#dcfce7;color:#16a34a}.tags-icon-btn--cancel{color:#64748b}.tags-icon-btn--cancel:hover{background:#f1f5f9}.tags-icon-btn--delete{color:#93c5fd}.tags-icon-btn--delete:hover{background:#fee2e2;color:#ef4444}.tags-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;text-align:center;color:#94a3b8}.tags-empty svg{margin-bottom:1rem}.tags-empty p{font-size:.875rem;margin:0 0 1rem}.tags-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:3rem 1.5rem;color:#64748b;font-size:.875rem}.tags-loading-spinner{width:24px;height:24px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .7s linear infinite}.tags-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem 1.5rem;text-align:center;color:#ef4444;font-size:.875rem}.tags-retry-btn{padding:.375rem .75rem;background:#fee2e2;border:none;border-radius:6px;font-size:.8125rem;color:#ef4444;cursor:pointer;transition:background .15s ease}.tags-retry-btn:hover{background:#fecaca}.progress-dialog-overlay{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;animation:progressFadeIn .2s ease}@keyframes progressFadeIn{0%{opacity:0}to{opacity:1}}.progress-dialog{width:100%;max-width:420px;background:#fff;border-radius:20px;padding:2.5rem 2rem 2rem;box-shadow:0 25px 60px #0003;display:flex;flex-direction:column;align-items:center;text-align:center;animation:progressSlideIn .3s ease}@keyframes progressSlideIn{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.progress-dialog-spinner-wrap{position:relative;width:56px;height:56px;margin-bottom:1.25rem}.progress-dialog-spinner{width:56px;height:56px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-right-color:#3b82f6;border-radius:50%;animation:progressSpin 1s linear infinite}.progress-dialog-spinner-inner{position:absolute;top:10px;left:10px;width:36px;height:36px;border:3px solid #e2e8f0;border-bottom-color:#8b5cf6;border-radius:50%;animation:progressSpin 1.5s linear infinite reverse}@keyframes progressSpin{to{transform:rotate(360deg)}}.progress-dialog-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin:0 0 1.25rem}.progress-dialog-steps{width:100%;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem;text-align:left}.progress-dialog-step{display:flex;align-items:center;gap:.625rem;padding:.375rem .75rem;border-radius:8px;transition:all .3s ease}.progress-dialog-step.done{opacity:.55}.progress-dialog-step.active{background:#eff6ff}.progress-dialog-step.pending{opacity:.35}.progress-dialog-step-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.progress-dialog-step.done .progress-dialog-step-icon{color:#22c55e}.progress-dialog-step-dot{display:block;width:8px;height:8px;border-radius:50%;background:#cbd5e1}.progress-dialog-step-dot.active{background:#3b82f6;animation:progressPulse 1.2s ease-in-out infinite}@keyframes progressPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.7}}.progress-dialog-step-text{font-size:.8125rem;font-weight:500;color:#334155}.progress-dialog-step.done .progress-dialog-step-text{text-decoration:line-through;color:#64748b}.progress-dialog-step.active .progress-dialog-step-text{color:#1e40af;font-weight:600}.progress-dialog-bar-track{width:100%;height:4px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:1rem}.progress-dialog-bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#8b5cf6);border-radius:4px;transition:width .6s ease}.progress-dialog-hint{font-size:.8125rem;color:#94a3b8;margin:0}.identity-warning-overlay{position:fixed;inset:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.identity-warning-modal{width:100%;max-width:600px;max-height:90vh;background:#fff;border-radius:16px;padding:2rem;box-shadow:0 25px 50px #00000040;overflow-y:auto;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.identity-warning-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border:3px solid #fbbf24;border-radius:50%;color:#92400e}.identity-warning-title{font-size:1.375rem;font-weight:700;color:#1e293b;margin:0 0 1rem;text-align:center}.identity-warning-message{font-size:.9375rem;color:#475569;line-height:1.6;margin-bottom:1.5rem}.identity-warning-message p{margin:0 0 1rem}.identity-warning-fields{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1rem;margin:1rem 0}.identity-field-change{margin-bottom:.75rem}.identity-field-change:last-child{margin-bottom:0}.identity-field-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.375rem}.identity-field-values{display:flex;align-items:center;gap:.75rem;font-size:.875rem}.identity-field-values svg{flex-shrink:0;color:#3b82f6}.old-value{flex:1;padding:.5rem .75rem;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-family:ui-monospace,monospace;font-size:.8125rem}.new-value{flex:1;padding:.5rem .75rem;background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;color:#166534;font-family:ui-monospace,monospace;font-size:.8125rem}.identity-warning-info{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.info-box{display:flex;gap:.75rem;padding:1rem;border-radius:10px;font-size:.875rem;line-height:1.6}.info-box svg{flex-shrink:0;margin-top:.125rem}.info-box--warning{background:#fffbeb;border:1px solid #fde68a;color:#78350f}.info-box--warning svg{color:#f59e0b}.info-box--tip{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.info-box--tip svg{color:#3b82f6}.info-box strong{color:inherit;font-weight:600}.info-box ul{margin:.5rem 0 0;padding-left:1.25rem}.info-box li{margin:.25rem 0}.info-box ul ul{margin-top:.25rem}.identity-warning-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.identity-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.identity-btn--secondary{background:#f1f5f9;color:#475569}.identity-btn--secondary:hover{background:#e2e8f0;color:#334155}.identity-btn--primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 8px #3b82f64d}.identity-btn--primary:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f666;transform:translateY(-1px)}@media(max-width:640px){.identity-warning-modal{padding:1.5rem;max-height:95vh}.identity-field-values{flex-direction:column;align-items:stretch}.identity-field-values svg{transform:rotate(90deg);align-self:center}.identity-warning-actions{flex-direction:column}.identity-btn{width:100%}}.locations-editor{display:flex;flex-direction:column;height:100%}.locations-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.locations-count{font-size:.8125rem;color:#64748b}.locations-add-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4375rem .875rem;background:#fce7f3;border:none;border-radius:6px;font-size:.8125rem;font-weight:500;color:#ec4899;cursor:pointer;transition:all .15s ease}.locations-add-btn:hover{background:#fbcfe8}.locations-list{display:flex;flex-direction:column;gap:.5rem;flex:1;overflow:auto}.locations-item{display:flex;align-items:flex-start;gap:.75rem;padding:.875rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;transition:all .15s ease}.locations-item:hover{background:#f1f5f9;border-color:#cbd5e1}.locations-item-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fce7f3;border-radius:8px;color:#ec4899;flex-shrink:0}.locations-item-content{flex:1;min-width:0}.locations-item-id{display:inline-block;padding:.125rem .5rem;background:#f1f5f9;border-radius:4px;font-size:.75rem;font-weight:600;color:#64748b;font-family:ui-monospace,monospace;margin-bottom:.25rem}.locations-item-name{display:block;font-size:.875rem;font-weight:500;color:#1e293b;margin-bottom:.125rem}.locations-item-address{display:block;font-size:.8125rem;color:#475569;line-height:1.4;white-space:normal;word-break:break-word}.locations-item-edit{display:flex;align-items:center;gap:.5rem;width:100%}.locations-input{flex:1;padding:.4375rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;color:#1e293b;transition:all .15s ease}.locations-input:focus{outline:none;border-color:#ec4899;box-shadow:0 0 0 3px #ec48991a}.locations-item-actions{display:flex;align-items:center;gap:.25rem}.locations-icon-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s ease}.locations-icon-btn:hover{background:#e2e8f0;color:#334155}.locations-icon-btn--save{color:#22c55e}.locations-icon-btn--save:hover{background:#dcfce7;color:#16a34a}.locations-icon-btn--cancel,.locations-icon-btn--delete{color:#ef4444}.locations-icon-btn--cancel:hover,.locations-icon-btn--delete:hover{background:#fee2e2;color:#dc2626}.locations-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;text-align:center;color:#94a3b8}.locations-empty svg{margin-bottom:1rem}.locations-empty p{font-size:.875rem;margin:0 0 1rem}.locations-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:3rem 1.5rem;color:#64748b;font-size:.875rem}.locations-loading-spinner{width:24px;height:24px;border:2px solid #fce7f3;border-top-color:#ec4899;border-radius:50%;animation:spin .7s linear infinite}.locations-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem 1.5rem;text-align:center;color:#ef4444;font-size:.875rem}.locations-retry-btn{padding:.375rem .75rem;background:#fee2e2;border:none;border-radius:6px;font-size:.8125rem;color:#ef4444;cursor:pointer;transition:background .15s ease}.locations-retry-btn:hover{background:#fecaca}.locations-modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.locations-modal{width:100%;max-width:480px;max-height:70vh;background:#fff;border-radius:16px;display:flex;flex-direction:column;box-shadow:0 25px 50px #00000026}.locations-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0}.locations-modal-header h3{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.locations-modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s ease}.locations-modal-close:hover{background:#f1f5f9;color:#334155}.locations-modal-search{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;border-bottom:1px solid #e2e8f0}.locations-modal-search svg{color:#94a3b8;flex-shrink:0}.locations-modal-search input{flex:1;border:none;background:transparent;font-size:.875rem;color:#1e293b}.locations-modal-search input:focus{outline:none}.locations-modal-search input::placeholder{color:#94a3b8}.locations-modal-list{flex:1;overflow-y:auto;padding:.5rem}.locations-modal-empty{padding:2rem 1rem;text-align:center;color:#94a3b8;font-size:.875rem}.locations-modal-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;background:transparent;border:none;border-radius:8px;text-align:left;cursor:pointer;transition:background .15s ease}.locations-modal-item:hover{background:#f8fafc}.locations-modal-item-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:8px;color:#64748b;flex-shrink:0}.locations-modal-item:hover .locations-modal-item-icon{background:#fce7f3;color:#ec4899}.locations-modal-item-content{flex:1;min-width:0}.locations-modal-item-name{display:block;font-size:.875rem;font-weight:500;color:#1e293b}.locations-modal-item-address{display:block;font-size:.75rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.locations-modal-item>svg:last-child{color:#cbd5e1;flex-shrink:0}.locations-modal-item:hover>svg:last-child{color:#ec4899}.structured-sections{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem}.structured-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.structured-section-header{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.25rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.structured-section-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#eff6ff;border-radius:8px;color:#3b82f6;flex-shrink:0}.structured-section-title{font-size:.875rem;font-weight:600;color:#1e293b;margin:0}.structured-section-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1.25rem}@media(max-width:768px){.structured-section-fields{grid-template-columns:1fr}}.structured-field{display:flex;flex-direction:column;gap:.375rem}.structured-field--wide{grid-column:1 / -1}.structured-field--readonly{opacity:.75}.structured-field--identity .structured-field-input{border-color:#ef4444;border-width:2px;background:#fef2f2;box-shadow:0 0 0 3px #ef44441a}.structured-field-label{display:flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.structured-field-badge{display:inline-flex;padding:.125rem .5rem;border-radius:100px;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.structured-field-badge.ro{background:#f1f5f9;color:#64748b}.structured-field-badge.identity{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5;font-weight:800}.structured-field-value{padding:.5rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;color:#334155;min-height:36px;display:flex;align-items:center;word-break:break-word}.structured-field-input{padding:.5rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;color:#1e293b;transition:border-color .15s ease,box-shadow .15s ease;font-family:inherit}.structured-field-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.structured-field-textarea{resize:vertical;min-height:72px}.structured-field-checkbox{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.structured-section--identity{border-color:#fca5a5;border-width:2px;box-shadow:0 0 0 3px #ef444414}.structured-section-header--identity{background:linear-gradient(to bottom,#fef2f2,#fee2e2);border-bottom-color:#fca5a5;border-bottom-width:2px}.structured-section-icon--identity{background:#fee2e2;color:#dc2626;border:2px solid #fca5a5}.structured-section-title--identity{color:#991b1b;font-weight:700}.structured-section--internal{border-color:#e0e7ff;background:#fafbff}.structured-section-header--internal{background:#eef2ff;border-bottom-color:#e0e7ff}.structured-section-icon--internal{background:#e0e7ff;color:#6366f1}.structured-section-hint{display:block;font-size:.6875rem;color:#6366f1;font-weight:500;margin-top:.125rem}.structured-field--internal .structured-field-label{color:#6366f1}.structured-field-value--mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8125rem;color:#4338ca;background:#eef2ff;border-color:#c7d2fe;word-break:break-all}.run-history-panel{display:flex;flex-direction:column;height:100%;background:#fafbfc}.run-history-header{padding:.875rem 1.5rem;border-bottom:1px solid #e2e8f0;background:#fff}.run-history-header-left{display:flex;align-items:center;gap:.75rem}.run-history-header-left .panel-title{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.run-history-count{display:inline-flex;align-items:center;padding:.125rem .5rem;background:#f1f5f9;border-radius:10px;font-size:.75rem;font-weight:500;color:#64748b}.run-history-header-actions{display:flex;gap:.5rem}.run-history-action-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s ease}.run-history-action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}.run-history-table,.run-history-row{display:none}.run-card-list{flex:1;overflow-y:auto;padding:1rem 1.25rem;display:grid;grid-template-columns:1fr;gap:.75rem}.run-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 4px #94a3b81f}.run-card-header{display:grid;grid-template-columns:1fr;gap:.75rem;padding:.875rem 1rem;cursor:pointer}.run-card-title{display:flex;align-items:center;gap:.5rem}.run-card-id{font-size:.95rem;font-weight:700;color:#0f172a}.run-card-id-system{font-family:Consolas,Monaco,Courier New,monospace;font-size:.75rem;color:#94a3b8}.run-card-meta{display:grid;grid-template-columns:minmax(240px,1fr) minmax(220px,auto) auto auto;align-items:center;gap:.75rem}.run-stage{display:grid;grid-template-rows:auto auto;gap:.25rem}.run-stage-bar{width:100%;height:6px;background:#f1f5f9;border-radius:6px;overflow:hidden}.run-stage-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#06b6d4)}.run-stage-labels{display:flex;align-items:center;gap:.5rem}.run-stage-label{font-size:.625rem;color:#94a3b8;text-transform:capitalize}.run-stage-label.done{color:#2563eb;font-weight:600}.run-card-counts{display:flex;align-items:center;gap:.4rem}.run-card-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .5rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:9999px;font-size:.75rem}.run-card-chip-name{color:#64748b;text-transform:capitalize}.run-card-chip-val{color:#1e293b;font-weight:600}.run-lang-badges{display:inline-flex;align-items:center;gap:.25rem;margin-left:.5rem}.run-lang-badge{display:inline-flex;align-items:center;padding:.1rem .4rem;border-radius:9999px;font-size:.625rem;font-weight:700}.run-lang-badge--en{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.run-lang-badge--ar{background:#ecfeff;color:#0e7490;border:1px solid #a5f3fc}.run-card-time{font-size:.75rem;color:#94a3b8;justify-self:end}.run-card-actions{display:flex;justify-self:end;gap:.5rem}.run-action-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .6rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#334155;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .15s ease}.run-action-btn svg{color:currentColor}.run-action-btn:hover{background:#f8fafc;border-color:#cbd5e1}.run-action-btn--neutral{color:#334155}.run-action-btn--restore{color:#b45309;border-color:#fde68a;background:#fffbeb}.run-action-btn--restore:hover{border-color:#fbbf24;background:#fef3c7}.run-action-btn--compare{color:#5b21b6;border-color:#ddd6fe;background:#f5f3ff}.run-action-btn--compare:hover{border-color:#7c3aed;background:#ede9fe}.run-action-btn--danger{color:#b91c1c;border-color:#fecaca;background:#fff1f2}.run-action-btn--danger:hover{border-color:#ef4444;background:#ffe4e6}.run-card-details{padding:.75rem 1rem 1rem;border-top:1px solid #f1f5f9}@media(max-width:1024px){.run-card-list{padding:.75rem}.run-card-meta{grid-template-columns:1fr}.run-card-actions{justify-self:start;flex-wrap:wrap}}.run-history-row:hover,.run-history-row.expanded{background:#f8fafc}.run-history-row-main{display:flex;align-items:center;gap:.875rem;padding:.625rem 1.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.run-chevron{flex-shrink:0;color:#94a3b8;transition:transform .15s ease}.run-chevron.expanded{transform:rotate(0)}.run-chevron:not(.expanded){transform:rotate(-90deg)}.run-id-cell{display:flex;align-items:center;gap:.5rem;min-width:120px;position:relative}.run-id-text{font-size:.875rem;font-weight:600;color:#1e293b}.run-id-system{font-family:Consolas,Monaco,Courier New,monospace;font-size:.75rem;color:#94a3b8;font-weight:400;margin-left:.25rem}.run-edit-name-btn{display:none;padding:.25rem;background:transparent;border:none;color:#64748b;cursor:pointer;border-radius:4px;transition:all .15s ease;margin-left:.25rem}.run-id-cell:hover .run-edit-name-btn{display:inline-flex;align-items:center;justify-content:center}.run-edit-name-btn:hover{background:#f1f5f9;color:#3b82f6}.run-name-edit-wrapper{display:flex;align-items:center;gap:.5rem}.run-name-edit-input{font-family:Consolas,Monaco,Courier New,monospace;font-size:.875rem;font-weight:600;color:#1e40af;padding:.35rem .6rem;border:2px solid #3b82f6;border-radius:4px;background:#fff;outline:none;min-width:200px;box-shadow:0 0 0 3px #3b82f61a}.run-name-edit-input:focus{border-color:#2563eb}.run-name-edit-actions{display:flex;align-items:center;gap:.25rem}.run-name-save-btn,.run-name-cancel-btn{display:inline-flex;align-items:center;justify-content:center;padding:.35rem;border:none;border-radius:4px;cursor:pointer;transition:all .15s ease}.run-name-save-btn{background:#10b981;color:#fff}.run-name-save-btn:hover{background:#059669}.run-name-cancel-btn{background:#ef4444;color:#fff}.run-name-cancel-btn:hover{background:#dc2626}.run-badge{display:inline-flex;padding:.125rem .4rem;border-radius:8px;font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.run-badge-latest{background:#dcfce7;color:#15803d}.run-status-pill{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:12px;font-size:.75rem;font-weight:500;white-space:nowrap;flex-shrink:0}.run-status-pill.badge-extract{background:#eff6ff;color:#1e40af}.run-status-pill.badge-dedupe{background:#fef3c7;color:#b45309}.run-status-pill.badge-tags{background:#f0f0ff;color:#4338ca}.run-status-pill.badge-export{background:#f0fdf4;color:#15803d}.run-status-pill.badge-edit{background:#fdf2f8;color:#9f1239}.run-status-pill.badge-deprecate{background:#fef2f2;color:#991b1b}.run-status-pill.badge-default{background:#f8fafc;color:#64748b}.run-entities-cell{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.entity-count-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background:#f8fafc;border-radius:6px;font-size:.75rem;white-space:nowrap}.entity-count-name{color:#64748b;text-transform:capitalize}.entity-count-value{color:#1e293b;font-weight:600}.run-entities-empty{font-size:.75rem;color:#94a3b8}.run-timestamp{font-size:.75rem;color:#94a3b8;white-space:nowrap;flex-shrink:0}.run-actions{display:flex;gap:.25rem;opacity:0;transition:opacity .15s ease}.run-history-row:hover .run-actions{opacity:1}.run-action-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:transparent;border:1px solid transparent;border-radius:4px;color:#94a3b8;cursor:pointer;transition:all .12s ease}.run-action-icon:hover{background:#fff;border-color:#e2e8f0;color:#475569}.run-history-row-details{padding:.75rem 1.5rem .75rem 3.5rem;border-top:1px solid #f1f5f9;background:#fafbfc}.run-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin-bottom:.875rem}.run-detail-group{display:flex;flex-direction:column;gap:.25rem}.run-detail-label{font-size:.6875rem;font-weight:500;color:#94a3b8;text-transform:uppercase;letter-spacing:.025em}.run-detail-value{font-size:.8125rem;color:#1e293b;font-weight:500}.run-activities-compact{display:flex;flex-direction:column;gap:.5rem}.activity-row{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:.75rem}.activity-status{flex-shrink:0;padding:.125rem .5rem;border-radius:8px;font-size:.6875rem;font-weight:600;text-transform:capitalize}.activity-status.badge-extract{background:#eff6ff;color:#1e40af}.activity-status.badge-dedupe{background:#fef3c7;color:#b45309}.activity-status.badge-tags{background:#f0f0ff;color:#4338ca}.activity-status.badge-export{background:#f0fdf4;color:#15803d}.activity-status.badge-edit{background:#fdf2f8;color:#9f1239}.activity-status.badge-deprecate{background:#fef2f2;color:#991b1b}.activity-status.badge-default{background:#f8fafc;color:#64748b}.activity-desc{color:#475569;flex-shrink:0}.activity-meta{color:#94a3b8;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-time{color:#cbd5e1;flex-shrink:0;font-size:.6875rem}.activity-duration-chip{display:inline-flex;padding:.125rem .375rem;background:#f1f5f9;border-radius:4px;color:#64748b;font-size:.6875rem;font-weight:500;flex-shrink:0}.panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem;color:#94a3b8}.panel-empty svg{color:#cbd5e1}.panel-empty p{margin:0;font-size:.875rem;color:#64748b}@media(max-width:1024px){.run-entities-cell{flex-wrap:wrap}.activity-meta{display:none}}@media(max-width:768px){.run-history-row-main{flex-wrap:wrap;gap:.5rem}.run-timestamp{order:10;width:100%;margin-left:2rem}.run-actions{order:11}.run-details-grid{grid-template-columns:1fr}}.panel-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem}.loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.panel-loading p{margin:0;font-size:.875rem;color:#64748b}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;width:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;color:#1e293b;line-height:1.5}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}a{color:#3b82f6;text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
