.page-nav{height:46px;display:flex;align-items:stretch;gap:22px;padding:0 24px;background:white;border-bottom:1px solid var(--line)}.page-nav a{display:flex;gap:7px;align-items:center;font-size:12px;color:#68766e;border-bottom:2px solid transparent}.page-nav a.active{color:var(--green);border-color:var(--green);font-weight:700}.page-nav svg{width:16px;height:16px}.workspace{height:calc(100dvh - 124px)}.work-page{height:calc(100dvh - 124px);overflow:auto;padding:24px 32px;background:#fff}.work-page-open .mobile-nav{display:none}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:20px;border-bottom:1px solid var(--line)}.board-heading h2,.board-heading>div{display:flex;align-items:center;gap:10px}.board-heading h2{font-size:22px}.board-heading .time-zone{margin:0}.board-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px 0}.board-filters select{max-width:260px}.day-picker{display:flex;align-items:center;gap:5px}.board-filters input[type=search]{min-width:240px;flex:1;max-width:420px}.employee-day{border-top:1px solid var(--line);padding:20px 0}.employee-day>h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:16px;margin-bottom:17px;overflow-wrap:anywhere}.schedule-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.schedule-columns h4{font-size:12px;color:#6b7c72;margin:0 0 10px}.schedule-columns .muted{font-size:12px;padding:10px 0}.schedule-work{border-bottom:1px solid #edf0ee;padding:13px 0;font-size:13px;overflow-wrap:anywhere}.schedule-work>a{font-weight:bold;line-height:1.6}.schedule-work p{font-size:12px;color:#738176;margin-top:6px;line-height:1.5}.work-state{display:inline-block;color:#995329;font-size:11px;margin-top:8px}.work-state.finished{color:var(--green)}.overlap-label{color:#b33f3f;font-size:11px;font-weight:400}.work-open{display:flex;gap:6px;align-items:center;font-size:11px;line-height:1.5;text-align:left}.work-open svg{width:15px;height:15px}.work-dialog{width:720px;padding:24px;max-height:92dvh;overflow:auto;background:white}.work-dialog .dialog-head{gap:15px}.work-dialog h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere}.work-kicker{font-size:12px;color:#697b6f;margin-bottom:10px;overflow-wrap:anywhere}.work-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 0}.work-status a{font-size:12px;display:flex;align-items:center;gap:5px}.work-status a svg{width:14px;height:14px}.check-label{flex-direction:row;align-items:center;gap:8px;font-weight:400;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.work-dialog fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.work-dialog legend{font-weight:bold;font-size:14px;margin-bottom:12px}.employee-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:180px;overflow:auto;padding:4px 0}.employee-options p{font-size:12px}.employee-add{display:flex;gap:8px;margin-top:12px}.employee-add input{flex:1}.employee-add button{width:40px;height:40px;border:1px solid var(--line)}.plan-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.plan-dates input{width:100%;height:41px}.work-dialog .dialog-actions{margin-top:16px}.work-materials{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.work-materials>.pane-title{margin-bottom:6px}.work-materials>.muted,.work-materials .muted{font-size:12px;padding:10px 0}.material-row{display:flex;align-items:flex-start;gap:7px;padding:14px 0;border-bottom:1px solid var(--line)}.material-row>div{flex:1;min-width:0}.material-row strong{font-size:13px;overflow-wrap:anywhere}.material-row>div>span{display:block;font-size:12px;color:#6c7e70;margin-top:5px}.needs-buy{color:#b03d3d}.material-row .check-label{margin-top:9px}.shopping-table{overflow-x:auto}.shopping-table table{border-collapse:collapse;width:100%;min-width:740px;table-layout:fixed;font-size:12px}.shopping-table th{text-align:left;background:#f1f5f3;font-size:11px;color:#64776a;padding:12px}.shopping-table td{padding:16px 12px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere;line-height:1.6}.shopping-table th:first-child{width:130px}.shopping-table td p{color:#748279;font-size:11px;margin-top:6px}.shopping-table td a{font-weight:bold}.shopping-table td strong{font-size:13px}.shopping-table .empty{display:table-cell;text-align:center;padding:40px}.shopping-table td label{align-items:flex-start}.work-dialog .time-zone{margin-top:0}.work-dialog input:disabled{cursor:default}.work-dialog .dialog-head>div{min-width:0}
@media(max-width:700px){.page-nav{height:46px;padding:0 12px;gap:16px;justify-content:space-between}.page-nav a{font-size:10px;gap:4px;line-height:1.35}.page-nav svg{width:14px;height:14px}.workspace{height:calc(100dvh - 162px)}.work-page{height:calc(100dvh - 110px);padding:18px 14px}.board-heading{align-items:flex-start;gap:8px;padding-bottom:14px}.board-heading h2{font-size:18px;gap:7px}.board-heading>div{gap:4px}.board-heading .time-zone{display:none}.board-filters{gap:10px;padding:15px 0}.board-filters select{flex:1;min-width:140px;max-width:100%;font-size:12px}.day-picker{width:100%}.day-picker input{flex:1}.schedule-columns{grid-template-columns:minmax(0,1fr);gap:20px}.employee-day>h3{font-size:15px}.work-dialog{padding:18px;max-width:calc(100vw - 16px);max-height:94dvh}.work-dialog h2{font-size:18px}.employee-options{grid-template-columns:minmax(0,1fr)}.plan-dates{gap:10px}.plan-dates label{font-size:11px}.plan-dates input{font-size:12px;padding:8px 4px;min-width:0}.work-status{align-items:flex-start}.shopping-table table{min-width:720px}.shopping-table td{padding:12px 9px}.work-page-open .toast{bottom:18px}}
.work-dialog .employee-add{align-items:center}
.slot-employees{border:0;padding:0;margin:0;min-width:0}.slot-employees legend{font-size:12px;font-weight:600;margin-bottom:10px}#slot-dialog{max-height:92dvh;overflow:auto}#slot-work-note{font-size:11px}#slot-employees{max-height:170px;overflow:auto}.slot-employees .check-label{padding:5px 0}
.week-scroll{max-width:100%;overflow:auto;border:1px solid var(--line)}
#hourly-timeline{min-width:880px;font-size:12px}
#hourly-timeline .fc-timegrid-slot{height:22px}
#hourly-timeline .fc-timegrid-slot-label{font-size:10px;color:#5e6d65}
#hourly-timeline .fc-col-header-cell{padding:8px 0;background:#f4f7f5}
#hourly-timeline .fc-event{border-radius:3px;overflow:hidden;cursor:pointer}
#hourly-timeline .week-plan{background:#e2f0fa;border-color:#31749a;color:#23485f}
#hourly-timeline .week-done{background:#e0f2e5;border-color:#3b8051;color:#265c37}
#hourly-timeline .week-conflict{background:#fff0ed;border-color:#c13e3e;color:#922b2b}
#hourly-timeline .week-draft{background:#fff4d5;border:2px dashed #966813;color:#654709}
#hourly-timeline .fc-event-main{color:inherit}
#hourly-timeline .fc-timegrid-event-harness{min-width:0}
.week-event{padding:3px 5px;overflow:hidden;height:100%;line-height:1.35;font-size:11px}
.week-event strong,.week-event span,.week-event small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.week-event small{font-size:10px}
.planning-draft{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid #d7bc74;border-bottom:1px solid #d7bc74;margin-bottom:12px;font-size:13px}
.planning-draft[hidden]{display:none}.planning-draft>div{min-width:0;overflow-wrap:anywhere}.planning-draft p{margin:5px 0;font-size:12px}.planning-draft small{color:#84601d}
.draft-actions{display:flex;gap:8px;align-items:center}.hourly-toolbar>strong{font-size:12px;white-space:nowrap}.hourly-actual h4{margin:20px 0 4px;color:#52675b;font-size:13px}
@media(max-width:700px){.planning-draft{flex-direction:column;align-items:stretch;gap:10px}.draft-actions{justify-content:space-between}.draft-actions .primary{font-size:12px}.hourly-toolbar{flex-direction:row;flex-wrap:wrap}#slot-form input{min-width:0;max-width:100%}}
.board-filters .schedule-view{flex-shrink:0}
.schedule-view{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden;height:38px}.schedule-view button{display:flex;align-items:center;gap:6px;padding:0 10px;font-size:12px;white-space:nowrap}.schedule-view button[aria-pressed=true]{background:#e8f2ec;color:#125039;font-weight:bold}.schedule-view svg{width:16px;height:16px}.board-filters #schedule-add{min-height:38px}.hourly-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}.hourly-toolbar>div{display:flex;align-items:center;gap:4px}.hourly-legend{display:flex;flex-wrap:wrap;gap:14px!important;font-size:11px;color:#56685d}.hourly-legend span{display:flex;align-items:center;gap:5px}.hourly-blue{background:#327ca5}.hourly-timeline{min-height:180px;max-width:100%;position:relative}.hourly-timeline[aria-busy=true]{opacity:.65;pointer-events:none}.hourly-timeline .vis-timeline{border:1px solid var(--line);font-family:inherit;font-size:12px}.hourly-timeline .vis-panel.vis-left{background:#f7f9f8;max-width:155px}.hourly-person{width:130px;min-height:80px;display:flex;flex-direction:column;justify-content:center;gap:6px;white-space:normal;overflow-wrap:anywhere}.hourly-person strong{font-size:13px;line-height:1.4}.hourly-person span{font-size:11px;color:#748176}.hourly-timeline .vis-labelset .vis-label{border-bottom-color:var(--line)}.hourly-timeline .vis-foreground .vis-group{border-bottom:1px solid #e5ebe7;min-height:90px}.hourly-timeline .vis-time-axis .vis-text{color:#67776e;font-size:11px}.hourly-timeline .vis-item{border-radius:4px;border-width:1px;border-color:#5995b7;background:#eaf4fa;color:#21465d;height:74px;overflow:hidden}.hourly-timeline .vis-item.vis-selected{outline:2px solid #256b95;outline-offset:-2px;border-color:#256b95;background:#d7edf9}.hourly-timeline .vis-item.hourly-done{background:#e5f1e8;border-color:#59976d;color:#235b36}.hourly-timeline .vis-item.hourly-conflict{border-color:#bb4747;border-left-width:4px;background:#fff1ed}.hourly-timeline .vis-item .vis-item-content{box-sizing:border-box;width:100%;padding:7px 9px;white-space:normal}.hourly-content{min-width:0;overflow:hidden}.hourly-content strong,.hourly-content span,.hourly-content small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:11px}.hourly-content small{font-size:10px}.hourly-timeline .vis-item .vis-drag-left,.hourly-timeline .vis-item .vis-drag-right{width:12px;background:rgba(23,79,108,.15);cursor:ew-resize}.hourly-selection{display:flex;gap:10px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line)}.hourly-selection[hidden]{display:none}.hourly-selection>div{flex:1;min-width:0;overflow-wrap:anywhere}.hourly-selection strong{font-size:13px}.hourly-selection p{font-size:12px;line-height:1.6;margin-top:4px}.hourly-selection p:last-child{color:#697b70;font-size:11px}.hourly-actual{padding:24px 0}.hourly-actual h3{margin-bottom:12px}.hourly-actual>.muted{font-size:12px}#slot-form>label{margin-top:16px}#slot-form select{width:100%}#slot-form [hidden]{display:none}
@media(max-width:700px){.hourly-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.hourly-toolbar>div:last-child{align-self:flex-end}.hourly-legend{gap:12px!important}.hourly-person{width:88px;min-height:85px}.hourly-person strong{font-size:11px}.hourly-timeline .vis-panel.vis-left{max-width:108px}.hourly-timeline .vis-item .vis-item-content{padding-left:8px;padding-right:8px}.schedule-view{flex:0 0 100%}.schedule-view button{flex:1;justify-content:center}.board-filters #schedule-add{font-size:12px}.hourly-toolbar .icon-button{width:32px;height:32px}}
@media(max-width:700px){.shopping-table table{min-width:0;table-layout:auto}.shopping-table thead{display:none}.shopping-table tbody,.shopping-table tr,.shopping-table td{display:block;width:100%}.shopping-table tr{padding:10px 0 16px;border-bottom:1px solid var(--line)}.shopping-table td{border:0;padding:6px 0}.shopping-table td:nth-child(3)::before{content:'Для какой работы';display:block;color:var(--muted);font-size:10px}.shopping-table td:nth-child(4)::before{content:'Кто запросил';display:block;color:var(--muted);font-size:10px}.shopping-table td:nth-child(5)::before{content:'Кто обеспечил';display:block;color:var(--muted);font-size:10px}.shopping-table td p{margin-top:2px}.shopping-table td.empty{display:block}.shopping-table td label{align-items:center}}
