@import"https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap";*,*:before,*:after{box-sizing:border-box}html{margin:0;padding:0;width:100%}body{margin:0;padding:0;width:100%;background:#0f0f11}#root{width:100%;min-height:100vh;display:block}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.quota-editor-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;overflow-y:auto;padding:40px 20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.quota-editor{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:32px;max-width:1200px;width:100%;font-family:DM Sans,-apple-system,sans-serif;color:#1a1a2e;margin:auto;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000026}.editor-header{margin-bottom:32px}.editor-header h2{margin:0 0 8px;font-size:28px;font-weight:600;color:#1a1a2e}.editor-header p{margin:0;color:#64748b;font-size:15px}.add-group-section{display:flex;gap:12px;margin-bottom:32px;padding:20px;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}.group-name-input{flex:1;padding:12px 16px;font-size:15px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#1a1a2e;outline:none;transition:border-color .2s}.group-name-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.group-name-input::placeholder{color:#9ca3af}.btn-add-group{padding:12px 24px;background:#2563eb;border:none;border-radius:6px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-add-group:hover{background:#1d4ed8}.btn-bulk-import{padding:12px 24px;background:#2563eb;border:none;border-radius:6px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-bulk-import:hover{background:#1d4ed8}.bulk-import-modal{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.bulk-modal-content{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:32px;max-width:700px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000026}.bulk-modal-content h3{margin:0 0 16px;font-size:24px;font-weight:600;color:#1a1a2e}.bulk-modal-content p{margin:0 0 12px;color:#64748b;font-size:14px}.format-help{background:#f8fafc;padding:8px 12px;border-radius:6px;border:1px solid #e5e7eb}.format-help code{color:#16a34a;font-family:Courier New,monospace}.bulk-textarea{width:100%;padding:12px;background:#f8fafc;border:1px solid #d1d5db;border-radius:6px;color:#1a1a2e;font-family:Courier New,monospace;font-size:13px;resize:vertical;outline:none;margin-bottom:16px}.bulk-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.bulk-example{background:#f8fafc;padding:16px;border-radius:6px;border:1px solid #e5e7eb;margin-bottom:24px}.bulk-example strong{display:block;margin-bottom:8px;color:#16a34a}.bulk-example ol{margin:0;padding-left:20px;color:#64748b;font-size:13px;line-height:1.8}.bulk-actions{display:flex;justify-content:flex-end;gap:12px}.empty-quota-state{text-align:center;padding:60px 20px;background:#f8fafc;border-radius:8px;border:1px dashed #d1d5db}.empty-quota-state p{margin:0;color:#64748b;font-size:15px}.quota-groups-list{display:flex;flex-direction:column;gap:16px;margin-bottom:32px}.quota-group-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:all .2s}.quota-group-card:hover{border-color:#cbd5e1}.group-card-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#f1f5f9;border-bottom:1px solid #e5e7eb}.group-card-header h3{margin:0;font-size:18px;font-weight:600;color:#1a1a2e}.group-actions{display:flex;gap:8px}.btn-toggle{padding:8px 16px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;font-size:14px;cursor:pointer;transition:all .2s}.btn-toggle:hover{background:#f9fafb;border-color:#9ca3af}.btn-delete-group{padding:8px 16px;background:transparent;border:1px solid #fca5a5;border-radius:6px;color:#dc2626;font-size:14px;cursor:pointer;transition:all .2s}.btn-delete-group:hover{background:#dc2626;color:#fff;border-color:#dc2626}.group-details{padding:24px}.group-settings{margin-bottom:24px}.form-row{display:flex;align-items:center;gap:12px}.form-row label{font-size:14px;color:#64748b;font-weight:500}.action-select{padding:8px 12px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#1a1a2e;font-size:14px;cursor:pointer}.cells-section{margin-top:20px}.cells-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.cells-header h4{margin:0;font-size:16px;font-weight:600;color:#1a1a2e}.btn-add-cell{padding:8px 16px;background:#2563eb;border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-add-cell:hover{background:#1d4ed8}.no-cells{text-align:center;padding:32px;background:#f8fafc;border-radius:8px;border:1px dashed #d1d5db}.no-cells p{margin:0;color:#64748b}.cell-rows{display:flex;flex-direction:column;gap:8px}.cell-row{display:grid;grid-template-columns:1fr 2fr 100px 40px;gap:8px;align-items:center;padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.cell-input{padding:10px 12px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#1a1a2e;font-size:14px;outline:none;transition:border-color .2s}.cell-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.cell-input::placeholder{color:#9ca3af}.condition-input{font-family:Courier New,monospace;font-size:13px}.target-input{text-align:center;font-weight:600;font-size:16px}.target-field{max-width:100px}.btn-delete-cell{width:36px;height:36px;background:transparent;border:1px solid #fca5a5;border-radius:6px;color:#dc2626;font-size:24px;line-height:1;cursor:pointer;transition:all .2s;padding:0}.btn-delete-cell:hover{background:#dc2626;color:#fff}.helper-section{margin-top:24px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.helper-section summary{font-size:14px;font-weight:600;color:#2563eb;cursor:pointer;-webkit-user-select:none;user-select:none}.helper-section summary:hover{color:#1d4ed8}.helper-content{margin-top:16px;display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto}.helper-question{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#fff;border-radius:6px;font-size:13px;border:1px solid #e5e7eb}.helper-question code{font-family:Courier New,monospace;color:#16a34a;font-weight:600;min-width:120px}.question-type{color:#2563eb;font-weight:500;min-width:80px}.helper-question .question-text{color:#64748b;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:24px;border-top:1px solid #e5e7eb;margin-bottom:32px}.btn-cancel:hover:not(:disabled){background:#f9fafb}.btn-cancel:disabled{opacity:.5;cursor:not-allowed}.btn-save{padding:12px 32px;background:#2563eb;border:none;border-radius:8px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s}.btn-save:hover:not(:disabled){background:#1d4ed8}.btn-save:disabled{opacity:.5;cursor:not-allowed}.editor-help{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:20px 24px}.editor-help h4{margin:0 0 16px;font-size:16px;font-weight:600;color:#2563eb}.editor-help ul{margin:0;padding-left:20px;color:#64748b;font-size:14px;line-height:1.8}.editor-help ul ul{margin-top:8px}.editor-help code{font-family:Courier New,monospace;background:#fff;padding:2px 6px;border-radius:3px;color:#16a34a;font-size:13px}.editor-help strong{color:#1a1a2e}.btn-export{padding:8px 16px;background:#2563eb;border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-export:hover{background:#1d4ed8}.btn-export-all{padding:12px 24px;background:#2563eb;border:none;border-radius:6px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-export-all:hover{background:#1d4ed8}.file-upload-section{margin:20px 0;padding:24px;background:#f8fafc;border:2px dashed #d1d5db;border-radius:8px;text-align:center}.file-upload-section p{margin:0 0 8px;color:#64748b}.file-input{display:none}.file-upload-button{display:inline-block;padding:14px 28px;background:#2563eb;color:#fff;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:12px}.file-upload-button:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:0 4px 12px #2563eb4d}.file-selected{margin-top:16px;padding:12px;background:#f0fdf4;border:1px solid #16a34a;border-radius:6px;color:#16a34a;font-weight:500}@media(max-width:968px){.add-group-section{flex-wrap:wrap}.group-name-input{width:100%}.cell-row{grid-template-columns:1fr;gap:8px}.group-card-header{flex-direction:column;gap:12px;align-items:flex-start}.group-actions{width:100%;flex-wrap:wrap}}@media(max-width:640px){.quota-editor{padding:20px 16px}.editor-header h2{font-size:22px}.add-group-section,.editor-actions{flex-direction:column}.btn-save,.btn-cancel{width:100%;text-align:center}}.survey-xml-editor{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#1e1e1e}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#2d2d2d;border-bottom:1px solid #3e3e3e}.toolbar-left{display:flex;gap:8px}.toolbar-center{flex:1;display:flex;justify-content:center}.toolbar-right{display:flex;align-items:center;gap:12px}.tab-switcher{display:flex;background:#1e1e1e;border:1px solid #3e3e3e;border-radius:4px;overflow:hidden}.tab-btn{padding:6px 16px;background:transparent;border:none;color:#ccc;font-family:DM Sans,sans-serif;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s;border-right:1px solid #3e3e3e}.tab-btn:last-child{border-right:none}.tab-btn:hover{background:#2d2d2d}.tab-btn.active{background:#0e639c;color:#fff}.btn-toolbar{padding:6px 14px;border:1px solid #3e3e3e;border-radius:4px;background:#3c3c3c;color:#ccc;font-family:DM Sans,sans-serif;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s}.btn-toolbar:hover{background:#4c4c4c;border-color:#4e4e4e}.btn-toolbar.btn-primary{background:#0e639c;border-color:#17b;color:#fff}.btn-toolbar.btn-primary:hover{background:#17b}.btn-toolbar.btn-disabled{opacity:.4;cursor:not-allowed}.btn-toolbar.btn-disabled:hover{background:#3c3c3c}.validation-status{font-family:DM Sans,sans-serif;font-size:13px;font-weight:500;padding:4px 12px;border-radius:4px}.validation-status.valid{color:#89d185;background:#89d1851a}.validation-status.invalid{color:#f48771;background:#f487711a}.editor-content{position:relative}.validation-panel{max-height:300px;overflow-y:auto;background:#252526;border-top:1px solid #3e3e3e}.validation-header{padding:12px 16px;background:#2d2d2d;border-bottom:1px solid #3e3e3e}.validation-header h3{margin:0;font-family:DM Sans,sans-serif;font-size:13px;font-weight:600;color:#ccc;text-transform:uppercase;letter-spacing:.05em}.validation-errors,.validation-warnings{padding:8px 0}.validation-error,.validation-warning{display:flex;flex-direction:column;gap:4px;padding:8px 16px;border-left:3px solid transparent;transition:background .15s}.validation-error{border-left-color:#f48771}.validation-error:hover{background:#f487710d}.validation-warning{border-left-color:#cca700}.validation-warning:hover{background:#cca7000d}.error-path,.warning-path{font-family:Fira Code,Courier New,monospace;font-size:12px;color:#569cd6}.error-message,.warning-message{font-family:DM Sans,sans-serif;font-size:13px;color:#ccc}.error-message{color:#f48771}.warning-message{color:#cca700}.validation-panel::-webkit-scrollbar{width:10px}.validation-panel::-webkit-scrollbar-track{background:#1e1e1e}.validation-panel::-webkit-scrollbar-thumb{background:#424242;border-radius:5px}.validation-panel::-webkit-scrollbar-thumb:hover{background:#4e4e4e}.xep-page{min-height:100vh;background:#f5f6f8;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1a1a2e}.xep-container{max-width:1600px;margin:0 auto;padding:20px 28px 0}.xep-loading{display:flex;align-items:center;justify-content:center;height:60vh;font-size:15px;color:#6b7280}.xep-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}.xep-header-left{display:flex;align-items:center;gap:14px;min-width:0}.xep-back-btn{flex-shrink:0;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:7px 13px;font-family:inherit;font-size:13px;font-weight:500;color:#374151;cursor:pointer;transition:background .15s,border-color .15s;white-space:nowrap}.xep-back-btn:hover{background:#f9fafb;border-color:#9ca3af}.xep-title{margin:0 0 2px;font-size:22px;font-weight:600;letter-spacing:-.02em;color:#1a1a2e;white-space:nowrap}.xep-survey-id{margin:0;font-size:11px;color:#9ca3af;font-family:Fira Code,Consolas,monospace;letter-spacing:.01em}.xep-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.xep-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 15px;font-family:inherit;font-size:13px;font-weight:500;border-radius:6px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s;white-space:nowrap;text-decoration:none;border:1px solid transparent;line-height:1.4}.xep-btn-ghost{background:#fff;color:#374151;border-color:#d1d5db}.xep-btn-ghost:hover{background:#f9fafb;border-color:#9ca3af}.xep-btn-secondary{background:#fff;color:#2563eb;border-color:#bfdbfe}.xep-btn-secondary:hover{background:#eff6ff;border-color:#93c5fd}.xep-btn-ai{background:linear-gradient(135deg,#1b5e20,#2e7d32);color:#fff;border-color:transparent;font-weight:600;letter-spacing:.01em;box-shadow:0 1px 3px #2e7d3233}.xep-btn-ai:hover{background:linear-gradient(135deg,#2e7d32,#388e3c);box-shadow:0 4px 12px #2e7d324d;transform:translateY(-1px)}.xep-banner{padding:10px 16px;margin-bottom:12px;border-radius:6px;font-size:13px;font-weight:500;border:1px solid transparent}.xep-banner-success{background:#f0fdf4;color:#166534;border-color:#bbf7d0}.xep-banner-error{background:#fef2f2;color:#991b1b;border-color:#fecaca}.xep-examples{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px 18px;margin-bottom:12px}.xep-examples-label{margin:0 0 10px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:#9ca3af}.xep-examples-grid{display:flex;flex-wrap:wrap;gap:7px}.xep-example-chip{padding:5px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:20px;font-family:inherit;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:background .15s,border-color .15s,color .15s;text-transform:capitalize}.xep-example-chip:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.xep-modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.xep-modal-card{background:#fff;border-radius:10px;max-width:1200px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 24px 64px #0000002e}@media(max-width:768px){.xep-container{padding:16px 16px 0}.xep-header{flex-direction:column;align-items:flex-start}.xep-actions{width:100%}.xep-title{font-size:18px}}.quota-dashboard{max-width:1400px;margin:0 auto;padding:40px 20px;min-height:100vh;background:#f5f6f8;font-family:DM Sans,-apple-system,sans-serif;color:#1a1a2e}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.dashboard-header h1{margin:0 0 8px;font-size:32px;font-weight:600;letter-spacing:-.02em;color:#1a1a2e}.back-link{display:inline-block;color:#64748b;text-decoration:none;font-size:14px;margin-bottom:12px;transition:color .2s}.back-link:hover{color:#2563eb}.survey-title{margin:0;color:#64748b;font-size:16px}.header-actions{display:flex;gap:12px;align-items:center}.auto-refresh-toggle{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#374151;cursor:pointer;transition:all .2s}.auto-refresh-toggle:hover{background:#f9fafb}.auto-refresh-toggle input[type=checkbox]{cursor:pointer}.btn-primary{padding:10px 20px;background:#2563eb;color:#fff;text-decoration:none;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary:hover{background:#1d4ed8}.btn-secondary{padding:10px 20px;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;transition:all .2s}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.empty-state{text-align:center;padding:80px 20px;background:#fff;border-radius:12px;border:1px solid #e5e7eb}.empty-icon{font-size:64px;margin-bottom:20px}.empty-state h2{margin:0 0 12px;font-size:24px;font-weight:600;color:#1a1a2e}.empty-state p{margin:0 0 32px;color:#64748b;font-size:16px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:40px}.summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;transition:all .2s}.summary-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000a}.card-label{font-size:13px;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}.card-value{font-size:36px;font-weight:700;margin-bottom:8px;color:#1a1a2e}.card-detail{font-size:14px;color:#64748b}.quota-groups{display:flex;flex-direction:column;gap:32px}.quota-group{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.group-header h2{margin:0;font-size:20px;font-weight:600;color:#1a1a2e}.cell-count{font-size:13px;color:#64748b;background:#f1f5f9;padding:4px 12px;border-radius:12px}.quota-cells{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.quota-cell{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:20px;transition:all .2s}.quota-cell:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 12px #0000000f}.quota-cell.over_quota{border-color:#f44336}.cell-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.cell-info{flex:1}.cell-label{font-size:16px;font-weight:600;color:#1a1a2e;margin-bottom:4px}.cell-id{font-size:12px;color:#94a3b8;font-family:monospace}.cell-status{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.cell-progress{margin-bottom:12px}.progress-stats{display:flex;align-items:baseline;gap:4px;margin-bottom:8px}.current-count{font-size:28px;font-weight:700;color:#16a34a}.separator{font-size:18px;color:#94a3b8;margin:0 4px}.target-count{font-size:18px;font-weight:600;color:#64748b}.progress-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:linear-gradient(90deg,#16a34a,#22c55e);border-radius:4px;transition:width .3s ease}.progress-fill.full{background:linear-gradient(90deg,#2563eb,#3b82f6)}.progress-fill.over{background:linear-gradient(90deg,#dc2626,#ef4444)}.progress-percent{font-size:13px;color:#64748b;text-align:right}.over-quota-notice{padding:8px 12px;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;font-size:13px;font-weight:600;margin-bottom:12px}.cell-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #e5e7eb}.last-updated{font-size:12px;color:#94a3b8}.btn-reset{padding:6px 12px;background:transparent;color:#64748b;border:1px solid #d1d5db;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s}.btn-reset:hover{background:#dc2626;border-color:#dc2626;color:#fff}.btn-edit{padding:6px 12px;background:transparent;color:#2563eb;border:1px solid #2563eb;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.btn-edit:hover{background:#2563eb;color:#fff}.modal-backdrop{position:fixed;inset:0;background:#0006;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9998}.edit-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:32px;min-width:450px;z-index:9999;box-shadow:0 20px 60px #00000026}.edit-modal h3{margin:0 0 24px;font-size:24px;font-weight:600;color:#1a1a2e}.modal-info{background:#f8fafc;border-radius:8px;padding:16px;margin-bottom:24px}.info-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e5e7eb}.info-row:last-child{border-bottom:none}.info-label{font-size:14px;color:#64748b}.info-value{font-size:14px;font-weight:600;color:#1a1a2e}.form-group{margin-bottom:24px}.form-group label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:8px}.target-input{width:100%;padding:12px 16px;font-size:16px;background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#1a1a2e;outline:none;transition:border-color .2s}.target-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.modal-actions{display:flex;gap:12px;justify-content:flex-end}.btn-cancel{padding:12px 24px;background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#374151;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#f9fafb}.btn-save{padding:12px 24px;background:#2563eb;border:none;border-radius:8px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s}.btn-save:hover{background:#1d4ed8}.loading,.error-state{text-align:center;padding:80px 20px}.error-state h2{margin:0 0 12px;color:#dc2626}.error-state p{margin:0 0 24px;color:#64748b}.dashboard-tabs{display:flex;gap:4px;margin-bottom:28px;border-bottom:1px solid #e5e7eb;padding-bottom:0}.dashboard-tab{font-family:DM Sans,-apple-system,sans-serif;font-size:15px;font-weight:500;color:#64748b;background:none;border:none;border-bottom:2px solid transparent;padding:10px 20px;cursor:pointer;transition:color .2s,border-color .2s;display:flex;align-items:center;gap:8px}.dashboard-tab:hover{color:#374151}.dashboard-tab.active{color:#1a1a2e;border-bottom-color:#2563eb}.tab-badge{font-size:11px;font-weight:600;background:#e5e7eb;color:#64748b;padding:2px 8px;border-radius:10px}.dashboard-tab.active .tab-badge{background:#2563eb1a;color:#2563eb}.overview-cards{grid-template-columns:repeat(4,1fr)}@media(max-width:900px){.overview-cards{grid-template-columns:repeat(2,1fr)}}.overview-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin-bottom:20px}.section-title{margin:0 0 20px;font-size:18px;font-weight:600;color:#1a1a2e}.funnel-bars{display:flex;flex-direction:column;gap:12px}.funnel-row{display:grid;grid-template-columns:120px 1fr 60px 50px;align-items:center;gap:12px}.funnel-label{font-size:14px;color:#374151;font-weight:500}.funnel-bar-track{height:24px;background:#e2e8f0;border-radius:4px;overflow:hidden}.funnel-bar-fill{height:100%;border-radius:4px;transition:width .4s ease;min-width:0}.funnel-count{font-size:16px;font-weight:700;color:#1a1a2e;text-align:right}.funnel-pct{font-size:13px;color:#64748b;text-align:right}.screenout-reasons{display:flex;flex-direction:column;gap:12px}.reason-row{display:grid;grid-template-columns:1fr auto 120px;align-items:center;gap:16px;padding:12px 16px;background:#f8fafc;border-radius:8px;border-left:3px solid #dc2626}.reason-label{font-size:14px;color:#1a1a2e;font-weight:500}.reason-page{font-size:11px;color:#94a3b8;margin-top:2px;font-family:monospace}.reason-stats{display:flex;align-items:baseline;gap:8px}.reason-count{font-size:20px;font-weight:700;color:#dc2626}.reason-pct{font-size:13px;color:#64748b}.reason-bar-track{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.reason-bar-fill{height:100%;background:linear-gradient(90deg,#dc2626,#ef4444);border-radius:3px;transition:width .3s ease}.quota-summary-grid{display:flex;flex-direction:column;gap:12px}.quota-summary-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;padding:12px 16px;background:#f8fafc;border-radius:8px}.quota-summary-name{font-size:15px;font-weight:600;color:#1a1a2e}.quota-summary-detail{font-size:12px;color:#64748b;margin-top:2px}.quota-summary-progress{display:flex;align-items:center;gap:12px}.quota-summary-progress .progress-bar{flex:1}.quota-summary-pct{font-size:14px;font-weight:600;color:#64748b;min-width:40px;text-align:right}@media(max-width:968px){.dashboard-header{flex-direction:column;gap:16px}.header-actions{flex-wrap:wrap;width:100%}.summary-cards,.quota-cells{grid-template-columns:1fr}.funnel-row{grid-template-columns:100px 1fr 50px 40px;gap:8px}.reason-row{grid-template-columns:1fr;gap:8px}}@media(max-width:640px){.quota-dashboard{padding:24px 16px}.dashboard-header h1{font-size:24px}.header-actions{flex-direction:column}.header-actions .btn-primary,.header-actions .btn-secondary{width:100%;text-align:center}.auto-refresh-toggle{width:100%;justify-content:center}.funnel-row{grid-template-columns:80px 1fr 40px 35px;gap:6px}.funnel-label{font-size:12px}.quota-summary-row{grid-template-columns:1fr;gap:8px}}.data-export-page{max-width:1200px;margin:0 auto;padding:40px 20px;min-height:100vh;background:#f5f6f8}.export-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.header-left{display:flex;flex-direction:column;gap:8px}.btn-back-link{font-family:DM Sans,sans-serif;font-size:14px;color:#718096;text-decoration:none;transition:color .2s}.btn-back-link:hover{color:#2563eb}.export-header h1{font-family:DM Sans,sans-serif;font-size:32px;font-weight:600;color:#1a1a2e;margin:0}.survey-name{font-family:DM Sans,sans-serif;font-size:14px;color:#718096;margin:0}.export-container{display:grid;grid-template-columns:1fr 1fr;gap:24px}@media(max-width:968px){.export-container{grid-template-columns:1fr}}.export-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;transition:box-shadow .2s}.export-card:hover{box-shadow:0 4px 12px #00000014}.export-card-header{display:flex;align-items:center;gap:12px;padding:24px 24px 16px;border-bottom:1px solid #e2e8f0}.export-icon{font-size:32px;line-height:1}.export-card-header h2{font-family:DM Sans,sans-serif;font-size:20px;font-weight:500;color:#1a1a1a;margin:0}.export-card-body{padding:24px}.export-description{font-family:DM Sans,sans-serif;font-size:15px;color:#4a5568;margin:0 0 24px}.export-info{display:flex;flex-direction:column;gap:12px;margin-bottom:24px;padding:16px;background:#f7fafc;border-radius:6px}.info-item{display:flex;justify-content:space-between;align-items:center}.info-label{font-family:DM Sans,sans-serif;font-size:14px;color:#718096}.info-value{font-family:DM Sans,sans-serif;font-size:14px;font-weight:500;color:#2d3748}.column-format-info{margin-bottom:24px;padding:16px;background:#edf2f7;border-radius:6px;border-left:3px solid #2563eb}.column-format-info h3{font-family:DM Sans,sans-serif;font-size:15px;font-weight:500;color:#2d3748;margin:0 0 12px}.column-format-info ul{margin:0;padding-left:20px}.column-format-info li{font-family:DM Sans,sans-serif;font-size:14px;color:#4a5568;margin-bottom:8px}.column-format-info code{background:#fff;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:13px;color:#2563eb}.btn-export{width:100%;font-family:DM Sans,sans-serif;font-size:15px;font-weight:500;padding:14px 24px;background:#2563eb;color:#fff;border:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:background .2s,transform .15s}.btn-export:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}.btn-export:active:not(:disabled){transform:translateY(0)}.btn-export:disabled{background:#cbd5e0;cursor:not-allowed;opacity:.6}.spinner{width:16px;height:16px;border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.no-data-message{text-align:center;padding:32px 16px;background:#f7fafc;border-radius:6px;margin-bottom:16px}.no-data-message p{font-family:DM Sans,sans-serif;font-size:15px;color:#4a5568;margin:0 0 8px}.no-data-message .hint{font-size:13px;color:#718096}.error-message-inline{margin-top:16px;padding:12px 16px;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-family:DM Sans,sans-serif;font-size:14px;display:flex;align-items:center;gap:8px}.error-icon{font-size:16px}.format-example{margin-bottom:24px}.format-example:last-child{margin-bottom:0}.format-example h4{font-family:DM Sans,sans-serif;font-size:14px;font-weight:500;color:#2d3748;margin:0 0 12px}.example-table{width:100%;border-collapse:collapse;font-family:DM Sans,sans-serif;font-size:13px;margin-bottom:8px}.example-table th{background:#f7fafc;color:#4a5568;font-weight:500;text-align:left;padding:8px 12px;border:1px solid #e2e8f0}.example-table td{color:#2d3748;padding:8px 12px;border:1px solid #e2e8f0}.example-table tbody tr:nth-child(2n){background:#f7fafc}.example-note{font-family:DM Sans,sans-serif;font-size:12px;color:#718096;font-style:italic;margin:4px 0 0}.loading,.error-message{text-align:center;padding:48px 24px;font-family:DM Sans,sans-serif;font-size:15px;color:#4a5568}.error-message{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px}.btn-back{display:inline-block;font-family:DM Sans,sans-serif;font-size:14px;padding:10px 20px;background:#fff;color:#2d3748;border:1px solid #e2e8f0;border-radius:6px;text-decoration:none;transition:all .2s}.btn-back:hover{border-color:#cbd5e0;background:#f7fafc}@media(max-width:640px){.data-export-page{padding:24px 16px}.export-header h1{font-size:24px}.export-card-body{padding:16px}.info-item{flex-direction:column;align-items:flex-start;gap:4px}}.diw-page{min-height:100vh;background:#111113;color:#e8e6e1;font-family:DM Sans,-apple-system,sans-serif;padding:40px 24px}.diw-container{max-width:780px;margin:0 auto}.diw-header{margin-bottom:32px}.diw-back-link{background:none;border:none;color:#666;font-size:13px;cursor:pointer;padding:0;margin-bottom:12px;display:block;font-family:inherit}.diw-back-link:hover{color:#999}.diw-title{font-size:26px;font-weight:600;margin:0;letter-spacing:-.02em}.diw-steps{display:flex;align-items:center;gap:0;margin-bottom:32px;padding:0 4px}.diw-step{display:flex;align-items:center;gap:8px;flex:1}.diw-step-num{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;background:#1e1e22;color:#555;border:1px solid #2a2a2f;flex-shrink:0;transition:all .2s}.diw-step.active .diw-step-num{background:#3b82f6;color:#fff;border-color:#3b82f6}.diw-step.done .diw-step-num{background:#1a3a2a;color:#4ade80;border-color:#2a5a3a}.diw-step-label{font-size:13px;font-weight:500;color:#555;white-space:nowrap}.diw-step.active .diw-step-label{color:#e8e6e1}.diw-step.done .diw-step-label{color:#4ade80}.diw-step-line{flex:1;height:1px;background:#2a2a2f;margin:0 12px}.diw-step.done .diw-step-line{background:#2a5a3a}.diw-panel{background:#1a1a1d;border:1px solid #2a2a2f;border-radius:12px;padding:32px}.diw-mode-toggle{display:flex;gap:0;margin-bottom:28px;background:#111113;border-radius:8px;padding:3px;border:1px solid #2a2a2f}.diw-mode-btn{flex:1;padding:10px 16px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;background:transparent;color:#777;font-family:inherit;transition:all .15s}.diw-mode-btn.active{background:#2a2a2f;color:#e8e6e1}.diw-mode-btn:hover:not(.active){color:#bbb}.diw-help{color:#888;font-size:14px;line-height:1.5;margin:0 0 20px}.diw-help-dim{color:#555;font-size:12px;font-style:italic}.diw-label{display:block;font-size:12px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.05em;margin:20px 0 6px}.diw-label:first-of-type{margin-top:0}.diw-input{width:100%;padding:11px 14px;background:#111113;border:1px solid #2a2a2f;border-radius:6px;color:#e8e6e1;font-size:14px;font-family:inherit;outline:none;transition:border-color .15s;box-sizing:border-box}.diw-input:focus{border-color:#3b82f6}.diw-input::placeholder{color:#444}.diw-hint{display:block;font-size:11px;color:#555;margin-top:4px}.diw-btn-test{margin-top:20px;padding:10px 24px;background:#2a2a2f;border:1px solid #3a3a40;border-radius:6px;color:#e8e6e1;font-size:13px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.diw-btn-test:hover:not(:disabled){background:#3a3a40}.diw-btn-test:disabled{opacity:.5;cursor:not-allowed}.diw-btn-primary{padding:12px 28px;background:#3b82f6;border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.diw-btn-primary:hover:not(:disabled){background:#2563eb}.diw-btn-primary:disabled{background:#1e1e22;color:#444;cursor:not-allowed}.diw-btn-secondary{padding:12px 24px;background:#2a2a2f;border:none;border-radius:8px;color:#bbb;font-size:14px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.diw-btn-secondary:hover{background:#32323a;color:#e8e6e1}.diw-btn-import{margin-top:24px;width:100%;padding:14px;font-size:15px}.diw-connected{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#111913;border:1px solid #2a5a3a;border-radius:8px}.diw-connected-info{display:flex;align-items:center;gap:12px}.diw-connected-icon{font-size:20px;color:#4ade80}.diw-connected-label{font-size:14px;font-weight:500;color:#4ade80}.diw-connected-url{font-size:12px;color:#666;margin-top:2px;font-family:monospace}.diw-btn-change{background:none;border:1px solid #333;border-radius:5px;padding:6px 14px;color:#888;font-size:12px;cursor:pointer;font-family:inherit;transition:all .15s}.diw-btn-change:hover{border-color:#555;color:#ccc}.diw-status{margin-top:16px;padding:10px 14px;border-radius:6px;font-size:13px;font-weight:500}.diw-status-ok{background:#1a2e1a;border:1px solid #2a5a3a;color:#4ade80}.diw-status-err{background:#2e1a1a;border:1px solid #5a2a2a;color:#f87171}.diw-dropzone{margin-bottom:12px}.diw-dropzone input[type=file]{display:none}.diw-dropzone label{display:block;padding:32px 20px;background:#111113;border:2px dashed #333;border-radius:8px;text-align:center;cursor:pointer;color:#777;font-size:14px;transition:all .15s}.diw-dropzone label:hover{border-color:#555;color:#bbb}.diw-file-name{color:#e8e6e1;font-weight:500}.diw-file-size{color:#666;font-weight:400}.diw-file-confirm{text-align:center;padding:32px 0}.diw-file-icon{font-size:48px;margin-bottom:16px}.diw-file-confirm h3{margin:0 0 12px;font-size:18px;font-weight:500;color:#e8e6e1}.diw-select-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.diw-select-header h3{margin:0;font-size:16px;font-weight:500}.diw-search{padding:8px 14px;background:#111113;border:1px solid #2a2a2f;border-radius:6px;color:#e8e6e1;font-size:13px;font-family:inherit;outline:none;width:240px}.diw-search:focus{border-color:#3b82f6}.diw-search::placeholder{color:#444}.diw-survey-list{max-height:400px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.diw-survey-row{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:6px;cursor:pointer;background:#111113;border:1px solid transparent;transition:all .1s}.diw-survey-row:hover{border-color:#3a3a40}.diw-survey-row.selected{border-color:#3b82f6;background:#141824}.diw-survey-name{font-size:14px;font-weight:500;color:#e8e6e1}.diw-survey-path{font-size:11px;color:#555;margin-top:2px;font-family:monospace}.diw-survey-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.diw-survey-state{font-size:10px;font-weight:600;text-transform:uppercase;padding:2px 8px;border-radius:3px;background:#2a2a2f;color:#888}.diw-survey-state.live,.diw-survey-state.deployed{background:#1a3a2a;color:#4ade80}.diw-survey-state.testing{background:#3a351a;color:#facc15}.diw-survey-state.closed{background:#2a2a2f;color:#666}.diw-survey-count{font-size:11px;color:#666}.diw-loading,.diw-empty{padding:48px 0;text-align:center;color:#555;font-size:14px}.diw-converting{text-align:center;padding:48px 0}.diw-converting p{color:#888;margin:16px 0 0}.diw-spinner{width:32px;height:32px;border:3px solid #2a2a2f;border-top-color:#3b82f6;border-radius:50%;margin:0 auto;animation:diw-spin .8s linear infinite}@keyframes diw-spin{to{transform:rotate(360deg)}}.diw-error-block{text-align:center;padding:32px 0}.diw-error-block h3{color:#f87171;margin:0 0 8px}.diw-error-block p{color:#888;margin:0 0 20px}.diw-xml-preview{margin-top:20px}.diw-xml-preview h4{font-size:13px;font-weight:500;color:#888;margin:0 0 8px}.diw-xml-preview pre{background:#0e0e10;border:1px solid #2a2a2f;border-radius:6px;padding:14px;font-size:11px;color:#777;overflow-x:auto;max-height:180px;overflow-y:auto;font-family:JetBrains Mono,Courier New,monospace;line-height:1.5}.diw-import-options{margin-top:24px;padding:16px;background:#111113;border-radius:8px;border:1px solid #2a2a2f}.diw-checkbox-label{display:flex;align-items:center;gap:10px;font-size:14px;color:#ccc;cursor:pointer;padding:6px 0}.diw-checkbox-label input[type=checkbox]{accent-color:#3b82f6;width:16px;height:16px}.diw-indent{padding-left:26px}.diw-result{text-align:center;padding:48px 32px}.diw-result-icon{width:64px;height:64px;border-radius:50%;background:#1a3a2a;border:2px solid #2a5a3a;color:#4ade80;font-size:36px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}.diw-result h3{margin:0 0 24px;font-size:20px;font-weight:500}.diw-result-stats{display:flex;justify-content:center;gap:40px;margin-bottom:32px}.diw-result-stat{display:flex;flex-direction:column;align-items:center;gap:4px}.diw-result-value{font-size:22px;font-weight:600;color:#3b82f6}.diw-result-value.diw-warn{color:#facc15}.diw-result-label{font-size:11px;color:#666;text-transform:uppercase}.diw-footer{display:flex;justify-content:space-between;margin-top:24px}.vr-report{margin-bottom:20px;border-radius:8px;overflow:hidden;border:1px solid #2a2a2f}.vr-summary{padding:14px 16px;background:#1e1e22;cursor:pointer;transition:background .15s}.vr-summary:hover{background:#242428}.vr-clean{border-left:3px solid #4ade80}.vr-warnings{border-left:3px solid #facc15}.vr-critical{border-left:3px solid #f87171}.vr-header{display:flex;align-items:center;gap:10px}.vr-icon{font-size:18px}.vr-clean .vr-icon{color:#4ade80}.vr-warnings .vr-icon{color:#facc15}.vr-critical .vr-icon{color:#f87171}.vr-title{flex:1;font-size:14px;font-weight:500;color:#e8e6e1}.vr-toggle{color:#555;font-size:11px}.vr-stats{display:flex;gap:16px;margin-top:8px;font-size:12px;color:#666}.vr-details{padding:0 16px 16px;background:#1a1a1d;max-height:320px;overflow-y:auto}.vr-section h5{margin:16px 0 8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.vr-section h5 span{font-size:10px;color:#555}.vr-critical h5{color:#f87171}.vr-warning h5{color:#facc15}.vr-info h5{color:#60a5fa}.vr-gap{padding:10px 12px;margin-bottom:4px;border-radius:6px;font-size:12px;line-height:1.4}.vr-critical .vr-gap{background:#1e1212;border:1px solid #3a1a1a}.vr-warning .vr-gap{background:#1e1c12;border:1px solid #3a351a}.vr-info .vr-gap{background:#12161e;border:1px solid #1a2535}.vr-gap-header{display:flex;align-items:center;gap:8px;margin-bottom:3px}.vr-gap-header strong{color:#e8e6e1;font-size:12px}.vr-badge{font-size:9px;font-weight:600;padding:2px 6px;border-radius:3px;background:#ffffff0f;color:#888;font-family:monospace}.vr-gap-detail{color:#999}.vr-gap-fix{margin-top:3px;font-size:11px;color:#60a5fa;font-style:italic}
