.changes-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #c8dce3;border-radius:18px;padding:32px;box-shadow:0 24px 90px #032c4033;color:var(--ink);background:white}.changes-dialog::backdrop{background:#032c4080;backdrop-filter:blur(3px)}.changes-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#e6f5f8;color:#00849b;font-size:28px;margin-bottom:22px}.changes-dialog h2{font-size:27px;line-height:1.25;margin-bottom:16px}.changes-dialog p{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:26px}.changes-actions{display:flex;flex-wrap:wrap;gap:12px}.changes-actions .btn{white-space:normal;min-height:44px}.changes-actions .primary{width:100%}
.project-state{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:6px 11px;font-size:11px;font-weight:600;background:#e9eef1;color:#536974;line-height:1.5}.project-state::before{content:'';width:7px;height:7px;flex-shrink:0;border-radius:50%;background:currentColor}.project-state-planning{background:#fff0ed;color:#9e5146}.project-state-active{background:#e1f4f9;color:#007b96}.project-state-waiting{background:#fff2d9;color:#8c681b}.project-state-done{background:#e3f4e9;color:#2a7048}.status-sections{display:grid;gap:32px}.status-section{min-width:0}.status-section>.section-head{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:20px}.status-section .project-grid,.status-section .work-grid{margin-bottom:0}.status-section h2{margin-bottom:0}.status-filter-links{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}.status-filter-links a{text-decoration:none}.status-filter-links strong{margin-left:7px}.task-relations{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 0}.task-relation{display:inline-block;padding:6px 9px;border-radius:7px;font-size:11px;line-height:1.6;overflow-wrap:anywhere;background:#e8f4f7;color:#00758d}.task-relation.listing-relation{background:#eef0fb;color:#545e98}.task-group-summary{display:flex;flex-wrap:wrap;gap:16px;padding:18px 22px;border-radius:9px;background:#fff;border:1px solid var(--line);margin-bottom:24px}.task-group-summary a{font-size:12px}.completed-note{display:block;margin-top:12px;font-size:11px;color:#387653}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:28px 0}.analytics-grid>.panel{margin:0}.analytics-row{padding:16px 0;border-top:1px solid var(--line);display:block;text-decoration:none}.analytics-row:first-child{border-top:0}.analytics-row-head{display:flex;justify-content:space-between;gap:16px;align-items:start;font-size:12px;line-height:1.7;margin-bottom:10px}.analytics-row-head span{overflow-wrap:anywhere}.analytics-stack{display:flex;background:#edf2f4;height:13px;border-radius:8px;overflow:hidden}.analytics-stack i{display:block;height:100%;min-width:0}.analytics-stack .stack-open{background:#d39a82}.analytics-stack .stack-done{background:#62a580}.analytics-stack .stack-cancelled{background:#aab6be}.analytics-caption{display:block;font-size:11px;color:var(--muted);margin-top:9px}.analytics-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;line-height:1.7}.analytics-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.analytics-table{width:100%;border-collapse:collapse;font-size:12px}.analytics-table th,.analytics-table td{text-align:left;padding:14px 8px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.analytics-table th{font-size:11px;color:var(--muted)}.analytics-table-wrap{overflow-x:auto}.analytics-periods{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:end;min-height:170px;margin:24px 0}.analytics-period{display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;text-decoration:none;font-size:11px;color:var(--muted)}.analytics-period b{height:100px;width:100%;max-width:42px;display:flex;align-items:end;gap:4px;background:#f1f6f7;border-radius:6px}.analytics-period b i{display:block;flex:1;min-height:0;background:#019fbf;border-radius:4px 4px 0 0}.analytics-period b i:last-child{background:#62a580}.analytics-period small{font-size:10px}.analytics-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.analytics-empty{padding:20px 0;color:var(--muted);font-size:13px}.insights-link{display:inline-flex;gap:8px;align-items:center}
@media(max-width:850px){.analytics-grid{grid-template-columns:1fr}.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.changes-dialog{padding:24px}.changes-dialog h2{font-size:23px}.changes-actions{display:grid;grid-template-columns:1fr}.changes-actions .btn{width:100%}.task-relations{gap:8px}.task-relation{font-size:10px}.status-sections{gap:26px}.status-filter-links{gap:10px}.analytics-periods{gap:6px}.analytics-row-head{flex-wrap:wrap;gap:4px 12px}.analytics-table{min-width:0;table-layout:fixed}.analytics-table th{width:65%}.analytics-table th,.analytics-table td{padding:12px 4px}.analytics-table-wrap{max-width:100%}}
