:root{--spacing-xs:0.25rem;--spacing-sm:0.5rem;--spacing-md:0.75rem;--spacing-lg:1rem;--spacing-xl:1.25rem;--spacing-2xl:1.5rem;--spacing-3xl:2rem;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-full:9999px;--shadow-sm:0 1px 2px #0000001a;--shadow-md:0 4px 6px #0000001a;--shadow-lg:0 10px 25px #0003;--transition-fast:0.15s ease;--transition-normal:0.2s ease;--transition-slow:0.3s ease;--bottom-nav-height:60px;--header-height:56px}.page-container{display:flex;flex-direction:column;gap:.5rem;gap:var(--spacing-sm);margin:0 auto;max-width:1400px;padding:.5rem;padding:var(--spacing-sm)}@media (min-width:640px){.page-container{gap:1rem;gap:var(--spacing-lg);padding:1rem;padding:var(--spacing-lg)}}@media (min-width:1024px){.page-container{gap:2rem;gap:var(--spacing-3xl);padding:1.5rem;padding:var(--spacing-2xl)}}.app-card{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;border-radius:var(--radius-md);box-shadow:0 4px 6px #0000001a;box-shadow:var(--shadow-md);padding:1rem;padding:var(--spacing-lg);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;transition:transform var(--transition-normal),box-shadow var(--transition-normal),border-color var(--transition-normal)}@media (max-width:639px){.app-card{border-radius:8px;border-radius:var(--radius-sm);margin-bottom:.5rem;margin-bottom:var(--spacing-sm);padding:.75rem .5rem;padding:var(--spacing-md) var(--spacing-sm)}}@media (min-width:640px){.app-card{border-radius:12px;border-radius:var(--radius-md);padding:1.25rem;padding:var(--spacing-xl)}}@media (min-width:1024px){.app-card{border-radius:16px;border-radius:var(--radius-lg);padding:1.5rem;padding:var(--spacing-2xl)}}.app-card--interactive:hover{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 10px 25px #0003;box-shadow:var(--shadow-lg);transform:translateY(-2px)}.app-card--gradient{background:linear-gradient(90deg,#1e293b,#293548);background:linear-gradient(to right,var(--card-bg),var(--input-bg))}.section-header{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary);font-size:1.125rem;font-weight:600;margin:0 0 1rem;margin:0 0 var(--spacing-lg) 0;padding-bottom:.75rem;padding-bottom:var(--spacing-md);text-align:left}@media (max-width:639px){.section-header{background:#1e293b;background:var(--card-bg);border-bottom:2px solid #334155;border-bottom:2px solid var(--border-color);font-size:1.125rem;margin-bottom:.75rem;margin-bottom:var(--spacing-md);padding:0 1rem .75rem;padding:0 var(--spacing-lg) var(--spacing-md) var(--spacing-lg);position:-webkit-sticky;position:sticky;top:0;z-index:10}}@media (min-width:640px){.section-header{font-size:1.25rem;margin-bottom:1.5rem;margin-bottom:var(--spacing-2xl)}}.app-input{-webkit-appearance:none;background:#293548;background:var(--input-bg);border:2px solid #334155;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--radius-md);color:#f8fafc;color:var(--text-primary);font-size:1rem;padding:.75rem 1rem;padding:var(--spacing-md) var(--spacing-lg);transition:all .2s ease;transition:all var(--transition-normal);width:100%}.app-input:focus{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb26;outline:none}.app-input::placeholder{color:#94a3b8;color:var(--text-secondary)}@media (max-width:639px){.app-input{font-size:1rem;min-height:48px;padding:.75rem 1.25rem;padding:var(--spacing-md) var(--spacing-xl)}}.app-btn{align-items:center;border:none;border-radius:12px;border-radius:var(--radius-md);cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:500;gap:.5rem;gap:var(--spacing-sm);justify-content:center;min-height:44px;min-width:44px;padding:.75rem 1rem;padding:var(--spacing-md) var(--spacing-lg);text-decoration:none;transition:all .2s ease;transition:all var(--transition-normal)}.app-btn--primary{background:#2563eb;background:var(--primary-color);color:#fff}.app-btn--primary:hover{background:#1d4ed8;background:var(--primary-hover);transform:translateY(-1px)}.app-btn--primary:active{transform:scale(.98)}.app-btn--secondary{background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary)}.app-btn--secondary:hover{background:#1e293b;background:var(--card-bg);border-color:#2563eb;border-color:var(--primary-color)}.app-btn--icon{border-radius:12px;border-radius:var(--radius-md);height:48px;padding:0;width:48px}.app-btn:disabled{background:#64748b;background:var(--secondary-color);cursor:not-allowed;transform:none}.app-btn--block,.app-grid{width:100%}.app-grid{grid-gap:1rem;grid-gap:var(--spacing-lg);display:grid;gap:1rem;gap:var(--spacing-lg)}.app-grid--cards{grid-template-columns:1fr}@media (min-width:640px){.app-grid--cards{gap:1.5rem;gap:var(--spacing-2xl);grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.app-grid--cards{grid-template-columns:repeat(3,1fr)}}.app-grid--metrics{gap:.75rem;gap:var(--spacing-md);grid-template-columns:repeat(2,1fr)}@media (min-width:640px){.app-grid--metrics{gap:1rem;gap:var(--spacing-lg);grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.search-wrapper{align-items:center;display:flex;gap:.75rem;gap:var(--spacing-md);margin-bottom:.75rem;margin-bottom:var(--spacing-md)}.search-input-wrapper{align-items:center;display:flex;flex:1 1;position:relative}.search-input-wrapper__icon{color:#94a3b8;color:var(--text-secondary);font-size:1rem;left:1rem;left:var(--spacing-lg);pointer-events:none;position:absolute;z-index:1}.search-input-wrapper .app-input{padding-left:2.75rem;padding-right:2.5rem}.app-tag{align-items:center;background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:9999px;border-radius:var(--radius-full);color:#94a3b8;color:var(--text-secondary);display:inline-flex;font-size:.8rem;gap:.25rem;gap:var(--spacing-xs);padding:.25rem .75rem;padding:var(--spacing-xs) var(--spacing-md)}.app-tag--active{background:#2563eb26;border-color:#2563eb;border-color:var(--primary-color);color:#2563eb;color:var(--primary-color)}.app-tag--success{background:#10b9811a;border-color:#10b981;border-color:var(--success-color);color:#10b981;color:var(--success-color)}.app-tag--danger{background:#ef44441a;border-color:#ef4444;border-color:var(--danger-color);color:#ef4444;color:var(--danger-color)}.value-positive{color:#10b981;color:var(--success-color)}.value-negative{color:#ef4444;color:var(--danger-color)}.value-badge{border-radius:6px;font-size:.875rem;font-weight:500;padding:.25rem .75rem;padding:var(--spacing-xs) var(--spacing-md)}.value-badge--positive{background:#10b9811a;border:1px solid #10b981;border:1px solid var(--success-color);color:#10b981;color:var(--success-color)}.value-badge--negative{background:#ef44441a;border:1px solid #ef4444;border:1px solid var(--danger-color);color:#ef4444;color:var(--danger-color)}.app-spinner{animation:spin .8s linear infinite;border:2px solid #334155;border-top-color:#2563eb;border:2px solid var(--border-color);border-radius:50%;border-top-color:var(--primary-color);height:18px;width:18px}.app-spinner--light{border-color:#fff #ffffff4d #ffffff4d}.app-dropdown{animation:slideDown .2s ease;animation:slideDown var(--transition-normal);background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;border-radius:var(--radius-md);box-shadow:0 10px 25px #0003;box-shadow:var(--shadow-lg);left:0;margin-top:.5rem;margin-top:var(--spacing-sm);max-height:320px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:100}.app-dropdown__item{align-items:center;border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);cursor:pointer;display:flex;justify-content:space-between;padding:.75rem 1rem;padding:var(--spacing-md) var(--spacing-lg);transition:background-color .15s ease;transition:background-color var(--transition-fast)}.app-dropdown__item:last-child{border-bottom:none}.app-dropdown__item:active,.app-dropdown__item:hover{background:#293548;background:var(--input-bg)}@media (hover:none) and (pointer:coarse){.app-dropdown__item{padding:1rem 1.25rem;padding:var(--spacing-lg) var(--spacing-xl)}}.app-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition:all .3s ease;transition:all var(--transition-slow);visibility:hidden;z-index:1000}.app-modal-overlay--active{opacity:1;visibility:visible}.app-modal{background:#0f172a;background:var(--background-dark);border-radius:20px 20px 0 0;border-radius:var(--radius-xl) var(--radius-xl) 0 0;bottom:0;display:flex;flex-direction:column;left:0;max-height:90vh;position:fixed;right:0;transform:translateY(100%);transition:transform .3s ease cubic-bezier(.32,.72,0,1);transition:transform var(--transition-slow) cubic-bezier(.32,.72,0,1);z-index:1001}.app-modal-overlay--active .app-modal{transform:translateY(0)}@media (min-width:1024px){.app-modal{border-radius:0;bottom:0;left:auto;max-height:100vh;max-width:420px;right:0;top:0;transform:translateX(100%)}.app-modal-overlay--active .app-modal{transform:translateX(0)}}.app-modal__header{align-items:center;border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:1rem 1.25rem;padding:var(--spacing-lg) var(--spacing-xl)}.app-modal__title{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;font-weight:600}.app-modal__close{align-items:center;background:#293548;background:var(--input-bg);border:none;border-radius:50%;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s ease;transition:all var(--transition-normal);width:36px}.app-modal__close:hover{background:#1e293b;background:var(--card-bg);color:#f8fafc;color:var(--text-primary)}.app-modal__content{flex:1 1;overflow-y:auto}.app-modal__content,.app-modal__footer{padding:1rem 1.25rem;padding:var(--spacing-lg) var(--spacing-xl)}.app-modal__footer{background:#0f172a;background:var(--background-dark);border-top:1px solid #334155;border-top:1px solid var(--border-color);display:flex;gap:.75rem;gap:var(--spacing-md);padding-bottom:calc(1rem + env(safe-area-inset-bottom));padding-bottom:calc(var(--spacing-lg) + env(safe-area-inset-bottom))}.text-primary{color:#f8fafc;color:var(--text-primary)}.text-secondary{color:#94a3b8;color:var(--text-secondary)}.text-center{text-align:center}.flex-center{align-items:center;display:flex;justify-content:center}.gap-sm{gap:.5rem;gap:var(--spacing-sm)}.gap-md{gap:.75rem;gap:var(--spacing-md)}.gap-lg{gap:1rem;gap:var(--spacing-lg)}@supports (padding-bottom:env(safe-area-inset-bottom)){.safe-area-bottom{padding-bottom:calc(1rem + env(safe-area-inset-bottom));padding-bottom:calc(var(--spacing-lg) + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.home-container{background-color:var(--background-dark);color:var(--text-primary);min-height:100vh}.hero-buttons{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-bottom:3rem}.hero-video-container{margin:0 auto 2rem;max-width:1200px;width:100%}.hero-video{border-radius:12px;box-shadow:0 10px 30px #0003;display:block;width:100%}.features-section{background-color:var(--card-bg);padding:4rem 0}.features-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));padding:1rem}.feature-card{background:var(--background-dark);border:1px solid var(--border-color);border-radius:16px;padding:2rem;transition:transform .2s ease,box-shadow .2s ease}.feature-card:hover{box-shadow:0 8px 24px #0003;transform:translateY(-5px)}.feature-icon{align-items:center;background:var(--primary-color);border-radius:12px;display:flex;height:48px;justify-content:center;margin-bottom:1.5rem;width:48px}.feature-icon i{color:#fff;font-size:1.5rem}.feature-card h3{color:var(--text-primary);font-size:1.25rem;margin-bottom:1rem}.feature-card p{color:var(--text-secondary);line-height:1.6;margin-bottom:1.5rem}.feature-link{align-items:center;color:var(--primary-color);display:flex;font-weight:500;gap:.5rem;text-decoration:none;transition:color .2s ease}.feature-link:hover{color:var(--primary-hover)}.cta-section{background-color:var(--background-dark);padding:4rem 0}.cta-content{margin:0 auto;max-width:600px;text-align:center}.cta-content h2{color:var(--text-primary);font-size:2rem;margin-bottom:1rem}.cta-content p{color:var(--text-secondary);margin-bottom:2rem}.cta-buttons{align-items:center;flex-direction:column}.primary-button,.secondary-button{padding:.875rem 1.5rem}.text-button{color:var(--text-secondary);text-decoration:none;transition:color .2s ease}.text-button:hover{color:var(--text-primary)}.container{display:flex;flex-direction:column;gap:2rem;margin:0 auto;max-width:1400px;padding:0 1rem}@media (max-width:768px){.hero-section{padding:3rem 1rem;text-align:center}.hero-section h1{font-size:1.75rem;line-height:1.3;margin-bottom:1rem}.hero-subtitle{font-size:1rem;line-height:1.5;margin-bottom:1.5rem;padding:0 .5rem}.hero-buttons{display:flex;flex-direction:column;gap:.75rem;margin:0 auto 2rem;max-width:100%;padding:0 1rem}.hero-buttons .primary-button,.hero-buttons .secondary-button{box-sizing:border-box;margin:0;max-width:100%;overflow:hidden;padding:.75rem 1rem;text-overflow:ellipsis;white-space:nowrap;width:100%}.hero-video-container{margin-bottom:1rem}.hero-video{border-radius:8px;box-shadow:0 5px 15px #0003}.features-section{padding:2rem 0}.features-grid{gap:1.5rem;grid-template-columns:1fr;padding:1rem}.feature-card{margin:0 1rem;padding:1.5rem;width:auto}.feature-card h3{word-wrap:break-word;font-size:1.25rem;margin-bottom:.75rem}.feature-card p{font-size:.9rem;line-height:1.5;margin-bottom:1rem}.feature-link{font-size:.9rem;padding:.5rem 0}.cta-section{padding:2rem 1rem}.cta-content{padding:0 1rem}.cta-content h2{font-size:1.5rem;line-height:1.3;margin-bottom:.75rem}.cta-content p{font-size:.9rem;line-height:1.5}.feature-icon{height:40px;margin-bottom:1rem;width:40px}.feature-icon i{font-size:1.25rem}.container{gap:.5rem;padding:.5rem}.primary-button,.secondary-button{font-size:.9rem;justify-content:center;max-width:100%;padding:.75rem 1rem;width:100%}.text-button{font-size:.9rem;padding:.5rem 0}}@media (max-width:360px){.hero-section h1{font-size:1.5rem}.feature-card{margin:0 .5rem;padding:1.25rem}.feature-card h3{font-size:1.1rem}.feature-card p{font-size:.85rem}}@media (min-width:769px) and (max-width:1024px){.features-grid{grid-template-columns:repeat(2,1fr)}.feature-card{margin:0}}.login-container{align-items:center;background-color:#0f172a;background-color:var(--background-dark);display:flex;justify-content:center;min-height:100vh;padding:1rem}.login-card{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;max-width:440px;padding:2.5rem;width:100%}.login-header{margin-bottom:2rem;text-align:center}.login-header h1{color:#f8fafc;color:var(--text-primary);font-size:1.875rem;font-weight:600;margin-bottom:.5rem}.login-header p{color:#94a3b8;color:var(--text-secondary);font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{gap:.5rem}.form-group label{color:#94a3b8;color:var(--text-secondary);font-size:.95rem;font-weight:500}.password-header{align-items:center;display:flex;justify-content:space-between}.forgot-link{color:#2563eb;color:var(--primary-color);font-size:.875rem;text-decoration:none;transition:color .2s ease}.forgot-link:hover{color:#1d4ed8;color:var(--primary-hover);text-decoration:underline}.input-group{border:1px solid #334155;display:flex;transition:all .2s ease}.input-group:focus-within{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 0 0 2px #2563eb1a}.input-group-text{align-items:center;background-color:#293548;color:#94a3b8;display:flex}.input-group .form-control{background-color:#293548;background-color:var(--input-bg);border:none;color:#f8fafc;color:var(--text-primary);flex:1 1;font-size:.95rem;padding:.75rem 1rem}.input-group .form-control::placeholder{color:#94a3b8;color:var(--text-secondary)}.input-group .form-control:focus{box-shadow:none;outline:none}.login-button{align-items:center;background:#2563eb;background:var(--primary-color);border:none;border-radius:8px;color:#fff;display:flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;margin-top:.5rem;padding:.875rem;transition:all .2s ease;width:100%}.login-button:not(:disabled):hover{background:#1d4ed8;background:var(--primary-hover);box-shadow:0 4px 12px #2563eb40;transform:translateY(-1px)}.login-button:disabled{cursor:not-allowed;opacity:.7}.loading-spinner{align-items:center;display:inline-flex;justify-content:center}.error-message{border-radius:8px;font-size:.95rem;gap:.5rem;padding:.75rem 1rem}.register-prompt{color:#94a3b8;color:var(--text-secondary);font-size:.95rem;margin-top:1.5rem;text-align:center}.register-prompt a{color:#2563eb;color:var(--primary-color);font-weight:500;text-decoration:none}.register-prompt a:hover{text-decoration:underline}.google-signin-btn{background-color:#fff;border:1px solid #dadce0;border-radius:4px;cursor:pointer;height:40px;margin:10px 0;padding:1px;transition:background-color .2s,box-shadow .2s;width:100%}.google-signin-btn:hover{background-color:#f8f9fa;box-shadow:0 1px 2px #0000001a}.google-signin-content{align-items:center;display:flex;gap:10px;justify-content:center;padding:8px 12px}.google-signin-content img{height:18px;width:18px}.google-signin-content span{color:#3c4043;font-family:Roboto,-apple-system,sans-serif;font-size:14px;font-weight:500}@media (max-width:640px){.login-card{padding:1.5rem}}.stock-card{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;display:flex;flex-direction:column;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.stock-card:hover{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.stock-card-header{align-items:flex-start;background:#293548;background:var(--input-bg);border-bottom:none;display:flex;justify-content:space-between;padding:1.5rem 1.5rem .75rem}.stock-sector{display:block;font-size:.85rem;margin-top:.25rem}.stock-card-title{display:flex;flex-direction:column;gap:.5rem}.stock-card-summary{background:#293548;background:var(--input-bg);border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);padding:.5rem 1.5rem 1rem}.stock-card-title h2{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;font-weight:600;margin:0}.stock-card-actions{align-items:center;display:flex;gap:1rem}.value-container{align-items:flex-end;display:flex;flex-direction:column;gap:.25rem}.sort-label{color:#94a3b8;color:var(--text-secondary);font-size:.625rem;letter-spacing:.5px;text-transform:uppercase}.stock-card-content{background:#1e293b;background:var(--card-bg);display:flex;flex:1 1;flex-direction:column;gap:1rem;padding:1.5rem}.card-section{background-color:#293548;background-color:var(--input-bg);border-radius:8px;padding:1rem}.card-section-title{color:#f8fafc;color:var(--text-primary);font-size:.875rem;font-weight:600;margin-bottom:1rem}.metrics-tabs{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);display:flex;gap:1rem;margin-bottom:1rem;padding-bottom:.5rem}.tab-button{background:#0000;border:none;border-bottom:2px solid #0000;color:#94a3b8;color:var(--text-secondary);cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s ease}.tab-button.active,.tab-button:hover{color:#f8fafc;color:var(--text-primary)}.tab-button.active{border-bottom:2px solid #2563eb;border-bottom:2px solid var(--primary-color)}.summary-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(4,1fr)}.summary-item{align-items:center;display:flex;flex-direction:column;gap:.25rem;padding:.5rem 0}.summary-item label{color:#94a3b8;color:var(--text-secondary);font-size:.75rem;margin-top:.25rem;text-align:center}.summary-gauge{transform:scale(1.3)}.summary-gauge-container{position:relative;z-index:20}.gauge-container.summary-gauge-container{position:relative;z-index:30}.metrics-content{padding-top:.5rem}.metrics-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}.metric{display:flex;flex-direction:column;gap:.25rem}.metric-content{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.metric label{color:#94a3b8;color:var(--text-secondary);font-size:.75rem}.metric-value-row{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.metric span{color:#f8fafc;color:var(--text-primary);font-size:.875rem;font-weight:500}.gauge-container{cursor:pointer;position:relative;transition:transform .2s ease}.gauge-container:hover{transform:scale(1.3)}.gauge-container text{dominant-baseline:middle;font-family:var(--font-sans);font-weight:600}.gauge-container:hover:before{opacity:1;visibility:visible}.metric-tooltip{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:.375rem;bottom:100%;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;color:#f8fafc;color:var(--text-primary);font-size:.875rem;margin-bottom:8px;max-width:100px;padding:.5rem 1rem;position:fixed;text-align:center;transform:translateX(-50%);width:-webkit-max-content;width:max-content;z-index:50}.metric-tooltip.summary-tooltip{font-size:.65rem!important;left:50%!important;max-width:100px!important;padding:8px!important;position:absolute!important;text-align:center!important;top:-40px!important;transform:translateX(-50%)!important;width:100px!important;z-index:100}.metric-tooltip-arrow{background:#1e293b;background:var(--card-bg);border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);border-right:1px solid #334155;border-right:1px solid var(--border-color);bottom:-5px;height:10px;left:50%;position:absolute;transform:translateX(-50%) rotate(45deg);width:10px}.period-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(4,1fr)}.period-cell{align-items:center;border-radius:8px;display:flex;flex-direction:column;gap:.25rem;padding:.75rem;transition:all .2s ease}.period-label{color:#94a3b8;color:var(--text-secondary);font-size:.75rem}.period-value{align-items:center;display:flex;font-size:.875rem;font-weight:500;gap:.25rem}.stock-actions{display:flex;gap:.5rem;margin-top:1rem}.action-button{border-radius:.5rem;padding:.75rem 1.5rem}.growth-indicator.positive,.growth-value.positive,.metric span.positive,.metric-value-row .positive,.price-change.positive{color:#10b981;color:var(--success-color)}.growth-indicator.negative,.growth-value.negative,.metric span.negative,.metric-value-row .negative,.price-change.negative{color:#ef4444;color:var(--danger-color)}.action-button.primary{background-color:#2563eb;background-color:var(--primary-color);color:#f8fafc;color:var(--text-primary)}.action-button.primary:hover{background-color:#1d4ed8;background-color:var(--primary-hover)}.action-button.secondary{background-color:#64748b;background-color:var(--secondary-color)}.expand-button{align-items:center;background:#0000;border:none;border-radius:8px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}@media (max-width:768px){.stock-card-header{padding:1rem 1rem .5rem}.stock-card-summary{padding:.25rem 1rem .75rem}.summary-grid{gap:.25rem;grid-template-columns:repeat(4,1fr)}.summary-item label{font-size:.7rem}.stock-card-content{gap:.75rem;padding:0}.card-section{padding:.75rem}.period-grid{grid-template-columns:repeat(2,1fr)}.summary-gauge{transform:scale(1.3)}.metric{gap:0}.metric-tooltip{font-size:.75rem;padding:.375rem .75rem}.metrics-grid{gap:.75rem}.sort-label{font-size:.563rem}.tab-button{padding:.25rem .75rem}.corner-action-btn{font-size:1rem;height:40px;width:40px}.stock-card-header{padding-right:3rem}}@keyframes cornerBtnAppear{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.corner-action-btn{animation:cornerBtnAppear .2s ease-out}.stock-card{position:relative}.corner-action-btn{align-items:center;border:none;border-radius:0 12px 0 12px;box-shadow:-2px 2px 8px #00000026;cursor:pointer;display:flex;font-size:.875rem;height:36px;justify-content:center;position:absolute;right:-1px;top:-1px;transition:all .2s ease;width:36px;z-index:10}.corner-action-btn.add{background:linear-gradient(135deg,#2563eb,#1d4ed8);background:linear-gradient(135deg,var(--primary-color) 0,#1d4ed8 100%);color:#fff}.corner-action-btn.add:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:-2px 2px 12px #2563eb66;transform:scale(1.05)}.corner-action-btn.add:active{transform:scale(.95)}.corner-action-btn.remove{background:linear-gradient(135deg,#1e293b,#293548);background:linear-gradient(135deg,var(--card-bg) 0,var(--input-bg) 100%);border:1px solid #334155;border:1px solid var(--border-color);border-right:none;border-top:none;color:#94a3b8;color:var(--text-secondary)}.corner-action-btn.remove:hover{background:linear-gradient(135deg,#ef444426,#ef444440);border-color:#ef4444;border-color:var(--danger-color);color:#ef4444;color:var(--danger-color);transform:scale(1.05)}.corner-action-btn.remove:active{transform:scale(.95)}@media (max-width:768px){.corner-action-btn{font-size:1rem;height:40px;width:40px}}@media (hover:none){.corner-action-btn:active{transform:scale(.9)}.corner-action-btn.add:active{background:linear-gradient(135deg,#1e40af,#1e3a8a)}.corner-action-btn.remove:active{background:#ef44444d}}.stock-detail-container{margin:0 auto;max-width:1200px;padding:1.5rem 1rem}.stock-detail-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.breadcrumbs{font-size:.9rem}.breadcrumbs,.breadcrumbs a{color:#94a3b8;color:var(--text-secondary)}.breadcrumbs a{text-decoration:none;transition:color .2s}.breadcrumbs a:hover{color:#2563eb;color:var(--primary-color)}.header-actions{display:flex;gap:1rem}.portfolio-button,.watchlist-button{align-items:center;border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.625rem 1rem;transition:all .2s ease}.watchlist-button{background:#293548;background:var(--input-bg);color:#f8fafc;color:var(--text-primary)}.watchlist-button:hover{border-color:#2563eb;border-color:var(--primary-color)}.watchlist-button.active{background-color:#10b9811a;border-color:#10b981;border-color:var(--success-color);color:#10b981;color:var(--success-color)}.portfolio-button{background:#2563eb;background:var(--primary-color);border-color:#2563eb;border-color:var(--primary-color);color:#fff}.portfolio-button:hover{background:#1d4ed8;background:var(--primary-hover);transform:translateY(-2px)}.stock-detail-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr}.detail-left-column,.detail-right-column{display:flex;flex-direction:column;gap:1.5rem}.enhanced-stock-card{overflow:hidden;padding:0}.enhanced-stock-card .stock-card{border:none;border-radius:0;box-shadow:none}.enhanced-stock-card .stock-card:hover{border-color:#334155;border-color:var(--border-color);box-shadow:none;transform:none}.section-title{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);font-size:1.25rem;margin-bottom:1.25rem;padding-bottom:.75rem}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.25rem}.section-header h2{color:#f8fafc;color:var(--text-primary);font-size:1.25rem;font-weight:600;margin:0}.price-summary{align-items:center;display:flex;gap:.75rem}.current-price{color:#f8fafc;color:var(--text-primary);font-size:1.25rem;font-weight:600}.price-change{align-items:center;border-radius:4px;display:flex;font-size:.875rem;font-weight:500;gap:.25rem;padding:.25rem .5rem}.price-change.positive{background:#10b9811a;color:#10b981;color:var(--success-color)}.price-change.negative{background:#ef44441a;color:#ef4444;color:var(--danger-color)}.timeframe-buttons{gap:.5rem;margin-bottom:1rem;padding:.5rem}.timeframe-button{border-radius:4px;padding:.5rem 1rem}.chart-controls-container{flex-wrap:wrap;justify-content:space-between;margin-bottom:1rem}.chart-controls-container,.chart-options{align-items:center;display:flex;gap:1rem}.moving-averages-toggle{align-items:center;cursor:pointer;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none}.moving-averages-toggle input[type=checkbox]{accent-color:#2563eb;accent-color:var(--primary-color);cursor:pointer;height:16px;width:16px}.checkbox-label{color:#94a3b8;color:var(--text-secondary);cursor:pointer;font-size:.875rem}.moving-averages-toggle:hover .checkbox-label{color:#f8fafc;color:var(--text-primary)}.chart-container{height:300px;margin-bottom:1rem;width:100%}.chart-placeholder{align-items:center;background:#293548;background:var(--input-bg);border-radius:8px;color:#94a3b8;color:var(--text-secondary);display:flex;height:100%;justify-content:center}.chart-legend{border-top:1px solid #334155;border-top:1px solid var(--border-color);display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:1rem;padding-top:1rem}.legend-item{align-items:center;display:flex;gap:.5rem}.legend-line{border-radius:1px;height:2px;width:20px}.legend-line.main-line{background-color:#10b981;background-color:var(--success-color)}.legend-line.ma50-line{background-color:#ff7300;background-image:repeating-linear-gradient(90deg,#ff7300,#ff7300 5px,#0000 0,#0000 10px)}.legend-line.ma200-line{background-color:#8884d8;background-image:repeating-linear-gradient(90deg,#8884d8,#8884d8 10px,#0000 0,#0000 15px)}.legend-label{color:#94a3b8;color:var(--text-secondary);font-size:.875rem}.performance-summary{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1rem;margin-top:1rem}.performance-metric{align-items:center;background:#293548;background:var(--input-bg);border-radius:8px;display:flex;flex-direction:column;justify-content:center;padding:.75rem}.metric-label{color:#94a3b8;color:var(--text-secondary);font-size:.75rem}.metric-value{align-items:center;display:flex;font-size:.875rem;font-weight:500;gap:.25rem}.metric-value.positive{color:#10b981;color:var(--success-color)}.metric-value.negative{color:#ef4444;color:var(--danger-color)}.section-subtitle{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary);font-size:1.1rem;margin:1.5rem 0 1rem;padding-bottom:.5rem}.dividend-table{margin-top:1.5rem}.table-container{margin-top:.5rem;overflow-x:auto}.table-container table{border-collapse:collapse;color:#f8fafc;color:var(--text-primary);width:100%}.table-container th{background-color:#293548;background-color:var(--input-bg);color:#94a3b8;color:var(--text-secondary);font-size:.9rem;font-weight:500;padding:.75rem;text-align:left}.table-container td{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);font-size:.9rem;padding:.75rem}.table-container td.positive{color:#10b981;color:var(--success-color)}.table-container td.negative{color:#ef4444;color:var(--danger-color)}.company-info{margin-bottom:1.5rem}.info-row{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:.75rem 0}.info-label{color:#94a3b8;color:var(--text-secondary);font-size:.875rem}.info-value{color:#f8fafc;color:var(--text-primary);font-weight:500}.company-description p{color:#94a3b8;color:var(--text-secondary);line-height:1.6;margin-bottom:1rem}.company-description p:last-child{margin-bottom:0}.stock-detail-error,.stock-detail-loading{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:center;min-height:50vh;padding:2rem;text-align:center}.stock-detail-loading .loading-spinner{animation:spin 1s linear infinite;border:3px solid #94a3b8;border-top-color:#2563eb;border:3px solid var(--text-secondary);border-radius:50%;border-top-color:var(--primary-color);height:3rem;width:3rem}.stock-detail-error{color:#ef4444;color:var(--danger-color)}.stock-detail-error i{font-size:3rem}@media (min-width:768px){.stock-detail-grid{grid-template-areas:"left right" "overview overview";grid-template-columns:1fr 1fr}.detail-left-column{grid-area:left}.detail-right-column{grid-area:right}.company-overview-section{grid-area:overview}.performance-summary{grid-template-columns:repeat(4,1fr)}}@media (max-width:767px){.stock-detail-container{padding:1rem .5rem}.stock-detail-grid{grid-template-columns:1fr}.section-title{margin-bottom:1rem}.current-price,.section-header h2,.section-title{font-size:1.125rem}.timeframe-buttons{margin-bottom:.75rem;padding:.375rem}.timeframe-button{font-size:.875rem;padding:.375rem .75rem}.chart-container{height:270px}.performance-metric{padding:.5rem .75rem}.header-actions{justify-content:space-between;width:100%}.table-container td,.table-container th{font-size:.85rem;padding:.5rem}.portfolio-button,.watchlist-button{flex:1 1;font-size:.875rem;justify-content:center;padding:.5rem .75rem}.info-row{padding:.625rem 0}.company-description p{font-size:.875rem}.chart-controls-container{align-items:stretch;flex-direction:column}.chart-legend,.timeframe-buttons{justify-content:center}}@media (prefers-color-scheme:dark){.stock-detail-container{background-color:#0f172a;background-color:var(--background-dark);color:#f8fafc;color:var(--text-primary)}}.updates-container{max-height:400px}.updates-container::-webkit-scrollbar{width:6px}.updates-container::-webkit-scrollbar-thumb{border-radius:3px}.updates-container::-webkit-scrollbar-thumb:hover{background-color:var(--text-secondary)}.updates-list{gap:.5rem;padding-right:.25rem}.update-item{border-radius:6px;gap:.75rem;padding:.75rem}.update-item:hover{background:var(--card-bg);transform:translateX(2px)}.update-icon{margin-top:2px}.update-icon i{font-size:.75rem}.update-message{font-size:.85rem}.no-updates-message{align-items:center;color:var(--text-secondary);display:flex;flex-direction:column;justify-content:center;padding:2rem;text-align:center}.no-updates-message i{font-size:1.5rem;margin-bottom:.5rem}.no-updates-message p{font-size:.9rem;margin:0}@media (max-width:768px){.updates-container{max-height:300px}.update-item{gap:.5rem;padding:.5rem}.update-icon{height:20px;width:20px}.update-icon i{font-size:.7rem}.update-message{font-size:.8rem}}.portfolio-container,.watchlist-container{display:flex;flex-direction:column;gap:.75rem;max-width:1400px}.section-card{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden;padding:1rem}.search-section .section-card{background:linear-gradient(90deg,#1e293b,#293548);background:linear-gradient(to right,var(--card-bg),var(--input-bg))}.watchlist-header{margin-bottom:1rem}.watchlist-header h1{color:#f8fafc;color:var(--text-primary);font-size:1.5rem;margin-bottom:.25rem}.watchlist-header p{color:#94a3b8;color:var(--text-secondary);font-size:.875rem}.section-title{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;font-weight:600;margin:0;text-align:left}.portfolio-overview-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.portfolio-overview-header .section-title{flex:1 1;margin-bottom:0}.section-header-with-controls{align-items:center;display:flex;gap:.75rem;justify-content:space-between;margin-bottom:1rem}.section-header-with-controls .section-title{margin-bottom:0}.currency-selector{align-items:center;display:flex;gap:.5rem}.currency-label{color:#94a3b8;color:var(--text-secondary);display:none;font-size:.8rem;font-weight:500;white-space:nowrap}.currency-select{background-color:#293548;background-color:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#f8fafc;color:var(--text-primary);font-size:.875rem;min-width:70px;padding:.5rem .75rem}.currency-select:focus{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 0 0 2px #2563eb26;outline:none}.heatmap-header,.portfolio-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.heatmap-grid,.stock-grid,.watchlist-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr;margin:0 auto;padding:0;width:100%}.growth-value{font-size:.8rem;font-weight:500;margin-top:.125rem}.growth-indicator.positive,.growth-value.positive,.price-change.positive{color:#10b981;color:var(--success-color)}.growth-indicator.negative,.growth-value.negative,.price-change.negative{color:#ef4444;color:var(--danger-color)}.growth-indicator,.price-change{border-radius:6px;font-size:.8rem;font-weight:500;padding:.25rem .5rem}.growth-indicator.positive,.price-change.positive{background:#10b9811a;border:1px solid #10b981;border:1px solid var(--success-color)}.growth-indicator.negative,.price-change.negative{background:#ef44441a;border:1px solid #ef4444;border:1px solid var(--danger-color)}.portfolio-overview{background:#0000;box-sizing:border-box;width:100%}.portfolio-overview.hidden{display:none}.portfolio-overview.block{display:block}.portfolio-overview h4{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;margin:1rem 0 .75rem}.metrics-cards-container{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr);margin:.75rem 0}.metrics-card{background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;display:flex;flex-direction:column;min-height:80px;padding:.75rem;transition:all .2s ease}.metrics-card:hover{border-color:#2563eb;border-color:var(--primary-color)}.metrics-card:active{transform:scale(.98)}.metrics-card.highlight{background:linear-gradient(135deg,#293548,#2563eb1a);background:linear-gradient(135deg,var(--input-bg) 0,#2563eb1a 100%);border-left:3px solid #2563eb;border-left:3px solid var(--primary-color);grid-column:span 2}.card-header{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.card-title{font-size:.75rem;font-weight:500;line-height:1.2}.card-icon,.card-title{color:#94a3b8;color:var(--text-secondary)}.card-icon{font-size:.875rem;opacity:.7}.card-value-container{display:flex;flex-direction:column;gap:.125rem;margin-top:auto}.card-value{align-items:center;color:#f8fafc;color:var(--text-primary);display:flex;font-size:1.125rem;font-weight:600;gap:.25rem;line-height:1.2}.card-subvalue,.card-value i{font-size:.75rem}.card-subvalue{color:#94a3b8;color:var(--text-secondary)}.card-subvalue.positive,.card-value.positive{color:#10b981;color:var(--success-color)}.card-subvalue.negative,.card-value.negative{color:#ef4444;color:var(--danger-color)}.period-toggle{background:#1e293b;background:var(--card-bg);border-radius:6px;display:flex;gap:.25rem;padding:.125rem}.period-btn{align-items:center;background:#0000;border:none;border-radius:4px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;font-size:.75rem;font-weight:500;justify-content:center;min-height:28px;min-width:28px;padding:.375rem .5rem;transition:all .2s ease}.period-btn:hover{background:#293548;background:var(--input-bg);color:#f8fafc;color:var(--text-primary)}.period-btn.active{background:#2563eb;background:var(--primary-color);color:#fff}.sector-item{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:.5rem 0}.distribution-container{display:flex;flex-direction:column;gap:.5rem;width:100%}.distribution-tabs{display:flex;flex-wrap:wrap;gap:.375rem}.distribution-tab{align-items:center;background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:6px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:500;gap:.25rem;justify-content:center;padding:.375rem .625rem;transition:all .2s ease;white-space:nowrap}.distribution-tab:hover{color:#f8fafc;color:var(--text-primary)}.distribution-tab.active,.distribution-tab:hover{border-color:#2563eb;border-color:var(--primary-color)}.distribution-tab.active{background:#2563eb;background:var(--primary-color);color:#fff}.distribution-tab i{font-size:.7rem}.distribution-chart{align-items:center;display:flex;height:300px;justify-content:center;min-height:300px;position:relative;width:100%}.portfolio-chart{background:#1e293b;border:1px solid #334155;height:100%;margin:0;min-height:300px;padding:0;position:relative}.distribution-chart .recharts-surface,.distribution-chart .recharts-wrapper,.portfolio-chart .recharts-surface,.portfolio-chart .recharts-wrapper{height:100%!important;width:100%!important}.portfolio-stock-header{background:#0000;margin-bottom:.75rem;padding:0}.header-top{display:flex;flex-direction:column;gap:.75rem;margin-bottom:.75rem}.header-top .section-title{border:none;font-size:1.125rem;margin:0;padding:0}.portfolio-search{position:relative;width:100%}.search-input-container{align-items:center;display:flex;position:relative}.search-input-container input{background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#f8fafc;color:var(--text-primary);font-size:.875rem;padding:.625rem 1rem .625rem 2.25rem;transition:all .2s ease;width:100%}.search-input-container input:focus{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 0 0 2px #2563eb26;outline:none}.search-input-container input::placeholder,.search-input-container:before{color:#94a3b8;color:var(--text-secondary)}.search-input-container:before{content:"\f002";font-family:Font Awesome\ 5 Free;font-size:.8rem;font-weight:900;left:.875rem;pointer-events:none;position:absolute;z-index:1}.add-stock-btn{display:none}.search-spinner{animation:spin .8s linear infinite;border:2px solid #334155;border-top:2px solid #2563eb;border:2px solid var(--border-color);border-radius:50%;border-top-color:var(--primary-color);height:14px;position:absolute;right:.75rem;top:50%;transform:translateY(-50%);width:14px}.search-results-dropdown{animation:slideDown .2s ease;background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:10px;box-shadow:0 10px 25px #0000004d;left:0;max-height:240px;overflow-y:auto;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.search-result-item{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary);cursor:pointer;padding:.625rem .875rem;transition:background .15s ease}.search-result-item:last-child{border-bottom:none}.search-result-item:active,.search-result-item:hover{background:#293548;background:var(--input-bg)}.stock-name{font-size:.875rem;font-weight:500}.stock-sector{color:#94a3b8;color:var(--text-secondary);font-size:.75rem;margin-top:.125rem}.filter-scroll-container{-ms-overflow-style:none;margin:0 -1rem .5rem;overflow-x:auto;padding:0 1rem;scrollbar-width:none}.filter-scroll-container::-webkit-scrollbar{display:none}.filter-cards{display:flex;gap:.375rem;padding:.25rem 0;width:-webkit-max-content;width:max-content}.filter-card{align-items:center;background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:6px;cursor:pointer;display:inline-flex;gap:.25rem;padding:.375rem .625rem;transition:all .2s ease;white-space:nowrap}.filter-card:hover{background:#2563eb1a}.filter-card.active,.filter-card:hover{border-color:#2563eb;border-color:var(--primary-color)}.filter-card.active{background:#2563eb;background:var(--primary-color);color:#fff}.filter-card-icon{align-items:center;display:flex;font-size:.7rem;justify-content:center}.filter-card-label{font-size:.75rem;font-weight:500}.filter-card-content{align-items:center;display:flex}.chart-toggle{-ms-overflow-style:none;-webkit-overflow-scrolling:touch;background:#293548;background:var(--input-bg);border-radius:8px;display:flex;gap:.25rem;margin-bottom:.75rem;overflow-x:auto;padding:.25rem;scrollbar-width:none}.chart-toggle::-webkit-scrollbar{display:none}.toggle-button{background:#0000;border:none;border-radius:6px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;flex-shrink:0;font-size:.8rem;font-weight:500;padding:.5rem .75rem;transition:all .2s ease;white-space:nowrap}.toggle-button:hover{color:#f8fafc;color:var(--text-primary)}.toggle-button.active{background:#2563eb;background:var(--primary-color);color:#fff}.sorting-controls{margin:0}.sort-group{align-items:center;display:flex;gap:.5rem}.sort-group label{color:#94a3b8;color:var(--text-secondary);display:none;font-size:.8rem}.sort-direction-button{align-items:center;background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#f8fafc;color:var(--text-primary);cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;transition:all .2s ease;width:36px}.sort-direction-button:hover{border-color:#2563eb;border-color:var(--primary-color);color:#2563eb;color:var(--primary-color)}.sort-direction-button:active{transform:scale(.95)}.modern-input{background-color:#293548;background-color:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#f8fafc;color:var(--text-primary);font-size:.875rem;padding:.5rem .75rem;transition:all .2s ease}.modern-input:focus{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 0 0 2px #2563eb26;outline:none}.modern-input.sort-select{background-color:#293548;background-color:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#f8fafc;color:var(--text-primary);font-size:.8rem;height:36px;min-width:120px;padding:.5rem .625rem}.remove-button{align-items:center;background:none;border:none;border-radius:50%;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;justify-content:center;min-height:36px;min-width:36px;padding:.5rem;transition:all .2s ease}.remove-button:hover{background:#ef44441a;color:#ef4444;color:var(--danger-color)}.timeframe-buttons{-ms-overflow-style:none;background:#293548;background:var(--input-bg);border-radius:8px;display:flex;gap:.25rem;margin-bottom:.75rem;overflow-x:auto;padding:.25rem;scrollbar-width:none}.timeframe-buttons::-webkit-scrollbar{display:none}.timeframe-button{background:#0000;border:none;border-radius:6px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;flex-shrink:0;font-size:.8rem;font-weight:500;padding:.5rem .75rem;transition:all .2s ease;white-space:nowrap}.timeframe-button:hover{color:#f8fafc;color:var(--text-primary)}.timeframe-button.active{background:#2563eb;background:var(--primary-color);color:#fff}.updates-container{max-height:300px;overflow-y:auto;scrollbar-color:#334155 #0000;scrollbar-color:var(--border-color) #0000;scrollbar-width:thin;width:100%}.updates-container::-webkit-scrollbar{width:4px}.updates-container::-webkit-scrollbar-track{background:#0000}.updates-container::-webkit-scrollbar-thumb{background-color:#334155;background-color:var(--border-color);border-radius:2px}.updates-list{display:flex;flex-direction:column;gap:.375rem}.update-item{align-items:flex-start;background:#293548;background:var(--input-bg);border-left:3px solid #334155;border-left:3px solid var(--border-color);border-radius:8px;display:flex;gap:.625rem;padding:.625rem;transition:all .2s ease}.update-item:active{transform:scale(.99)}.update-icon{align-items:center;background:#ffffff1a;border-radius:50%;display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.update-icon i{font-size:.7rem}.update-content{flex:1 1;min-width:0}.update-message{color:#f8fafc;color:var(--text-primary);font-size:.8rem;line-height:1.4;margin:0}.update-message.positive{color:#10b981;color:var(--success-color)}.update-message.negative{color:#ef4444;color:var(--danger-color)}.no-stocks-message,.no-updates-message{align-items:center;color:#94a3b8;color:var(--text-secondary);display:flex;flex-direction:column;justify-content:center;padding:2rem 1rem;text-align:center}.no-stocks-message i,.no-updates-message i{color:#2563eb;color:var(--primary-color);font-size:1.5rem;margin-bottom:.5rem}.no-stocks-message p,.no-updates-message p{font-size:.875rem;margin:0}.modal-overlay{align-items:flex-end;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:0;position:fixed;right:0;top:0;z-index:1000}.modern-modal{animation:slideUp .3s ease;background-color:#1e293b;background-color:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-bottom:none;border-radius:20px 20px 0 0;color:#f8fafc;color:var(--text-primary);max-height:85vh;max-width:100%;overflow-y:auto;padding:1.25rem;width:100%}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modern-modal h3{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;margin-bottom:.375rem}.modal-actions{display:flex;flex-direction:column;gap:.625rem;margin-top:1.25rem}.action-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;min-height:48px;padding:.875rem 1rem;transition:all .2s ease}.action-button.primary{background:#2563eb;background:var(--primary-color);color:#fff}.action-button.primary:hover{background:#1d4ed8;background:var(--primary-hover)}.action-button.primary:active{transform:scale(.98)}.action-button.secondary{background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary)}.action-button.secondary:hover{border-color:#2563eb;border-color:var(--primary-color)}.quantity-input{margin:1rem 0}.quantity-input .label-with-info{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.quantity-input label{color:#94a3b8;color:var(--text-secondary);display:block;font-size:.875rem}.tooltip{display:inline-block;position:relative}.info-icon{color:#94a3b8;color:var(--text-secondary);cursor:pointer;transition:color .2s ease}.info-icon:hover{color:#2563eb;color:var(--primary-color)}.tooltip-text{background-color:#1e293b;background-color:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;bottom:125%;box-shadow:0 4px 12px #0003;color:#f8fafc;color:var(--text-primary);font-size:.8rem;left:50%;opacity:0;padding:.625rem;position:absolute;text-align:center;transform:translateX(-50%);transition:opacity .3s;visibility:hidden;width:220px;z-index:10}.tooltip:focus-within .tooltip-text,.tooltip:hover .tooltip-text{opacity:1;visibility:visible}.date-input-container{align-items:center;display:flex;position:relative}.modern-input[type=date]{padding-right:40px;width:100%}.date-toggle-btn{align-items:center;background:none;border:none;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;justify-content:center;min-height:36px;min-width:36px;padding:8px;position:absolute;right:8px;transition:color .2s ease}.date-toggle-btn:hover{color:#2563eb;color:var(--primary-color)}.date-text{cursor:pointer}.date-text,.sector-info{color:#94a3b8;color:var(--text-secondary)}.sector-info{font-size:.875rem;margin-bottom:1rem}.fetching-indicator{align-items:center;background:#293548;background:var(--input-bg);border-radius:8px;display:flex;gap:.5rem;margin-bottom:1rem;padding:.75rem}.fetching-indicator .spinner{animation:spin .8s linear infinite;border:2px solid #334155;border-top-color:#2563eb;border:2px solid var(--border-color);border-radius:50%;border-top-color:var(--primary-color);height:16px;width:16px}.fetching-indicator p{color:#94a3b8;color:var(--text-secondary);font-size:.8rem;margin:0}@media (min-width:640px){.portfolio-container,.watchlist-container{gap:1rem;padding:1rem}.section-card{padding:1.25rem}.section-title{font-size:1.25rem}.currency-label{display:block}.metrics-cards-container{gap:1rem;grid-template-columns:repeat(3,1fr)}.metrics-card{min-height:90px;padding:1rem}.card-title{font-size:.8rem}.card-value{font-size:1.25rem}.period-btn{font-size:.8rem;min-height:32px;min-width:32px;padding:.375rem .625rem}.heatmap-grid,.stock-grid,.watchlist-grid{grid-template-columns:repeat(2,1fr)}.header-top{align-items:center;flex-direction:row;justify-content:space-between}.portfolio-search{max-width:280px}.sort-group label{display:block}.filter-scroll-container{margin:0;padding:0}.toggle-button{font-size:.875rem;padding:.5rem 1rem}.distribution-tab{font-size:.8rem}.distribution-tab,.filter-card{padding:.5rem .75rem}.filter-card-icon{font-size:.75rem}.filter-card-label{font-size:.8rem}.modal-overlay{align-items:center;padding:1rem}.modern-modal{border:1px solid #334155;border:1px solid var(--border-color);border-radius:16px;max-width:420px}.distribution-chart{height:350px;min-height:350px}}@media (min-width:1024px){.portfolio-container,.watchlist-container{gap:1.5rem;padding:1.5rem}.section-card{padding:1.5rem}.metrics-cards-container{grid-template-columns:repeat(6,1fr)}.metrics-card.highlight{grid-column:span 2}.heatmap-grid,.stock-grid,.watchlist-grid{gap:1.5rem;grid-template-columns:repeat(3,1fr)}.distribution-chart{height:400px;min-height:400px}.header-top{margin-bottom:1rem}.portfolio-search{max-width:320px}}@media (min-width:1200px){.portfolio-container,.watchlist-container{margin:0 auto;max-width:1400px}}@media (hover:none) and (pointer:coarse){.distribution-tab,.filter-card,.period-btn,.timeframe-button,.toggle-button{min-height:36px}.search-result-item{padding:.875rem}.metrics-card:hover{transform:none}}@media (prefers-reduced-motion:reduce){.action-button,.filter-card,.metrics-card,.modern-modal,.search-results-dropdown{animation:none;transition:none}}@supports (padding-bottom:env(safe-area-inset-bottom)){.modern-modal{padding-bottom:calc(1.25rem + env(safe-area-inset-bottom))}.modal-overlay{padding-bottom:env(safe-area-inset-bottom)}}.empty-portfolio-guide{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.empty-portfolio-content{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:16px;max-width:400px;padding:2rem 1.5rem;text-align:center}.empty-portfolio-content i{color:#2563eb;color:var(--primary-color);font-size:3rem;margin-bottom:1rem}.empty-portfolio-content h3{color:#f8fafc;color:var(--text-primary);font-size:1.25rem;margin-bottom:.5rem}.empty-portfolio-content p{color:#94a3b8;color:var(--text-secondary);font-size:.9rem;margin-bottom:1.5rem}.empty-portfolio-actions{display:flex;flex-direction:column;gap:.75rem}.primary-button,.secondary-button{border-radius:12px;display:flex;font-weight:500;justify-content:center;min-height:48px;padding:.875rem 1rem}.secondary-button{background:#293548;background:var(--input-bg);border:1px solid #334155;border:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary)}.secondary-button:hover{border-color:#2563eb;border-color:var(--primary-color)}.portfolio-chart{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;box-sizing:border-box;margin:0 0 .75rem;padding:.75rem 0;width:100%}.chart-controls{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:1rem;padding:.75rem .75rem 0}.chart-value{text-align:right}.total-value{color:var(--text-primary);font-size:1.5rem;font-weight:600}.range-buttons{display:flex;flex-wrap:wrap;gap:.25rem}.range-button{background:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);cursor:pointer;font-size:.875rem;min-width:40px;padding:.375rem .75rem;text-align:center;transition:all .2s ease}.range-button.active,.range-button:hover{border-color:var(--primary-color)}.range-button.active{background:var(--primary-color);color:#fff}.recharts-responsive-container{padding:0!important;width:100%!important}.recharts-tooltip-wrapper{max-width:80vw}.recharts-tooltip-item{padding:.25rem!important}.recharts-cartesian-axis-tick-value{font-size:.75rem}.recharts-xAxis .recharts-cartesian-axis-tick-value{transform:translateY(3px)}body{background-color:var(--background-dark);color:var(--text-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.search-container{display:flex;flex-direction:column;margin:1 auto;max-width:1400px;padding:.5rem}.search-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;margin-bottom:1rem;padding:1.5rem}.mobile-search-card{padding:.875rem}.intro-card.compact{margin-bottom:.75rem;padding:0}.intro-card.compact h2{color:var(--text-primary);font-size:1.25rem;font-weight:600;margin:0}.mobile-search-wrapper{align-items:center;display:flex;gap:.75rem;margin-bottom:.75rem}.mobile-search-input-container{align-items:center;display:flex;flex:1 1;position:relative}.mobile-search-icon{color:var(--text-secondary);font-size:1rem;left:1rem;pointer-events:none;position:absolute;z-index:1}.mobile-search-input{-webkit-appearance:none;background:var(--input-bg);border:2px solid var(--border-color);border-radius:12px;color:var(--text-primary);font-size:1rem;padding:.875rem 2.5rem .875rem 2.75rem;transition:all .2s ease;width:100%}.mobile-search-input:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb26;outline:none}.mobile-search-input::placeholder{color:var(--text-secondary)}.search-input-spinner{animation:spin .8s linear infinite;border:2px solid var(--border-color);border-radius:50%;border-top-color:var(--primary-color);height:18px;position:absolute;right:2.5rem;width:18px}.clear-search-btn{align-items:center;background:none;border:none;color:var(--text-secondary);cursor:pointer;display:flex;justify-content:center;padding:.5rem;position:absolute;right:.75rem}.clear-search-btn:hover{color:var(--text-primary)}.mobile-filter-btn{align-items:center;background:var(--primary-color);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:1.125rem;height:48px;justify-content:center;min-width:48px;position:relative;transition:all .2s ease;width:48px}.mobile-filter-btn:hover{background:var(--primary-hover);transform:scale(1.05)}.mobile-filter-btn:active{transform:scale(.95)}.filter-badge{align-items:center;background:var(--error-color);border-radius:10px;color:#fff;display:flex;font-size:.75rem;font-weight:600;height:20px;justify-content:center;min-width:20px;padding:0 4px;position:absolute;right:-6px;top:-6px}.search-suggestions-dropdown{animation:slideDown .2s ease;background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 10px 25px #0000004d;left:0;margin-top:.5rem;max-height:320px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:100}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.suggestion-item{align-items:center;border-bottom:1px solid var(--border-color);cursor:pointer;display:flex;justify-content:space-between;padding:.875rem 1rem;transition:background-color .15s ease}.suggestion-item:last-child{border-bottom:none}.suggestion-item:active,.suggestion-item:hover{background:var(--input-bg)}.suggestion-info{display:flex;flex-direction:column;gap:.25rem}.suggestion-name{color:var(--text-primary);font-weight:500}.suggestion-sector{color:var(--text-secondary);font-size:.8rem}.suggestion-arrow{color:var(--text-secondary);font-size:.875rem}.active-filters-preview{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.active-filter-tag{align-items:center;background:var(--input-bg);border:1px solid var(--border-color);border-radius:20px;color:var(--text-secondary);display:inline-flex;font-size:.8rem;gap:.375rem;padding:.375rem .75rem}.active-filter-tag.preset{background:#2563eb26;border-color:var(--primary-color);color:var(--primary-color)}.active-filter-tag i{font-size:.75rem}.mobile-search-submit-btn{align-items:center;background:var(--primary-color);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;padding:1rem;transition:all .2s ease;width:100%}.mobile-search-submit-btn:hover{background:var(--primary-hover)}.mobile-search-submit-btn:active{transform:scale(.98)}.mobile-search-submit-btn:disabled{background:var(--secondary-color);cursor:not-allowed}.btn-spinner{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:18px;width:18px}.filter-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition:all .3s ease;visibility:hidden;z-index:1000}.filter-modal-overlay.active{opacity:1;visibility:visible}.filter-modal{background:var(--background-dark);border-radius:24px 24px 0 0;bottom:0;display:flex;flex-direction:column;left:0;max-height:90vh;position:fixed;right:0;transform:translateY(100%);transition:transform .3s cubic-bezier(.32,.72,0,1);z-index:1001}.filter-modal-overlay.active .filter-modal{transform:translateY(0)}.filter-modal-header{align-items:center;background:var(--background-dark);border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:1rem 1.25rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.filter-modal-header h2{color:var(--text-primary);font-size:1.125rem;font-weight:600;margin:0}.filter-modal-close,.filter-modal-done{background:none;border:none;cursor:pointer;font-size:1rem;padding:.5rem}.filter-modal-close{color:var(--text-secondary)}.filter-modal-close:hover{color:var(--text-primary)}.filter-modal-done{color:var(--primary-color);font-weight:600}.filter-modal-done:hover{color:var(--primary-hover)}.filter-modal-content{-webkit-overflow-scrolling:touch;flex:1 1;overflow-y:auto;padding:0}.filter-modal-section{border-bottom:1px solid var(--border-color);padding:0}.filter-modal-section:last-child{border-bottom:none}.filter-modal-row{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:1rem 1.25rem}.filter-row-label{align-items:center;color:var(--text-primary);display:flex;font-size:1rem;gap:.75rem}.filter-row-label i{color:var(--text-secondary);width:20px}.filter-row-value{align-items:center;display:flex;gap:.5rem}.filter-select{-webkit-appearance:none;appearance:none;background:#0000;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%2394a3b8' d='m2 4 4 4 4-4'/%3E%3C/svg%3E");background-position:right 0 center;background-repeat:no-repeat;border:none;color:var(--text-secondary);cursor:pointer;font-size:.95rem;padding:.5rem 1.5rem .5rem .5rem;text-align:right}.filter-select:focus{color:var(--primary-color);outline:none}.filter-select option{background:var(--card-bg);color:var(--text-primary)}.filter-section-title{color:var(--text-secondary);font-size:.8rem;font-weight:600;letter-spacing:.05em;margin:0;padding:1rem 1.25rem .5rem;text-transform:uppercase}.filter-presets-grid{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem 1.25rem 1rem}.filter-preset-btn{background:var(--input-bg);border:1px solid var(--border-color);border-radius:20px;color:var(--text-primary);cursor:pointer;font-size:.85rem;padding:.5rem .875rem;transition:all .2s ease;white-space:nowrap}.filter-preset-btn:hover{background:#2563eb1a;border-color:var(--primary-color)}.filter-preset-btn.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.filter-section-header{align-items:center;background:none;border:none;color:var(--text-primary);cursor:pointer;display:flex;justify-content:space-between;padding:1rem 1.25rem;width:100%}.filter-section-header h3{font-size:1rem;font-weight:600;margin:0}.filter-section-header i{color:var(--text-secondary);transition:transform .2s ease}.filter-sliders-container{padding:0 1.25rem 1rem}.mobile-slider-group{border-bottom:1px solid #33415580;padding:1rem 0}.mobile-slider-group:last-child{border-bottom:none}.mobile-slider-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.mobile-slider-label{color:var(--text-primary);font-size:.95rem;font-weight:500}.mobile-slider-value{color:var(--primary-color);font-size:1rem;font-weight:600;min-width:60px;text-align:right}.mobile-slider-track-container{align-items:center;display:flex;height:40px;position:relative}.mobile-range-slider{-webkit-appearance:none;appearance:none;background:var(--input-bg);border-radius:4px;height:8px;outline:none;position:relative;width:100%;z-index:2}.mobile-range-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--primary-color);border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px #0000004d;cursor:pointer;height:28px;-webkit-transition:transform .15s ease;transition:transform .15s ease;width:28px}.mobile-range-slider::-webkit-slider-thumb:active{transform:scale(1.15)}.mobile-range-slider::-moz-range-thumb{background:var(--primary-color);border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px #0000004d;cursor:pointer;height:28px;width:28px}.mobile-slider-fill{background:var(--primary-color);border-radius:4px;height:8px;left:0;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:1}.mobile-slider-limits{align-items:center;color:var(--text-secondary);display:flex;font-size:.75rem;justify-content:space-between;margin-top:.5rem}.mobile-slider-type{color:var(--text-secondary);font-size:.7rem;opacity:.7}.filter-modal-footer{background:var(--background-dark);border-top:1px solid var(--border-color);display:flex;gap:.75rem;padding:1rem 1.25rem calc(1rem + env(safe-area-inset-bottom))}.filter-reset-btn{align-items:center;background:var(--input-bg);border:1px solid var(--border-color);border-radius:12px;color:var(--text-primary);cursor:pointer;display:flex;flex:1 1;font-size:.95rem;font-weight:500;gap:.5rem;justify-content:center;padding:.875rem;transition:all .2s ease}.filter-reset-btn:hover{background:var(--card-bg);border-color:var(--text-secondary)}.filter-apply-btn{align-items:center;background:var(--primary-color);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;flex:2 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.875rem;transition:all .2s ease}.filter-apply-btn:hover{background:var(--primary-hover)}.breadcrumb{gap:1rem;margin-bottom:1rem;padding:0 .25rem}.back-button,.breadcrumb{align-items:center;display:flex}.back-button{background:none;border:none;border-radius:8px;color:var(--primary-color);cursor:pointer;font-size:.9rem;gap:.5rem;padding:.5rem;transition:all .2s}.back-button:hover{background:#2563eb1a}.current-category{color:var(--text-secondary);font-size:.9rem}.results-section{margin-top:1rem}.results-header{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;margin-bottom:1rem;padding:0 .25rem}.results-title{color:var(--text-primary);font-size:1rem;font-weight:600;margin:0}.stock-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr}.loading-placeholder{display:flex;gap:1rem;overflow-x:auto;padding:.5rem 0}.skeleton-card{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,var(--input-bg) 25%,var(--border-color) 50%,var(--input-bg) 75%);background-size:200% 100%;border-radius:12px;flex-shrink:0;height:300px;min-width:280px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.error-message,.no-results{color:var(--text-secondary);padding:3rem 1.5rem;text-align:center}.error-message i,.no-results i{font-size:3rem;margin-bottom:1rem;opacity:.5}.error-message{color:var(--error-color)}.category-rows{gap:1.5rem;margin-top:1rem}.category-rows,.category-section{display:flex;flex-direction:column}.category-section{gap:.75rem}.category-header{align-items:center;display:flex;justify-content:space-between;padding:0 .25rem}.category-title{color:var(--text-primary);font-size:1.125rem;font-weight:600;margin:0}.show-all-btn{align-items:center;background:none;border:none;color:var(--primary-color);cursor:pointer;display:flex;font-size:.875rem;gap:.25rem;padding:.5rem;transition:color .2s}.show-all-btn:hover{color:var(--primary-hover)}.horizontal-scroll-container{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;margin:0 -.5rem;overflow-x:auto;overflow-y:hidden;padding:0 .5rem;scrollbar-width:none}.horizontal-scroll-container::-webkit-scrollbar{display:none}.stock-row{display:flex;gap:1rem;padding:.5rem 0}.stock-card-horizontal{flex-shrink:0;min-width:280px;transition:transform .2s ease}.stock-card-horizontal:hover{transform:scale(1.02)}@media (min-width:640px){.search-container{padding:1rem}.mobile-search-card{padding:1.25rem}.filter-modal{border-radius:24px 24px 0 0;left:50%;max-width:500px;transform:translateX(-50%) translateY(100%)}.filter-modal-overlay.active .filter-modal{transform:translateX(-50%) translateY(0)}.stock-grid{grid-template-columns:repeat(2,1fr)}.stock-card-horizontal{min-width:320px}}@media (min-width:1024px){.search-container{padding:1.5rem}.stock-grid{grid-template-columns:repeat(3,1fr)}.stock-card-horizontal{min-width:340px}.filter-modal{border-radius:0;bottom:0;left:auto;max-height:100vh;max-width:420px;right:0;top:0;transform:translateX(100%)}.filter-modal-overlay.active .filter-modal{transform:translateX(0)}}@media (min-width:1200px){.search-container{max-width:1400px}.stock-card-horizontal{min-width:360px}}@media (hover:none) and (pointer:coarse){.mobile-range-slider::-webkit-slider-thumb{height:32px;width:32px}.suggestion-item{padding:1rem 1.25rem}.filter-preset-btn{padding:.625rem 1rem}}@media (prefers-reduced-motion:reduce){.filter-modal,.filter-modal-overlay,.mobile-filter-btn,.mobile-search-submit-btn,.stock-card-horizontal{transition:none}.btn-spinner,.search-input-spinner,.search-suggestions-dropdown,.shimmer{animation:none}}@supports (padding-bottom:env(safe-area-inset-bottom)){.filter-modal-footer{padding-bottom:calc(1rem + env(safe-area-inset-bottom))}}.input-group{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:8px;margin:.5rem 0;overflow:hidden}.input-group-text{color:var(--text-secondary)}.form-control,.input-group-text{background-color:var(--input-bg);border:none;padding:.75rem 1rem}.form-control{color:var(--text-primary);font-size:.95rem}.form-control:focus{background-color:var(--input-bg);border-color:var(--primary-color);box-shadow:none;color:var(--text-primary)}.predefined-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.filter-pill{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:20px;color:var(--text-primary);cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:all .2s ease}.filter-pill:hover{background-color:#2563eb1a;border-color:var(--primary-color)}.filter-pill.active{background-color:var(--primary-color);border-color:var(--primary-color);color:#fff}.filter-toggle-btn{align-items:center;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;justify-content:center;margin:1rem 0;padding:.75rem 1rem;transition:background-color .2s;width:100%}.filter-toggle-btn:hover{background:var(--primary-hover)}.filters-container{display:flex;flex-direction:column;gap:1rem;margin:1rem 0}.filters-collapse{display:flex;flex-direction:column;gap:.5rem}.filters-section{margin-bottom:.5rem}.collapse-header{align-items:center;background:var(--input-bg);border:1px solid var(--border-color);border-radius:8px 8px 0 0;box-sizing:border-box;color:var(--text-primary);cursor:pointer;display:flex;justify-content:space-between;margin-bottom:0;max-width:100%;padding:.75rem 1rem;transition:background-color .2s,border-radius .2s;width:100%}.collapse-header.collapsed{border-radius:8px;margin-bottom:.5rem}.collapse-header:hover{background-color:var(--card-bg);border-color:var(--primary-color)}.collapse-header h3{color:var(--text-primary);flex:1 1;font-size:.9rem;font-weight:600;margin:0}.collapse-content{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:0 0 8px 8px;border-top:none;box-sizing:border-box;margin-bottom:.5rem;padding:1rem}.slider-group{border-radius:.5rem;box-sizing:border-box;margin-bottom:1rem;padding:.5rem;transition:background-color .2s;width:100%}.slider-group:hover{background-color:#ffffff0d}.slider-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.slider-label{color:var(--text-primary);font-size:.85rem;font-weight:500}.slider-value{color:var(--primary-color);font-size:.85rem;font-weight:600;min-width:4rem;text-align:right}.slider-limits{color:var(--text-secondary);display:flex;font-size:.75rem;justify-content:space-between;margin-top:.25rem}.modern-range{-webkit-appearance:none;background:var(--card-bg);border-radius:3px;height:6px;outline:none;width:100%}.modern-range::-webkit-slider-thumb{-webkit-appearance:none;background:var(--primary-color);border:2px solid var(--text-primary);border-radius:50%;box-shadow:0 0 0 4px #2563eb1a;cursor:pointer;height:16px;-webkit-transition:all .2s ease;transition:all .2s ease;width:16px}.modern-range::-webkit-slider-thumb:hover{background:var(--primary-hover);transform:scale(1.1)}.modern-range::-moz-range-thumb{background:var(--primary-color);border:2px solid var(--text-primary);border-radius:50%;box-shadow:0 0 0 4px #2563eb1a;cursor:pointer;height:16px;-moz-transition:all .2s ease;transition:all .2s ease;width:16px}.modern-range::-moz-range-thumb:hover{background:var(--primary-hover);transform:scale(1.1)}.search-button{align-items:center;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;margin-top:1rem;padding:.875rem;transition:all .2s ease;width:100%}.search-button:hover{background:var(--primary-hover);box-shadow:0 4px 12px #2563eb40;transform:translateY(-1px)}.search-button:disabled{background:var(--secondary-color);cursor:not-allowed;transform:none}.loading-spinner{border:3px solid var(--border-color);height:40px;width:40px}.value-investing-container{background-color:var(--background-dark);color:var(--text-primary);min-height:100vh}.hero-section{background:linear-gradient(to bottom,var(--background-dark),var(--card-bg));padding:6rem 0 4rem;text-align:center}.hero-section h1{color:var(--text-primary);font-size:2.5rem;font-weight:700;margin-bottom:1.5rem}.hero-subtitle{color:var(--text-secondary);font-size:1.25rem;margin-bottom:2rem}.content-container{margin:0 auto;max-width:1200px;padding:2rem 1rem}.common-mistakes,.conclusion-cta,.faq-section,.intro-section,.metrics-overview,.value-principles{border-bottom:1px solid var(--border-color);padding:3rem 0}section h2{color:var(--primary-color);font-size:2rem;margin-bottom:1.5rem;text-align:center}.cards-grid,.faq-list,.mistakes-list,.principles-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-top:2rem}.faq-item,.metric-card,.mistake-item,.principle-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;transition:transform .2s ease,box-shadow .2s ease}.faq-item:hover,.metric-card:hover,.mistake-item:hover,.principle-card:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.faq-item h3,.metric-card h3,.mistake-item h3,.principle-card h3{color:var(--text-primary);font-size:1.125rem;font-weight:600;margin-bottom:.75rem}.faq-item p,.metric-card p,.mistake-item p,.principle-card p{color:var(--text-secondary);font-size:.95rem;line-height:1.6}.metric-card.highlight{border-left:4px solid var(--success-color)}.highlight-text{background-color:var(--input-bg);border-left:4px solid var(--primary-color);border-radius:8px;font-size:1.1rem;margin:1.5rem auto;max-width:800px;padding:1rem}.faq-item h3:before{color:var(--primary-color);content:"Q: ";font-weight:700}.mistake-item{border-left:3px solid var(--danger-color)}.principle-card{border-top:3px solid var(--primary-color)}.conclusion-cta{background-color:var(--input-bg);padding:3rem 1rem;text-align:center}.cta-buttons{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2rem}.value-investing-footer{background-color:var(--background-dark);border-top:1px solid var(--border-color);color:var(--text-secondary);font-size:.9rem;padding:2rem 0;text-align:center}.value-investing-footer p{margin:.5rem auto;max-width:800px}@media (max-width:768px){.hero-section{padding:4rem 0 3rem}.hero-section h1{font-size:2rem}.hero-subtitle{font-size:1.125rem}.cards-grid,.faq-list,.mistakes-list,.principles-grid{gap:1.5rem;grid-template-columns:1fr}.faq-item,.metric-card,.mistake-item,.principle-card{padding:1.25rem}section h2{font-size:1.75rem}.highlight-text{font-size:1rem;padding:.75rem}}@media (max-width:360px){.hero-section h1{font-size:1.5rem}.faq-item,.metric-card,.mistake-item,.principle-card{padding:1rem}.faq-item h3,.metric-card h3,.mistake-item h3,.principle-card h3{font-size:1.1rem}}.articles-container{display:flex;flex-direction:column;margin:0 auto;max-width:1400px;padding:2rem 1rem}.articles-header{margin-bottom:3rem;text-align:center}.articles-header h1{color:#f8fafc;color:var(--text-primary);font-size:2.5rem;margin-bottom:1rem}.articles-description{color:#94a3b8;color:var(--text-secondary);font-size:1.125rem;margin:0 auto;max-width:800px}.categories-nav{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-bottom:2.5rem}.category-button{background:#0000;border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;font-size:.9rem;padding:.625rem 1.25rem;transition:all .2s ease}.category-button:hover{color:#2563eb;color:var(--primary-color)}.category-button.active,.category-button:hover{border-color:#2563eb;border-color:var(--primary-color)}.category-button.active{background:#2563eb;background:var(--primary-color);color:#fff}.articles-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));margin-bottom:3rem}.article-card{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;color:#f8fafc;color:var(--text-primary);display:flex;flex-direction:column;height:100%;overflow:hidden;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.article-card:hover{border-color:#2563eb;border-color:var(--primary-color);box-shadow:0 10px 20px #0003;transform:translateY(-5px)}.article-image.image-fallback{background:linear-gradient(135deg,#293548,#1e293b);background:linear-gradient(135deg,var(--input-bg),var(--card-bg));position:relative}.article-image.image-fallback,.image-placeholder{align-items:center;display:flex;justify-content:center}.image-placeholder{color:#94a3b8;color:var(--text-secondary);height:100%;width:100%}.image-placeholder i{font-size:3rem;opacity:.5}.article-image img[style*="display: none"]+.image-placeholder{display:flex}.article-image.image-fallback .article-category{box-shadow:0 2px 4px #0003}.article-image{align-items:center;aspect-ratio:16/9;display:flex;justify-content:center;overflow:hidden;position:relative}.article-image img{height:100%;object-fit:cover;transition:transform .3s ease;width:100%}.article-card:hover .article-image img{transform:scale(1.05)}.article-category{left:1rem;position:absolute;top:1rem}.article-content{display:flex;flex-direction:column;flex-grow:1;padding:1rem}.article-title-preview{color:#f8fafc;color:var(--text-primary);font-size:1.25rem;font-weight:600;line-height:1.4;margin-bottom:.75rem}.article-description{color:#94a3b8;color:var(--text-secondary);flex-grow:1;font-size:.95rem;line-height:1.6;margin-bottom:1.5rem}.article-footer{margin-top:auto;padding-top:1rem}.article-date{font-size:.85rem}.article-date,.article-tag{color:#94a3b8;color:var(--text-secondary)}.article-tag{background:#293548;background:var(--input-bg);border-radius:4px;font-size:.75rem;padding:.25rem .5rem}.loading-container{align-items:center;color:#94a3b8;color:var(--text-secondary);display:flex;flex-direction:column;gap:1rem;height:300px;justify-content:center}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #94a3b8;border-top-color:#2563eb;border:3px solid var(--text-secondary);border-radius:50%;border-top-color:var(--primary-color);height:2.5rem;width:2.5rem}@keyframes spin{to{transform:rotate(1turn)}}.error-message{align-items:center;color:#ef4444;display:flex;flex-direction:column;gap:1rem;height:300px;justify-content:center;text-align:center}.error-message i{font-size:2.5rem}.no-articles{align-items:center;color:#94a3b8;color:var(--text-secondary);display:flex;flex-direction:column;gap:1rem;grid-column:1/-1;height:300px;justify-content:center;text-align:center}.no-articles i{font-size:3rem}.pagination{gap:.5rem;margin-top:2rem}.pagination,.pagination-button{align-items:center;display:flex;justify-content:center}.pagination-button{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;color:#94a3b8;color:var(--text-secondary);cursor:pointer;height:40px;transition:all .2s ease;width:40px}.pagination-button:hover:not(:disabled){border-color:#2563eb;border-color:var(--primary-color);color:#2563eb;color:var(--primary-color)}.pagination-button.active{background:#2563eb;background:var(--primary-color);border-color:#2563eb;border-color:var(--primary-color);color:#fff}.pagination-button:disabled{cursor:not-allowed;opacity:.5}.pagination-ellipsis{color:#94a3b8;color:var(--text-secondary);text-align:center;width:20px}@media (max-width:768px){.articles-container{padding:1.5rem 1rem}.articles-header h1{font-size:1.75rem}.articles-description{font-size:1rem}.articles-grid{gap:1.5rem;grid-template-columns:1fr}.categories-nav{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;margin-bottom:1.5rem;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:none}.categories-nav::-webkit-scrollbar{display:none}.category-button{padding:.5rem 1rem;white-space:nowrap}}@media (min-width:769px) and (max-width:1024px){.articles-grid{grid-template-columns:repeat(2,1fr)}}:root{--danger-color:#ef4444}.article-detail-container{margin:0 auto;max-width:1200px;padding:2rem 1rem}.article-breadcrumbs{color:#94a3b8;color:var(--text-secondary);font-size:.9rem;margin-bottom:2rem}.article-breadcrumbs a{color:#94a3b8;color:var(--text-secondary);text-decoration:none;transition:color .2s}.article-breadcrumbs a:hover{color:#2563eb;color:var(--primary-color)}.article-breadcrumbs span{color:#f8fafc;color:var(--text-primary);margin:0 .5rem}.article-content{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;margin-bottom:3rem;overflow:hidden}.article-header{position:relative}.article-thumbnail{height:400px;overflow:hidden}.article-thumbnail img{height:100%;object-fit:cover;width:100%}.article-meta{background:linear-gradient(180deg,#1e293bf2,#1e293b);background:linear-gradient(to bottom,#1e293bf2,var(--card-bg));border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);padding:2rem}.article-category{background:#2563eb;background:var(--primary-color);border-radius:4px;color:#fff;display:inline-block;font-size:.75rem;font-weight:600;margin-bottom:1rem;padding:.25rem .75rem;text-transform:uppercase}.article-title{color:#f8fafc;color:var(--text-primary);font-size:2.25rem;line-height:1.3;margin-bottom:1.5rem}.article-details{align-items:center;color:#94a3b8;color:var(--text-secondary);display:flex;font-size:.9rem;gap:1.5rem}.article-views{align-items:center;display:flex;gap:.5rem}.article-body{padding:2rem}.article-body,.article-text{font-size:1.1rem;line-height:1.8}.article-text{color:#f8fafc;color:var(--text-primary)}.article-text p{margin-bottom:1.5rem}.article-text h2{border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);color:#f8fafc;color:var(--text-primary);font-size:1.75rem;margin:2.5rem 0 1.25rem;padding-bottom:.75rem}.article-text ol,.article-text ul{margin-bottom:1.5rem;padding-left:2rem}.article-text li{margin-bottom:.5rem}.article-text a{border-bottom:1px dotted #2563eb;border-bottom:1px dotted var(--primary-color);color:#2563eb;color:var(--primary-color);text-decoration:none;transition:border-bottom .2s}.article-text a:hover{border-bottom:1px solid #2563eb;border-bottom:1px solid var(--primary-color)}.article-text blockquote{background:#293548;background:var(--input-bg);border-left:4px solid #2563eb;border-left:4px solid var(--primary-color);color:#f8fafc;color:var(--text-primary);font-style:italic;margin:2rem 0;padding:1rem 1.5rem}.article-text table{border-collapse:collapse;display:block;margin:2rem 0;overflow-x:auto;width:100%}.article-text td,.article-text th{border:1px solid #334155;border:1px solid var(--border-color);padding:.75rem}.article-text th{background:#293548;background:var(--input-bg);font-weight:600}.article-text img{border-radius:8px;height:auto;margin:1.5rem 0;max-width:100%}.article-stock-card{border-radius:12px;margin:2rem 0;overflow:hidden}.article-stock-card:hover{transform:translateY(-5px)}.article-footer{align-items:center;background:#293548;background:var(--input-bg);border-top:1px solid #334155;border-top:1px solid var(--border-color);display:flex;justify-content:space-between;padding:1.5rem 2rem}.article-tags{display:flex;flex-wrap:wrap;gap:.5rem}.article-tag{color:#2563eb;color:var(--primary-color);font-size:.9rem}.article-share{color:#94a3b8;color:var(--text-secondary);font-size:.9rem;gap:1rem}.article-share,.share-button{align-items:center;display:flex}.share-button{border-radius:50%;color:#fff;height:36px;justify-content:center;transition:transform .2s;width:36px}.share-button:hover{transform:scale(1.1)}.share-button.twitter{background:#1da1f2}.share-button.facebook{background:#4267b2}.share-button.linkedin{background:#0077b5}.related-articles{margin:3rem 0}.related-articles h2{font-size:1.75rem;margin-bottom:1.5rem;padding-bottom:1rem;position:relative;text-align:center}.related-articles h2:after{background:#2563eb;background:var(--primary-color);border-radius:3px;bottom:0;content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);width:100px}.related-articles-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.related-article-card{background:#1e293b;background:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:8px;display:flex;flex-direction:column;overflow:hidden;text-decoration:none;transition:transform .2s,border-color .2s}.related-article-card:hover{border-color:#2563eb;border-color:var(--primary-color);transform:translateY(-3px)}.related-article-image{height:150px}.related-article-image img{height:100%;object-fit:cover;width:100%}.related-article-info{display:flex;flex-direction:column;gap:.5rem;padding:1rem}.related-article-info h3{color:#f8fafc;color:var(--text-primary);font-size:1rem;line-height:1.4}.related-article-date{color:#94a3b8;color:var(--text-secondary);font-size:.8rem}.article-cta{background:linear-gradient(135deg,#1e293b,#293548);background:linear-gradient(135deg,var(--card-bg),var(--input-bg));border:1px solid #334155;border:1px solid var(--border-color);border-radius:12px;margin-top:3rem;padding:3rem 2rem;text-align:center}.article-cta h3{-webkit-text-fill-color:#0000;background:linear-gradient(90deg,#2563eb,#3b82f6);background:linear-gradient(90deg,var(--primary-color),#3b82f6);-webkit-background-clip:text;font-size:1.75rem;margin-bottom:1rem}.article-cta-buttons{display:flex;gap:1.5rem;justify-content:center;margin-top:2rem}.cta-button{align-items:center;border-radius:8px;display:inline-flex;font-weight:600;gap:.5rem;padding:.875rem 1.5rem;text-decoration:none;transition:all .2s ease}.cta-button.primary{background:#2563eb;background:var(--primary-color);color:#fff}.cta-button.primary:hover{background:#1d4ed8;background:var(--primary-hover);transform:translateY(-2px)}.cta-button.secondary{background:#0000;border:1px solid #2563eb;border:1px solid var(--primary-color);color:#2563eb;color:var(--primary-color)}.cta-button.secondary:hover{background:#2563eb;background:var(--primary-color);color:#fff}.article-loading{color:#94a3b8;color:var(--text-secondary)}.article-error,.article-loading{align-items:center;display:flex;flex-direction:column;gap:1.5rem;height:50vh;justify-content:center}.article-error{color:#ef4444;color:var(--danger-color);text-align:center}.article-error i{font-size:3rem}.back-to-articles{border:1px solid #2563eb;border:1px solid var(--primary-color);border-radius:8px;color:#2563eb;color:var(--primary-color);display:inline-block;margin-top:1rem;padding:.75rem 1.5rem;text-decoration:none;transition:all .2s}.back-to-articles:hover{background:#2563eb;background:var(--primary-color);color:#fff}@media (max-width:768px){.article-detail-container{padding:1rem .2rem}.article-thumbnail{height:250px}.article-meta{padding:1.5rem}.article-title{font-size:1.5rem}.article-details{align-items:flex-start;flex-direction:column;gap:.5rem}.article-body{padding:0}.article-text{font-size:1rem;line-height:1.6}.article-footer{flex-direction:column;gap:1rem;padding:1.5rem}.related-articles-grid{grid-template-columns:1fr}.article-cta{padding:2rem 1rem}.article-cta-buttons{flex-direction:column}}:root{--primary-color:#2563eb;--primary-hover:#1d4ed8;--secondary-color:#64748b;--background-dark:#0f172a;--card-bg:#1e293b;--text-primary:#f8fafc;--text-secondary:#94a3b8;--border-color:#334155;--input-bg:#293548;--success-color:#10b981;--error-color:#ef4444;--bottom-nav-height:64px}.header{background-color:#0f172a;background-color:var(--background-dark);border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-container{margin:0 auto;max-width:1400px;padding:0 1rem}.header-content{height:3.5rem;justify-content:space-between}.header-content,.header-logo{align-items:center;display:flex}.header-logo{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;font-weight:600;gap:.5rem;text-decoration:none}.header-logo i{color:#2563eb;color:var(--primary-color);font-size:1.375rem}.header-nav{display:none}.nav-link{align-items:center;border-radius:8px;color:#94a3b8;color:var(--text-secondary);display:flex;gap:.5rem;padding:.5rem 1rem;text-decoration:none;transition:all .2s ease}.nav-link:hover{background:#2563eb1a}.nav-link.active,.nav-link:hover{color:#2563eb;color:var(--primary-color)}.nav-link.active{background:#2563eb26}.header-auth{display:none}.auth-buttons{display:flex;gap:.75rem}.mobile-menu-button{align-items:center;background:none;border:none;border-radius:8px;color:#f8fafc;color:var(--text-primary);cursor:pointer;display:none;height:2.5rem;justify-content:center;transition:background-color .2s;width:2.5rem}.mobile-menu-button:hover{background:#1e293b;background:var(--card-bg)}.tablet-only{display:none}.mobile-menu{background-color:#0f172a;background-color:var(--background-dark);border-top:1px solid #334155;border-top:1px solid var(--border-color);display:none;flex-direction:column;padding:.5rem 0}.mobile-menu-item{align-items:center;background:none;border:none;color:#f8fafc;color:var(--text-primary);cursor:pointer;display:flex;font-family:inherit;font-size:.95rem;gap:.75rem;padding:.875rem 1rem;text-align:left;text-decoration:none;transition:background-color .2s ease;width:100%}.mobile-menu-item:hover{background-color:#1e293b;background-color:var(--card-bg)}.mobile-menu-item i{color:#94a3b8;color:var(--text-secondary);width:20px}.mobile-menu-item.highlight{background-color:#2563eb;background-color:var(--primary-color);color:#fff}.mobile-menu-item.highlight:hover{background-color:#1d4ed8;background-color:var(--primary-hover)}.mobile-menu-item.highlight i{color:#fff}.mobile-bottom-nav{background:#0f172a;background:var(--background-dark);border-top:1px solid #334155;border-top:1px solid var(--border-color);bottom:0;display:flex;height:64px;height:var(--bottom-nav-height);left:0;padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:1000}.bottom-nav-item{align-items:center;background:none;border:none;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;flex:1 1;flex-direction:column;font-family:inherit;gap:.25rem;justify-content:center;padding:.5rem;position:relative;text-decoration:none;transition:all .2s ease}.bottom-nav-item i{font-size:1.25rem;transition:transform .2s ease}.bottom-nav-item span{font-size:.7rem;font-weight:500;letter-spacing:.01em}.bottom-nav-item:active{transform:scale(.95)}.bottom-nav-item.active{color:#2563eb;color:var(--primary-color)}.bottom-nav-item.active:before{background:#2563eb;background:var(--primary-color);border-radius:0 0 3px 3px;content:"";height:3px;left:50%;position:absolute;top:0;transform:translateX(-50%);width:32px}.bottom-nav-item.active i{transform:scale(1.1)}.more-menu-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:block;left:0;opacity:0;position:fixed;right:0;top:0;transition:all .3s ease;visibility:hidden;z-index:1001}.more-menu-overlay.active{opacity:1;visibility:visible}.more-menu-sheet{background:#0f172a;background:var(--background-dark);border-radius:20px 20px 0 0;bottom:0;display:flex;flex-direction:column;left:0;max-height:70vh;overflow-x:hidden;overflow-y:auto;padding-bottom:calc(64px + env(safe-area-inset-bottom));padding-bottom:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));position:fixed;right:0;transform:translateY(100%);transition:transform .3s cubic-bezier(.32,.72,0,1)}.more-menu-sheet.active{transform:translateY(0)}.more-menu-header{align-items:center;border-bottom:1px solid #334155;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:1.25rem 1.5rem}.more-menu-header h3{color:#f8fafc;color:var(--text-primary);font-size:1.125rem;font-weight:600;margin:0}.more-menu-close{align-items:center;background:#1e293b;background:var(--card-bg);border:none;border-radius:50%;color:#94a3b8;color:var(--text-secondary);cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.more-menu-close:hover{background:#293548;background:var(--input-bg);color:#f8fafc;color:var(--text-primary)}.more-menu-content{-webkit-overflow-scrolling:touch;flex:1 1;max-width:100%;overflow-x:hidden;overflow-y:auto;padding:.5rem 0}.more-menu-section{padding:.5rem 0}.more-menu-divider{background:#334155;background:var(--border-color);height:1px;margin:.5rem 1.5rem}.more-menu-item{align-items:center;background:none;border:none;color:#f8fafc;color:var(--text-primary);cursor:pointer;display:flex;font-family:inherit;font-size:1rem;gap:1rem;padding:1rem 1.5rem;text-decoration:none;transition:background-color .2s;width:100%}.more-menu-item:active,.more-menu-item:hover{background:#1e293b;background:var(--card-bg)}.more-menu-item.active,.more-menu-item.active .more-menu-icon{color:#2563eb;color:var(--primary-color)}.more-menu-item.active .more-menu-icon{background:#2563eb33}.more-menu-icon{align-items:center;background:#1e293b;background:var(--card-bg);border-radius:10px;color:#94a3b8;color:var(--text-secondary);display:flex;height:40px;justify-content:center;transition:all .2s;width:40px}.more-menu-icon i{font-size:1rem}.more-menu-icon.highlight{background:#2563eb;background:var(--primary-color);color:#fff}.more-menu-item span{flex:1 1;text-align:left}.more-menu-arrow{color:#94a3b8;color:var(--text-secondary);font-size:.875rem}.more-menu-item.highlight{color:#2563eb;color:var(--primary-color)}.more-menu-item.logout{color:#ef4444;color:var(--error-color)}.more-menu-item.logout .more-menu-icon{background:#ef444426;color:#ef4444;color:var(--error-color)}.more-menu-footer{border-top:1px solid #334155;border-top:1px solid var(--border-color);padding:1rem 1.5rem;text-align:center}.more-menu-footer p{color:#f8fafc;color:var(--text-primary);font-size:.875rem;font-weight:600;margin:0 0 .25rem}.more-menu-footer span{color:#94a3b8;color:var(--text-secondary);font-size:.75rem}@media (min-width:641px) and (max-width:767px){.mobile-bottom-nav,.more-menu-overlay{display:none}.mobile-menu.tablet-only,.tablet-only{display:flex}.header-content{height:4rem}}@media (min-width:768px){.mobile-bottom-nav,.more-menu-overlay,.tablet-only{display:none}.header-nav{display:flex;gap:.5rem}.header-auth{display:block}.mobile-menu-button{display:none}.header-content{height:4rem}.header-logo{font-size:1.25rem}.header-logo i{font-size:1.5rem}}@media (min-width:1024px){.header-nav{gap:1rem}.nav-link{padding:.5rem 1.25rem}}.primary-button,.secondary-button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-family:inherit;font-size:.9rem;font-weight:600;gap:.5rem;padding:.625rem 1.25rem;text-decoration:none;transition:all .2s ease}.primary-button{background:#2563eb;background:var(--primary-color);color:#fff}.primary-button:hover{background:#1d4ed8;background:var(--primary-hover);transform:translateY(-1px)}.secondary-button{background:#0000;border:1px solid #2563eb;border:1px solid var(--primary-color);color:#2563eb;color:var(--primary-color)}.secondary-button:hover{background:#2563eb;background:var(--primary-color);color:#fff}@media (hover:none) and (pointer:coarse){.bottom-nav-item,.more-menu-item{-webkit-tap-highlight-color:transparent}.bottom-nav-item:active{background:#2563eb1a}}@media (prefers-reduced-motion:reduce){.bottom-nav-item,.bottom-nav-item i,.more-menu-overlay,.more-menu-sheet{transition:none}}@supports (padding-bottom:env(safe-area-inset-bottom)){.mobile-bottom-nav{height:calc(64px + env(safe-area-inset-bottom));height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.more-menu-sheet{padding-bottom:calc(64px + env(safe-area-inset-bottom));padding-bottom:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom))}}.user-menu{position:relative}.user-menu-button{align-items:center;background:none;border:none;color:#f8fafc;color:var(--text-primary);cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem}.user-menu-button i{color:#2563eb;color:var(--primary-color)}.user-menu-button .rotate{transform:rotate(180deg)}.dropdown-menu{background-color:#1e293b;background-color:var(--card-bg);border:1px solid #334155;border:1px solid var(--border-color);border-radius:.5rem;box-shadow:0 4px 6px #0000001a;margin-top:.5rem;min-width:160px;position:absolute;right:0;top:100%}.dropdown-item{align-items:center;background:none;border:none;color:#f8fafc;color:var(--text-primary);cursor:pointer;display:flex;font-family:inherit;font-size:.9rem;gap:.5rem;padding:.75rem 1rem;transition:background-color .2s ease;width:100%}.dropdown-item:hover{background-color:#0f172a}.dropdown-item:hover,.footer{background-color:var(--background-dark)}.footer{border-top:1px solid var(--border-color);margin-top:auto;padding:3rem 0 1.5rem;width:100%}.footer-container{margin:0 auto;max-width:1400px;padding:0 1.5rem}.footer-links-extended{grid-gap:2.5rem;border-bottom:1px solid var(--border-color);display:grid;gap:2.5rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:3rem;padding-bottom:2rem}.footer-link-column{display:flex;flex-direction:column;gap:1rem}.footer-link-column h4{color:var(--text-primary);font-size:1rem;font-weight:600;margin-bottom:.5rem;padding-bottom:.75rem;position:relative}.footer-link-column h4:after{background-color:var(--primary-color);bottom:0;content:"";height:2px;left:0;position:absolute;width:2rem}.footer-content{align-items:center;display:flex;justify-content:space-between;padding-top:.5rem}.footer-copyright{color:var(--text-secondary);font-size:.875rem}.footer-links{display:flex;gap:1.5rem}.footer-link{color:var(--text-secondary);display:inline-block;font-size:.875rem;position:relative;text-decoration:none;transition:all .2s ease}.footer-link:hover{color:var(--primary-color)}.footer-link:after{background-color:var(--primary-color);bottom:-3px;content:"";height:1px;left:0;position:absolute;transition:width .3s ease;width:0}.footer-link:hover:after{width:100%}@media (max-width:768px){.footer{padding:2rem 0 1rem}.footer-container{padding:0 1rem}.footer-links-extended{gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-bottom:2rem}.footer-content{flex-direction:column;gap:1rem;text-align:center}.footer-links{flex-wrap:wrap;gap:1rem;justify-content:center}.footer-link-column h4:after{left:50%;transform:translateX(-50%);width:2.5rem}.footer-link-column{align-items:center;text-align:center}}@media (max-width:480px){.footer-links-extended{gap:2rem;grid-template-columns:1fr}}.contact-form-container{padding:1rem 0}.footer-contact-form{gap:.75rem;margin-top:1rem}.footer-contact-form,.form-group{display:flex;flex-direction:column}.form-input{background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);font-size:.9rem;padding:.65rem .85rem;transition:all .2s ease}.form-input:focus{border-color:var(--primary-color);box-shadow:0 0 0 2px #2563eb1a;outline:none}.form-input::placeholder{color:var(--text-secondary)}textarea.form-input{min-height:80px;resize:vertical}.contact-submit-btn{align-items:center;background-color:var(--primary-color);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;justify-content:center;margin-top:.5rem;padding:.7rem 1.5rem;transition:all .2s ease}.contact-submit-btn:hover:not(:disabled){background-color:var(--primary-hover);transform:translateY(-1px)}.contact-submit-btn:disabled{cursor:not-allowed;opacity:.7}.error-message,.success-message{align-items:center;border-radius:6px;display:flex;font-size:.9rem;gap:.5rem;margin-bottom:1rem;padding:.75rem}.success-message{background-color:#10b9811a;border:1px solid var(--success-color);color:var(--success-color)}.error-message{background-color:#ef44441a;border:1px solid var(--danger-color);color:var(--danger-color)}@media (max-width:768px){.contact-form-container{margin-top:1.5rem}.form-input{font-size:.875rem;padding:.6rem .75rem}.contact-submit-btn{font-size:.875rem;padding:.6rem 1.25rem}}
/*# sourceMappingURL=main.7121320b.css.map*/