: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}}.navigation{background:var(--surface-color);border-bottom:1px solid var(--border-color);box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100}.nav-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center;height:80px;gap:2rem}.brand-link{text-decoration:none;color:inherit}.nav-brand h1{margin:0;font-size:1.5rem;font-weight:700;color:var(--text-primary);letter-spacing:-.025em}.nav-links{display:flex;gap:.5rem}.nav-link{display:flex;align-items:center;gap:.5rem;color:var(--text-secondary);text-decoration:none;padding:.75rem 1rem;border-radius:var(--radius-md);transition:all .2s ease-in-out;font-weight:500;font-size:.875rem;position:relative}.nav-link:hover{color:var(--text-primary);background-color:#f1f5f9}.nav-link.active{color:var(--primary-color);background-color:#eff6ff;font-weight:600}.nav-link.active:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translate(-50%);width:20px;height:2px;background-color:var(--primary-color);border-radius:1px}.nav-icon{font-size:1rem;opacity:.8}.nav-auth{display:flex;align-items:center}.user-menu{display:flex;align-items:center;gap:1rem}.user-name{color:var(--text-secondary);font-size:.875rem;font-weight:500}.logout-button{background:none;border:1px solid var(--border-color);color:var(--text-secondary);padding:.5rem 1rem;border-radius:var(--radius-md);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease-in-out}.logout-button:hover{background-color:#f1f5f9;color:var(--text-primary)}.auth-links{display:flex;align-items:center;gap:.5rem}.auth-link{color:var(--text-secondary);text-decoration:none;padding:.75rem 1rem .5rem;border-radius:var(--radius-md);font-size:.875rem;font-weight:500;transition:all .2s ease-in-out}.auth-link:hover{color:var(--text-primary);background-color:#f1f5f9}.auth-link.primary{background-color:var(--primary-color);color:#fff;border:1px solid var(--primary-color)}.auth-link.primary:hover{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.mobile-menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;z-index:1001}.hamburger{display:flex;flex-direction:column;width:24px;height:18px;position:relative}.hamburger span{display:block;height:2px;width:100%;background-color:var(--text-primary);border-radius:1px;transition:all .3s ease;transform-origin:center}.hamburger span:nth-child(1){margin-bottom:6px}.hamburger span:nth-child(2){margin-bottom:6px}.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}@media (max-width: 768px){.mobile-menu-toggle{display:block}.nav-container{position:relative;padding:0 1rem;height:80px}.mobile-menu{position:absolute;top:100%;left:0;right:0;background:var(--surface-color);border-top:1px solid var(--border-color);box-shadow:var(--shadow-md);transform:translateY(-100%);opacity:0;visibility:hidden;transition:all .3s ease;z-index:1000;max-height:0;overflow:hidden}.mobile-menu.mobile-open{transform:translateY(0);opacity:1;visibility:visible;max-height:600px}.nav-links{flex-direction:column;padding:1rem 1rem 0;gap:.5rem}.nav-link{width:100%;justify-content:flex-start;padding:1rem;border-radius:var(--radius-md)}.nav-auth{padding:1rem;border-top:1px solid var(--border-color);margin-top:.5rem}.mobile-menu .user-menu,.mobile-menu .auth-links{flex-direction:column;gap:.5rem;width:100%}.mobile-menu .auth-link{width:100%;text-align:center;padding:1rem}.mobile-menu .logout-button{width:100%;padding:1rem;margin-bottom:1rem}.nav-brand h1{font-size:1.25rem}}.homepage{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.hero{text-align:center;padding:4rem 2rem;max-width:800px;margin:0 auto}.hero h1{font-size:3.5rem;font-weight:700;margin-bottom:1rem;text-shadow:0 2px 4px rgba(0,0,0,.3)}.hero-subtitle{font-size:1.25rem;margin-bottom:2rem;opacity:.9;line-height:1.6}.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3rem}.cta-button{display:inline-block;padding:1rem 2rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:1.1rem;transition:all .3s ease;border:2px solid transparent}.cta-button.primary{background:#ff6b6b;color:#fff;border-color:#ff6b6b}.cta-button.primary:hover{background:#ff5252;border-color:#ff5252;transform:translateY(-2px);box-shadow:0 4px 12px #ff6b6b66}.cta-button.secondary{background:transparent;color:#fff;border-color:#fff}.cta-button.secondary:hover{background:#fff;color:#667eea;transform:translateY(-2px);box-shadow:0 4px 12px #fff3}.cta-button.large{padding:1.25rem 2.5rem;font-size:1.2rem}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;padding:4rem 2rem;max-width:1200px;margin:0 auto;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.feature{text-align:center;padding:2rem;background:#ffffff1a;border-radius:12px;border:1px solid rgba(255,255,255,.2)}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature h3{font-size:1.5rem;margin-bottom:1rem;font-weight:600}.feature p{opacity:.9;line-height:1.6}.how-it-works{padding:4rem 2rem;max-width:1000px;margin:0 auto;text-align:center}.how-it-works h2{font-size:2.5rem;margin-bottom:3rem;font-weight:700}.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:3rem}.step{padding:2rem;background:#ffffff1a;border-radius:12px;border:1px solid rgba(255,255,255,.2)}.step-number{display:inline-block;width:3rem;height:3rem;background:#ff6b6b;color:#fff;border-radius:50%;line-height:3rem;font-size:1.5rem;font-weight:700;margin-bottom:1rem}.step h3{font-size:1.25rem;margin-bottom:1rem;font-weight:600}.step p{opacity:.9;line-height:1.6}.cta-section{text-align:center;padding:4rem 2rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.cta-section h2{font-size:2.5rem;margin-bottom:1rem;font-weight:700}.cta-section p{font-size:1.25rem;margin-bottom:2rem;opacity:.9}@media (max-width: 768px){.hero h1{font-size:2.5rem}.hero-subtitle{font-size:1.1rem}.cta-buttons{flex-direction:column;align-items:center}.cta-button{width:100%;max-width:300px}.features{grid-template-columns:1fr;padding:2rem 1rem}.steps{grid-template-columns:1fr}.how-it-works h2,.cta-section h2{font-size:2rem}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.auth-card{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0003;padding:2.5rem;width:100%;max-width:400px}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h1{color:#333;font-size:2rem;font-weight:700;margin-bottom:.5rem}.auth-header p{color:#666;font-size:1rem}.auth-form{margin-bottom:2rem}.form-group label{display:block;color:#333;font-weight:600;margin-bottom:.5rem;font-size:.9rem}.form-group input{width:100%;padding:.75rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .3s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background-color:#f8f9fa;cursor:not-allowed}.password-requirements{margin-top:.5rem}.password-requirements small{color:#666;font-size:.8rem}.error-message{background:#fee;color:#c33;padding:.75rem;border-radius:8px;margin-bottom:1rem;border:1px solid #fcc;font-size:.9rem}.auth-button{width:100%;background:#667eea;color:#fff;border:none;padding:.875rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease}.auth-button:hover:not(:disabled){background:#5a6fd8}.auth-button:disabled{background:#ccc;cursor:not-allowed}.auth-footer{text-align:center;color:#666;font-size:.9rem}.auth-footer p{margin-bottom:.5rem}.auth-link{color:#667eea;text-decoration:none;font-weight:600}.auth-link:hover{text-decoration:underline}@media (max-width: 480px){.auth-container{padding:1rem}.auth-card{padding:2rem}.auth-header h1{font-size:1.75rem}}.dashboard{max-width:1200px;margin:0 auto;padding:2rem}.dashboard-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;color:#666}.dashboard-header{text-align:center;margin-bottom:3rem}.dashboard-header h1{color:#333;font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.dashboard-header p{color:#666;font-size:1.1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 10px #0000001a;border:1px solid #e1e5e9;display:flex;align-items:center;gap:1rem}.stat-icon{font-size:2.5rem;opacity:.8}.stat-content h3{color:#333;font-size:2rem;font-weight:700;margin:0;line-height:1}.stat-content p{color:#666;font-size:.9rem;margin:.25rem 0 0}.dashboard-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3rem}.action-button{display:inline-flex;align-items:center;gap:.5rem;padding:1rem 1.5rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:1rem;transition:all .3s ease;border:2px solid transparent}.action-button.primary{background:#667eea;color:#fff;border-color:#667eea}.action-button.primary:hover{background:#5a6fd8;border-color:#5a6fd8;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.action-button.secondary{background:#fff;color:#667eea;border-color:#667eea}.action-button.secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.button-icon{font-size:1.2rem}.recent-section{margin-bottom:3rem}.recent-section h2{color:#333;font-size:1.75rem;font-weight:600;margin-bottom:1.5rem}.recent-prompts{display:grid;gap:1rem;margin-bottom:1.5rem}.prompt-card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;border:1px solid #e1e5e9}.prompt-meta{display:flex;gap:1rem;color:#666;font-size:.9rem;flex-wrap:wrap}.view-all{text-align:center}.view-all-link{color:#667eea;text-decoration:none;font-weight:600}.view-all-link:hover{text-decoration:underline}.empty-state{text-align:center;padding:4rem 2rem;color:#666}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.empty-state h2{color:#333;font-size:1.75rem;font-weight:600;margin-bottom:1rem}@media (max-width: 768px){.dashboard{padding:1rem}.dashboard-header h1{font-size:2rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.stat-card{padding:1rem}.stat-icon{font-size:2rem}.stat-content h3{font-size:1.5rem}.dashboard-actions{flex-direction:column;align-items:center}.action-button{width:100%;max-width:300px;justify-content:center}.prompt-header{flex-direction:column;align-items:flex-start;gap:.5rem}.prompt-meta{flex-direction:column;gap:.25rem}}.prompts-list{max-width:1200px;margin:0 auto;padding:2rem}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;color:#666}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.prompts-header{text-align:center;margin-bottom:3rem}.prompts-header h1{color:#333;font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.prompts-header p{color:#666;font-size:1.1rem;margin-bottom:2rem}.header-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.add-button{display:inline-flex;align-items:center;gap:.5rem;background:#667eea;color:#fff;padding:.75rem 1.5rem;border-radius:8px;text-decoration:none;font-weight:600;transition:all .3s ease}.add-button:hover{background:#5a6fd8;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.toggle-button{display:inline-flex;align-items:center;gap:.5rem;background:#fff;color:#667eea;border:2px solid #667eea;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease}.toggle-button:hover,.toggle-button.active{background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.button-icon{font-size:1.1rem}.error-banner{background:#fee;color:#c33;padding:1rem;border-radius:8px;margin-bottom:2rem;border:1px solid #fcc;text-align:center}.available-section,.user-prompts-section{margin-bottom:3rem}.available-section h2,.user-prompts-section h2{color:#333;font-size:1.75rem;font-weight:600;margin-bottom:1rem}.available-section p{color:#666;margin-bottom:1.5rem}.prompts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.prompt-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 10px #0000001a;border:1px solid #e1e5e9;display:flex;flex-direction:column;gap:1rem;transition:transform .2s ease,box-shadow .2s ease}.prompt-card:hover{transform:translateY(-2px);box-shadow:0 4px 20px #00000026}.prompt-card.available{border-color:#667eea;background:linear-gradient(135deg,#f8faff,#fff)}.prompt-content{flex:1}.prompt-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.prompt-header h3{color:#333;font-size:1.1rem;font-weight:600;margin:0;flex:1;line-height:1.4}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;white-space:nowrap}.status-badge.success{background:#d4edda;color:#155724}.status-badge.pending{background:#fff3cd;color:#856404}.prompt-meta{display:flex;flex-direction:column;gap:.25rem;color:#666;font-size:.9rem}.prompt-actions{display:flex;gap:.5rem;align-items:center}.subscribe-button{background:#28a745;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s ease}.subscribe-button:hover{background:#218838}.unsubscribe-button{background:#dc3545;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s ease}.unsubscribe-button:hover{background:#c82333}.view-data-link{color:#667eea;text-decoration:none;font-size:.9rem;font-weight:600;padding:.5rem 1rem;border:1px solid #667eea;border-radius:6px;transition:all .2s ease}.view-data-link:hover{background:#667eea;color:#fff}.empty-state{text-align:center;padding:3rem 2rem;color:#666}.empty-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state h3{color:#333;font-size:1.5rem;font-weight:600;margin-bottom:1rem}.empty-state p{font-size:1.1rem;margin-bottom:2rem}@media (max-width: 768px){.prompts-list{padding:1rem}.prompts-header h1{font-size:2rem}.header-actions{flex-direction:column;align-items:center}.add-button,.toggle-button{width:100%;max-width:300px;justify-content:center}.prompts-grid{grid-template-columns:1fr}.prompt-header{flex-direction:column;align-items:flex-start;gap:.5rem}.prompt-actions{flex-direction:column;align-items:stretch}.subscribe-button,.unsubscribe-button,.view-data-link{text-align:center}}.add-prompt{max-width:800px;margin:0 auto;padding:2rem}.add-prompt-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:2rem}.add-prompt h2{margin:0 0 2rem;color:#333;font-size:2rem;text-align:center}.success-message{background:#d4edda;color:#155724;padding:1rem;border-radius:6px;margin-bottom:1.5rem;border:1px solid #c3e6cb;text-align:center;font-weight:500}.add-prompt-form{margin-bottom:2rem}.form-label{display:block;margin-bottom:.5rem;font-weight:600;color:#333;font-size:1.1rem}.form-textarea{width:100%;padding:1rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;font-family:Courier New,monospace;line-height:1.5;resize:vertical;min-height:120px;transition:border-color .3s ease}.form-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-textarea:disabled{background:#f8f9fa;cursor:not-allowed}.form-help{margin-top:.5rem;font-size:.9rem;color:#666;font-style:italic}.form-actions{display:flex;gap:1rem;justify-content:flex-end;flex-wrap:wrap}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:120px}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268;transform:translateY(-1px)}.info-section{background:#f8f9fa;padding:1.5rem;border-radius:8px;border-left:4px solid #667eea}.info-section h3{margin:0 0 1rem;color:#333;font-size:1.2rem}.info-section ul{margin:0;padding-left:1.5rem;color:#666}.info-section li{margin-bottom:.5rem;line-height:1.5}@media (max-width: 768px){.add-prompt{padding:1rem}.add-prompt-container{padding:1.5rem}.add-prompt h2{font-size:1.5rem}.form-actions{flex-direction:column}.btn{width:100%}}.date-view{max-width:1200px;margin:0 auto;padding:2rem}.date-view-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:2rem}.date-view h2{margin:0 0 2rem;color:#333;font-size:2rem;text-align:center}.date-selector{display:flex;gap:1rem;align-items:end;margin-bottom:2rem;flex-wrap:wrap}.form-group{flex:1;min-width:200px}.form-label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.form-group input{height:40px;border:1px solid var(--border-color)}.form-input{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:6px;font-size:1rem;transition:border-color .3s ease}.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #667eea4d}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:6px;margin-bottom:1.5rem;border:1px solid #f5c6cb;text-align:center;font-weight:500}.results-summary{background:#d1ecf1;color:#0c5460;padding:1rem;border-radius:6px;margin-bottom:1.5rem;border:1px solid #bee5eb;text-align:center}.empty-state{text-align:center;padding:3rem;color:#666;font-size:1.1rem}.queries-list{display:flex;flex-direction:column;gap:1.5rem}.query-card{border:1px solid #e9ecef;border-radius:8px;overflow:hidden;transition:box-shadow .3s ease}.query-card:hover{box-shadow:0 2px 10px #0000001a}.query-header{background:#f8f9fa;padding:1rem;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e9ecef}.query-info h3{margin:0 0 .5rem;color:#333;font-size:1.2rem}.query-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.9rem;color:#666}.meta-item{display:flex;align-items:center;gap:.25rem}.expand-btn{background:#667eea;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background-color .3s ease}.expand-btn:hover{background:#5a6fd8}.query-content{padding:1rem}.query-text{margin-bottom:1rem}.prompt-text{background:#f8f9fa;padding:1rem;border-radius:6px;font-family:Courier New,monospace;font-size:.9rem;line-height:1.5;margin-top:.5rem;border-left:4px solid #667eea}.search-queries{margin-bottom:1rem}.search-queries ul{margin:.5rem 0 0;padding-left:1.5rem}.search-queries li{margin-bottom:.25rem;font-family:Courier New,monospace;font-size:.9rem;color:#666}.query-details{border-top:1px solid #e9ecef;padding-top:1rem;margin-top:1rem}.conversation-content{margin-bottom:1.5rem}.content-text{background:#f8f9fa;padding:1rem;border-radius:6px;font-size:.9rem;line-height:1.6;margin-top:.5rem;max-height:450px;overflow-y:auto;border:1px solid #e9ecef}.content-text img{max-width:50%!important;height:auto;display:block;margin:.75rem 0;border-radius:.375rem}.cited-urls{margin-top:1rem}.cited-url{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:1rem;margin-bottom:1rem}.url-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.citation-order{background:#667eea;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:600;min-width:2rem;text-align:center}.url-link{color:#667eea;text-decoration:none;font-weight:500}.url-link:hover{text-decoration:underline}.url-snippet{font-size:.9rem;color:#666;margin-bottom:.5rem;line-height:1.4}.url-source{font-size:.8rem;color:#999;font-style:italic}@media (max-width: 768px){.date-view{padding:1rem}.date-view-container{padding:1.5rem}.date-view h2{font-size:1.5rem}.date-selector{flex-direction:column;align-items:stretch}.query-header{flex-direction:column;gap:1rem}.query-meta{flex-direction:column;gap:.5rem}.meta-item{flex-direction:column;align-items:flex-start}}*{box-sizing:border-box}:root{--primary-color: #2563eb;--primary-hover: #1d4ed8;--secondary-color: #64748b;--success-color: #059669;--warning-color: #d97706;--error-color: #dc2626;--background-color: #f8fafc;--surface-color: #ffffff;--border-color: #e2e8f0;--text-primary: #1e293b;--text-secondary: #64748b;--text-muted: #94a3b8;--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);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem}html,body{margin:0;padding:0;width:100%;height:auto;overflow-x:hidden}body{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(--background-color);color:var(--text-primary);line-height:1.6;font-size:16px}#root{min-height:100vh;margin:auto;width:75%}@media (max-width: 1024px){#root{width:100%;margin:0;min-height:100vh;min-height:100dvh}.app{min-height:100vh;min-height:100dvh}}.app{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;padding:2rem 1rem;min-height:calc(100vh - 80px)}.main-content.no-top-padding{padding-top:0}.container{width:100%;max-width:1200px;margin:0 auto}.card{background:var(--surface-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);border:1px solid var(--border-color);overflow:hidden}.card-header{padding:1.5rem 2rem;border-bottom:1px solid var(--border-color);background:var(--surface-color)}.card-body{padding:2rem}.card-footer{padding:1rem 2rem;border-top:1px solid var(--border-color);background:#f8fafc}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;border-radius:var(--radius-md);font-weight:500;font-size:.875rem;line-height:1rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:all .2s ease-in-out;min-height:2rem}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.btn-primary:hover:not(:disabled){background-color:var(--primary-hover);border-color:var(--primary-hover)}.btn-secondary{background-color:var(--surface-color);color:var(--text-primary);border-color:var(--border-color)}.btn-secondary:hover:not(:disabled){background-color:#f1f5f9;border-color:var(--secondary-color)}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-weight:500;color:var(--text-primary);margin-bottom:.5rem;font-size:.875rem}.form-input{width:100%;padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:var(--radius-md);font-size:.875rem;background-color:var(--surface-color);color:var(--text-primary);transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}.form-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a}input[type=date]{position:relative;cursor:pointer;padding-right:2.5rem}input[type=date]::-webkit-calendar-picker-indicator{position:absolute;top:50%;right:.75rem;transform:translateY(-50%);width:1rem;height:1rem;background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3e%3c/svg%3e") no-repeat center;background-size:contain;cursor:pointer;opacity:.7}input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}input[type=date]::-webkit-inner-spin-button,input[type=date]::-webkit-clear-button{display:none;-webkit-appearance:none}.alert{padding:1rem 1.5rem;border-radius:var(--radius-md);margin-bottom:1.5rem;border:1px solid}.alert-success{background-color:#f0fdf4;border-color:#bbf7d0;color:var(--success-color)}.alert-error{background-color:#fef2f2;border-color:#fecaca;color:var(--error-color)}.alert-info{background-color:#eff6ff;border-color:#bfdbfe;color:var(--primary-color)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid #f3f3f3;border-top:3px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 1024px){.main-content{padding:1rem .5rem}.container{max-width:100%;padding:0 .5rem}.card-header,.card-body,.card-footer{padding:1rem}.nav-container{padding:0 1rem;height:80px}.nav-brand h1{font-size:1.25rem}.nav-links{gap:.25rem}.nav-link{padding:.5rem .75rem;font-size:.8rem}.nav-icon{display:none}}@media (max-width: 768px){.main-content{padding:.75rem .25rem}.container{padding:0 .25rem}.card-header,.card-body,.card-footer{padding:.75rem}}@media (max-width: 480px){.main-content{padding:.5rem .25rem}.container{padding:0 .25rem}.card-header,.card-body,.card-footer{padding:.75rem}.nav-container{flex-direction:column;height:auto;min-height:120px;padding:.75rem .5rem;gap:.75rem}.nav-links{width:100%;justify-content:center}.btn{padding:.5rem 1rem;font-size:.8rem}.form-input{padding:.5rem .75rem}}
