.home-analytics{margin:0 0 var(--sp-4);padding:var(--sp-6);min-width:0;display:flex;flex-direction:column;gap:20px}.home-analytics h2,.home-analytics h3{margin:0;font-size:var(--fs-16);line-height:1.4;font-weight:600}.home-analytics h3{font-size:15px}.home-analytics .help{margin:4px 0 0}.ha-top-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.ha-top-right{display:inline-flex;align-items:center;gap:12px}.ha-fresh-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-2);background:#F6F7FB;border:1px solid #D8DCE6;border-radius:999px;padding:4px 10px}.ha-fresh-dot{width:8px;height:8px;border-radius:999px;background:#0F6E3B;display:inline-block}.ha-filter-bar{background:#FFFFFF;border:1px solid #D8DCE6;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.ha-filter-mobile-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.ha-filter-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ha-filter-pill{display:inline-flex;align-items:center;gap:6px;background:#F6F7FB;border:1px solid #D8DCE6;border-radius:8px;padding:4px 10px;font-size:12px;min-height:34px}.ha-pill-label{color:#5A6072;font-weight:500;white-space:nowrap}.ha-filter-pill select{border:0;background:transparent;color:#171A22;font-weight:600;font-size:12px;padding:2px 4px;cursor:pointer;max-width:210px}.ha-filter-toggle{display:none;align-items:center;justify-content:center;min-height:34px;padding:4px 12px;border-radius:8px;border:1px solid #D6C5F2;background:#F3EFFC;color:#6D46C7;font-weight:600;font-size:12px;cursor:pointer}.ha-filter-actions{margin-left:auto;display:inline-flex;align-items:center;gap:8px}.ha-refresh-btn{min-height:34px;padding:4px 12px;border-radius:8px;border:1px solid #D8DCE6;background:#F6F7FB;color:#171A22;font-weight:600;font-size:12px;cursor:pointer}.ha-filter-summary{margin:0;font-size:12px;color:#5A6072}.ha-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.ha-kpi-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:4px;padding:14px;border-radius:12px;border:1px solid #D8DCE6;background:#FFFFFF;text-align:left;cursor:pointer;min-height:112px}.ha-kpi-card.ha-kpi-purple{background:#F3EFFC;border-color:#D6C5F2}.ha-kpi-card.ha-kpi-red{background:#FDECEC;border-color:#F2C6C1}.ha-kpi-label{font-size:12px;font-weight:500;color:#5A6072}.ha-kpi-card.ha-kpi-purple .ha-kpi-label{color:#5D3C95}.ha-kpi-card.ha-kpi-red .ha-kpi-label{color:#8E1E24}.ha-kpi-val{font-size:24px;line-height:1.15;font-weight:700;color:#171A22}.ha-kpi-purple .ha-kpi-val,.ha-kpi-violet .ha-kpi-val{color:#6D46C7}.ha-kpi-green .ha-kpi-val{color:#0F6E3B}.ha-kpi-red .ha-kpi-val{color:#B3262D}.ha-kpi-blue .ha-kpi-val{color:#315CA8}.ha-kpi-amber .ha-kpi-val{color:#8A5A00}.ha-kpi-delta{font-size:12px;font-weight:500;color:#171A22;display:block}.ha-kpi-delta.is-up{color:#0F6E3B}.ha-kpi-delta.is-bad{color:#B3262D}.ha-kpi-meta{font-size:11px;color:#5A6072;display:block}.ha-attention{background:#FFF2D6;border:1px solid #EED294;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.ha-attention-calm{background:#E7F6EE;border-color:#B7E2CB}.ha-attention-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ha-attention-head h3{color:#6E4700}.ha-attention-calm .ha-attention-head h3{color:#0F6E3B}.ha-calm-badge{font-size:12px;font-weight:600;color:#0F6E3B}.ha-attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ha-attention-card{display:flex;align-items:center;gap:10px;padding:12px;border-radius:8px;border:1px solid #E6D5B8;background:#FFFFFF;text-align:left;cursor:pointer;min-width:0}.ha-dot{width:8px;height:8px;border-radius:999px;flex:none}.ha-dot.dot-bad{background:#B3262D}.ha-dot.dot-warn{background:#8A5A00}.ha-dot.dot-purple{background:#6D46C7}.ha-attention-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.ha-attention-body strong{font-size:13px;color:#171A22}.ha-attention-body small{font-size:12px;color:#5A6072;overflow-wrap:anywhere}.ha-chevron{font-size:18px;color:#5A6072;flex:none}.ha-grid-row1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ha-grid-row2{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px}.ha-card{background:#FFFFFF;border:1px solid #D8DCE6;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:14px;min-width:0}.ha-upcoming-card{background:#EAF2FF;border-color:#C9DAF7}.ha-upcoming-card h3{color:#234075}.ha-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.ha-legend{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:600}.ha-leg-created{color:#6D46C7}.ha-leg-done{color:#15664C}.ha-bars-plot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;height:148px;padding:12px 12px 8px;background:#F6F7FB;border-radius:8px}.ha-bar-group{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px}.ha-bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:6px;height:104px;width:100%}.ha-bar-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:2px}.ha-bar-num{font-size:10px;color:#5A6072;font-weight:600}.ha-bar{display:block;width:18px;border-radius:4px 4px 0 0;min-height:4px}.ha-bar.is-created{background:#6D46C7}.ha-bar.is-done{background:#15664C}.ha-bar-label{font-size:11px;color:#5A6072;text-align:center;white-space:nowrap}.ha-chart-foot{margin:0}.ha-net-pill{display:inline-block;font-size:12px;font-weight:500;color:#5D3C95;background:#F3EFFC;padding:4px 10px;border-radius:6px}.ha-currency-switch{display:inline-flex;background:#EEF1F7;border-radius:8px;padding:2px;gap:2px}.ha-currency-switch button{border:0;background:transparent;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;color:#5A6072;cursor:pointer}.ha-currency-switch button[aria-pressed=true]{background:#6D46C7;color:#FFFFFF}.ha-budget-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#F6F7FB;border-radius:8px;flex-wrap:wrap}.ha-budget-caption{display:block;font-size:11px;color:#5A6072}.ha-budget-total{font-size:18px;color:#315CA8;font-weight:700}.ha-budget-right{text-align:right;font-size:12px;color:#5A6072;display:flex;flex-direction:column}.ha-budget-right strong{color:#171A22}.ha-budget-bars{display:flex;flex-direction:column;gap:10px}.ha-budget-row{display:flex;flex-direction:column;gap:4px}.ha-budget-row-top{display:flex;justify-content:space-between;gap:8px;font-size:12px}.ha-progress-track,.ha-mini-track,.ha-wl-track{height:8px;background:#EEF1F7;border-radius:999px;overflow:hidden;display:block}.ha-progress-fill{display:block;height:100%;border-radius:999px;background:#315CA8}.ha-progress-fill.is-warn{background:#8A5A00}.ha-progress-fill.is-over{background:#B3262D}.ha-workload-table{display:flex;flex-direction:column;gap:6px}.ha-wl-head,.ha-wl-row{display:grid;grid-template-columns:minmax(120px,1.4fr) minmax(110px,1.3fr) 64px 64px;align-items:center;gap:10px;padding:6px 8px}.ha-wl-head{font-size:11px;font-weight:600;color:#5A6072;background:#F6F7FB;border-radius:6px}.ha-wl-row{border-bottom:1px solid #EEF1F7;font-size:13px}.ha-wl-name{display:flex;flex-direction:column;min-width:0}.ha-wl-name small{font-size:11px;color:#5A6072}.ha-wl-barcell{display:flex;align-items:center;gap:8px}.ha-wl-track{flex:1;height:8px}.ha-wl-track i{display:block;height:100%;background:#6D46C7;border-radius:999px}.ha-wl-row .is-late,.ha-col-date.is-late,.ha-col-money.is-late{color:#B3262D;font-weight:600}.ha-upcoming-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.ha-upcoming-item a{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#FFFFFF;border:1px solid #D6E2F8;border-radius:8px;text-decoration:none;color:inherit}.ha-date-badge{width:42px;height:40px;border-radius:8px;background:#EAF2FF;color:#234075;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;line-height:1.1}.ha-date-badge.is-risk{background:#FDECEC;color:#B3262D}.ha-date-badge strong{font-size:14px}.ha-date-badge small{font-size:9px;font-weight:700}.ha-upcoming-info{display:flex;flex-direction:column;gap:2px;min-width:0}.ha-upcoming-info strong{font-size:13px;color:#171A22}.ha-upcoming-info small{font-size:11px;color:#5A6072}.ha-projects-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ha-projects-Controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ha-table-pills{display:inline-flex;flex-wrap:wrap;gap:6px}.ha-table-pill{border:1px solid #D8DCE6;background:#F6F7FB;color:#5A6072;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer}.ha-table-pill[aria-pressed=true]{background:#F3EFFC;border-color:#6D46C7;color:#6D46C7}.ha-table-wrap{overflow-x:auto}.ha-proj-table{width:100%;border-collapse:collapse;font-size:13px}.ha-proj-table th{text-align:left;font-size:11px;font-weight:600;color:#5A6072;background:#F6F7FB;padding:8px 10px;border-bottom:1px solid #D8DCE6;white-space:nowrap}.ha-proj-table td{padding:10px;border-bottom:1px solid #EEF1F7;vertical-align:middle}.ha-proj-link{display:flex;flex-direction:column;gap:2px;color:#171A22;text-decoration:none}.ha-proj-link small,.ha-col-owner small{display:block;font-size:11px;color:#5A6072}.ha-status-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap}.ha-status-pill.tone-bad{background:#FDECEC;color:#B3262D}.ha-status-pill.tone-warn{background:#FFF2D6;color:#8A5A00}.ha-status-pill.tone-ok{background:#E7F6EE;color:#0F6E3B}.ha-mini-progress{display:inline-flex;align-items:center;gap:8px}.ha-mini-progress .ha-mini-track{width:70px;height:6px}.ha-mini-track i{display:block;height:100%;border-radius:999px;background:#0F6E3B}.ha-mini-track i.tone-bad{background:#B3262D}.ha-mini-track i.tone-warn{background:#8A5A00}.ha-att-text{font-size:12px;font-weight:600}.ha-att-text.tone-bad{color:#B3262D}.ha-att-text.tone-warn{color:#8A5A00}.ha-att-text.tone-ok{color:#0F6E3B}.ha-mobile-cards{display:none;flex-direction:column;gap:10px}.ha-mcard{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #D8DCE6;border-radius:10px;background:#FFFFFF;text-decoration:none;color:inherit}.ha-mcard-top,.ha-mcard-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.ha-mcard-meta{font-size:12px;color:#5A6072}.ha-mcard-progress{display:flex;align-items:center;gap:8px}.ha-mcard-progress .ha-mini-track{flex:1;height:6px}.ha-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:4px}.ha-page-btns{display:inline-flex;align-items:center;gap:4px}.ha-page-btn{min-height:30px;padding:4px 10px;border:1px solid #D8DCE6;background:#F6F7FB;border-radius:6px;font-size:12px;font-weight:600;color:#171A22;cursor:pointer}.ha-page-btn.is-active{background:#6D46C7;border-color:#6D46C7;color:#FFFFFF}.ha-page-btn:disabled{opacity:.5;cursor:default}.ha-modules-section{display:flex;flex-direction:column;gap:10px}.ha-modules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ha-module-card{padding:14px;border-radius:12px;border:1px solid #D8DCE6;background:#FFFFFF;display:flex;flex-direction:column;gap:6px}.ha-mod-skolenia{background:#EAF2FF;border-color:#C9DAF7}.ha-mod-splus{background:#F3EFFC;border-color:#D6C5F2}.ha-mod-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.ha-mod-main{margin:0;font-size:13px;font-weight:600;color:#171A22}.ha-mod-sub{font-size:12px;color:#5A6072}.ha-state-box{padding:14px;background:#F6F7FB;border-radius:8px;border:1px dashed #D8DCE6}.home-analytics-status,.home-analytics-groups,.home-space-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-analytics-groups{grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0}.home-analytics-metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:8px}.home-analytics-kpi,.home-space-card,.home-work-sections button{min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-raised);color:var(--text);padding:10px 12px;cursor:pointer}.home-analytics-status .home-analytics-kpi,.home-analytics-groups .home-analytics-kpi{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px}.home-analytics-status .home-analytics-kpi strong,.home-analytics-groups .home-analytics-kpi strong{font-size:20px;flex:none}.home-analytics-status .home-analytics-kpi{padding:14px}.home-analytics-kpi[aria-pressed=true],.home-space-card[aria-pressed=true],.home-work-sections button[aria-pressed=true]{border-color:var(--accent);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--accent)}.home-analytics button:focus-visible,.home-work-sections button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.home-analytics-kpi:disabled{cursor:default;opacity:.65}.home-space-card{display:grid;gap:4px;min-height:88px}.home-space-card small,.home-analytics-results small{display:block;color:var(--text-2)}.home-analytics-selection{padding:14px;border:1px solid #D6C5F2;border-radius:12px;background:#FBF9FF}.home-analytics-results,.home-event-list{list-style:none;padding:0;margin:8px 0}.home-analytics-results li,.home-event-list li{border-bottom:1px solid var(--border-subtle)}.home-analytics-results a,.home-event-list a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 0;color:inherit;text-decoration:none;overflow-wrap:anywhere}.home-analytics-results a>span,.home-event-list a>span{min-width:0}.home-analytics-results a>span:last-child{text-align:right}.home-analytics-results time,.home-event-list time{flex:none;font-size:13px}.home-work-sections{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:12px 0}.home-work-sections button{padding:8px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;font-size:12px;min-height:64px}.home-work-sections strong{font-size:18px}@media(max-width:1099px){.ha-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ha-attention-grid,.ha-grid-row1,.ha-grid-row2,.ha-modules-grid{grid-template-columns:minmax(0,1fr)}.home-analytics-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.home-space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.ha-filter-toggle{display:inline-flex}.ha-filter-controls{display:none}.ha-filter-controls.is-open{display:flex}.ha-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ha-table-wrap{display:none}.ha-mobile-cards{display:flex}.ha-wl-head,.ha-wl-row{grid-template-columns:minmax(90px,1.2fr) minmax(80px,1fr) 48px 48px;font-size:12px}}@media(max-width:600px){.home-analytics{padding:16px}.home-analytics-status,.home-analytics-groups,.home-space-grid{grid-template-columns:minmax(0,1fr)}.home-analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-work-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.home-work-sections button:last-child{grid-column:1/-1}.home-analytics-results a{align-items:flex-start}.home-analytics-results a>span:last-child{max-width:44%}}.home-analytics .text-button,.home-news .text-button{display:inline-flex;align-items:center;min-height:44px}
