/* Вразвитии · Focus V7 · approved 2026-11-05 handoff.
   Source color family from V6; final Focus structure supersedes V6 prototype. */
.v7-focus {
 --v7-ink:#0F2A44;--v7-muted:#788395;--v7-gold:#D7B583;--v7-line:#E6DDD3;
 --v7-bg:#FAF7F2;--v7-soft:#FBF6F1;--v7-navy:#0F2A44;
 width:100%;max-width:900px;margin:0 auto 50px;min-width:0;
 color:var(--v7-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 padding:0 0 calc(95px + env(safe-area-inset-bottom,0px));
}
.v7-focus * {box-sizing:border-box}
.v7-focus button {cursor:pointer;font-family:inherit;color:inherit}
.v7-focus button:focus-visible,.v7-plan-dayonly button:focus-visible {outline:3px solid #B99A66;outline-offset:2px}
.v7-focus h1,.v7-focus h2,.v7-focus h3 {font-family:Georgia,"Times New Roman",serif;letter-spacing:-.035em;color:var(--v7-ink)}
.v7-welcome{padding:5px 2px 10px;display:grid;gap:4px}
.v7-eyebrow,.v7-label {font-size:10px;color:#A68E73;letter-spacing:.16em;font-weight:750}
.v7-welcome h1{font-size:clamp(34px,8.5vw,47px);margin:0;line-height:1.05;font-weight:normal}
.v7-welcome h1 span{color:var(--v7-gold)}
.v7-date{font-size:13px;color:var(--v7-muted);text-transform:capitalize}
.v7-mountains{height:44px;border-radius:12px;margin:9px 0 15px;background:#D6D5D1 url("./vraz-approved-mountain.png") center 49%/cover no-repeat;overflow:hidden}
.v7-progress{padding:17px 18px 13px;border:1px solid #E5D9C9;border-radius:18px;background:linear-gradient(140deg,#FFFDF9 0%,#F9F2E8 100%);box-shadow:0 7px 22px rgba(50,52,62,.035)}
.v7-progress>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.v7-progress>div:first-child span{font-size:10px;letter-spacing:.14em;font-weight:750;color:#B19572}
.v7-progress strong{font-family:Georgia,serif;font-size:28px;font-weight:normal;color:var(--v7-ink)}
.v7-progress-line{height:7px;border-radius:99px;background:#EDE4D8;overflow:hidden;margin:8px 0}
.v7-progress-line>span{display:block;height:100%;background:linear-gradient(90deg,#BFA077,#D7B583);border-radius:99px;transition:width .2s}
.v7-progress small{font-size:12px;color:#738093}
.v7-schedule{margin-top:22px}
.v7-section-heading{margin:0 0 16px;padding:0 2px}
.v7-section-heading h2,.v7-todo-heading h2,.v7-summary h2{font-weight:normal;font-size:clamp(25px,6.6vw,33px);margin:4px 0 3px}
.v7-section-heading p,.v7-todo-heading p{color:#86909B;font-size:12px;line-height:1.5;max-width:60ch}
.v7-timeline{position:relative;display:grid;gap:12px;margin-left:0}
.v7-timeline::before{content:"";position:absolute;left:48px;top:6px;bottom:6px;width:1px;background:#DDD3C7;pointer-events:none}
.v7-timeline-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:start;position:relative;min-width:0}
.v7-tick{font-size:11px;font-weight:700;color:#99846B;padding:21px 0 0;line-height:1.3;white-space:nowrap;text-align:left;position:relative}
.v7-tick:after{content:"";position:absolute;right:-8px;top:24px;width:7px;height:7px;border:2px solid #D2B486;border-radius:50%;background:#FAF7F2}
.v7-event{min-width:0;border:1px solid #E6DED5;border-radius:17px;background:linear-gradient(155deg,#FFFDFC,#F8F2EE);box-shadow:0 8px 20px rgba(40,50,60,.045);overflow:hidden}
.v7-current .v7-event{border-color:#C5A473;box-shadow:0 0 0 1px rgba(215,181,131,.2),0 8px 20px rgba(42,40,37,.07)}
.v7-current .v7-tick{color:#B18A53}
.v7-event-toggle{display:flex;align-items:center;gap:10px;text-align:left;border:0;padding:14px 13px;background:transparent;width:100%;min-height:66px;min-width:0}
.v7-event-icon{flex:0 0 35px;width:35px;height:35px;border-radius:12px;background:#F2E9DE;color:#C4A170;font-size:20px;display:grid;place-items:center}
.v7-event-titles{display:grid;gap:3px;min-width:0;flex:1}
.v7-event-titles strong{font-size:15px;font-weight:720;color:#0F2A44;line-height:1.25;overflow-wrap:anywhere}
.v7-event-titles small{font-size:11px;color:#7F8C93;line-height:1.35;overflow-wrap:anywhere}
.v7-chevron{flex:none;color:#B89B74;font-size:20px;font-weight:400;align-self:center}
.v7-event-content{padding:0 13px 13px}
.v7-children{display:grid;gap:0;border-top:1px solid #E8DDD1;border-bottom:1px solid #E8DDD1}
.v7-child{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:7px 1px;border:0;border-bottom:1px solid #EFE8E0;background:transparent;text-align:left;font-size:13px;line-height:1.4}
.v7-child:last-child{border-bottom:0}
.v7-child>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.v7-child small{font-size:10px;white-space:nowrap;color:#8C929A}
.v7-child.is-done>span:nth-child(2){text-decoration:line-through;opacity:.6}
.v7-check{flex:0 0 24px;height:24px;border:1px solid #B7B5B1;border-radius:7px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:13px}
.v7-child.is-done .v7-check{background:#C2A478;border-color:#C2A478}
.v7-child input[type=checkbox]{flex:0 0 22px;accent-color:#B89B74;width:22px;height:22px;min-height:22px}
.v7-event-footer{padding-top:11px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.v7-plan{font-size:11px;color:#83909A;flex:1;min-width:100px}
.v7-start,.v7-edit{border:1px solid #CDB897;background:#FFF9F3;color:#0F2A44;border-radius:10px;min-height:40px;padding:8px 12px;font-size:12px;font-weight:700;white-space:nowrap}
.v7-start:disabled{opacity:.45}
.v7-edit{border-color:#E2D8CB;padding:8px 10px;min-height:40px;display:inline-flex;align-items:center;gap:6px}
.v7-timebar{width:100%;display:grid;gap:9px;border-radius:12px;background:#F7EFE5;padding:10px 12px;order:2}
.v7-timevalue{font-family:Georgia,serif;color:#0F2A44;font-size:22px;font-variant-numeric:tabular-nums}
.v7-time-actions{display:flex;flex-wrap:wrap;gap:7px}
.v7-time-actions button{min-height:42px;background:#FFFDFB;border:1px solid #D6C5AE;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:650}
.v7-time-actions .v7-dark-btn{background:#0F2A44;color:#fff;border-color:#0F2A44}
.v7-todo-section{margin-top:25px;min-width:0}
.v7-todo-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:13px}
.v7-todo-heading>div{min-width:0}
.v7-todo-heading>button{flex:0 0 44px;height:44px;border-radius:13px;background:#0F2A44;color:#fff;border:0;font-size:24px}
.v7-untimed-group{border:1px solid #E5DCD2;border-radius:17px;background:linear-gradient(160deg,#FBF6F1,#F8F2EE);padding:11px 13px;margin-bottom:9px}
.v7-untimed-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 6px;border-bottom:1px solid #E9DED2}
.v7-untimed-head strong{font-size:13px;color:#233C54}
.v7-untimed-head span{font-size:11px;color:#8F8D91}
.v7-todo{display:flex;align-items:center;min-width:0;gap:9px;padding:9px 0;border-bottom:1px solid #EEE5DC}
.v7-todo:last-child{border:0}
.v7-todo-check{height:44px;width:44px;flex:0 0 44px;border:0;background:transparent;position:relative;font-size:20px;color:#C1A071}
.v7-todo-check:before{content:"";position:absolute;inset:11px;border:1.5px solid #BEB5AB;border-radius:6px}
.v7-done .v7-todo-check:before{background:#BA9A69;border-color:#BA9A69}
.v7-done .v7-todo-check{color:white}
.v7-todo-text{min-width:0;flex:1;display:grid;gap:1px}
.v7-todo-text strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere;color:#243B53}
.v7-todo-text small{font-size:10px;line-height:1.3;color:#8B9298}
.v7-done .v7-todo-text strong{text-decoration:line-through;opacity:.55}
.v7-required{font-size:10px;border-radius:99px;background:#EFE0C9;color:#725A3E;padding:4px 7px;font-weight:700;white-space:normal;max-width:85px}
.v7-todo-edit{flex:0 0 38px;min-height:44px;border:0;background:transparent;color:#7D8A91;font-size:21px}
.v7-empty{font-size:12px;color:#87929D;padding:14px;border:1px dashed #DDD3C9;border-radius:13px;background:#FFFCF8}
.v7-summary{margin:24px 0 0;padding:16px;border-radius:18px;background:linear-gradient(145deg,#FBF6F1,#F8F1ED);border:1px solid #E5DACE}
.v7-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.v7-summary-grid>div{border:1px solid #E8DFD5;background:#FFFDFC;border-radius:12px;padding:12px;display:grid;gap:4px}
.v7-summary-grid strong{font-family:Georgia,serif;font-size:21px;font-weight:normal;color:#0F2A44}
.v7-summary-grid span{font-size:11px;color:#7D8B95}
.v7-summary p{font-size:11px;line-height:1.6;color:#8A9298}
.v7-plan-dayonly{margin:14px 0;padding:14px;border:1px solid #E5DBCF;background:linear-gradient(130deg,#FBF6F1,#F8F2EE);border-radius:15px;color:#0F2A44}
.v7-plan-dayonly h3{font-size:18px;font-family:Georgia,serif;margin:4px 0}
.v7-plan-dayonly p{color:#8A9199;font-size:12px;line-height:1.5}
.v7-plan-item{display:flex;align-items:center;gap:9px;margin-top:7px;padding:9px;border-radius:10px;background:#FFFDFC;min-width:0}
.v7-plan-item span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:12px}
.v7-plan-item button{min-width:44px;min-height:44px;border:1px solid #E3D9CF;border-radius:9px;background:#FFFDFB;color:#0F2A44;font-size:12px}
.v7-plan-item small{font-size:10px;color:#A27B4D}
.v7-required-field label{display:flex;align-items:center;gap:9px}
.v7-required-field input{width:22px;min-width:22px;accent-color:#B99A68}
.modal-form[data-form="task"]:has([name="scheduleMode"] option[value="today"]:checked) .task-datetime-fields .field:nth-child(2){display:none}
.modal-form[data-form="task"]:has([name="scheduleMode"] option[value="today"]:checked) .task-datetime-fields{grid-template-columns:minmax(0,1fr)}
.modal-form[data-form="task"]:has([name="scheduleMode"] option[value="today"]:checked) .task-datetime-fields .field:nth-child(2){display:none}
@media(max-width:600px){
 .v7-focus{padding-bottom:calc(102px + env(safe-area-inset-bottom,0px))}
 .v7-event-toggle{padding:12px 10px;gap:8px}
 .v7-event-content{padding:0 10px 12px}
 .v7-time-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-time-actions button:last-child{grid-column:1 / -1}
 .v7-time-actions button{padding:8px 6px;white-space:normal}
 .v7-event-footer{flex-wrap:wrap}
 .v7-plan{min-width:60px}
 .v7-timeline{gap:10px}
 .v7-untimed-group{padding:10px}
}
@media(max-width:350px){
 .v7-timeline-row{grid-template-columns:38px minmax(0,1fr);gap:8px}
 .v7-timeline:before{left:41px}
 .v7-tick{font-size:10px;padding-top:23px}
 .v7-tick:after{right:-7px}
 .v7-required{font-size:9px;max-width:69px}
 .v7-todo-edit{flex-basis:30px}
 .v7-event-titles strong{font-size:14px}
}
body.vraz-dark .v7-focus{color:#0F2A44}
