/* ===================================================== AI Executive Operations Manager — Dark Executive Theme ===================================================== */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #0b1120; --bg2: #0f172a; --panel-bg: #1a2540; --panel-border: #2d3f5e; --text-primary: #f1f5f9; --text-secondary: #94a3b8; --text-muted: #4b6180; --accent: #3b82f6; --success: #22c55e; --warning: #f59e0b; --danger: #ef4444; --purple: #8b5cf6; --orange: #f97316; } html, body, #root { height: 100%; background: var(--bg); color: var(--text-primary); font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 14px; line-height: 1.5; } /* ─── Scrollbars ──────────────────────────────────── */ ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.18); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(148,163,184,0.32); } /* ─── Loading ─────────────────────────────────────── */ .loading-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; gap: 18px; color: var(--text-secondary); background: radial-gradient(ellipse at center, #0f1e38 0%, var(--bg) 70%); } .loading-spinner { width: 44px; height: 44px; border: 3px solid rgba(59,130,246,0.15); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.75s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .loading-text { font-size: 15px; letter-spacing: 0.06em; color: var(--text-secondary); } /* ─── App layout ──────────────────────────────────── */ .app { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); } .app--autorunning { --panel-border: #2d4a7a; } .app--autorunning .panel { box-shadow: 0 0 0 1px rgba(59,130,246,0.12); } .main-grid { display: grid; grid-template-columns: 1fr 290px 270px; gap: 8px; padding: 8px; flex: 1; min-height: 0; } .left-col, .center-col, .right-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .bottom-row { padding: 0 8px 8px; height: 230px; flex-shrink: 0; } /* ─── Panel base ──────────────────────────────────── */ .panel { background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; } .panel-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--panel-border); flex-shrink: 0; background: rgba(255,255,255,0.018); } .panel-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); } .panel-badge { font-size: 11px; background: rgba(148,163,184,0.1); color: var(--text-secondary); padding: 2px 9px; border-radius: 100px; border: 1px solid rgba(148,163,184,0.12); } /* ─── Simulation controls (top bar) ──────────────── */ .sim-controls { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: linear-gradient(180deg, #101d36 0%, #0d1829 100%); border-bottom: 1px solid #1e3352; gap: 20px; flex-shrink: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.4); } .sim-controls-left { display: flex; align-items: center; gap: 14px; } .sim-controls-center { display: flex; align-items: center; gap: 28px; } .sim-controls-right { display: flex; align-items: center; gap: 16px; } .brand { display: flex; align-items: center; gap: 9px; } .brand-icon { font-size: 20px; filter: drop-shadow(0 0 6px rgba(59,130,246,0.7)); } .brand-text { display: flex; flex-direction: column; } .brand-name { font-size: 15px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; line-height: 1.1; } .brand-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; } .divider-v { width: 1px; height: 28px; background: var(--panel-border); } .task-select { background: rgba(15,23,42,0.7); border: 1px solid var(--panel-border); color: var(--text-primary); border-radius: 7px; padding: 6px 11px; font-size: 13px; cursor: pointer; outline: none; transition: border-color 0.2s; } .task-select:hover:not(:disabled) { border-color: var(--accent); } .task-select option { background: #1a2540; } .btn { border: none; border-radius: 7px; padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; } .btn:disabled { opacity: 0.38; cursor: not-allowed; } .btn-reset { background: rgba(59,130,246,0.1); color: #93c5fd; border: 1px solid rgba(59,130,246,0.25); } .btn-reset:hover:not(:disabled) { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.5); } /* stat blocks */ .stat-label { font-size: 9px; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 3px; } .time-display { display: flex; flex-direction: column; align-items: center; } .time-value { font-size: 22px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; } .step-display { display: flex; flex-direction: column; align-items: center; gap: 4px; } .step-value { font-size: 14px; font-weight: 700; color: var(--text-secondary); font-variant-numeric: tabular-nums; } .step-sep { color: var(--text-muted); } .step-bar { width: 90px; height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; } .step-bar-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; } .reward-display { display: flex; flex-direction: column; align-items: center; } .reward-value { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; transition: color 0.4s; } /* speed group */ .speed-group { display: flex; flex-direction: column; align-items: center; } .speed-btns { display: flex; gap: 3px; } .speed-btn { padding: 4px 10px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text-muted); border-radius: 5px; cursor: pointer; transition: all 0.15s; font-family: inherit; } .speed-btn:hover:not(:disabled) { background: rgba(59,130,246,0.15); color: #93c5fd; border-color: rgba(59,130,246,0.3); } .speed-btn.active { background: rgba(59,130,246,0.2); color: var(--accent); border-color: rgba(59,130,246,0.5); } .speed-btn:disabled { opacity: 0.35; cursor: not-allowed; } /* auto-run button */ .btn-autorun { display: flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 700; font-family: inherit; border: none; transition: all 0.2s; background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; box-shadow: 0 2px 12px rgba(37,99,235,0.4); } .btn-autorun:hover:not(:disabled) { background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 4px 20px rgba(59,130,246,0.5); transform: translateY(-1px); } .btn-autorun:active:not(:disabled) { transform: translateY(0); } .btn-autorun.running { background: linear-gradient(135deg, #991b1b, #dc2626); box-shadow: 0 2px 12px rgba(220,38,38,0.4); animation: pulse-run 1.8s ease-in-out infinite; } .btn-autorun.running:hover { background: linear-gradient(135deg, #dc2626, #ef4444); box-shadow: 0 4px 20px rgba(239,68,68,0.5); } .btn-autorun:disabled { opacity: 0.4; cursor: not-allowed; transform: none; } @keyframes pulse-run { 0%, 100% { box-shadow: 0 2px 12px rgba(220,38,38,0.4); } 50% { box-shadow: 0 2px 24px rgba(220,38,38,0.7); } } .autorun-icon { font-size: 12px; } /* status badge */ .status-badge { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 100px; letter-spacing: 0.05em; white-space: nowrap; } .status-badge.active { background: rgba(34,197,94,0.1); color: #86efac; border: 1px solid rgba(34,197,94,0.2); } .status-badge.done { background: rgba(59,130,246,0.1); color: #93c5fd; border: 1px solid rgba(59,130,246,0.2); } .status-badge.auto { background: rgba(59,130,246,0.15); color: var(--accent); border: 1px solid rgba(59,130,246,0.35); animation: badge-pulse 1.5s ease-in-out infinite; } @keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } } /* ─── Inbox panel ─────────────────────────────────── */ .inbox-panel { flex: 1; min-height: 0; } .email-list { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; } .email-card { border-radius: 8px; padding: 11px 13px; transition: all 0.2s; cursor: pointer; animation: fadeSlideIn 0.3s ease both; } @keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } .email-card:hover:not(.handled):not(.no-pointer) { filter: brightness(1.12); transform: translateX(2px); } .email-card.selected { outline: 2px solid rgba(59,130,246,0.6); outline-offset: -1px; } .email-card.handled { opacity: 0.45; cursor: default; } .email-card.no-pointer { cursor: default; } .email-card.ai-focus { outline: 2px solid rgba(59,130,246,0.8); box-shadow: 0 0 18px rgba(59,130,246,0.25); animation: ai-selecting 0.5s ease; } @keyframes ai-selecting { 0% { box-shadow: 0 0 0 rgba(59,130,246,0); } 50% { box-shadow: 0 0 24px rgba(59,130,246,0.45); } 100% { box-shadow: 0 0 18px rgba(59,130,246,0.25); } } .email-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; } .email-meta { display: flex; align-items: center; gap: 6px; } .priority-badge { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 100px; letter-spacing: 0.05em; } .action-taken-badge { font-size: 10px; color: var(--text-muted); background: rgba(148,163,184,0.08); padding: 2px 7px; border-radius: 100px; } .handled-check { color: var(--success); font-size: 15px; } .urgency-ring-wrapper { position: relative; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .urgency-pct { position: absolute; font-size: 9px; font-weight: 800; font-variant-numeric: tabular-nums; } .email-sender { font-size: 12px; font-weight: 700; margin-bottom: 2px; } .email-subject { font-size: 13px; line-height: 1.4; } .email-body { margin-top: 9px; font-size: 12px; color: var(--text-secondary); line-height: 1.6; border-top: 1px solid rgba(148,163,184,0.12); padding-top: 9px; animation: fadeSlideIn 0.2s ease; } /* ─── Action panel ────────────────────────────────── */ .action-panel { flex-shrink: 0; } .selected-email-preview { padding: 11px 14px; border-bottom: 1px solid var(--panel-border); } .selected-label { font-size: 9px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; } .selected-subject { font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.3; margin-bottom: 2px; } .selected-sender { font-size: 11px; color: var(--text-secondary); } .no-selection { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 14px; gap: 7px; color: var(--text-muted); text-align: center; font-size: 13px; line-height: 1.6; border-bottom: 1px solid var(--panel-border); } .no-selection-icon { font-size: 22px; } .action-buttons { display: flex; flex-direction: column; gap: 6px; padding: 8px; } .action-btn { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 7px; border: 1px solid; transition: all 0.15s; font-family: inherit; cursor: pointer; } .action-btn-icon { font-size: 17px; flex-shrink: 0; width: 22px; text-align: center; } .action-btn-text { display: flex; flex-direction: column; align-items: flex-start; } .action-btn-label { font-size: 13px; font-weight: 700; } .action-btn-desc { font-size: 10px; opacity: 0.65; } .action-btn.active { animation: btn-pulse 0.28s ease; } @keyframes btn-pulse { 0% { transform: scale(1); } 40% { transform: scale(0.94); } 100% { transform: scale(1); } } .done-overlay { display: flex; flex-direction: column; align-items: center; padding: 14px; gap: 5px; background: rgba(34,197,94,0.07); border-top: 1px solid rgba(34,197,94,0.2); } .done-icon { font-size: 22px; color: var(--success); } .done-text { font-size: 12px; color: var(--success); font-weight: 700; } /* ─── Calendar panel ──────────────────────────────── */ .calendar-panel { flex-shrink: 0; } .calendar-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; } .calendar-event { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; font-size: 12px; } .calendar-event.locked { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); } .calendar-event.scheduled { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); } .cal-time { color: var(--text-muted); font-size: 10px; min-width: 44px; } .cal-title { flex: 1; color: var(--text-secondary); font-size: 11px; } .cal-locked { font-size: 10px; } /* ─── Score panel ─────────────────────────────────── */ .score-panel { flex: 1; overflow-y: auto; min-height: 0; } .score-section { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-bottom: 1px solid var(--panel-border); } .score-gauge { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .score-gauge-text { position: absolute; display: flex; flex-direction: column; align-items: center; } .score-value { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; } .score-pct-label { font-size: 9px; color: var(--text-muted); } .score-meta { display: flex; flex-direction: column; gap: 5px; } .score-label-main { font-size: 9px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; } .score-completion { font-size: 14px; font-weight: 700; color: var(--text-primary); } .completion-bar-wrapper { display: flex; align-items: center; gap: 7px; } .completion-bar { width: 84px; height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; } .completion-bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; } .completion-pct { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; } .goals-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; } .goals-header { font-size: 9px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 3px; padding: 0 6px; } .goal-item { display: flex; align-items: flex-start; gap: 9px; padding: 8px 9px; border-radius: 7px; background: rgba(255,255,255,0.025); transition: all 0.35s; } .goal-item.goal-done { background: rgba(34,197,94,0.06); } .goal-checkbox { width: 17px; height: 17px; border-radius: 4px; border: 2px solid; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; } .goal-check { font-size: 10px; color: #fff; font-weight: 900; } .goal-text { display: flex; flex-direction: column; gap: 2px; } .goal-desc { font-size: 11px; line-height: 1.45; transition: color 0.3s; } .goal-priority-tag { font-size: 10px; font-weight: 700; } .final-score-banner { margin: 10px; padding: 14px; border-radius: 8px; border: 1px solid; display: flex; flex-direction: column; align-items: center; gap: 5px; animation: fadeSlideIn 0.5s ease; } .final-score-title { font-size: 14px; font-weight: 700; color: var(--text-primary); } .final-score-num { font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; } /* ─── Timeline panel ──────────────────────────────── */ .timeline-panel { height: 100%; } .timeline-scroll { flex: 1; overflow-x: auto; overflow-y: hidden; padding: 10px 14px 10px; display: flex; align-items: flex-start; } .timeline-empty { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; width: 100%; justify-content: center; padding: 16px 0; } .timeline-empty-icon { font-size: 20px; } .timeline-track { display: flex; align-items: flex-start; gap: 0; position: relative; padding-bottom: 4px; } .timeline-entry { display: flex; align-items: flex-start; flex-shrink: 0; animation: fadeSlideIn 0.3s ease both; } .timeline-entry.latest .timeline-card { border-color: rgba(59,130,246,0.5); box-shadow: 0 0 12px rgba(59,130,246,0.15); } .timeline-line { width: 20px; height: 2px; align-self: center; flex-shrink: 0; margin-top: -38px; border-radius: 1px; } .timeline-step { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; align-self: flex-start; margin-top: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); z-index: 1; } .timeline-card { background: rgba(255,255,255,0.04); border: 1px solid var(--panel-border); border-radius: 7px; padding: 8px 11px; min-width: 170px; max-width: 210px; margin-left: 6px; flex-shrink: 0; } .timeline-card-top { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; } .tl-time { font-size: 10px; color: var(--text-muted); } .tl-action { font-size: 12px; font-weight: 700; } .tl-reward { font-size: 12px; font-weight: 800; margin-left: auto; font-variant-numeric: tabular-nums; } .timeline-card-body { display: flex; align-items: flex-start; gap: 6px; } .tl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; } .tl-subject { font-size: 11px; color: var(--text-secondary); line-height: 1.4; } /* ─── Reward popups ───────────────────────────────── */ .reward-popups { position: fixed; top: 82px; right: 20px; display: flex; flex-direction: column; gap: 6px; z-index: 1000; pointer-events: none; } .reward-popup { display: flex; flex-direction: column; align-items: flex-end; background: rgba(26,37,64,0.96); border: 1px solid var(--panel-border); border-radius: 9px; padding: 9px 15px; animation: floatUp 2.2s ease forwards; box-shadow: 0 6px 24px rgba(0,0,0,0.5); backdrop-filter: blur(8px); } @keyframes floatUp { 0% { opacity: 0; transform: translateY(8px) scale(0.92); } 18% { opacity: 1; transform: translateY(0) scale(1); } 72% { opacity: 1; transform: translateY(-12px); } 100% { opacity: 0; transform: translateY(-22px); } } .popup-reward { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; } .reward-popup.positive .popup-reward { color: var(--success); } .reward-popup.negative .popup-reward { color: var(--danger); } .popup-label { font-size: 10px; color: var(--text-muted); max-width: 160px; text-align: right; margin-top: 2px; } /* ─── Error banner ────────────────────────────────── */ .error-banner { background: rgba(239,68,68,0.12); border-bottom: 1px solid rgba(239,68,68,0.25); color: #fca5a5; padding: 9px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; } .error-banner button { background: none; border: none; color: #fca5a5; cursor: pointer; font-size: 15px; padding: 0 4px; }