:root{--primary: #8c2432;--primary-dark: #681824;--primary-light: #f8edf0;--secondary: #343434;--accent: #c6a15b;--background: #f5f6f8;--surface: #ffffff;--text: #252525;--text-muted: #727780;--border: #e4e6ea;--success: #25855a;--warning: #b58124;--danger: #b42335;--sidebar-width: 275px;--radius: 12px;--shadow: 0 4px 18px rgba(0, 0, 0, .05);font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text);background:var(--background);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,input,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:3px}h1,h2,h3,p{margin:0}button{transition:background .2s ease,color .2s ease,border-color .2s ease}.login-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 20px;background:radial-gradient(ellipse at top,#a13b48,var(--primary-dark) 75%)}.login-brand{text-align:center;color:#fff;margin-bottom:30px;max-width:550px}.login-brand-icon{display:flex;align-items:center;justify-content:center;width:95px;height:95px;margin:0 auto 20px;border:1px solid rgba(255,255,255,.25);border-radius:24px;background:#ffffff14}.login-brand h1{font-size:34px;letter-spacing:3px;margin-bottom:10px}.login-brand h2{font-size:21px;font-weight:500;margin-bottom:12px}.login-brand p{font-size:13px;line-height:1.7;opacity:.8}.login-card{width:100%;max-width:430px;background:#fff;border-radius:18px;padding:35px;box-shadow:0 15px 50px #00000029}.login-card-header{text-align:center;margin-bottom:28px}.login-card-header h2{font-size:25px;margin-bottom:8px}.login-card-header p{color:var(--text-muted);font-size:13px;line-height:1.5}.login-form-group{margin-bottom:20px}.login-form-group label{display:block;font-weight:600;font-size:13px;margin-bottom:9px}.login-input-wrapper{display:flex;align-items:center;gap:11px;padding:0 13px;min-height:49px;border:1px solid var(--border);border-radius:9px;color:var(--text-muted);background:#fafafa}.login-input-wrapper:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}.login-input-wrapper input{width:100%;min-width:0;border:none;background:transparent;outline:none;padding:14px 0;color:var(--text);font-size:14px}.login-input-wrapper input:focus-visible{outline:none}.login-password-toggle{display:flex;align-items:center;justify-content:center;border:none;background:transparent;padding:4px;color:var(--text-muted)}.login-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;min-height:49px;border:none;border-radius:9px;background:var(--primary);color:#fff;font-weight:600;margin-top:25px}.login-submit:hover:not(:disabled){background:var(--primary-dark)}.login-error{padding:12px;border:1px solid #f2cdd2;border-radius:8px;background:#fff0f2;color:var(--danger);font-size:13px;line-height:1.5}.login-security{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:11px;margin-top:25px}.login-footer{color:#fffc;text-align:center;margin-top:30px;font-size:11px;line-height:1.9}.app-loading,.app-access-denied{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:25px;text-align:center}.app-loading svg,.app-access-denied svg{color:var(--primary)}.app-loading p,.app-access-denied p{color:var(--text-muted)}.app-access-denied button{background:var(--primary);color:#fff;border:none;border-radius:8px;padding:12px 20px}.login-spinner{animation:spin .9s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard-layout{display:flex;min-height:100vh}.dashboard-sidebar{position:fixed;top:0;bottom:0;left:0;z-index:50;width:var(--sidebar-width);display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border)}.dashboard-main{display:flex;flex-direction:column;margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));min-width:0;min-height:100vh}.dashboard-brand{min-height:100px;display:flex;align-items:center;gap:13px;padding:22px 19px;background:var(--primary);color:#fff}.dashboard-brand-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:49px;height:49px;border-radius:11px;background:#ffffff1f}.dashboard-brand h2{font-size:21px;letter-spacing:1px}.dashboard-brand p{font-size:11px;opacity:.85;margin-top:5px}.dashboard-navigation{flex:1;overflow-y:auto;padding:20px 12px}.dashboard-menu-group{margin-bottom:24px}.dashboard-menu-title{color:#969ba3;font-size:10px;font-weight:700;letter-spacing:1.2px;padding:0 12px;margin-bottom:11px}.dashboard-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:11px 12px;border:none;background:transparent;color:#535964;text-align:left;border-radius:8px;margin-bottom:4px;font-size:13px;font-weight:500}.dashboard-menu-item svg{flex-shrink:0}.dashboard-menu-item:hover{background:#f3f4f6;color:var(--primary)}.dashboard-menu-item.menu-active{background:var(--primary-light);color:var(--primary);font-weight:600}.dashboard-sidebar-footer{display:flex;align-items:center;gap:9px;padding:20px;color:var(--text-muted);font-size:11px;border-top:1px solid var(--border)}.dashboard-topbar{position:sticky;top:0;z-index:30;min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 28px;background:var(--surface);border-bottom:1px solid var(--border)}.dashboard-topbar-title{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600}.dashboard-topbar-actions{display:flex;align-items:center;gap:22px}.dashboard-automation-badge{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f5f5f5;color:var(--text-muted);border-radius:20px;font-size:11px;white-space:nowrap}.dashboard-indicator{width:8px;height:8px;border-radius:50%;background:var(--warning)}.dashboard-indicator.indicator-active{background:var(--success)}.dashboard-user-wrapper{position:relative}.dashboard-user-button{display:flex;align-items:center;gap:10px;border:none;background:transparent;color:var(--text);padding:4px}.dashboard-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:var(--primary-light);color:var(--primary);border-radius:50%;font-size:16px;font-weight:700;flex-shrink:0}.dashboard-user-details{display:flex;flex-direction:column;text-align:left;gap:4px}.dashboard-user-details strong{font-size:12px}.dashboard-user-details small{font-size:11px;color:var(--text-muted)}.dashboard-user-menu{position:absolute;right:0;top:53px;width:240px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);padding:10px}.dashboard-user-menu p{font-size:12px;color:var(--text-muted);padding:12px 8px;overflow-wrap:anywhere}.dashboard-user-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:12px 8px;color:var(--danger);border:none;border-radius:7px;background:transparent}.dashboard-user-menu button:hover{background:#fff0f2}.dashboard-content{flex:1;width:100%;max-width:1600px;margin:0 auto;padding:32px}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.dashboard-eyebrow{display:block;color:var(--primary);font-size:10px;letter-spacing:1.6px;font-weight:700;margin-bottom:10px}.dashboard-welcome h1{font-size:29px;font-weight:700;margin-bottom:9px}.dashboard-welcome p{color:var(--text-muted);font-size:13px;line-height:1.6}.dashboard-primary-button,.dashboard-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:10px 17px;border-radius:8px;font-size:13px;font-weight:600}.dashboard-primary-button{background:var(--primary);color:#fff;border:1px solid var(--primary)}.dashboard-primary-button:hover:not(:disabled){background:var(--primary-dark)}.dashboard-secondary-button{background:#fff;color:var(--text);border:1px solid var(--border)}.dashboard-secondary-button:hover:not(:disabled){background:var(--primary-light);color:var(--primary)}.dashboard-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.dashboard-stat-card{display:flex;align-items:flex-start;gap:14px;min-height:125px;padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.dashboard-stat-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;flex-shrink:0;background:var(--primary-light);color:var(--primary);border-radius:10px}.dashboard-stat-content p{font-size:12px;color:var(--text-muted);line-height:1.5}.dashboard-stat-content h2{font-size:28px;margin-top:7px;margin-bottom:5px}.dashboard-stat-content small{font-size:11px;color:var(--text-muted)}.dashboard-research-box{padding:25px;margin-bottom:25px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.dashboard-section-heading{display:flex;align-items:center;gap:11px;margin-bottom:10px}.dashboard-section-heading svg{color:var(--primary)}.dashboard-section-heading h2{font-size:20px}.dashboard-research-box>p{font-size:13px;color:var(--text-muted);line-height:1.6;margin-bottom:18px}.dashboard-research-box textarea{width:100%;resize:vertical;min-height:110px;padding:16px;background:#fafafa;border:1px solid var(--border);border-radius:9px;color:var(--text);font-size:14px;line-height:1.7}.dashboard-research-box textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}.dashboard-research-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px}.dashboard-research-actions span{font-size:11px;color:var(--text-muted)}.dashboard-panel{padding:24px;margin-bottom:25px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.dashboard-panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.dashboard-panel-header h2{font-size:18px}.dashboard-panel-header span{font-size:12px;color:var(--text-muted)}.dashboard-panel-header svg{color:var(--primary)}.dashboard-panel>p{color:var(--text-muted);font-size:14px;line-height:1.6;margin-bottom:18px}.dashboard-panel>.dashboard-research-box{padding:0;box-shadow:none;border:none;margin-bottom:0}.dashboard-categories-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.dashboard-category-card{padding:16px;min-height:105px;border:1px solid var(--border);border-radius:9px;background:#fdfdfd;transition:border-color .2s ease}.dashboard-category-card:hover{border-color:#c9a3aa}.dashboard-category-title{display:flex;align-items:center;gap:10px;margin-bottom:9px}.dashboard-category-title svg{flex-shrink:0}.dashboard-category-title h3{font-size:13px;line-height:1.5}.dashboard-category-card p{font-size:11px;line-height:1.7;color:var(--text-muted)}.dashboard-runs-list{display:flex;flex-direction:column}.dashboard-run-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--border)}.dashboard-run-item:last-child{border-bottom:none}.dashboard-run-item h3{font-size:14px;line-height:1.5;margin-bottom:5px}.dashboard-run-item p{font-size:11px;color:var(--text-muted)}.dashboard-status{display:inline-flex;align-items:center;white-space:nowrap;border-radius:20px;padding:6px 10px;font-size:11px;background:#eee;color:#555}.status-completed{color:#23774d;background:#e8f7ef}.status-running{color:#275da0;background:#eaf2ff}.status-failed,.status-budget_exceeded{color:var(--danger);background:#fff0f2}.status-partial,.status-queued{color:#946817;background:#fff6dd}.dashboard-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:35px 20px;color:var(--text-muted)}.dashboard-empty svg{color:#b6a0a5}.dashboard-empty h3{font-size:16px;color:var(--text)}.dashboard-empty p{font-size:13px;max-width:450px;line-height:1.7}.dashboard-notice{display:flex;align-items:flex-start;gap:10px;padding:15px;margin:15px 0;background:#fff8e8;color:#886520;border-radius:8px;font-size:13px;line-height:1.6}.dashboard-notice svg{flex-shrink:0}.dashboard-error{padding:15px;border:1px solid #f0c4cb;border-radius:8px;color:var(--danger);background:#fff0f2;margin-bottom:20px;font-size:13px}.dashboard-loading{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:12px;margin-bottom:20px}.dashboard-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 32px;border-top:1px solid var(--border);color:var(--text-muted);background:#fff;font-size:11px}.dashboard-mobile-menu,.dashboard-mobile-close{display:none;background:transparent;border:none;color:inherit}.dashboard-overlay{display:none}@media(max-width:1200px){.dashboard-stats-grid,.dashboard-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-content{padding:25px}}@media(max-width:900px){.dashboard-sidebar{transform:translate(-100%);transition:transform .25s ease}.dashboard-sidebar.sidebar-open{transform:translate(0)}.dashboard-main{margin-left:0;width:100%}.dashboard-mobile-menu,.dashboard-mobile-close{display:flex;align-items:center;justify-content:center}.dashboard-mobile-close{margin-left:auto}.dashboard-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;border:none;background:#00000059}.dashboard-topbar{padding:13px 18px}}@media(max-width:600px){.login-page{padding:25px 18px}.login-card{padding:25px}.login-brand h1{font-size:28px}.login-brand h2{font-size:18px}.login-brand-icon{width:75px;height:75px}.dashboard-content{padding:18px}.dashboard-welcome{align-items:flex-start;flex-direction:column}.dashboard-welcome h1{font-size:24px}.dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stat-card{flex-direction:column;padding:15px;min-height:145px;gap:10px}.dashboard-stat-content h2{font-size:24px}.dashboard-stat-icon{width:36px;height:36px}.dashboard-categories-grid{grid-template-columns:1fr}.dashboard-panel,.dashboard-research-box{padding:18px}.dashboard-research-actions{align-items:stretch;flex-direction:column}.dashboard-user-details{display:none}.dashboard-topbar-actions{gap:8px}.dashboard-automation-badge{font-size:10px;padding:7px 9px}.dashboard-topbar-title{font-size:12px}.dashboard-footer{flex-direction:column;text-align:center;line-height:1.6}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
