#view-history .history-workspace{width:min(1360px,calc(100% - 48px));margin:0 auto;padding:24px 0 64px}#view-history .history-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}#view-history .history-eyebrow,#view-history .report-label,#view-history .report-overline{display:block;color:#0f9d76;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}#view-history .history-heading-actions{display:flex;align-items:center;gap:10px;padding-bottom:2px}#view-history .history-export-btn,#view-history .history-period-chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;border-radius:9px;font-size:12px;font-weight:700}#view-history .history-export-btn{padding:0 12px;background:#fff;border:1px solid #dce7e2;color:#16765a;cursor:pointer}#view-history .history-export-btn:hover{border-color:#68c5a7;background:#f5fcf9}#view-history .history-period-chip{padding:0 10px;color:#667c74;background:#f5f8f7}#view-history .history-page-tabs{display:inline-flex;gap:3px;margin:2px 0 22px;padding:4px;background:#edf3f0;border-radius:11px}#view-history .history-page-tab{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:#6a7d76;font-size:13px;font-weight:750;cursor:pointer;transition:.18s ease}#view-history .history-page-tab.is-active{background:#fff;color:#087a59;box-shadow:0 2px 7px rgba(16,71,53,.1)}#view-history .career-report-page{animation:reportEnter .28s ease both}@keyframes reportEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}#view-history .report-hero-card{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:178px;padding:30px 34px;border-radius:18px;color:#fff;background:radial-gradient(circle at 82% 22%,rgba(108,238,193,.28),transparent 24%),linear-gradient(115deg,#075d4a,#06886b 58%,#13a779);box-shadow:0 15px 30px rgba(6,112,82,.18);overflow:hidden}#view-history .report-overline{color:#9deccf}#view-history .report-hero-card h3{margin:7px 0;font-size:clamp(23px,2.6vw,31px);line-height:1.16;letter-spacing:-.04em}#view-history .report-hero-card p{margin:0;max-width:570px;color:#d7f6e8;font-size:14px;line-height:1.55}#view-history .report-score-orb{display:grid;grid-template-columns:auto auto;place-content:center;width:116px;height:116px;flex:0 0 116px;border:7px solid rgba(199,255,232,.35);border-radius:50%;background:rgba(255,255,255,.12);text-align:center}#view-history .report-score-orb strong{font-size:33px;line-height:1;letter-spacing:-.07em}#view-history .report-score-orb span{align-self:end;padding:0 0 4px 3px;font-size:12px;color:#b5f5d8}#view-history .report-score-orb small{grid-column:1/-1;margin-top:5px;color:#d6f9e8;font-size:9px;font-weight:700}#view-history .report-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;gap:16px;margin:16px 0}#view-history .report-stat-card{display:flex;align-items:center;gap:14px;height:100%;padding:16px 18px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow);box-sizing:border-box}#view-history .report-stat-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:var(--ui-radius-lg)}#view-history .report-stat-icon.teal{color:#078567;background:#e5f8f1}#view-history .report-stat-icon.purple{color:#7c45db;background:#f2ecff}#view-history .report-stat-icon.amber{color:#d78209;background:#fff4df}#view-history .report-stat-card span:not(.report-stat-icon){display:block;color:var(--text-secondary);font-size:13px;font-weight:600}#view-history .report-stat-card strong{display:block;margin:2px 0;color:var(--text-primary);font-size:26px;font-weight:800;line-height:1.1;letter-spacing:-.04em}#view-history .report-stat-card small{display:block;color:var(--ui-text-subtle);font-size:11px}#view-history .report-content-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}#view-history .report-panel{padding:20px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow)}#view-history .report-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}#view-history .report-panel h4{margin:4px 0 0;color:#172b25;font-size:16px;letter-spacing:-.025em}#view-history .report-growth{display:inline-flex;align-items:center;gap:3px;padding:5px 7px;border-radius:6px;color:#0e8866;background:#e8f8f1;font-size:10px;font-weight:750;white-space:nowrap}#view-history .report-chart{position:relative;height:150px;margin-top:14px;border-bottom:1px solid var(--ui-border);background:repeating-linear-gradient(180deg,transparent 0 35px,#f0f5f2 36px 37px);overflow:hidden}#view-history .report-chart-line{position:absolute;inset:16px 10px 20px;display:flex;align-items:flex-end;justify-content:space-between}#view-history .report-chart-line:before{content:"";position:absolute;right:0;bottom:32px;left:0;height:55px;border-top:3px solid #10a87d;border-radius:50% 65% 0 0;transform:skewY(-6deg);background:linear-gradient(180deg,rgba(16,168,125,.13),transparent)}#view-history .report-chart-line i{position:relative;z-index:1;width:8px;height:8px;border:3px solid #fff;border-radius:50%;background:#10a87d;box-shadow:0 0 0 2px #10a87d}#view-history .report-chart-line i:first-child{margin-bottom:3px}#view-history .report-chart-line i:nth-child(2){margin-bottom:17px}#view-history .report-chart-line i:nth-child(3){margin-bottom:31px}#view-history .report-chart-line i:nth-child(4){margin-bottom:22px}#view-history .report-chart-line i:nth-child(5){margin-bottom:42px}#view-history .report-chart-line i:nth-child(6){margin-bottom:51px}#view-history .report-chart-axis{position:absolute;right:0;bottom:2px;left:0;display:flex;justify-content:space-between;color:#8a9a94;font-size:10px}#view-history .report-panel-note{margin:12px 0 0;color:#7d8e88;font-size:11px;line-height:1.5}#view-history .report-lightbulb{color:#d78917}#view-history .report-actions-list{display:grid;gap:15px;padding:0;margin:18px 0 0;list-style:none}#view-history .report-actions-list li{display:flex;gap:10px}#view-history .report-actions-list li>span{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:7px;color:#078567;background:#e5f8f1;font-size:9px;font-weight:800}#view-history .report-actions-list strong{color:#2a4039;font-size:12px}#view-history .report-actions-list p{margin:2px 0 0;color:#84938e;font-size:11px;line-height:1.4}#view-history .report-recent-panel{margin-top:16px}#view-history .report-link-btn{display:inline-flex;align-items:center;gap:4px;border:0;color:#078567;background:transparent;font-size:12px;font-weight:750;cursor:pointer}#view-history .report-recent-list{min-height:47px;padding:13px 14px;border-radius:9px;background:#f8fbfa;color:#7c8f87;font-size:12px}#view-history .report-recent-list p{margin:0}#view-history .history-heading{margin-bottom:20px}#view-history .history-title{margin:0;color:var(--text-primary);font-size:clamp(26px,2.5vw,32px);font-weight:800;letter-spacing:-.04em;line-height:1.15}#view-history .history-subtitle{margin:6px 0 0;color:var(--text-secondary);font-size:14px;line-height:1.5}#view-history .history-refresh-btn{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border-radius:9px;border:1px solid #dce7e2;background:#f5f8f7;color:#16765a;font-size:12px;font-weight:700;cursor:pointer;transition:all .15s ease}#view-history .history-refresh-btn:hover{background:#e7f5ee;border-color:#059669;color:#047857}#view-history .history-refresh-btn.is-loading .history-refresh-icon{animation:historySpin .75s linear infinite}@keyframes historySpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}#view-history .history-kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:16px;margin-bottom:18px}#view-history .history-kpi-card{display:flex;align-items:center;gap:14px;height:100%;padding:16px 18px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow);box-sizing:border-box;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}#view-history .history-kpi-card:hover{background:var(--ui-surface-soft);border-color:var(--ui-border-strong)}#view-history .history-kpi-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:var(--ui-radius-lg);background:var(--primary-soft);color:var(--primary)}#view-history .history-kpi-card.is-match .history-kpi-icon{background:#e7f4ed;color:#147a5a}#view-history .history-kpi-card.is-optimized .history-kpi-icon{background:#f3efff;color:#7c3aed}#view-history .history-kpi-card.is-interview .history-kpi-icon{background:#edf5ff;color:#2563eb}#view-history .history-kpi-card.is-best-match .history-kpi-icon{background:#fff8eb;color:#d97706}#view-history .history-kpi-data{display:flex;flex-direction:column;min-width:0}#view-history .history-kpi-value{color:var(--text-primary);font-size:26px;font-weight:800;line-height:1.1;letter-spacing:-.04em}#view-history .history-kpi-label{margin-top:4px;color:var(--text-secondary);font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#view-history .history-analytics-section{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:20px}#view-history .analytics-card{padding:16px 20px;border:1px solid var(--border);border-radius:14px;background:#ffffff;box-shadow:0 2px 6px rgba(19,50,43,.03);display:flex;flex-direction:column;position:relative}#view-history .analytics-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f0f4f2}#view-history .analytics-card-title-wrap{display:flex;flex-direction:column}#view-history .analytics-card-title{margin:0;color:var(--text-primary);font-size:14px;font-weight:750;letter-spacing:-.02em}#view-history .analytics-card-caption{margin-top:2px;color:var(--text-secondary);font-size:12px;font-weight:500}#view-history .analytics-metric-switch{display:inline-flex;padding:3px;background:#f0f4f2;border-radius:8px;gap:2px}#view-history .metric-switch-btn{padding:4px 10px;border:none;background:transparent;border-radius:6px;color:var(--text-secondary);font-size:12px;font-weight:650;cursor:pointer;transition:all .15s ease}#view-history .metric-switch-btn:hover{color:var(--text-primary)}#view-history .metric-switch-btn.active{background:#ffffff;color:var(--primary);box-shadow:0 2px 6px rgba(0,0,0,.06)}#view-history .analytics-chart-wrap,#view-history .donut-chart-wrap{position:relative;height:180px;width:100%}#view-history .chart-placeholder-loading,#view-history .donut-chart-wrap{display:flex;align-items:center;justify-content:center}#view-history .chart-placeholder-loading{height:100%;color:var(--text-secondary);font-size:13px;text-align:center;padding:12px}#view-history .svg-line-chart{width:100%;height:100%;overflow:visible}#view-history .chart-gridline{stroke:#eef3f0;stroke-dasharray:3 3}#view-history .chart-axis-label{fill:#859891;font-size:10px;font-weight:600;font-family:inherit}#view-history .chart-trend-area{opacity:.18}#view-history .chart-trend-line{fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}#view-history .chart-data-point{fill:#ffffff;stroke-width:2.5;cursor:pointer;transition:r .15s ease,stroke-width .15s ease}#view-history .chart-data-point:hover{r:6;stroke-width:3.5}#view-history .history-chart-tooltip{position:absolute;z-index:50;pointer-events:none;padding:8px 12px;background:#0f172a;color:#ffffff;border-radius:8px;font-size:11.5px;line-height:1.4;box-shadow:0 8px 24px rgba(0,0,0,.25);transform:translate(-50%,-115%);transition:opacity .12s ease;white-space:nowrap}#view-history .history-chart-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#0f172a}#view-history .tooltip-title{font-weight:700;margin-bottom:2px;color:#f8fafc;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#view-history .tooltip-score{font-weight:800;color:#34d399}#view-history .tooltip-date{color:#94a3b8;font-size:10.5px}#view-history .donut-flex-container{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;gap:16px;padding:4px 0}#view-history .donut-svg-wrapper{position:relative;width:120px;height:120px;flex:0 0 120px}#view-history .donut-svg{width:100%;height:100%;transform:rotate(-90deg)}#view-history .donut-center-info{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}#view-history .donut-center-number{color:var(--text-primary);font-size:22px;font-weight:800;line-height:1}#view-history .donut-center-label{color:var(--text-secondary);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-top:3px}#view-history .donut-legend-list{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0}#view-history .donut-legend-item{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:8px}#view-history .donut-legend-label{display:flex;align-items:center;gap:7px;color:var(--text-primary);font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#view-history .donut-legend-dot{width:9px;height:9px;border-radius:50%;flex:0 0 9px}#view-history .donut-legend-dot.is-match{background:#10b981}#view-history .donut-legend-dot.is-optimized{background:#f97316}#view-history .donut-legend-dot.is-interview{background:#3b82f6}#view-history .donut-legend-meta{display:flex;align-items:center;gap:6px}#view-history .donut-legend-dot.is-match{background:#147a5a}#view-history .donut-legend-dot.is-optimized{background:#7c3aed}#view-history .donut-legend-dot.is-interview{background:#2563eb}#view-history .donut-legend-count{color:var(--text-primary);font-weight:750;font-size:12.5px}#view-history .donut-legend-pct{color:var(--text-secondary);font-size:11px;font-weight:600;background:#f1f5f3;padding:1px 5px;border-radius:4px}#view-history .history-main-card{padding:20px 24px;border:1px solid var(--border);border-radius:16px;background:#ffffff;box-shadow:0 2px 8px rgba(19,50,43,.03)}#view-history .history-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:0;border:none}#view-history .history-section-header:after,#view-history .history-section-header:before,#view-history .history-section-title:after,#view-history .history-section-title:before{display:none;content:none;border:none;background:none}#view-history .history-section-title{margin:0;color:var(--text-primary);font-size:18px;font-weight:800;letter-spacing:-.03em;border:none}#view-history .history-total-count{display:inline-flex;align-items:center;padding:4px 10px;border-radius:20px;background:#f1f5f3;color:#4b6359;font-size:12px;font-weight:700}#view-history .history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}#view-history .history-search-wrap{position:relative;flex:1;min-width:240px;max-width:380px}#view-history .history-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7d9089;pointer-events:none}#view-history .history-search-input{width:100%;height:var(--ui-control-h);padding:0 12px 0 38px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface-soft);color:var(--text-primary);font-size:14px;font-weight:500;box-sizing:border-box;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}#view-history .history-search-input:focus{outline:none;border-color:var(--ui-primary);background:var(--ui-surface);box-shadow:var(--ui-ring)}#view-history .history-filter-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#view-history .filter-select-wrap{position:relative}#view-history .history-filter-select{height:var(--ui-control-h);padding:0 32px 0 12px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d716a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;color:var(--text-primary);font-family:inherit;font-size:13px;font-weight:600;box-sizing:border-box;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;transition:border-color .15s ease,box-shadow .15s ease}#view-history .history-filter-select:hover{border-color:var(--ui-border-strong)}#view-history .history-filter-select:focus{outline:none;border-color:var(--ui-primary);box-shadow:var(--ui-ring)}#view-history .history-active-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding:8px 12px;border-radius:9px;background:#f4faf6;border:1px solid #d5e8dc}#view-history .history-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:16px;background:#e7f4ed;color:#147a5a;font-size:12px;font-weight:650;border:1px solid #cce8d9}#view-history .history-chip-remove{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#147a5a;cursor:pointer;padding:0;font-size:13px;line-height:1;border-radius:50%;width:15px;height:15px}#view-history .history-chip-remove:hover{background:rgba(20,122,90,.15)}#view-history .history-chip-clear-all{border:none;background:transparent;color:#4b6359;font-size:12px;font-weight:650;text-decoration:underline;cursor:pointer;margin-left:4px;padding:2px 6px}#view-history .history-chip-clear-all:hover{color:#dc2626}#view-history .history-table-container{overflow-x:auto;position:relative;min-height:200px}#view-history .history-data-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}#view-history .history-data-table thead th{padding:11px 12px;background:#fafcfb;border-bottom:1px solid var(--border);color:var(--text-secondary);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}#view-history .history-data-table thead th.sortable-col{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .15s ease,background-color .15s ease}#view-history .history-data-table thead th.sortable-col:hover{color:var(--primary);background:#f0f6f2}#view-history .th-center-wrap{display:inline-flex;align-items:center;justify-content:center;position:relative}#view-history .sort-icon{position:absolute;left:calc(100% + 4px);top:50%;transform:translateY(-50%);opacity:.55;pointer-events:none}#view-history .history-data-table tbody tr{border-bottom:1px solid #edf2ef;transition:background-color .15s ease}#view-history .history-data-table tbody tr:hover{background-color:#f7faf8}#view-history .history-data-table tbody td{padding:12px;vertical-align:middle}#view-history .col-type{width:110px}#view-history .col-cv{width:230px}#view-history .col-job{width:200px}#view-history .col-result{width:110px;text-align:center}#view-history .col-date,#view-history .col-status{width:145px;text-align:center}#view-history .col-date{min-width:140px;white-space:nowrap}#view-history .col-action{width:125px;text-align:center}#view-history .text-right{text-align:right}#view-history .text-center{text-align:center}#view-history .history-data-table tbody td:first-child,#view-history .history-data-table thead th.col-type{text-align:left;padding-left:16px}#view-history .history-data-table tbody td:nth-child(2),#view-history .history-data-table tbody td:nth-child(3),#view-history .history-data-table thead th.col-cv,#view-history .history-data-table thead th.col-job{text-align:left;padding-left:12px}#view-history .history-data-table tbody td:nth-child(4),#view-history .history-data-table tbody td:nth-child(5),#view-history .history-data-table tbody td:nth-child(6),#view-history .history-data-table tbody td:nth-child(7),#view-history .history-data-table thead th.col-action,#view-history .history-data-table thead th.col-date,#view-history .history-data-table thead th.col-result,#view-history .history-data-table thead th.col-status{text-align:center}#view-history .history-data-table tbody td:last-child,#view-history .history-data-table thead th:last-child{padding-right:14px;padding-left:14px;text-align:center}#view-history .history-action-btn{padding:6px 14px;border-radius:8px;background:#ffffff;border:1px solid #10b981;color:#059669;font-size:12.5px;transition:all .18s ease;box-shadow:0 1px 2px rgba(0,0,0,.03)}#view-history .history-action-btn:hover{background:#ecfdf5;border-color:#059669;color:#047857;transform:translateY(-1px);box-shadow:0 2px 4px rgba(5,150,105,.12)}#view-history .table-type-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap}#view-history .table-type-badge.is-match{background:#e7f4ed;color:#147a5a}#view-history .table-type-badge.is-optimized{background:#fff7ed;color:#ea580c;border:1px solid #fed7aa}#view-history .table-type-badge.is-interview{background:#edf5ff;color:#2563eb}#view-history .table-cv-cell{display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:220px}#view-history .history-cv-link,#view-history .history-cv-title-text{color:var(--text-primary);font-size:13.5px;font-weight:700;line-height:1.35;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}#view-history .history-cv-link{background:none;border:none;padding:0;cursor:pointer;transition:color .15s ease,-webkit-text-decoration .15s ease;transition:color .15s ease,text-decoration .15s ease;transition:color .15s ease,text-decoration .15s ease,-webkit-text-decoration .15s ease}#view-history .history-cv-link:hover{color:var(--primary);text-decoration:underline}#view-history .history-cv-empty{color:#94a3b8;font-size:14px;font-weight:600}#view-history .cv-badge-tag{display:inline-flex;align-items:center;padding:1px 6px;border-radius:4px;font-size:11px;font-weight:650;line-height:1.4;white-space:nowrap}#view-history .cv-badge-tag.is-original{background:#e8f5e9;color:#1b5e20;border:1px solid #c8e6c9}#view-history .cv-badge-tag.is-optimized{background:#f3efff;color:#6d28d9;border:1px solid #ddd6fe}#view-history .cv-badge-tag.is-ai{background:var(--status-info-bg);color:var(--status-info-fg);border:1px solid #bfdbfe}#view-history .table-job-cell{display:flex;flex-direction:column;align-items:flex-start;max-width:250px}#view-history .history-job-link{background:none;border:none;padding:0;color:var(--text-primary);font-size:13.5px;font-weight:750;line-height:1.35;text-align:left;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;transition:color .15s ease,-webkit-text-decoration .15s ease;transition:color .15s ease,text-decoration .15s ease;transition:color .15s ease,text-decoration .15s ease,-webkit-text-decoration .15s ease}#view-history .history-job-link:hover{color:var(--primary);text-decoration:underline}#view-history .job-company-text{color:var(--text-secondary);font-size:12px;font-weight:500;line-height:1.3;margin-top:2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}#view-history .history-mobile-list{display:none}#view-history .mobile-history-card{display:flex;flex-direction:column;justify-content:space-between;min-height:98px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#ffffff;margin-bottom:10px;cursor:pointer;transition:border-color .15s ease,background .15s ease}#view-history .mobile-history-card:hover{border-color:#a9d7c1;background:#f7faf8}#view-history .mobile-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}#view-history .mobile-card-date{color:var(--text-secondary);font-size:12px;font-weight:500}#view-history .mobile-card-body{margin-bottom:8px}#view-history .mobile-card-title{color:var(--text-primary);font-size:14px;font-weight:750;line-height:1.35}#view-history .mobile-card-sub{color:var(--text-secondary);font-size:12px;line-height:1.35;margin-top:2px}#view-history .mobile-card-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:6px;border-top:1px dashed #edf2ef}#view-history .mobile-card-badges{display:flex;align-items:center;gap:8px}#view-history .mobile-chevron{color:#7d9089;font-size:16px;font-weight:700}#view-history .history-empty-state{text-align:center;padding:48px 20px}#view-history .empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:var(--primary-soft);color:var(--primary);margin-bottom:14px}#view-history .empty-state-title{margin:0;color:var(--text-primary);font-size:16px;font-weight:750}#view-history .empty-state-sub{margin:6px auto 16px;max-width:420px;color:var(--text-secondary);font-size:13px;line-height:1.5}#view-history .empty-state-actions{display:flex;align-items:center;justify-content:center;gap:10px}#view-history .report-recent-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}#view-history .report-recent-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:10px;background:#f8faf9;border:1px solid #edf2ef;transition:all .15s ease}#view-history .report-recent-item:hover{background:#f0f7f3;border-color:#cce8d9}#view-history .report-recent-left{display:flex;align-items:center;gap:12px;min-width:0}#view-history .report-recent-icon{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:0 0 36px}#view-history .report-recent-icon.match{background:#e7f4ed;color:#059669}#view-history .report-recent-icon.optimized{background:#f3efff;color:#7c3aed}#view-history .report-recent-icon.interview{background:#edf5ff;color:#2563eb}#view-history .report-recent-meta{display:flex;flex-direction:column;gap:2px;min-width:0}#view-history .report-recent-meta strong{color:var(--text-primary);font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#view-history .report-recent-meta span{color:var(--text-secondary);font-size:12px}#view-history .report-recent-right{display:flex;align-items:center;gap:12px;flex:0 0 auto}#view-history .report-recent-score{font-size:14px;font-weight:800;color:#059669}#view-history .report-recent-view-btn{padding:5px 12px;border-radius:6px;background:#ffffff;border:1px solid #d1e7dc;color:var(--primary);font-size:12px;font-weight:700;cursor:pointer;transition:all .15s ease}#view-history .report-recent-view-btn:hover{background:var(--primary);color:#ffffff;border-color:var(--primary)}#view-history .history-pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #edf2ef}#view-history .pagination-info{color:var(--text-secondary);font-size:13px;font-weight:550}#view-history .pagination-nav{display:flex;align-items:center;gap:4px}#view-history .pagination-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--border);border-radius:7px;background:#ffffff;color:var(--text-primary);cursor:pointer;transition:all .15s ease}#view-history .pagination-btn:hover:not(:disabled){border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}#view-history .pagination-btn:disabled{opacity:.4;cursor:not-allowed}#view-history .pagination-pages{display:flex;align-items:center;gap:4px}#view-history .pagination-btn.active{background:var(--primary);border-color:var(--primary);color:#ffffff}#view-history .page-size-select{height:32px;padding:0 8px;border:1px solid var(--border);border-radius:7px;background:#ffffff;color:var(--text-secondary);font-size:12px;font-weight:600;cursor:pointer}#history-modal-overlay,.history-modal-overlay{position:fixed;inset:0;top:0;left:0;width:100vw;height:100vh;background:rgba(15,23,42,.65);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:99998;opacity:0;pointer-events:none;transition:opacity .22s ease;display:block}#history-modal-overlay.is-open,.history-modal-overlay.is-open{opacity:1;pointer-events:auto}#history-detail-modal,.history-detail-modal{position:fixed;inset:0;top:0;left:0;width:100vw;height:100vh;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s cubic-bezier(.16,1,.3,1);transform:scale(.96) translateY(8px)}#history-detail-modal.is-open,.history-detail-modal.is-open{opacity:1;pointer-events:auto;transform:scale(1) translateY(0)}.history-modal-card{position:relative;width:min(100%,680px);max-height:min(88vh,760px);background:#ffffff;border-radius:18px;box-shadow:0 25px 50px -12px rgba(15,23,42,.35),0 0 0 1px rgba(15,23,42,.08);display:flex;flex-direction:column;overflow:hidden;margin:auto;animation:modalPopIn .24s cubic-bezier(.16,1,.3,1) both}@keyframes modalPopIn{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.history-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e2e8f0;background:#f8fafc;flex:0 0 auto}.history-modal-header-info{display:flex;flex-direction:column;gap:8px;min-width:0}.history-modal-badge-row{display:flex;align-items:center;gap:8px}.history-modal-title{margin:0;font-size:18px;font-weight:700;color:#0f172a;line-height:1.35;letter-spacing:-.02em;word-break:break-word}.history-modal-close-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1px solid #e2e8f0;background:#ffffff;color:#64748b;cursor:pointer;transition:all .15s ease;flex-shrink:0}.history-modal-close-btn:hover{background:#f1f5f9;color:#0f172a;border-color:#cbd5e1}.history-modal-body{flex:1 1 auto;overflow-y:auto;max-height:calc(88vh - 140px);padding:24px;display:flex;flex-direction:column;gap:18px;background:#ffffff}.modal-highlight-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-radius:14px;background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border:1px solid #a7f3d0}.modal-highlight-meta{display:flex;flex-direction:column;gap:3px}.modal-highlight-meta small{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#059669}.modal-highlight-meta span{font-size:14px;font-weight:600;color:#0f172a}.modal-highlight-score{display:flex;align-items:baseline;gap:3px;color:#059669}.modal-highlight-score strong{font-size:30px;font-weight:800;line-height:1}.modal-highlight-score span{font-size:15px;font-weight:700;color:#047857}.modal-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-info-tile{padding:12px 16px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}.modal-info-tile label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#64748b;margin-bottom:4px}.modal-info-tile p{margin:0;font-size:13.5px;font-weight:600;color:#0f172a;word-break:break-word}.modal-section-card{padding:18px;border-radius:14px;background:#ffffff;border:1px solid #e2e8f0}.modal-section-card h4{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:14px;font-weight:700;color:#0f172a}.modal-skill-tags{display:flex;flex-wrap:wrap;gap:8px}.modal-skill-tag{display:inline-flex;align-items:center;padding:5px 12px;border-radius:8px;font-size:12.5px;font-weight:600}.modal-skill-tag.is-match{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.modal-skill-tag.is-missing{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.modal-action-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}.modal-action-list li{display:flex;gap:12px;align-items:flex-start;font-size:13.5px;color:#334155;line-height:1.5}.modal-action-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background:#f1f5f9;color:#0f172a;font-size:11.5px;font-weight:700;flex-shrink:0;margin-top:1px}.history-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#f8fafc;flex:0 0 auto}.modal-footer-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 20px;border-radius:9px;font-size:13.5px;font-weight:600;cursor:pointer;transition:all .15s ease;border:1px solid #cbd5e1;background:#ffffff;color:#334155}.modal-footer-btn:hover{background:#f1f5f9;color:#0f172a}.modal-footer-btn.btn-secondary{background:#ffffff;color:var(--text-primary);border-color:var(--border)}.modal-footer-btn.btn-secondary:hover{background:#f5f8f7;border-color:#a9d7c1}.modal-footer-btn.btn-primary{background:var(--primary);color:#ffffff;border-color:var(--primary)}.modal-footer-btn.btn-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:650;border:1px solid transparent;white-space:nowrap;word-break:keep-all;flex-shrink:0}.status-pill.is-completed{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}.status-pill.is-inprogress{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.status-pill.is-failed{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.status-dot{width:7px;height:7px;border-radius:50%}.status-pill.is-completed .status-dot{background:#16a34a}.status-pill.is-inprogress .status-dot{background:#2563eb}.status-pill.is-failed .status-dot{background:#dc2626}.archive-btn-view,.history-action-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;background:#ffffff;color:var(--primary);font-size:12.5px;font-weight:700;border:1.5px solid #cce8d9;border-radius:7px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.archive-btn-view:hover,.history-action-btn:hover{background:#f0fdf7;border-color:var(--primary)}#view-history.app-view,#view-history.app-view.active,#view-history.history-modal-open,body.history-modal-open,body.history-modal-open #view-history.app-view,body.history-modal-open #view-history.app-view.active{animation:none!important;transform:none!important;will-change:auto!important}@media (max-width:1199.98px){#view-history .report-content-grid{grid-template-columns:1fr}#view-history .history-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}#view-history .history-analytics-section{grid-template-columns:1fr}}@media (max-width:767.98px){#view-history .history-heading{align-items:flex-start;flex-direction:column}#view-history .history-heading-actions{width:100%;align-items:stretch;flex-direction:column}#view-history .history-export-btn{flex:1;justify-content:center}#view-history .history-period-chip{justify-content:center}#view-history .report-hero-card{align-items:flex-start;min-height:auto;gap:16px;padding:20px}#view-history .report-stat-grid{grid-template-columns:1fr}#view-history .report-score-orb{width:86px;height:86px;flex-basis:86px;border-width:5px}#view-history .report-score-orb strong{font-size:26px}#view-history .report-score-orb small{font-size:7px}#view-history .modal-info-grid{grid-template-columns:1fr}#view-history .history-workspace{width:min(100% - 28px,640px);padding-top:16px}#view-history .history-main-card{padding:16px}#view-history .history-toolbar{flex-direction:column;align-items:stretch}#view-history .history-search-wrap{max-width:none}#view-history .history-filter-controls{display:grid;grid-template-columns:1fr;gap:8px}#view-history .history-filter-select{width:100%}#view-history .history-data-table{display:none}#view-history .history-mobile-list{display:block;margin-top:8px}#view-history .history-pagination-bar{flex-direction:column;align-items:center;gap:12px}#view-history .history-kpi-row{grid-template-columns:1fr}#view-history .donut-flex-container{flex-direction:column;height:auto}#view-history .donut-chart-wrap{height:auto;padding-bottom:10px}}@media (max-width:480px){#view-history .history-heading-actions{align-items:stretch;flex-direction:column}#view-history .history-period-chip{justify-content:center}#view-history .history-page-tabs{display:flex}#view-history .history-page-tab{flex:1;justify-content:center;padding:8px 7px;font-size:12px}#view-history .report-hero-card{gap:16px;padding:20px}#view-history .report-score-orb{width:86px;height:86px;flex-basis:86px;border-width:5px}#view-history .report-score-orb strong{font-size:26px}#view-history .report-score-orb small{font-size:7px}}#view-history .status-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:20px;font-size:13px;font-weight:650;border:1px solid transparent;min-width:110px}#view-history .status-pill.is-completed{background:var(--status-success-bg);color:var(--status-success-fg);border-color:var(--status-success-bd)}#view-history .status-pill.is-inprogress{background:var(--status-info-bg);color:var(--status-info-fg);border-color:var(--status-info-bd)}#view-history .status-pill.is-failed{background:var(--status-danger-bg);color:var(--status-danger-fg);border-color:var(--status-danger-bd)}#view-history .status-dot{width:8px;height:8px;border-radius:50%}#view-history .status-pill.is-completed .status-dot,#view-history .status-pill.is-failed .status-dot,#view-history .status-pill.is-inprogress .status-dot{background:currentcolor}#view-history .history-action-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;background:var(--ui-surface);color:var(--primary);font-size:13px;font-weight:700;border:1px solid var(--ui-border);border-radius:var(--ui-radius);cursor:pointer;transition:all .15s ease;white-space:nowrap}#view-history .history-action-btn:hover{background:var(--ui-primary-soft);border-color:var(--primary)}body.history-drawer-open{overflow:hidden}body.history-drawer-open #view-history.app-view.active{animation:none!important;transform:none!important;will-change:auto}@media print{body *{visibility:hidden}#view-history,#view-history *{visibility:visible}#view-history{position:absolute;left:0;top:0;width:100%;background:#ffffff}#view-history .history-heading-actions,#view-history .history-page-tabs,#view-history .history-pagination-bar,#view-history .history-toolbar,.history-detail-modal,.history-modal-overlay{display:none!important}}:root{--page-title-size:clamp(30px,3.6vw,40px);--page-title-line-height:1.12;--page-copy-size:15px}#view-cv .career-table-header h2,#view-find-jobs .jobs-page-header h2,#view-gap .gap-detail-hero h2,#view-history .buddy-section-heading h2,#view-interview .interview-page-header h2,#view-jobs .buddy-section-heading h2,#view-profile #buddy-journey-title{color:var(--text-primary)!important;font-size:var(--page-title-size)!important;font-weight:800!important;line-height:var(--page-title-line-height)!important;letter-spacing:-.045em!important}#view-cv .career-table-header h2 span,#view-find-jobs .jobs-page-header h2 span,#view-gap .gap-detail-hero h2 span,#view-history .buddy-section-heading h2 span,#view-interview .interview-page-header h2 span,#view-jobs .buddy-section-heading h2 span,#view-profile #buddy-journey-title span{color:var(--primary)!important}#view-cv .career-table-header>div>p:not(.career-portfolio-eyebrow),#view-find-jobs .jobs-page-header p,#view-gap .gap-detail-hero>span,#view-history .buddy-section-heading>div:last-child span,#view-interview .interview-page-header p,#view-jobs .buddy-section-heading>div:last-child span,#view-profile #buddy-journey-title+p{color:var(--text-secondary)!important;font-size:var(--page-copy-size)!important;line-height:1.6!important}#view-cv .career-portfolio-eyebrow,#view-find-jobs .jobs-eyebrow,#view-history .buddy-kicker,#view-interview .interview-eyebrow,#view-jobs .buddy-kicker,#view-profile .buddy-kicker{display:none!important}#view-cv .career-portfolio-workspace,#view-history .buddy-hero-shell,#view-jobs .buddy-hero-shell{padding-top:24px!important}#view-history .history-workspace{padding-bottom:72px!important}#view-history .history-heading{margin-bottom:20px!important}#view-history .history-heading p{max-width:62ch;margin:8px 0 0;color:var(--text-secondary);font-size:15px;line-height:1.55}#view-history .history-archive{padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--card)}#view-history .archive-filters{margin:0 0 20px}#view-history .archive-filter-btn{display:inline-flex;align-items:center;gap:7px}#view-history .archive-card[data-type=match] .archive-tag{color:var(--primary);background:var(--primary-soft)}#view-history .archive-card[data-type=optimized] .archive-tag{color:#6d4cc4;background:#f3efff}#view-profile .buddy-hero-shell{padding-top:28px!important}#view-gap .gap-detail-workspace{padding-top:20px!important}#view-find-jobs .jobs-shell,#view-interview .interview-shell{padding-top:30px!important}#view-interview .interview-shell{padding-top:12px!important}#view-interview .interview-page-header{max-width:920px}#view-interview .interview-page-header h2{max-width:none}@media (max-width:767.98px){:root{--page-title-size:clamp(28px,8vw,36px)}#view-cv .career-portfolio-workspace,#view-find-jobs .jobs-shell,#view-gap .gap-detail-workspace,#view-history .buddy-hero-shell,#view-jobs .buddy-hero-shell,#view-profile .buddy-hero-shell{padding-top:20px!important}#view-interview .interview-shell{padding-top:16px!important}}.ai-companion{position:fixed;right:24px;bottom:24px;left:auto;top:auto;z-index:11000;width:50px;height:50px}.ai-companion-avatar{display:grid;width:50px;min-width:50px;height:50px;place-items:center;padding:4px;border:2px solid var(--card);border-radius:50%;background:var(--card);box-shadow:0 8px 20px rgba(19,50,43,.14),0 0 0 1px var(--border);overflow:visible}.ai-companion-avatar:before{position:absolute;inset:-4px;border:1px solid color-mix(in srgb,var(--primary) 48%,transparent);border-radius:inherit;content:"";opacity:.75;pointer-events:none;animation:nova-attention 2.4s ease-out infinite}.ai-companion-avatar:focus-visible,.ai-companion-avatar:hover{border-color:var(--primary);box-shadow:0 10px 24px rgba(19,50,43,.18),0 0 0 4px var(--primary-soft)}.ai-companion-canvas,.ai-companion-source{position:relative;width:36px;height:36px;flex:0 0 36px;border-radius:50%}.ai-companion-source{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.ai-companion-launcher-copy{display:none}.ai-companion-status-dot{right:3px;bottom:3px;width:10px;height:10px;border-color:var(--card)}.ai-companion-hint{position:absolute;right:2px;bottom:62px;display:grid;width:-moz-max-content;width:max-content;max-width:220px;gap:3px;padding:10px 12px;border:1px solid var(--border);border-radius:12px 12px 3px 12px;background:var(--card);box-shadow:0 10px 26px rgba(19,50,43,.12);color:var(--text-primary);pointer-events:none}.ai-companion-hint strong{font-size:12px}.ai-companion-hint span{color:var(--text-secondary);font-size:11px;font-weight:650}.ai-companion-hint.is-hidden{opacity:0;transform:translateY(5px)}.ai-companion-chat{position:fixed;right:24px;bottom:24px;left:auto;top:auto;z-index:10999;display:flex;flex-direction:column;width:min(420px,calc(100vw - 32px));height:min(620px,calc(100dvh - 48px));min-height:440px;border:1px solid var(--border);border-radius:20px;background:var(--card);color:var(--text-primary);box-shadow:0 24px 60px rgba(19,50,43,.2);animation:nova-chat-enter .22s ease-out}.ai-chat-header{padding:16px;border-bottom-color:var(--border);background:#f8fbf9}.ai-chat-orb{width:38px;height:38px;flex-basis:38px;overflow:hidden;border-color:#b7dfca;border-radius:12px;background:var(--primary-soft);box-shadow:none}.ai-chat-orb-image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.ai-chat-identity strong{color:var(--text-primary);font-size:14px}.ai-chat-identity div>span{color:var(--text-secondary);font-size:11px}.ai-chat-close,.ai-chat-header-btn{border-color:var(--border);background:var(--card);color:var(--text-secondary)}.ai-chat-close:hover{border-color:#e5b9b9;background:#fff6f6;color:#a43f3f}.ai-chat-header-btn:hover,.ai-chat-header-btn[aria-expanded=true]{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.ai-chat-history-panel{padding:16px}.ai-chat-history-heading strong{color:var(--text-primary)}.ai-chat-history-heading span,.ai-chat-history-open span{color:var(--text-secondary)}.ai-chat-history-item{border-color:var(--border);background:#fbfcfb}.ai-chat-history-item.is-active,.ai-chat-history-item:hover{border-color:#a9d7c1;background:var(--primary-soft)}.ai-chat-history-open strong{color:var(--text-primary)}.ai-chat-history-delete{border-left-color:var(--border);color:var(--text-secondary)}.ai-chat-history-empty{border-color:var(--border);color:var(--text-secondary)}.ai-chat-messages{padding:18px 16px 10px;scrollbar-color:#b8cec2 transparent}.ai-chat-message{max-width:88%;border-radius:14px;font-size:13px;line-height:1.55}.ai-chat-message.assistant{border-color:var(--border);background:#f5f8f6;color:var(--text-primary)}.ai-chat-message.user{border-color:var(--primary);background:var(--primary);color:#fff}.ai-chat-message-name{color:var(--primary)}.ai-chat-message.user .ai-chat-message-name{color:#d8f3e6}.ai-chat-quote{margin:6px 0;padding:6px 10px;border-left:3px solid var(--primary,#10b981);background:rgba(16,185,129,.08);border-radius:0 8px 8px 0;font-style:italic;font-size:12.5px;color:inherit}.ai-chat-code{padding:2px 5px;border-radius:4px;background:rgba(0,0,0,.06);font-family:monospace;font-size:11.5px}.ai-chat-message strong{font-weight:600}.ai-chat-message-body{display:grid;gap:7px;min-width:0}.ai-chat-message-body p{margin:0}.ai-chat-section-title{margin-top:3px;color:#087a5b;font-size:12px;font-weight:750;letter-spacing:.025em;text-transform:uppercase}.ai-chat-section-title:first-child{margin-top:0}.ai-chat-list{display:grid;gap:5px;margin:0;padding-left:18px}.ai-chat-list li::marker{color:var(--primary,#10b981)}.ai-chat-response-meta{width:-moz-fit-content;width:fit-content;margin-top:8px;padding:2px 7px;border:1px solid rgba(16,185,129,.2);border-radius:999px;background:rgba(16,185,129,.08);color:#087a5b;font-size:9.5px;font-weight:650;letter-spacing:.03em}.ai-chat-actions{display:flex;flex-direction:column;gap:8px;margin-top:8px;width:100%}.ai-chat-evidence{width:100%;padding:8px 10px;border:1px solid rgba(16,185,129,.25);border-radius:10px;background:rgba(16,185,129,.05);font-size:11.5px;margin-top:4px}.ai-chat-evidence summary{color:var(--primary,#10b981);font-weight:600;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center;gap:4px}.ai-chat-source{display:grid;gap:3px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,.08)}.ai-chat-source strong{font-size:12px;color:var(--text-primary)}.ai-chat-source small{color:var(--text-secondary,#6b7280);font-size:10.5px}.ai-chat-source blockquote,.ai-chat-source-quote{margin:4px 0 0;padding:5px 8px;border-left:3px solid var(--primary,#10b981);background:rgba(0,0,0,.03);border-radius:0 6px 6px 0;font-style:italic;font-size:11px;line-height:1.45;color:var(--text-primary);max-height:75px;overflow-y:auto;word-break:break-word}.ai-chat-actions button,.ai-chat-quick-prompts button{border-color:var(--border);background:var(--card);color:var(--text-primary);font-size:11px}.ai-chat-actions button:hover,.ai-chat-quick-prompts button:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.ai-chat-quick-prompts{gap:7px;padding:0 16px 12px}.ai-chat-form{margin:0 16px;border-color:var(--input-border);background:var(--input-bg)}.ai-chat-form:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.ai-chat-form textarea{color:var(--input-text)}.ai-chat-form textarea::-moz-placeholder{color:var(--text-secondary)}.ai-chat-form textarea::placeholder{color:var(--text-secondary)}.ai-chat-form button{border-radius:9px;background:var(--primary);box-shadow:none}.ai-chat-form button:hover{background:var(--primary-hover)}.ai-chat-privacy{margin:8px 16px 12px;color:var(--text-secondary);font-size:9px}@keyframes nova-attention{0%{transform:scale(.9);opacity:.7}70%,to{transform:scale(1.18);opacity:0}}@keyframes nova-chat-enter{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width:767.98px){.ai-companion{right:16px;bottom:76px;width:44px;height:44px}.ai-companion-avatar{min-width:44px;width:44px;height:44px;padding:3px}.ai-companion-canvas,.ai-companion-source{width:30px;height:30px;flex:0 0 30px}.ai-companion-hint{right:0;bottom:56px}.ai-companion-chat{right:16px;bottom:16px;width:calc(100vw - 32px);height:min(680px,calc(100dvh - 32px))}}@media (prefers-reduced-motion:reduce){.ai-companion-avatar:before,.ai-companion-chat{animation:none}}