:root{--primary-blue: #2563eb;--primary-blue-hover: #1d4ed8;--success-green: #10b981;--warning-orange: #f59e0b;--danger-red: #ef4444;--bg-primary: #ffffff;--bg-secondary: #f9fafb;--bg-tertiary: #f3f4f6;--text-primary: #111827;--text-secondary: #4b5563;--text-muted: #6b7280;--border-color: #e5e7eb;--border-color-light: #f3f4f6;--gray-50: #f9fafb;--gray-100: #f3f4f6;--gray-200: #e5e7eb;--gray-300: #d1d5db;--gray-600: #4b5563;--gray-700: #374151;--gray-800: #1f2937;--gray-900: #111827;--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);--border-radius: 8px;--border-radius-lg: 12px;--spacing-xs: 8px;--spacing-sm: 12px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px}[data-theme=dark]{--primary-blue: #3b82f6;--primary-blue-hover: #2563eb;--success-green: #34d399;--warning-orange: #fbbf24;--danger-red: #f87171;--bg-primary: #1e1e1e;--bg-secondary: #121212;--bg-tertiary: #2a2a2a;--text-primary: rgba(255, 255, 255, .87);--text-secondary: rgba(255, 255, 255, .6);--text-muted: rgba(255, 255, 255, .38);--border-color: rgba(255, 255, 255, .12);--border-color-light: rgba(255, 255, 255, .06);--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .3);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .4), 0 2px 4px -1px rgb(0 0 0 / .06);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .5), 0 4px 6px -2px rgb(0 0 0 / .05)}*{-webkit-tap-highlight-color:transparent}::view-transition-old(root),::view-transition-new(root){animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,.2,1)}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2;animation-name:reveal-theme}@keyframes reveal-theme{0%{clip-path:circle(0px at var(--reveal-x, 50%) var(--reveal-y, 50%))}to{clip-path:circle(var(--reveal-radius, 100vmax) at var(--reveal-x, 50%) var(--reveal-y, 50%))}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-secondary);color:var(--text-primary);overflow-x:hidden;transition:background-color .3s ease,color .3s ease}*:focus-visible{outline:2px solid var(--primary-blue);outline-offset:2px}.btn{padding:var(--spacing-sm) var(--spacing-lg);border-radius:var(--border-radius);font-size:16px;font-weight:600;border:none;cursor:pointer;transition:all .2s;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.btn:focus-visible{outline:2px solid var(--primary-blue);outline-offset:3px}.btn-primary{background-color:var(--primary-blue);color:#fff}.btn-primary:hover{background-color:var(--primary-blue-hover)}.btn-primary:active{transform:scale(.98)}.btn-secondary{background-color:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background-color:var(--bg-tertiary)}.btn-success{background-color:var(--success-green);color:#fff}.btn-danger{background-color:var(--danger-red);color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}input[type=text],input[type=email],input[type=number],textarea,select{font-size:16px;padding:var(--spacing-sm);border:1px solid var(--border-color);border-radius:var(--border-radius);width:100%;min-height:44px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bg-primary);color:var(--text-primary);transition:border-color .2s,background-color .3s}input:focus,textarea:focus,select:focus{outline:2px solid var(--primary-blue);outline-offset:2px;border-color:var(--primary-blue)}.app-header{background-color:var(--bg-primary);border-bottom:1px solid var(--border-color);padding:var(--spacing-sm) var(--spacing-md);position:sticky;top:0;z-index:100;box-shadow:var(--shadow-sm);transition:background-color .3s ease}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto}.logo-section h1{font-size:24px;color:var(--primary-blue);margin:0}.logo-section p{font-size:12px;color:var(--text-secondary);margin:0}.user-info{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.user-email{font-size:13px;color:var(--text-secondary)}.nav-tabs{display:flex;overflow-x:auto;gap:var(--spacing-xs);padding:var(--spacing-sm) var(--spacing-md);background-color:var(--bg-primary);border-bottom:1px solid var(--border-color);-webkit-overflow-scrolling:touch;scrollbar-width:none;transition:background-color .3s ease}.nav-tabs::-webkit-scrollbar{display:none}.nav-tab{flex-shrink:0;padding:var(--spacing-sm) var(--spacing-md);background-color:transparent;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;min-height:44px}.nav-tab.active{color:var(--primary-blue);border-bottom-color:var(--primary-blue)}.nav-tab:hover{color:var(--text-primary)}.content-container{max-width:1200px;margin:0 auto;padding:var(--spacing-md)}.card{background-color:var(--bg-primary);border-radius:var(--border-radius-lg);padding:var(--spacing-lg);box-shadow:var(--shadow-sm);margin-bottom:var(--spacing-md);border:1px solid var(--border-color);transition:background-color .3s ease}.card-title{font-size:20px;font-weight:700;color:var(--text-primary);margin:0 0 var(--spacing-md) 0}.form-group{margin-bottom:var(--spacing-md)}.form-label{display:block;font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:var(--spacing-xs)}.form-hint{display:block;font-size:13px;color:var(--text-secondary);margin-top:4px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:flex-end;justify-content:center;z-index:1000;padding:0}.modal-content{background-color:var(--bg-primary);border-radius:var(--border-radius-lg) var(--border-radius-lg) 0 0;width:100%;max-height:90vh;overflow-y:auto;-webkit-overflow-scrolling:touch;animation:slideUp .3s ease-out;border:1px solid var(--border-color);transition:background-color .3s ease}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-header{padding:var(--spacing-lg);border-bottom:1px solid var(--border-color);position:sticky;top:0;background-color:var(--bg-primary);z-index:10;transition:background-color .3s ease}.modal-title{font-size:20px;font-weight:700;color:var(--text-primary);margin:0}.modal-body{padding:var(--spacing-lg)}.modal-footer{padding:var(--spacing-lg);border-top:1px solid var(--border-color);display:flex;gap:var(--spacing-sm);position:sticky;bottom:0;background-color:var(--bg-primary);transition:background-color .3s ease}.modal-footer .btn{flex:1}.file-upload-area{border:2px dashed var(--border-color);border-radius:var(--border-radius-lg);padding:var(--spacing-xl);text-align:center;cursor:pointer;transition:all .2s;background-color:var(--bg-primary)}.file-upload-area:hover{border-color:var(--primary-blue);background-color:var(--bg-tertiary)}.file-upload-area.has-file{border-color:var(--success-green);background-color:var(--bg-tertiary)}.chat-container{display:flex;flex-direction:column;height:calc(100vh - 200px);max-height:600px}.chat-messages{flex:1;overflow-y:auto;padding:var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-md);-webkit-overflow-scrolling:touch}.chat-message{max-width:85%;padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--border-radius-lg);font-size:15px;line-height:1.5}.chat-message.user{align-self:flex-end;background-color:var(--primary-blue);color:#fff;border-bottom-right-radius:4px}.chat-message.assistant{align-self:flex-start;background-color:var(--bg-tertiary);color:var(--text-primary);border-bottom-left-radius:4px}.chat-input-container{padding:var(--spacing-md);border-top:1px solid var(--border-color);background-color:var(--bg-primary);display:flex;gap:var(--spacing-sm);transition:background-color .3s ease}.chat-input-container textarea{flex:1;min-height:44px;max-height:120px;resize:none}.badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.badge-trial{background-color:#dbeafe;color:#1e40af}.badge-bronze{background-color:#fed7aa;color:#92400e}.badge-silver{background-color:#e5e7eb;color:#1f2937}.badge-gold{background-color:#fef3c7;color:#92400e}@media (min-width: 768px){.content-container{padding:var(--spacing-lg)}.modal-overlay{align-items:center;padding:var(--spacing-lg)}.modal-content{border-radius:var(--border-radius-lg);max-width:600px;max-height:85vh}.nav-tabs{justify-content:center;gap:var(--spacing-md)}.app-header{padding:var(--spacing-md) var(--spacing-lg)}.logo-section h1{font-size:28px}.chat-message{max-width:70%}}@media (min-width: 1024px){.content-container,.card{padding:var(--spacing-xl)}.modal-content{max-width:700px}}.spinner{border:3px solid var(--gray-200);border-top-color:var(--primary-blue);border-radius:50%;width:40px;height:40px;animation:spin .8s linear infinite;margin:0 auto}@keyframes spin{to{transform:rotate(360deg)}}.text-center{text-align:center}.text-muted{color:var(--text-muted)}.mt-md{margin-top:var(--spacing-md)}.mb-md{margin-bottom:var(--spacing-md)}.flex{display:flex}.flex-col{flex-direction:column}.gap-sm{gap:var(--spacing-sm)}.gap-md{gap:var(--spacing-md)}.items-center{align-items:center}.justify-between{justify-content:space-between}.w-full{width:100%}
