/* Vrazvitii v4 UI refinements and compact analytics */
.flow-page-compact .day-progress-block{margin-bottom:9px;background:#e8f7ef}
.flow-page-compact .flow-summary{margin-top:0;margin-bottom:10px}
.flow-page-compact .flow-summary>div{background:#fff}
.v3-calendar-dashboard{margin:0 0 9px}
.v3-budget{display:grid;grid-template-columns:minmax(150px,.85fr) minmax(0,1.6fr);column-gap:14px;row-gap:6px;align-items:center;padding:12px 15px;border-radius:15px}
.v3-budget-head{grid-column:1;grid-row:1;display:block}
.v3-budget-head h2{font-size:16px;margin:2px 0}
.v3-budget-head p{font-size:10px;line-height:1.3}
.v3-budget-head .v3-status{display:inline-block;margin-top:5px;padding:4px 7px;font-size:9px}
.v3-budget .v3-metrics{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}
.v3-budget .v3-metrics>div{padding:8px 10px;gap:3px}
.v3-budget .v3-metrics strong{font-size:17px}
.v3-budget .v3-metrics small{font-size:9px}
.v3-budget .v3-track{grid-column:1/-1;height:6px;margin:2px 0 0}
.v3-budget .v3-budget-foot{grid-column:1/-1;margin:0;font-size:10px}
.v3-budget .v3-budget-settings{grid-column:1/-1;margin:0}
.v3-budget .v3-budget-settings:not([open]) summary{font-size:10px}
.v4-edit-part{border:1px solid #e0ebe7;border-radius:13px;padding:12px;margin:9px 0;background:#fafdfe}
.v4-edit-part-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}
.v4-edit-part-heading strong{font-size:13px;color:#316c62}
.v4-edit-part-heading small{font-size:11px;color:#79928d}
.v4-task-types{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.v4-type-option{display:flex!important;gap:8px;align-items:flex-start;background:#fff;border:1px solid #dcebe6;border-radius:11px;padding:10px;cursor:pointer}
.v4-type-option:has(input:checked){background:#e6f6ef;border-color:#7bb8a7}
.v4-type-option input{width:15px!important;min-width:15px;margin-top:3px;accent-color:#2f8c72}
.v4-type-option span{display:grid;gap:3px}
.v4-type-option strong{font-size:12px}
.v4-type-option small{font-size:10px;color:#718a83;line-height:1.35}
.v4-edit-children{display:grid;gap:6px}
.v4-child-edit-row{display:flex;gap:7px;align-items:center}
.v4-child-edit-row input[name=subtaskTitle]{min-width:0;flex:1;padding:9px 10px;border:1px solid #dce9e5;border-radius:9px;background:#fff;font-size:12px}
.v4-child-remove{border:0;background:#f8e9e5;color:#995e56;border-radius:7px;width:30px;height:31px;font-size:19px;cursor:pointer}
.v4-child-add{margin-top:9px;background:#e5f4ed;border:1px solid #c9e4d5;color:#307967;padding:9px;border-radius:9px;cursor:pointer;font-size:12px;font-weight:700}
.v4-child-hint,.v4-extra-choice p{font-size:10px;line-height:1.55;color:#7b9290;margin:7px 0 0}
.v4-extra-choice label{display:flex;gap:7px;align-items:center;font-size:12px;color:#426d64;cursor:pointer}
.v4-extra-choice input{width:auto!important;accent-color:#3b9277}
.v4-subtasks{margin-top:7px;padding:8px 10px;border-radius:9px;background:#f1f8f4;display:grid;gap:6px;min-width:0}
.v4-subheading{color:#5d8579;font-size:10px;font-weight:700}
.v4-child-visible{display:flex;align-items:center;gap:7px;color:#4c6c67;font-size:11px;cursor:pointer;line-height:1.4}
.v4-child-visible input{accent-color:#348d76;flex-shrink:0}
.v4-child-visible span.done{text-decoration:line-through;color:#849c96}
.v4-results-graph{padding:12px 10px;border:1px solid #e1eee7;background:#fbfdfc;border-radius:13px;margin:12px 0}
.v4-results-summary{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:12px;font-size:11px;color:#648078;margin-bottom:9px}
.v4-results-summary b{color:#2d7667;font-size:14px}
.v4-graph-layout{display:grid;grid-template-columns:28px minmax(0,1fr);gap:5px}
.v4-graph-axis{display:flex;flex-direction:column;justify-content:space-between;text-align:right;height:150px;font-size:10px;color:#839a95}
.v4-bars-chart{display:flex;gap:7px;align-items:flex-end;justify-content:space-around;border-left:1px solid #b6cac3;border-bottom:1px solid #b6cac3;min-width:0;padding:0 5px}
.v4-bars-day{flex:1;display:grid;grid-template-rows:18px 124px 21px;min-width:0;gap:2px;justify-items:center;align-items:end}
.v4-bars-num{font-size:9px;color:#667f78;white-space:nowrap}
.v4-bars-group{display:flex;gap:2px;align-items:flex-end;width:100%;height:124px;justify-content:center}
.v4-bars-column{width:27%;max-width:24px;min-height:0;border-radius:4px 4px 0 0}
.v4-bars-column.planned,.v4-graph-legend i.planned{background:#c0d9d2}
.v4-bars-column.finished,.v4-graph-legend i.finished{background:#499d80}
.v4-bars-column.extra,.v4-graph-legend i.extra{background:#e3b46a}
.v4-bars-label{font-size:10px;color:#82998e;text-align:center}
.v4-graph-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;color:#6c8580;font-size:11px}
.v4-graph-legend span{display:flex;gap:5px;align-items:center}
.v4-graph-legend i{width:10px;height:10px;display:inline-block;border-radius:2px}
.v4-graph-note{font-size:10px;line-height:1.5;color:#79908a;margin:8px 0 0}
@media(max-width:660px){.v3-budget{grid-template-columns:1fr;gap:9px}.v3-budget-head{grid-row:auto}.v3-budget .v3-metrics{grid-column:1;grid-row:auto}.v3-budget .v3-track,.v3-budget .v3-budget-foot,.v3-budget .v3-budget-settings{grid-column:1}.v4-task-types{grid-template-columns:1fr 1fr}.v4-bars-chart{gap:3px}.v4-bars-day{grid-template-rows:17px 110px 20px}.v4-bars-group{height:110px}.v4-graph-axis{height:137px}.v4-bars-num{font-size:8px}.v4-results-summary{gap:8px}}
@media(max-width:355px){.v4-task-types{grid-template-columns:1fr}.v3-budget .v3-metrics>div{padding:6px 5px}.v3-budget .v3-metrics strong{font-size:14px}}
