.daily-plan{display:grid;gap:14px}.daily-plan-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.daily-plan-summary{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--crm-secondary);font-size:14px}.daily-plan-periods{display:inline-flex;padding:2px;border-radius:10px;background:var(--crm-control)}.daily-plan-periods button{min-height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--crm-secondary);font:inherit;font-size:13px;cursor:pointer}.daily-plan-periods button.is-active{background:var(--crm-surface);color:var(--crm-text);box-shadow:0 1px 2px #00000014}.daily-plan-periods button:focus-visible{outline:2px solid var(--crm-accent);outline-offset:1px}@media(pointer:coarse){.daily-plan-periods button{min-height:44px}}.daily-plan-goals{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:0;padding:0;list-style:none}.daily-plan-goal{display:grid;gap:6px;padding:12px;border:1px solid var(--crm-border);border-radius:12px;background:var(--crm-surface)}.daily-plan-goal-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:14px}.daily-plan-goal-line strong{font-size:20px;font-variant-numeric:tabular-nums}.daily-plan-goal-line small{color:var(--crm-muted);font-size:13px;font-weight:400}.daily-plan-bar{height:6px;border-radius:6px;background:var(--crm-control);overflow:hidden}.daily-plan-bar span{display:block;height:100%;border-radius:6px;background:var(--crm-accent)}.daily-plan-goal.is-done .daily-plan-bar span{background:#238754}.daily-plan-goal.is-near .daily-plan-bar span{background:#d99a1e}.daily-plan-goal.is-behind .daily-plan-bar span{background:#d83e4b}.daily-plan-detail,.daily-plan-values small{color:var(--crm-muted);font-size:12px}.daily-plan-values{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:0}.daily-plan-values>div{display:grid;gap:2px;padding:10px 12px;border-radius:10px;background:var(--crm-control)}.daily-plan-values dt{color:var(--crm-secondary);font-size:13px}.daily-plan-values dd{margin:0;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.daily-plan-money{margin:0;font-size:14px}.daily-plan-now{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;padding:10px 12px;border-radius:10px;background:#fff7df;font-size:14px}.daily-plan-now ul{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;list-style:none}.daily-plan-now span{color:var(--crm-secondary)}.daily-plan-table-wrap{overflow-x:auto;border:1px solid var(--crm-border);border-radius:12px;background:var(--crm-surface)}.daily-plan-table tbody tr:last-child>*{border-bottom:0}.daily-plan-table{width:100%;border-collapse:collapse;font-size:14px}.daily-plan-table th,.daily-plan-table td{padding:8px 10px;border-bottom:1px solid var(--crm-separator);text-align:left;white-space:nowrap}.daily-plan-table thead th{min-width:72px;white-space:normal;vertical-align:bottom;color:var(--crm-secondary);font-size:12px;font-weight:500}.daily-plan-cell strong{font-variant-numeric:tabular-nums}.daily-plan-cell small{color:var(--crm-muted)}.daily-plan-cell.is-done strong{color:#167744}.daily-plan-cell.is-behind strong{color:#b93847}.daily-plan-attention{color:#a35a00}.daily-plan-ok{color:var(--crm-muted)}.daily-plan-settings .daily-plan-target-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.daily-plan-settings input[type=number]{width:100%}:root .daily-plan-settings .daily-plan-member-table td input[type=number]{width:76px;min-width:76px}.daily-plan-settings .daily-plan-member-table input::placeholder{color:#a3abb8}:root .daily-plan-settings .daily-plan-member-table td select{width:184px;min-width:184px}.daily-plan-member-table th small{color:var(--crm-muted);font-weight:400}.daily-plan-out{margin:0}.daily-plan-table tr>:first-child{position:sticky;left:0;z-index:1;background:var(--crm-surface)}.chart-card{display:flex;flex-direction:column;gap:14px}.chart-card-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-start;justify-content:space-between}.chart-card-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}.analytics-panel.chart-card h2{font-size:16px;font-weight:600;color:var(--crm-text)}.chart-sub,.analytics-panel>.chart-sub{margin:0;font-size:13px;line-height:1.45;color:var(--crm-muted)}.chart-note{margin:0;font-size:13px;line-height:1.45;color:var(--crm-muted)}.chart-frame{position:relative;min-width:0}.chart-svg{display:block;width:100%;height:auto;overflow:visible}.chart-svg text{font-family:inherit}.chart-grid{stroke:var(--crm-chart-grid);stroke-width:1}.chart-axis{font-size:11px;fill:var(--crm-muted)}.chart-axis-strong{font-size:12px;fill:var(--crm-secondary)}.chart-label-strong{font-size:12px;font-weight:600;fill:var(--crm-text)}.chart-target{stroke:var(--crm-secondary);stroke-width:1.5;stroke-dasharray:3 4}.chart-plan{fill:none;stroke:var(--crm-chart-plan);stroke-width:2;stroke-dasharray:6 5}.chart-forecast{fill:none;stroke:var(--crm-chart-1);stroke-width:2;stroke-dasharray:2 4;stroke-linecap:round}.chart-area{fill:var(--crm-chart-1);fill-opacity:.09}.chart-line{fill:none;stroke:var(--crm-chart-1);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.chart-line-muted{fill:none;stroke:var(--crm-chart-plan);stroke-width:2;stroke-linejoin:round}.chart-today{stroke:var(--crm-border);stroke-width:1}.chart-dot{fill:var(--crm-chart-1);stroke:var(--crm-surface);stroke-width:2}.chart-dot-open{fill:var(--crm-surface);stroke:var(--crm-chart-1);stroke-width:2}.chart-hit{fill:transparent}.chart-bar{fill:var(--crm-chart-1)}.chart-bar-warn{fill:var(--crm-chart-warn)}.chart-click{cursor:pointer}.chart-svg [tabindex]:focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.chart-tip{position:absolute;z-index:5;transform:translate(-50%,calc(-100% - 10px));max-width:260px;padding:7px 10px;border-radius:9px;background:var(--crm-text);color:var(--crm-surface);font-size:12px;line-height:1.35;font-weight:500;pointer-events:none;white-space:normal;box-shadow:0 4px 14px #0f141e2e}.chart-tip.is-left{transform:translate(-85%,calc(-100% - 10px))}.chart-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:6px;font-size:12px;color:var(--crm-secondary)}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.chart-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;border:2px solid transparent;box-sizing:border-box}.chart-legend i.is-dotted{border-style:dotted;background:transparent}.chart-chip{display:inline-flex;align-items:center;gap:6px;justify-self:start;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.chart-chip.is-good{background:var(--crm-chart-good-soft);color:var(--crm-chart-good-ink)}.chart-chip.is-bad{background:var(--crm-chart-bad-soft);color:var(--crm-chart-bad-ink)}.chart-chip.is-warn{background:var(--crm-chart-warn-soft);color:var(--crm-chart-warn-ink)}.chart-chip.is-neutral{background:var(--crm-chart-neutral-soft);color:var(--crm-chart-neutral-ink)}.chart-chip.is-accent{background:var(--crm-accent-soft);color:var(--crm-accent-ink)}.chart-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.chart-stat{display:flex;flex-direction:column;gap:8px;min-width:0;padding:20px;border:1px solid var(--crm-separator);border-radius:16px;background:var(--crm-surface)}.chart-stat-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.chart-stat strong{font-size:26px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums;color:var(--crm-text);overflow-wrap:anywhere}.chart-spark{flex:none}.chart-spark-area{fill:var(--crm-chart-ramp-0)}.chart-spark-line{fill:none;stroke:var(--crm-chart-1);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-delta{font-size:13px;font-weight:600;color:var(--crm-muted)}.chart-delta.is-up{color:var(--crm-chart-good-ink)}.chart-delta.is-down{color:var(--crm-chart-bad-ink)}.chart-track{position:relative;display:block;height:26px;border-radius:6px;background:var(--crm-chart-track);overflow:hidden}.chart-track>span{display:block;height:100%;border-radius:5px;background:var(--crm-chart-1)}.chart-track.is-thin{height:10px;overflow:visible;border-radius:5px}.chart-track.is-thin>span{position:absolute;inset:0 auto 0 0}.chart-track.is-thin>span.is-good{background:var(--crm-chart-good)}.chart-track.is-thin>span.is-accent{background:var(--crm-chart-1)}.chart-track.is-thin>span.is-bad{background:var(--crm-chart-bad)}.chart-track.is-thin>i{position:absolute;top:-3px;bottom:-3px;width:2px;border-radius:1px;background:var(--crm-secondary)}button.chart-funnel-row,button.chart-source-row,button.chart-rank-row{width:100%;margin:0;padding:2px 0;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}button.chart-funnel-row:disabled,button.chart-source-row:disabled,button.chart-rank-row:disabled{cursor:default;opacity:1}button.chart-funnel-row:not(:disabled):hover .chart-track,button.chart-source-row:not(:disabled):hover .chart-source-bar>span{filter:brightness(.96)}button.chart-funnel-row:focus-visible,button.chart-source-row:focus-visible,button.chart-rank-row:focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.chart-funnel,.chart-funnel-item{display:flex;flex-direction:column;gap:6px}.chart-funnel-row{display:grid;grid-template-columns:140px minmax(0,1fr) 44px;gap:12px;align-items:center}.chart-funnel-row strong{font-size:14px;text-align:right;font-variant-numeric:tabular-nums}.chart-funnel-name{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:500}.chart-funnel-name i{flex:none;width:9px;height:9px;border-radius:50%}.chart-funnel-step{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;padding-left:152px;font-size:12px;color:var(--crm-muted);font-variant-numeric:tabular-nums}.chart-funnel-step svg path{fill:none;stroke:var(--crm-chart-plan);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.chart-funnel-step span:first-of-type{font-weight:600;color:var(--crm-secondary)}.chart-funnel-step span.is-bad{color:var(--crm-chart-bad-ink)}.chart-sources{display:flex;flex-direction:column;gap:12px}.chart-source-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:12px;align-items:center}.chart-source-name{font-size:13px;font-weight:500;overflow-wrap:anywhere}.chart-source-bar{display:flex;align-items:center;gap:8px;min-width:0}.chart-source-bar>span{display:block;height:18px;min-width:4px;border-radius:4px;background:var(--crm-chart-1)}.chart-source-bar small{font-size:12px;color:var(--crm-secondary);white-space:nowrap;font-variant-numeric:tabular-nums}.ramp-empty{background:var(--crm-chart-track)}.ramp-0{background:var(--crm-chart-ramp-0)}.ramp-1{background:var(--crm-chart-ramp-1)}.ramp-2{background:var(--crm-chart-ramp-2)}.ramp-3{background:var(--crm-chart-ramp-3);color:var(--crm-on-color)}.ramp-4{background:var(--crm-chart-ramp-4);color:var(--crm-on-color)}.chart-table-wrap{overflow-x:auto;min-width:0}.chart-cohorts{width:100%;min-width:460px;border-collapse:separate;border-spacing:3px;font-size:13px}.chart-cohorts th{padding:4px 6px;font-weight:500;color:var(--crm-muted);text-align:center}.chart-cohorts th[scope=row]{text-align:left;color:var(--crm-text);white-space:nowrap}.chart-cohorts th small{color:var(--crm-muted);font-size:12px}.chart-cohorts td{height:34px;border-radius:6px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}.chart-cohorts td.is-empty{background:var(--crm-chart-empty)}.chart-scale{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;color:var(--crm-muted)}.chart-scale-steps{display:inline-flex;gap:2px}.chart-scale-steps i{width:12px;height:10px;border-radius:3px}.chart-heat{display:grid;gap:3px;min-width:440px;font-size:11px;color:var(--crm-muted)}.chart-heat-hour{text-align:center}.chart-heat-day{display:flex;align-items:center}.chart-heat-cell{height:26px;border-radius:5px}.chart-heat-cell:focus-visible,.chart-cohorts td:focus-visible,.chart-speed-bar span:focus-visible{outline:2px solid var(--crm-accent);outline-offset:1px}.chart-ranking{display:flex;flex-direction:column;gap:14px}.chart-rank-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center}.chart-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--crm-accent-soft);color:var(--crm-accent-ink);font-size:12px;font-weight:600}.chart-rank-main{display:flex;flex-direction:column;gap:6px;min-width:0}.chart-rank-line{display:flex;justify-content:space-between;gap:8px;font-size:13px}.chart-rank-line span{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-rank-line strong{font-variant-numeric:tabular-nums}.chart-speed{display:flex;flex-direction:column;gap:12px}.chart-speed-row{display:grid;grid-template-columns:150px minmax(0,1fr) 68px;gap:12px;align-items:center}.chart-speed-name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-speed-bar{display:flex;gap:2px;height:20px;border-radius:4px;overflow:hidden;background:var(--crm-chart-track)}.chart-speed-bar span{display:block;height:100%}.chart-speed-median{font-size:12px;color:var(--crm-secondary);text-align:right;font-variant-numeric:tabular-nums}.speed-0{background:var(--crm-chart-speed-0)}.speed-1{background:var(--crm-chart-speed-1)}.speed-2{background:var(--crm-chart-speed-2)}.speed-3{background:var(--crm-chart-speed-3)}.chart-rings{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.chart-ring{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;background:var(--crm-panel);min-width:0}.chart-ring svg{flex:none}.chart-ring>div{display:flex;flex-direction:column;gap:2px;min-width:0}.chart-ring strong{font-size:14px}.chart-ring span{font-size:13px;color:var(--crm-secondary);font-variant-numeric:tabular-nums}.chart-ring small{font-size:12px;font-weight:600;color:var(--crm-secondary)}.chart-ring small.is-good{color:var(--crm-chart-good-ink)}.chart-ring-track{fill:none;stroke:var(--crm-separator);stroke-width:9}.chart-ring-value{fill:none;stroke:var(--crm-chart-1);stroke-width:9;stroke-linecap:round}.chart-ring-value.is-done{stroke:var(--crm-chart-good)}.chart-ring-text{font-size:16px;font-weight:700;fill:var(--crm-text)}.chart-values{margin-top:2px;font-size:13px}.chart-values summary{display:inline-flex;align-items:center;gap:6px;color:var(--crm-muted);cursor:pointer;list-style:none;font-size:12px}.chart-values summary::-webkit-details-marker{display:none}.chart-values summary:hover{color:var(--crm-accent)}.chart-values-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:10px}.chart-values-body .chart-table-wrap{width:100%}.chart-values table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.chart-values th,.chart-values td{padding:6px 8px;border-bottom:1px solid var(--crm-separator);text-align:left;white-space:nowrap}.chart-values th{color:var(--crm-muted);font-weight:500}.chart-values-body button{display:inline-flex;align-items:center;gap:6px}.chart-day{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.chart-day li{display:grid;grid-template-columns:52px 20px minmax(0,1fr);gap:10px;align-items:stretch}.chart-day-time{padding-top:10px;font-size:13px;font-weight:600;color:var(--crm-secondary);font-variant-numeric:tabular-nums}.chart-day-time.is-late{color:var(--crm-chart-bad-ink)}.chart-day-rail{display:flex;flex-direction:column;align-items:center}.chart-day-rail>span{width:2px;background:var(--crm-separator)}.chart-day-rail>span:first-child{height:14px}.chart-day li:first-child .chart-day-rail>span:first-child{background:transparent}.chart-day-rail>span:last-child{flex:1}.chart-day-rail>i{flex:none;width:12px;height:12px;border-radius:50%;border:2px solid var(--crm-chart-plan);background:var(--crm-surface);box-sizing:border-box}.chart-day li.is-done .chart-day-rail>i{border-color:var(--crm-chart-good);background:var(--crm-chart-good)}.chart-day li.is-next .chart-day-rail>i{border-color:var(--crm-chart-1);background:var(--crm-chart-1)}.chart-day li.is-late .chart-day-rail>i{border-color:var(--crm-chart-bad);background:var(--crm-chart-bad)}.chart-day-card{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;justify-content:space-between;margin:2px 0 8px;padding:8px 12px;border-radius:10px;background:var(--crm-panel);min-width:0}.chart-day li.is-next .chart-day-card{background:var(--crm-accent-soft)}.chart-day li.is-late .chart-day-card{background:var(--crm-chart-bad-soft)}.chart-day-card>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.chart-day-card strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.chart-day-card button.text-button{padding:0;font-weight:600;text-align:left}.chart-day-card small{font-size:12px;color:var(--crm-muted)}.chart-day-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chart-day-actions button{padding:4px 10px;border-radius:999px;border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-secondary);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.chart-day-actions button[aria-pressed=true].is-came{border-color:transparent;background:var(--crm-chart-good-soft);color:var(--crm-chart-good-ink)}.chart-day-actions button[aria-pressed=true].is-missed{border-color:transparent;background:var(--crm-chart-bad-soft);color:var(--crm-chart-bad-ink)}.chart-catchup{display:flex;flex-direction:column;gap:12px}.chart-catchup-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 84px;gap:12px;align-items:center;font-size:13px}.chart-catchup-row>span:first-child{font-weight:500}.chart-catchup-row strong{text-align:right;font-variant-numeric:tabular-nums}.chart-catchup-row .chart-track{height:8px;border-radius:4px}.chart-catchup-row .chart-track>span.is-bad{background:var(--crm-chart-bad)}.chart-alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--crm-chart-bad-soft);color:var(--crm-text);font-size:13px;line-height:1.45}.chart-alert svg{flex:none;margin-top:2px;color:var(--crm-chart-bad-ink)}.chart-empty{margin:0;padding:18px;border-radius:12px;background:var(--crm-panel);color:var(--crm-muted);font-size:13px;line-height:1.5}@media(max-width:650px){.chart-funnel-row{grid-template-columns:104px minmax(0,1fr) 36px;gap:8px}.chart-funnel-step{padding-left:112px}.chart-source-row{grid-template-columns:88px minmax(0,1fr)}.chart-source-row .chart-chip{grid-column:2}.chart-speed-row{grid-template-columns:96px minmax(0,1fr) 52px;gap:8px}.chart-catchup-row{grid-template-columns:minmax(0,1fr) 80px 70px;gap:8px}.chart-stat strong{font-size:22px}}.chart-set-plan{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;padding:16px;border-radius:12px;background:var(--crm-panel)}.chart-set-plan label{display:flex;flex-direction:column;gap:6px;flex:1 1 220px;font-size:13px;color:var(--crm-secondary)}.chart-set-plan .form-error{flex-basis:100%;margin:0}.chart-note-row{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}@media(max-width:650px){.chart-svg .chart-axis,.chart-svg .chart-axis-strong{font-size:19px}.chart-svg .chart-label-strong{font-size:20px}}.chart-set-plan input{box-sizing:border-box;width:100%;height:40px;padding:0 12px;border:1px solid var(--crm-border);border-radius:10px;background:var(--crm-surface);color:var(--crm-text);font:inherit;font-size:14px}.chart-set-plan button{height:40px}.chart-card-tools{display:inline-flex;align-items:center;gap:6px}.chart-card-tools .chart-edit{width:32px;height:32px}.chart-set-plan>small{flex-basis:100%}.plan-editor{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;background:var(--crm-panel)}.plan-editor-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.plan-editor-modes{display:inline-flex;gap:4px;padding:3px;border-radius:10px;background:var(--crm-control)}.plan-editor-modes button{padding:6px 12px;border:0;border-radius:8px;background:transparent;color:var(--crm-secondary);font:inherit;font-size:13px;font-weight:500;cursor:pointer}.plan-editor-modes button.is-active{background:var(--crm-surface);color:var(--crm-text);font-weight:600;box-shadow:0 1px 2px #141e3214}.plan-editor-year{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.plan-editor-year .icon-button{width:32px;height:32px}.plan-editor-month,.plan-editor-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.plan-editor label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;color:var(--crm-secondary)}.plan-editor-month>label,.plan-editor-tools>label{flex:1 1 180px}.plan-editor input,.plan-editor select{box-sizing:border-box;width:100%;height:40px;padding:0 12px;border:1px solid var(--crm-border);border-radius:10px;background:var(--crm-surface);color:var(--crm-text);font:inherit;font-size:14px}.plan-editor-tools>button,.plan-editor-actions>button.primary,.plan-editor-actions>button.secondary{height:40px}.plan-editor-month>.chart-note{flex-basis:100%}.plan-editor-quick{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:13px;color:var(--crm-secondary)}.plan-editor-quick>span{display:inline-flex;align-items:center;gap:6px}.plan-editor-quick input{width:56px;height:32px;padding:0 8px;text-align:right}.plan-editor-yearly{display:flex;flex-direction:column;gap:12px}.plan-editor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.plan-editor-grid label>span{display:flex;justify-content:space-between;gap:6px;font-weight:500;color:var(--crm-text)}.plan-editor-grid small{font-weight:400;font-size:11px;color:var(--crm-muted);white-space:nowrap}.plan-editor-grid label.is-invalid input{border-color:var(--crm-chart-bad)}.plan-editor-totals{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--crm-secondary);font-variant-numeric:tabular-nums}.plan-editor-totals strong{color:var(--crm-text)}.plan-editor-actions{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}:root .distribution-settings fieldset.distribution-modes{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;margin:0;padding:0;border:0}:root .distribution-modes legend{grid-column:1 / -1;margin-bottom:10px;padding:0;font-size:15px;font-weight:600}:root .distribution-settings .distribution-modes label{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:12px 14px;border:1px solid var(--crm-separator, var(--crm-border));border-radius:12px;background:var(--crm-surface);cursor:pointer}:root .distribution-modes label.is-active{border-color:var(--crm-accent);background:#f3f8ff}:root .distribution-settings .distribution-modes input[type=radio]{flex:none;width:18px;min-width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:var(--crm-accent)}:root .distribution-modes span{display:grid;gap:4px;min-width:0}:root .distribution-modes strong{font-size:14px;font-weight:600}:root .distribution-modes small{color:var(--crm-muted);font-size:12px;line-height:1.45}:root .auto-distribution-form p.distribution-sentence{margin:0 0 10px;color:var(--crm-text);font-size:14px;line-height:2.3}:root .distribution-settings .auto-distribution-form input.sentence-number{display:inline-block;width:72px;min-height:34px;height:34px;margin:0 2px;padding:0 8px;text-align:center;vertical-align:middle}:root .distribution-settings .auto-distribution-form select.sentence-select{display:inline-block;width:auto;max-width:100%;min-height:34px;height:34px;margin:0 2px;padding:0 28px 0 10px;vertical-align:middle}:root .auto-distribution-form p.distribution-mode-note{margin:0;padding:10px 12px;border-radius:10px;background:#f3f8ff;color:var(--crm-text);font-size:13px}:root .work-time-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px}:root .work-time-grid label{display:grid;gap:6px;min-width:0;font-size:13px}:root .weekday-chips{display:flex;flex-wrap:wrap;gap:6px}:root .weekday-chips button{min-width:44px;min-height:36px;padding:0 10px;border:1px solid var(--crm-border);border-radius:9px;background:var(--crm-surface);color:var(--crm-muted);font-size:13px;font-weight:600}:root .weekday-chips button.is-on{border-color:var(--crm-accent);background:#e3efff;color:#006cd9}@media(max-width:760px){:root .work-time-grid{grid-template-columns:minmax(0,1fr)}}.card-layout-settings{display:grid;gap:12px}.card-layout-settings ul{display:grid;margin:0;padding:0;list-style:none;border:1px solid #e3e5ec;border-radius:14px;overflow:hidden}.card-layout-settings li{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:6px;padding:8px 12px}.card-layout-settings li+li{border-top:1px solid #eceef2}.card-layout-settings li.is-hidden span{color:#9aa1ae}.card-layout-settings li .icon-button{width:32px;height:32px;min-height:32px}.card-layout-actions{display:flex;align-items:center;gap:12px}.record-contract-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.record-contract-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid #eceef2}.record-contract-list li:last-child{border-bottom:0}.record-contract-list span{display:grid;min-width:0}.record-contract-list small{color:#788195;font-size:12px}.record-contract-list em{font-style:normal;font-weight:600}.record-contract-list em.is-signed{color:#1f8a4c}.record-contract-list em.is-finalized{color:#0769c8}.record-contract-empty{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.record-contract-empty .form-hint{margin:0}.record-contract-empty button{display:inline-flex;align-items:center;gap:6px}.record-contract-row{grid-template-columns:auto minmax(0,1fr) auto}.record-contract-actions{display:inline-flex;align-items:center;gap:4px}.record-contract-actions>.secondary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px}.record-contract-panel{grid-column:1 / -1;margin:2px 0 6px}.record-contract-panel input[type=file]{max-width:100%}.record-contract-panel .record-contract-check{display:flex;flex-direction:row;align-items:flex-start;gap:8px;margin:0;font-size:13px;font-weight:500}.record-contract-panel .record-contract-check input{flex:none;width:18px;height:18px;min-height:18px;margin:1px 0 0}.record-contract-alert{color:#b26a00!important;font-weight:600}.record-contract .detail-title .action-menu{margin-left:auto}.record-contract .detail-title .action-menu-trigger{font-size:13px}.record-contract-hint{margin:0}@media(max-width:600px){.record-contract-row{grid-template-columns:auto minmax(0,1fr)}.record-contract-actions{grid-column:2;justify-self:start}}
