*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--primary: #107c41;--primary-hover: #0b5c30;--primary-light: #e8f5e9;--secondary: #4b5563;--secondary-hover: #374151;--bg-main: #f8fafc;--bg-surface: #ffffff;--border-color: #e2e8f0;--border-grid: #d1d5db;--text-main: #1e293b;--text-muted: #64748b;--text-light: #94a3b8;--grid-header-bg: #f3f4f6;--grid-header-text: #4b5563;--danger: #ef4444;--danger-light: #fef2f2;--success: #10b981;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1)}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-main);color:var(--text-main);line-height:1.5;min-height:100vh;display:flex;flex-direction:column}.app-header{background:var(--bg-surface);border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:100;box-shadow:var(--shadow-sm)}.header-container{max-width:1400px;margin:0 auto;padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand-group{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.brand-icon{background:var(--primary);color:#fff;width:38px;height:38px;border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #107c4133}.brand-text h1{font-size:1.15rem;font-weight:700;color:var(--text-main);letter-spacing:-.01em}.brand-subtitle{font-size:.75rem;color:var(--text-muted)}.active-file-badge{display:inline-flex;align-items:center;gap:.4rem;background:var(--primary-light);color:var(--primary);font-weight:600;font-size:.85rem;padding:.35rem .85rem;border-radius:9999px;border:1px solid rgba(16,124,65,.2);max-width:350px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:.75rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;font-weight:500;padding:.5rem 1rem;border-radius:6px;border:1px solid transparent;cursor:pointer;transition:all .15s ease-in-out;text-decoration:none;white-space:nowrap}.btn-sm{padding:.35rem .75rem;font-size:.8125rem}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);box-shadow:0 2px 4px #107c4140}.btn-secondary{background:var(--bg-surface);color:var(--text-main);border-color:var(--border-color)}.btn-secondary:hover{background:#f1f5f9;border-color:#cbd5e1}.btn-outline{background:transparent;color:var(--secondary);border-color:var(--border-color)}.btn-outline:hover{background:#f1f5f9;color:var(--text-main)}.notification-bar{background:var(--danger-light);color:var(--danger);border-bottom:1px solid #fecaca;padding:.75rem 1.5rem;animation:slideDown .2s ease-out}.notification-bar.success{background:#ecfdf5;color:#065f46;border-bottom-color:#a7f3d0}.notification-content{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;font-size:.875rem;font-weight:500}.notification-close{background:none;border:none;font-size:1.25rem;line-height:1;color:inherit;cursor:pointer;padding:0 .25rem}.main-content{flex:1;display:flex;flex-direction:column}.view-panel{display:none;flex:1}.view-panel.active{display:flex;flex-direction:column}.dashboard-container{max-width:1200px;width:100%;margin:0 auto;padding:2rem 1.5rem;display:flex;flex-direction:column;gap:2rem}.card{background:var(--bg-surface);border-radius:12px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);overflow:hidden}.upload-card{transition:border-color .2s,box-shadow .2s}.upload-dropzone{position:relative;padding:2.5rem 1.5rem;border:2px dashed #cbd5e1;border-radius:12px;margin:.5rem;text-align:center;cursor:pointer;transition:all .2s ease;background:#fafbfc}.upload-dropzone:hover,.upload-dropzone.drag-over{border-color:var(--primary);background:#f0fdf4}.file-input-hidden{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon-circle{width:64px;height:64px;border-radius:50%;background:var(--primary-light);color:var(--primary);display:inline-flex;align-items:center;justify-content:center;margin-bottom:1rem}.dropzone-title{font-size:1.25rem;font-weight:600;color:var(--text-main);margin-bottom:.25rem}.dropzone-text{font-size:.9375rem;color:var(--text-muted);margin-bottom:.75rem}.browse-link{color:var(--primary);font-weight:600;text-decoration:underline}.file-types-hint{display:inline-block;font-size:.8125rem;color:var(--text-light);background:var(--bg-surface);border:1px solid var(--border-color);padding:.25rem .65rem;border-radius:4px}.upload-progress-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#fffffff2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;border-radius:10px;font-weight:500;color:var(--text-main)}.files-section{display:flex;flex-direction:column;gap:1rem}.section-header{display:flex;align-items:center;justify-content:space-between}.section-title{font-size:1.25rem;font-weight:700;color:var(--text-main)}.section-subtitle{font-size:.875rem;color:var(--text-muted)}.badge{background:#f1f5f9;color:var(--text-muted);font-size:.8125rem;font-weight:600;padding:.25rem .65rem;border-radius:9999px;border:1px solid var(--border-color)}.empty-state{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:12px;padding:3rem 1.5rem;text-align:center;color:var(--text-muted)}.empty-icon{margin-bottom:1rem;color:var(--text-light)}.empty-state h3{font-size:1.1rem;font-weight:600;color:var(--text-main);margin-bottom:.25rem}.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem}.file-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:10px;padding:1.25rem;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:all .15s ease-in-out;box-shadow:var(--shadow-sm);position:relative}.file-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:var(--shadow-md)}.file-card-main{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1rem}.file-badge-icon{background:#f0fdf4;color:var(--primary);width:44px;height:44px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #bbf7d0}.file-details{overflow:hidden}.file-card-title{font-size:.95rem;font-weight:600;color:var(--text-main);word-break:break-all;margin-bottom:.25rem}.file-meta-row{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.775rem;color:var(--text-muted)}.file-meta-item{display:inline-flex;align-items:center;gap:.25rem}.file-card-actions{display:flex;gap:.5rem;border-top:1px solid #f1f5f9;padding-top:.75rem}.file-card-actions .btn{flex:1}.spreadsheet-container{display:flex;flex-direction:column;height:calc(100vh - 61px);background:var(--bg-surface);overflow:hidden}.spreadsheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem 1.25rem;border-bottom:1px solid var(--border-color);background:#fff;flex-shrink:0;flex-wrap:wrap;min-height:50px}.toolbar-left{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;min-width:0;flex:1 1 auto}.toolbar-title-box{display:flex;align-items:center;gap:.45rem}.excel-icon-svg{flex-shrink:0}.toolbar-title{font-size:1.05rem;font-weight:600;color:var(--text-main);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px;min-width:0;margin:0}.sheet-stats-badge{font-size:.75rem;background:#f1f5f9;color:var(--text-muted);padding:.25rem .55rem;border-radius:4px;white-space:nowrap;border:1px solid var(--border-color);flex-shrink:0}.toolbar-right{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;flex-shrink:0}.toolbar-right .btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;white-space:nowrap}.excel-formula-bar{display:flex;align-items:center;background:#f8fafc;border-bottom:1px solid var(--border-grid);padding:.25rem .75rem;gap:.5rem;flex-shrink:0;font-family:inherit}.formula-name-box{background:#fff;border:1px solid var(--border-grid);border-radius:3px;padding:.2rem .6rem;font-size:.8125rem;font-weight:600;color:#1e293b;min-width:58px;text-align:center;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px 2px #0000000a}.formula-fx-symbol{font-weight:700;font-style:italic;font-size:.95rem;color:#107c41;padding:0 .3rem;-webkit-user-select:none;user-select:none}.formula-text-input{flex:1;border:1px solid var(--border-grid);background:#fff;border-radius:3px;padding:.25rem .65rem;font-size:.8125rem;outline:none;color:var(--text-main);transition:border-color .15s,box-shadow .15s}.formula-text-input:focus{border-color:#107c41;box-shadow:0 0 0 1px #107c41}.grid-viewport{flex:1;overflow:auto;position:relative;background:#fff}.sheet-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:.8125rem;color:var(--text-main);table-layout:fixed;-webkit-user-select:text;user-select:text}.sheet-table thead tr th{position:sticky;top:0;background:#f3f4f6;color:#475569;font-weight:600;text-align:center;padding:.35rem .5rem;border-right:1px solid var(--border-grid);border-bottom:1px solid var(--border-grid);z-index:20;-webkit-user-select:none;user-select:none;min-width:90px;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background-color .1s}.sheet-table thead tr th:hover{background:#e2e8f0}.sheet-table thead tr th.active-col-header{background:#dcfce7!important;color:#15803d!important;border-bottom:2px solid #16a34a!important;font-weight:700}.sheet-table thead tr th.corner-cell{position:sticky;top:0;left:0;z-index:30;background:#e5e7eb;width:46px;min-width:46px;max-width:46px;border-right:1px solid var(--border-grid);border-bottom:1px solid var(--border-grid);cursor:pointer;padding:0}.corner-triangle{width:0;height:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent transparent #94a3b8 transparent;margin:auto auto 3px}.sheet-table tbody tr th.row-header{position:sticky;left:0;z-index:10;background:#f3f4f6;color:#475569;font-weight:500;text-align:center;padding:.35rem .5rem;width:46px;min-width:46px;max-width:46px;border-right:1px solid var(--border-grid);border-bottom:1px solid var(--border-grid);-webkit-user-select:none;user-select:none;cursor:pointer;transition:background-color .1s}.sheet-table tbody tr th.row-header:hover{background:#e2e8f0}.sheet-table tbody tr th.row-header.active-row-header{background:#dcfce7!important;color:#15803d!important;border-right:2px solid #16a34a!important;font-weight:700}.sheet-table tbody tr td{padding:.3rem .6rem;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;white-space:pre-wrap;word-break:break-word;max-width:350px;min-width:90px;height:25px;line-height:1.35;background:#fff;position:relative}.sheet-table tbody tr td.editable-cell{cursor:cell;outline:none;transition:background-color .05s}.sheet-table tbody tr td.editable-cell:hover{background-color:#f8fafc}.sheet-table tbody tr td.cell-selected{outline:2px solid #107c41!important;background-color:#f0fdf4!important;z-index:15;position:relative;box-shadow:inset 0 0 0 1px #107c41,0 1px 3px #107c4133}.excel-cell-handle{position:absolute;bottom:-4px;right:-4px;width:7px;height:7px;background:#107c41;border:1px solid #ffffff;cursor:crosshair;z-index:25}.sheet-table tbody tr td.editable-cell:focus{outline:2px solid #107c41!important;background-color:#fff!important;z-index:15}.sheet-tabs-container{display:flex;align-items:center;justify-content:space-between;background:#e5e7eb;border-top:1px solid var(--border-grid);padding:0 .5rem;gap:.5rem;flex-shrink:0;min-height:38px;overflow-x:auto}.sheet-tabs-list{display:flex;align-items:center;gap:.25rem;overflow-x:auto;scrollbar-width:thin;padding:.25rem 0}.sheet-tab{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .9rem;font-size:.8125rem;font-weight:500;color:#4b5563;background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;cursor:pointer;white-space:nowrap;transition:all .1s ease;-webkit-user-select:none;user-select:none}.sheet-tab:hover{background:#fff;color:var(--text-main)}.sheet-tab.active{background:#fff;color:#107c41;font-weight:600;border:1px solid #cbd5e1;border-bottom:2px solid #107c41;box-shadow:0 1px 2px #0000000d}.sheet-tab-add-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:50%;color:#4b5563;cursor:pointer;transition:all .15s;flex-shrink:0}.sheet-tab-add-btn:hover{background:#fff;color:#107c41;border-color:#107c41;transform:scale(1.05)}.spreadsheet-footer-info{display:flex;align-items:center;gap:1rem;font-size:.75rem;color:var(--text-muted);white-space:nowrap;padding-right:.5rem}.footer-tip{color:#15803d;font-weight:500}.btn-success{background:#107c41;color:#fff;border-color:#107c41}.btn-success:hover{background:#0b5c30;box-shadow:0 2px 4px #107c4140}.badge-unsaved{background:#fef3c7;color:#b45309;border:1px solid #fde68a;font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:9999px;display:inline-flex;align-items:center;gap:.25rem}.grid-loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffffd9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;z-index:50;font-size:.875rem;color:var(--text-muted)}.spreadsheet-footer{display:flex;align-items:center;justify-content:space-between;padding:.4rem 1rem;background:#f8fafc;border-top:1px solid var(--border-color);font-size:.75rem;color:var(--text-muted);flex-shrink:0}.footer-tip{font-style:italic}.spinner{width:28px;height:28px;border:3px solid rgba(16,124,65,.2);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.spreadsheet-toolbar{padding:.5rem .875rem;gap:.625rem}.toolbar-left{gap:.5rem}.toolbar-title{max-width:240px}.toolbar-right{gap:.5rem}}@media(max-width:640px){.header-container{padding:.5rem 1rem}.brand-text h1{font-size:1rem}.active-file-badge{display:none!important}.files-grid{grid-template-columns:1fr}}@media(max-width:520px){.spreadsheet-toolbar{flex-direction:column;align-items:stretch;gap:.5rem;padding:.5rem .75rem}.toolbar-left{width:100%;justify-content:flex-start;gap:.45rem}.toolbar-title{max-width:180px;font-size:.95rem}.sheet-stats-badge{font-size:.7rem;padding:.2rem .45rem}.toolbar-right{width:100%;justify-content:flex-start;gap:.5rem;flex-wrap:wrap}.toolbar-right .badge-unsaved{width:100%;justify-content:center;order:-1}}.user-profile-group{display:flex;align-items:center;gap:.6rem}.user-email-text{font-size:.85rem;font-weight:600;color:var(--text-main)}.role-badge{font-size:.72rem;font-weight:700;text-transform:uppercase;padding:.2rem .5rem;border-radius:9999px;letter-spacing:.03em}.role-super_admin{background:#f3e8ff;color:#7e22ce;border:1px solid #d8b4fe}.role-admin{background:#e0f2fe;color:#0369a1;border:1px solid #7dd3fc}.role-editor{background:#dcfce7;color:#15803d;border:1px solid #86efac}.role-viewer{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.auth-container{max-width:440px;margin:3rem auto;width:100%;padding:0 1rem}.auth-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:12px;padding:2rem;box-shadow:var(--shadow-lg)}.auth-header{text-align:center;margin-bottom:1.5rem}.auth-icon-circle{width:48px;height:48px;background:var(--primary-light);color:var(--primary);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .75rem}.auth-title{font-size:1.35rem;font-weight:700;color:var(--text-main)}.auth-subtitle{font-size:.85rem;color:var(--text-muted);margin-top:.25rem}.auth-form{display:flex;flex-direction:column;gap:1.1rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-label{font-size:.82rem;font-weight:600;color:var(--text-main)}.form-input{width:100%;padding:.6rem .75rem;border:1px solid var(--border-color);border-radius:6px;font-size:.9rem;color:var(--text-main);background:#fff;transition:border-color .15s,box-shadow .15s}.form-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #107c4126}.form-input.input-error{border-color:var(--danger);background:snow}.field-error-text{font-size:.75rem;color:var(--danger);font-weight:500}.auth-footer{text-align:center;margin-top:1.25rem;font-size:.82rem;color:var(--text-muted)}.auth-footer a,.auth-link-btn{background:none;border:none;color:var(--primary);text-decoration:none;font-weight:600;cursor:pointer;padding:0;font-family:inherit;font-size:inherit;display:inline}.auth-footer a:hover,.auth-link-btn:hover{text-decoration:underline}.auth-success-alert{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;border-radius:6px;padding:.75rem 1rem;margin-bottom:1.25rem;font-size:.85rem;font-weight:500;display:flex;align-items:center;gap:.5rem;animation:slideDown .2s ease-out}.qa-quickfill-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;padding:.6rem .75rem;margin-top:.75rem;display:flex;align-items:center;justify-content:space-between;font-size:.78rem}.qa-quickfill-btn{background:#fff;border:1px solid #cbd5e1;padding:.25rem .6rem;border-radius:4px;font-size:.75rem;font-weight:600;color:#334155;cursor:pointer}.qa-quickfill-btn:hover{background:#f1f5f9;border-color:#94a3b8}.rate-limit-alert{background:#fef2f2;border:1px solid #fca5a5;color:#b91c1c;padding:.6rem .8rem;border-radius:6px;font-size:.82rem;margin-bottom:1rem}.dashboard-toolbar{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:10px;padding:1rem 1.25rem;margin-bottom:1.25rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:var(--shadow-sm)}.toolbar-top-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.search-wrapper{position:relative;flex:1;min-width:260px}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-light);pointer-events:none}.search-input{width:100%;padding:.55rem 2rem .55rem 2.25rem;border:1px solid var(--border-color);border-radius:6px;font-size:.85rem}.search-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #107c411f}.search-clear-btn{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-light);cursor:pointer;font-size:1rem;line-height:1}.toolbar-filters-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding-top:.5rem;border-top:1px solid #f1f5f9}.filter-select,.filter-date-input{padding:.4rem .6rem;border:1px solid var(--border-color);border-radius:6px;font-size:.8rem;color:var(--text-main);background:#fff}.filter-group{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:var(--text-muted)}.status-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:9999px;font-size:.72rem;font-weight:700;text-transform:uppercase}.status-ready{background:#dcfce7;color:#15803d;border:1px solid #86efac}.status-processing{background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.status-converting{background:#f3e8ff;color:#7e22ce;border:1px solid #d8b4fe}.status-queued{background:#fef3c7;color:#b45309;border:1px solid #fde68a}.status-failed{background:#fee2e2;color:#b91c1c;border:1px solid #fca5a5}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.pulse-dot{animation:pulseAnimation 1.4s infinite}@keyframes pulseAnimation{0%{transform:scale(.95);opacity:.8}50%{transform:scale(1.3);opacity:1}to{transform:scale(.95);opacity:.8}}.version-pill{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1;font-size:.7rem;font-weight:700;padding:.15rem .45rem;border-radius:4px}.tag-pill{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;font-size:.7rem;padding:.1rem .4rem;border-radius:4px}.pagination-bar{display:flex;align-items:center;justify-content:space-between;margin-top:1.5rem;padding:.75rem 1rem;background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;flex-wrap:wrap;gap:.75rem}.pagination-info{font-size:.82rem;color:var(--text-muted)}.pagination-controls{display:flex;align-items:center;gap:.4rem}.page-btn{padding:.35rem .65rem;border:1px solid var(--border-color);background:#fff;border-radius:4px;font-size:.8rem;font-weight:600;color:var(--text-main);cursor:pointer;transition:all .15s}.page-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.page-btn:disabled{opacity:.45;cursor:not-allowed}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;animation:fadeIn .15s ease-out}.modal-dialog{background:#fff;border-radius:12px;max-width:520px;width:100%;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;overflow:hidden;animation:scaleUp .15s ease-out}.modal-header{padding:1.1rem 1.5rem;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between}.modal-title{font-size:1.1rem;font-weight:700;color:var(--text-main)}.modal-close-btn{background:transparent;border:none;font-size:1.4rem;color:var(--text-light);cursor:pointer;line-height:1}.modal-close-btn:hover{color:var(--text-main)}.modal-body{padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.modal-footer{padding:1rem 1.5rem;border-top:1px solid var(--border-color);background:#f8fafc;display:flex;align-items:center;justify-content:flex-end;gap:.6rem}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:1000;display:flex;justify-content:flex-end;animation:fadeIn .15s ease-out}.drawer-panel{background:#fff;width:100%;max-width:420px;height:100%;box-shadow:-4px 0 15px #0000001a;display:flex;flex-direction:column;animation:slideLeft .2s ease-out}.drawer-header{padding:1.25rem;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between}.drawer-body{padding:1.25rem;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:1.1rem}.drawer-footer{padding:1rem 1.25rem;border-top:1px solid var(--border-color);background:#f8fafc;display:flex;justify-content:flex-end;gap:.6rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}@keyframes slideLeft{0%{transform:translate(100%)}to{transform:translate(0)}}.progress-container{width:100%;background:#e2e8f0;border-radius:9999px;height:8px;overflow:hidden;margin-top:.4rem}.progress-fill{background:var(--primary);height:100%;transition:width .3s ease}
