:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; --green: #073a31; --lime: #00eb73; --paper: #f6f6f4; --ink: #101311; --muted: #727a76; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 980px; min-height: 100vh; background: var(--green); color: var(--ink); }
main { max-width: 1920px; margin: 0 auto; padding: 70px 54px 48px; }
header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
h1 { margin: 0; color: var(--lime); font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(64px, 7vw, 116px); font-weight: 900; line-height: .9; letter-spacing: .01em; }
h2 { margin: 5px 0 24px; font-size: 26px; }
.eyebrow { margin: 0 0 12px; color: #bcebd4; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow.dark { color: #08714f; }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.button, select, input, textarea { border: 1px solid #9b9f9d; border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.button { min-height: 38px; padding: 9px 14px; font-size: 12px; font-weight: 900; letter-spacing: .04em; cursor: pointer; }
.button.primary { border-color: var(--lime); background: var(--lime); }
.button.secondary { border-color: #d6d9d7; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.status { padding: 10px 13px; background: rgb(255 255 255 / 12%); color: white; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.status.error { background: #a92828; }
.planning-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.view-switch { display: flex; gap: 2px; }
.view-button { height: 36px; padding: 5px 16px; border: 0; background: rgb(255 255 255 / 16%); color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.view-button.active { background: var(--lime); color: var(--ink); }
.filters { display: flex; gap: 10px; }
.add-employee-button { height: 36px; min-height: 36px; border-color: #bcebd4; background: transparent; color: white; }
.multi-filter { position: relative; width: 190px; }
.multi-filter summary { position: relative; height: 36px; padding: 10px 34px 8px 12px; overflow: hidden; background: white; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; list-style: none; }
.multi-filter summary::-webkit-details-marker { display: none; }
.multi-filter summary::after { position: absolute; top: 9px; right: 12px; content: "⌄"; font-size: 15px; }
.multi-filter[open] summary::after { transform: rotate(180deg); }
.multi-filter-options { position: absolute; z-index: 20; top: 40px; left: 0; width: max-content; min-width: 100%; max-width: 330px; max-height: 310px; padding: 6px; overflow-y: auto; border: 1px solid #c8cdca; background: white; box-shadow: 0 12px 28px rgb(0 0 0 / 20%); }
.multi-filter-option { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 5px 7px; font-size: 12px; cursor: pointer; }
.multi-filter-option:hover { background: #edf6f1; }
.multi-filter-option input { flex: 0 0 auto; width: 15px; height: 15px; margin: 0; accent-color: #008c56; }
.multi-filter-option span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employee-list { display: grid; gap: 14px; }
.employee-card { display: grid; grid-template-columns: minmax(330px, 465px) minmax(0, 1fr); min-height: 190px; padding: 26px 30px; background: var(--paper); }
.employee-profile { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-right: 24px; border-right: 1px solid #8d918f; }
.profile-image, .profile-placeholder { width: 140px; height: 140px; object-fit: cover; filter: grayscale(1); background: #d8dcda; }
.profile-placeholder { display: grid; place-items: center; color: #66706b; font-family: Impact, sans-serif; font-size: 45px; }
.client-profile .profile-placeholder { filter: none; background: #d9eee4; color: #0b6548; }
.profile-details { min-width: 0; }
.name-row { display: flex; align-items: center; gap: 8px; }
.employee-name { margin: 4px 0 3px; overflow: hidden; font-family: Impact, "Arial Narrow", sans-serif; font-size: 34px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.position-row { display: flex; align-items: center; gap: 5px; min-height: 38px; }
.position { margin: 0; overflow: hidden; color: #242925; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.lock-button { display: grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.lock-button svg { width: 15px; height: 15px; fill: currentColor; }
.employee-card.unlocked .lock-button { color: #008c56; }
.metrics { display: flex; gap: 28px; margin-top: 10px; }
.metric strong { display: block; font-size: 28px; line-height: 1; }
.metric span { color: #343a36; font-size: 14px; }
.manual-employee-delete { margin-top: 13px; padding: 4px 0; border: 0; border-bottom: 1px solid #a53b34; background: transparent; color: #8d2f2a; font-size: 10px; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.planning { min-width: 0; padding-left: 22px; overflow-x: auto; }
.planning-grid { display: grid; grid-template-columns: minmax(150px, 1.65fr) repeat(12, minmax(58px, .78fr)) 28px; align-items: center; column-gap: 10px; row-gap: 4px; min-width: 980px; }
.grid-heading { font-family: Impact, "Arial Narrow", sans-serif; font-size: 20px; text-transform: uppercase; }
.grid-heading:not(.client-heading) { text-align: center; }
.client-heading { display: flex; align-items: center; gap: 7px; }
.add-client { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.client-name { overflow: hidden; font-family: Impact, "Arial Narrow", sans-serif; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.fte-cell { display: grid; height: 34px; place-items: center; font-size: 18px; text-align: center; }
.fte-cell.actual { color: #737b77; background: #e1e4e2; }
.fte-cell.planned { color: #315c4b; background: #e1f1e9; }
.fte-input { width: 100%; height: 30px; margin: 0; padding: 4px; border-color: transparent; background: transparent; text-align: center; }
.fte-input:disabled { color: #315c4b; }
.employee-card.unlocked .fte-cell.planned { background: #d4ebdf; }
.employee-card.unlocked .fte-input { border-color: #8fb9a5; background: #f8fcfa; }
.vacation-label { padding-left: 9px; border-left: 4px solid #d3d7d5; color: #8b918e; }
.employee-card .fte-cell.vacation-cell { background: #f0f2f1; color: #999f9c; }
.employee-card.unlocked .fte-cell.vacation-cell { background: #ecefed; }
.employee-card.unlocked .vacation-cell .fte-input { border-color: #d2d7d4; background: #f7f8f7; color: #737a76; }
.total-label, .total-cell { margin-top: 5px; border-top: 2px solid #aeb7b2; font-weight: 800; }
.total-label { padding-top: 8px; }
.total-cell { padding-top: 3px; }
.remove-client { border: 0; background: transparent; color: #8d9490; font-size: 18px; cursor: pointer; }
.employee-card:not(.unlocked) .add-client { color: #747c78; }
.employee-card:not(.unlocked) .remove-client { visibility: hidden; }
.employee-card.dirty { box-shadow: inset 5px 0 var(--lime); }
.empty-clients { grid-column: 1 / -1; padding: 20px 0; color: #757d79; font-style: italic; }
.empty-state { padding: 36px; background: white; color: #59605c; text-align: center; }
.hidden { display: none !important; }
dialog { width: min(650px, calc(100vw - 32px)); padding: 0; border: 0; box-shadow: 0 24px 80px rgb(0 0 0 / 35%); }
dialog::backdrop { background: rgb(1 27 22 / 78%); }
dialog form { padding: 26px; }
.conflict-content { padding: 26px; }
.conflict-list { max-height: 230px; margin: 0 0 18px; padding: 12px 12px 12px 30px; overflow-y: auto; background: #f0f2f1; color: #424a46; font-size: 13px; line-height: 1.5; }
.conflict-list li + li { margin-top: 5px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; }
.icon-button { width: 34px; height: 34px; border: 0; background: transparent; color: #58605c; font-size: 28px; cursor: pointer; }
.dialog-field, .settings-grid label { display: flex; flex-direction: column; gap: 6px; color: #424a46; font-size: 12px; font-weight: 800; }
.dialog-field select, .settings-grid input { min-height: 40px; padding: 8px 10px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.hint { margin: 0 0 18px; color: #65706a; font-size: 13px; line-height: 1.45; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-grid .wide { grid-column: 1 / -1; }
.settings-grid textarea { padding: 8px 10px; resize: vertical; }
.settings-state { margin: 15px 0 0; padding: 10px; background: #edf0ee; color: #58615c; font-size: 12px; }
.toast { position: fixed; right: 28px; bottom: 28px; max-width: 460px; padding: 14px 17px; background: #111a16; color: white; box-shadow: 0 10px 30px rgb(0 0 0 / 30%); }
.toast.error { background: #a92828; }
@media (max-width: 1250px) { main { padding: 42px 30px; } .employee-card { grid-template-columns: 390px minmax(0, 1fr); } .employee-profile { grid-template-columns: 110px 1fr; } .profile-image, .profile-placeholder { width: 110px; height: 125px; } }
