:root{--ink:#172033;--muted:#64748b;--panel:#fff;--line:#dfe4eb;--soft:#f8fafc;--brand:#0f766e;--accent:#f5b044;--motion-fast:.14s;--motion-base:.22s;--motion-ease:cubic-bezier(.2, .8, .2, 1);color:var(--ink);background:#eef1f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.4}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}body{background:linear-gradient(135deg,#f5b04417,#0000 32%),linear-gradient(45deg,#0f766e14,#0000 38%),#eef1f4;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,.select:focus-visible,.input:focus-visible,.textarea:focus-visible,.date-input:focus-visible,.secondary-link:focus-visible,.employee-main-button:focus-visible{outline-offset:2px;outline:3px solid #0f766e47}.app-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#f8fafc;background:linear-gradient(#172033 0%,#111827 100%);flex-direction:column;gap:20px;padding:24px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-logo{object-fit:contain;flex:none;width:48px;height:48px;display:block}.brand-title{font-size:18px;font-weight:800}.brand-subtitle{color:#aeb8c7;font-size:13px}.field-label{color:#aeb8c7;text-transform:uppercase;font-size:12px}.sidebar-user{background:#22304a;border:1px solid #34445f;border-radius:8px;gap:3px;padding:12px;display:grid}.sidebar-user span{color:#aeb8c7;text-transform:uppercase;font-size:11px;font-weight:800}.sidebar-user strong{line-height:1.2}.sidebar-user small{color:#cbd5e1;overflow-wrap:anywhere}.admin-preview-switch{background:#fff;border:1px solid #dfe4eb;border-radius:8px;gap:10px;padding:12px;display:grid}.admin-preview-title{justify-content:space-between;align-items:center;gap:10px;min-height:18px;display:flex}.admin-preview-title span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:800}.admin-preview-title strong{color:#172033;white-space:nowrap;font-size:13px;line-height:1.15}.role-preview-segment{width:100%}.role-preview-segment button{min-width:0;padding:0 8px;font-size:12px}.sidebar .admin-preview-switch{background:#22304a;border-color:#34445f}.sidebar .admin-preview-title span{color:#aeb8c7}.sidebar .admin-preview-title strong{color:#fff}.sidebar .role-preview-segment{background:#172033;border-color:#34445f}.sidebar .role-preview-segment button{color:#cbd5e1;border-color:#34445f}.sidebar .role-preview-segment button.active{color:#172033;background:#f5b044}.mobile-preview-switch{display:none}.select,.input,.textarea,.date-input{color:#172033;background:#fff;border:1px solid #d4d9e2;border-radius:8px;outline:none;width:100%;min-height:40px;padding:9px 11px}.select:focus,.input:focus,.textarea:focus,.date-input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.sidebar .select{color:#f8fafc;background:#243047;border-color:#334057}.nav-list{gap:8px;display:grid}.nav-item{color:#cbd5e1;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;min-height:42px;padding:0 12px;display:flex}.nav-item.active,.nav-item:hover{color:#fff;background:#26344d}.mobile-more-button,.mobile-nav-backdrop{display:none}.sidebar-note{color:#dbeafe;background:#22304a;border:1px solid #34445f;border-radius:8px;align-items:center;gap:10px;min-height:44px;margin-top:auto;padding:0 12px;display:flex}.workspace{min-width:0;padding:22px}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #dfe4eb;border-radius:8px;width:min(440px,100%);padding:22px;box-shadow:0 18px 48px #1720331f}.login-brand{align-items:center;gap:14px;margin-bottom:20px;display:flex}.login-brand strong{font-size:24px;line-height:1.1;display:block}.login-brand span{color:#64748b}.login-form{gap:10px;display:grid}.topbar{justify-content:space-between;align-items:center;gap:16px;min-height:72px;margin-bottom:18px;display:flex}.topbar h1,.topbar p,.panel-header h2,.detail-title h2,.task-form h2,.notifications h2{margin:0}.topbar h1{font-size:24px;line-height:1.2}.topbar p{color:#64748b;margin-top:4px}.mobile-brand-inline{display:none}.icon-button{color:#172033;background:#fff;border:1px solid #d4d9e2;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.icon-button,.nav-item,.logout-button,.primary-button,.secondary-button,.danger-button,.secondary-link,.upload-button,.topbar-back,.client-item.selectable,.employee-item,.employee-main-button,.task-row,.month-cell,.year-cell{transition:transform var(--motion-fast) var(--motion-ease), background-color var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease)}button:active:not(:disabled),.client-item.selectable:active,.employee-main-button:active{transform:translateY(1px)scale(.99)}.icon-button:hover,.secondary-button:hover,.secondary-link:hover,.upload-button:hover,.topbar-back:hover,.client-item.selectable:hover,.employee-item:hover,.task-row:hover{transform:translateY(-1px);box-shadow:0 8px 18px #17203314}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.topbar-back{color:#172033;background:#fff;border:1px solid #d4d9e2;border-radius:8px;align-items:center;gap:7px;min-height:34px;margin-bottom:8px;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex}.install-button{white-space:nowrap}.install-hint{color:#1e3a8a;min-height:44px;animation:item-enter var(--motion-base) var(--motion-ease) both;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:10px;margin:-6px 0 16px;padding:9px 10px;font-size:13px;font-weight:700;display:flex}.install-hint span{flex:1;min-width:0}.install-hint .light-icon{flex:none;width:32px;height:32px}.session-pill{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:7px;min-height:38px;padding:0 10px;font-weight:800;display:inline-flex}.logout-button{color:#f8fafc;background:#22304a;border:1px solid #34445f;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;margin-top:auto;font-weight:800;display:inline-flex}.calendar-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.main-panel,.side-panel,.detail-panel,.task-form,.notifications,.reports-panel{background:#fff;border:1px solid #dfe4eb;border-radius:8px}.main-panel{min-height:640px;padding:18px}.calendar-support-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;display:grid}.calendar-detail-area{max-width:980px}.calendar-tools-block{gap:12px;display:grid}.calendar-tools-title{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.calendar-tools-title h2{margin:0;font-size:17px;line-height:1.2}.calendar-tools-title span{color:#64748b;font-size:13px}.calendar-tools-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start;gap:14px;display:grid}.modal-backdrop{z-index:100;animation:modal-fade var(--motion-fast) var(--motion-ease) both;background:#0f172a7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.task-modal{width:min(640px,100%);animation:modal-rise var(--motion-base) var(--motion-ease) both}.task-modal .task-form{max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 22px 70px #0f172a3d}.duplicate-modal{width:min(480px,100%);max-height:calc(100dvh - 48px);animation:modal-rise var(--motion-base) var(--motion-ease) both;background:#fff;border:1px solid #dfe4eb;border-radius:12px;padding:16px;overflow:auto;box-shadow:0 22px 70px #0f172a3d}.client-create-modal{width:min(560px,100%);max-height:calc(100dvh - 48px);animation:modal-rise var(--motion-base) var(--motion-ease) both;padding:18px;overflow:auto;box-shadow:0 22px 70px #0f172a3d}.form-title h3{margin:0;font-size:18px;line-height:1.2}.duplicate-summary{background:#f8fafc;border:1px solid #dfe4eb;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.duplicate-summary strong{color:#172033}.duplicate-summary span{color:#64748b;overflow-wrap:anywhere;font-size:13px}.main-panel.wide{max-width:1120px}.side-panel{background:#f8fafc;gap:14px;padding:14px;display:grid}.panel-header{justify-content:space-between;align-items:center;gap:14px;min-height:48px;margin-bottom:16px;display:flex}.panel-header h2,.detail-title h2,.task-form h2,.notifications h2{font-size:18px;line-height:1.2}.panel-header span{color:#64748b;font-size:13px}.timeline{gap:8px;display:grid}.task-row-wrap.reorderable{grid-template-columns:minmax(0,1fr) 36px;align-items:stretch;gap:6px;display:grid}.task-order-actions{grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;display:grid}.task-order-actions button{color:#334155;background:#fff;border:1px solid #d4d9e2;border-radius:7px;place-items:center;width:36px;min-height:30px;display:grid}.task-order-actions button:hover:not(:disabled){color:#0f766e;border-color:#0f766e}.task-order-actions button:disabled{opacity:.32;cursor:default}.task-row{text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:10px 54px minmax(0,1fr) 120px;align-items:center;gap:14px;width:100%;min-height:66px;padding:0 14px 0 0;display:grid}.task-row.selected{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.task-row.muted{opacity:.56}.task-color{border-radius:8px 0 0 8px;width:10px;height:100%}.task-time{color:#172033;font-weight:800}.task-main{gap:3px;min-width:0;display:grid}.task-main strong,.client-item strong,.employee-item strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-main small,.client-item small,.employee-item small{color:#64748b}.task-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-row-tags{flex-wrap:wrap;gap:4px;min-width:0;display:flex}.task-row-tags i{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;align-items:center;min-height:20px;padding:0 6px;font-size:11px;font-style:normal;font-weight:800;display:inline-flex}.status{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.status-scheduled{color:#1d4ed8;background:#dbeafe}.status-accepted,.status-in_progress{color:#0f766e;background:#ccfbf1}.status-closed{color:#475569;background:#e2e8f0}.status-cancelled{color:#7f1d1d;background:#fee2e2}.status-postponed{color:#854d0e;background:#fef3c7}.detail-panel,.task-form,.notifications,.reports-panel{padding:16px}.detail-title{justify-content:space-between;gap:12px;margin-bottom:14px;display:flex}.salary-summary{color:#0f766e;margin-top:6px;font-size:14px;display:block}.map-link{color:#0f766e;align-items:center;gap:6px;font-weight:800;text-decoration:none;display:inline-flex}.map-link:hover{text-decoration:underline}.detail-address-link{max-width:min(520px,100%);margin-top:5px;line-height:1.3}.task-contact-card{background:#f0fdfa;border:1px solid #ccfbf1;border-radius:8px;gap:7px;margin:-4px 0 12px;padding:10px;display:grid}.task-contact-card .detail-address-link{margin-top:0}.meta-grid{grid-template-columns:1fr 1fr;gap:10px;margin:0;display:grid}.meta-grid div{border:1px solid #e2e8f0;border-radius:8px;padding:9px}.meta-grid dt{color:#64748b;font-size:12px}.meta-grid dd{margin:3px 0 0;font-weight:700}.work-tags{flex-wrap:wrap;gap:7px;margin:14px 0;display:flex}.work-tags span{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:700}.phone-line,.file-count,.form-title,.employee-count{align-items:center;gap:8px;display:flex}.phone-line{min-height:32px}.phone-line a{color:#0f766e;font-weight:800;text-decoration:none}.comment{color:#334155;white-space:pre-line;margin:12px 0}.task-notes{background:#f8fafc;border:1px solid #dbe4ef;border-radius:8px;gap:5px;margin:0 0 12px;padding:10px 12px;display:grid}.task-notes p{color:#334155;overflow-wrap:anywhere;white-space:pre-line;margin:0}.task-notes.empty p{color:#64748b}.task-detail-meta{grid-template-columns:minmax(0,1fr)}.completion-comment{color:#14532d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;gap:5px;margin:12px 0;padding:10px 12px;display:grid}.completion-comment p{color:#334155;white-space:pre-line;margin:0}.post-close-comment{background:#f8fafc;border:1px solid #dbe4ef;border-radius:8px;gap:9px;margin-top:12px;padding:12px;display:grid}.post-close-comment .secondary-button{justify-self:start}.installer-task-footer{border-top:1px solid #dfe4eb;margin-top:16px;padding-top:14px}.detail-actions{align-items:center;gap:8px;margin-top:14px;display:flex}.detail-actions.wrap{flex-wrap:wrap}.primary-button,.secondary-button,.danger-button{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 12px;font-weight:800;display:inline-flex}.primary-button{color:#fff;background:#0f766e;border:1px solid #0f766e}.secondary-button{color:#172033;background:#fff;border:1px solid #d4d9e2}.danger-button{color:#9f1239;background:#fff1f2;border:1px solid #fecaca}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled{cursor:not-allowed;opacity:.45}.primary-button.full{width:100%}.file-count{color:#64748b;margin-left:auto}.task-form{gap:10px;display:grid}.field-stack{gap:6px;display:grid}.task-action-box,.client-phone-matches{border-block:1px solid var(--accent);gap:10px;min-width:0;padding:12px 0;display:grid}.client-match-list{max-height:240px;display:grid;overflow:auto}.client-match-option{border:0;border-bottom:1px solid var(--line);width:100%;min-width:0;color:var(--ink);text-align:left;background:0 0;align-items:flex-start;gap:10px;padding:10px 0;display:flex}.client-match-option>span:first-of-type{overflow-wrap:anywhere;flex:1;gap:4px;min-width:0;display:grid}.client-match-option>svg{flex-shrink:0}.client-match-option>span:last-child{color:var(--brand);font-size:13px}.client-match-option:hover{background:var(--soft)}.client-phone-matches .secondary-button{white-space:normal}.client-picker{gap:8px;display:grid}.task-action-box small{color:#64748b;font-size:12px}.client-picker-results{gap:6px;display:grid}.client-picker-results button{color:#172033;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:9px 10px;display:grid}.client-picker-results button:hover{background:#f0fdfa;border-color:#0f766e}.client-picker-results span{color:#64748b;font-size:12px}.compact-action{justify-self:start}.form-label{color:#64748b;text-transform:uppercase;font-size:12px;font-weight:800}.form-title{justify-content:space-between;margin-bottom:2px}.form-title>div{align-items:center;gap:8px;display:flex}.time-inputs{grid-template-columns:1fr 1fr;gap:8px;display:grid}.checks{grid-template-columns:1fr 1fr;gap:7px;display:grid}.checks label{color:#334155;align-items:center;gap:8px;min-height:32px;display:flex}.textarea{resize:vertical;min-height:72px}.form-error,.alert{color:#9f1239;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;padding:10px 12px}.toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.calendar-date-navigation{background:#fff;border:1px solid #d4d9e2;border-radius:8px;grid-template-columns:42px minmax(158px,1fr) 42px;min-height:40px;display:grid;overflow:hidden}.calendar-date-navigation:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.calendar-date-navigation .date-input{min-width:0;box-shadow:none;text-align:center;border:0;border-left:1px solid #d4d9e2;border-right:1px solid #d4d9e2;border-radius:0}.calendar-date-navigation .date-input:focus{box-shadow:none;border-color:#d4d9e2}.calendar-date-step{color:#334155;background:#fff;border:0;place-items:center;min-width:42px;min-height:40px;display:grid}.calendar-date-step:hover{color:#0f766e;background:#f1f5f9}.calendar-date-step:active{background:#e2e8f0}.calendar-header{align-items:flex-start}.create-task-button{min-width:156px}.select.compact{width:auto;min-width:190px}.segmented{background:#fff;border:1px solid #d4d9e2;border-radius:8px;grid-template-columns:repeat(3,1fr);min-height:40px;display:inline-grid;overflow:hidden}.segmented button{color:#475569;background:0 0;border:0;border-right:1px solid #d4d9e2;min-width:74px;font-weight:700}.segmented button:last-child{border-right:0}.segmented button.active{color:#fff;background:#0f766e}.interface-segment{grid-template-columns:repeat(2,1fr)}.timeline-group{gap:8px;display:grid}.timeline-group+.timeline-group{border-top:1px solid #e2e8f0;padding-top:12px}.timeline-group-title{color:#172033;justify-content:space-between;align-items:center;gap:10px;min-height:34px;display:flex}.timeline-group-title span{color:#64748b;font-size:13px;font-weight:700}.timeline-group-list{gap:8px;display:grid}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.month-weekday{color:#64748b;text-transform:uppercase;place-items:center;min-height:28px;font-size:12px;font-weight:800;display:grid}.month-cell{text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-content:start;gap:6px;min-height:92px;padding:10px;display:grid;position:relative}.month-cell.selected{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e21}.month-cell-muted{color:#94a3b8;background:#f8fafc;border-color:#edf2f7}.month-cell-muted strong{color:#94a3b8}.month-cell-muted .month-task-chip,.month-cell-muted .dayoff-badge{opacity:.72}.month-cell:hover,.year-cell:hover{border-color:#0f766e}.month-task-list{overscroll-behavior:contain;scrollbar-width:none;gap:4px;max-height:64px;padding-right:2px;display:grid;overflow-y:auto}.month-task-chip{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:5px;min-width:0;min-height:24px;padding:3px 5px;font-size:11px;font-weight:700;display:grid}.month-cell:hover .month-task-list,.month-cell:focus-visible .month-task-list{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.month-task-list::-webkit-scrollbar{width:4px}.month-task-list::-webkit-scrollbar-track{background:0 0}.month-task-list::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}.month-cell:hover .month-task-list::-webkit-scrollbar-thumb{background:#cbd5e1}.month-cell:focus-visible .month-task-list::-webkit-scrollbar-thumb{background:#cbd5e1}.month-task-chip i{border-radius:999px;width:7px;height:7px}.month-task-chip b{color:#172033;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.month-task-count{color:#0369a1;text-align:center;font-variant-numeric:tabular-nums;background:#e0f2fe;border-radius:999px;min-width:20px;padding:1px 5px;font-size:10px;line-height:1.4}.month-more{color:#0f766e;background:#ecfdf5;border-radius:7px;align-items:center;min-height:22px;padding:0 6px;font-size:11px;font-weight:800;display:inline-flex}.busy-dot{color:#991b1b;background:#fee2e2;border-radius:999px;place-items:center;width:28px;height:28px;font-size:12px;font-weight:800;display:inline-grid}.dayoff-badge{color:#475569;background:#e2e8f0;border-radius:6px;align-items:center;min-height:22px;padding:0 6px;font-size:11px;display:inline-flex}.year-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.year-cell{text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-content:start;gap:8px;min-height:130px;padding:12px;display:grid}.year-cell span{color:#64748b}.year-load-summary{gap:6px;display:grid}.year-role-summary{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:6px;display:grid}.year-role-summary>small{color:#64748b;padding-top:3px;font-size:9px;font-weight:800}.year-person-chips{flex-wrap:wrap;gap:4px;display:flex}.year-person-chip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;grid-template-columns:8px auto;place-content:center;align-items:center;gap:4px;min-width:30px;min-height:21px;padding:1px 6px;display:inline-grid}.year-person-chip i{border-radius:999px;width:8px;height:8px}.year-person-chip b{color:#172033;font-variant-numeric:tabular-nums;font-size:10px}.file-list{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:7px;margin-top:12px;padding:10px;display:grid}.file-list span{color:#475569;font-size:13px}.task-file-list.empty{background:0 0;border:0;padding:0}.file-link{color:#0f766e;text-align:left;background:#fff;border:1px solid #d4d9e2;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;min-width:0;min-height:34px;padding:0 10px;font-weight:800;display:inline-flex}.file-link span{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-preview-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:56px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-width:0;padding:6px;display:grid}.file-preview-thumb{color:#64748b;background:#f8fafc;border:1px solid #d4d9e2;border-radius:8px;place-items:center;width:52px;height:42px;padding:0;display:grid;overflow:hidden}.file-preview-thumb img{object-fit:cover;width:100%;height:100%;display:block}.file-preview-icon{pointer-events:none}.file-preview-name{color:#172033;text-align:left;background:0 0;border:0;gap:2px;min-width:0;padding:0;display:grid}.file-preview-name strong,.file-preview-name span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.file-preview-name span{color:#64748b;font-size:12px}.employee-card-files{margin-top:0}.employee-file-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.upload-button,.secondary-link{color:#172033;background:#fff;border:1px solid #d4d9e2;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 11px;font-weight:800;text-decoration:none;display:inline-flex}.upload-button input,.secondary-link input{display:none}.reports-panel{gap:12px;display:grid}.reports-head{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.reports-panel h2{margin:0;font-size:18px}.reports-head span{color:#64748b;font-size:13px}.report-period{grid-template-columns:repeat(4,1fr);min-width:300px}.report-period button{min-width:0;padding-inline:10px}.report-date-fields{grid-template-columns:repeat(2,minmax(180px,240px));align-items:end;gap:10px;display:grid}.report-date-fields-single{grid-template-columns:minmax(180px,240px)}.report-loading{color:#64748b;min-height:22px;font-size:13px}.report-summary{gap:10px;max-height:430px;padding-right:4px;display:grid;overflow:auto}.report-total{grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:7px;display:inline-grid}.report-total strong{color:#0f766e;font-size:28px;line-height:1}.report-counts,.report-people{color:#475569;gap:7px;font-size:13px;display:grid}.report-people>strong{color:#172033;font-size:14px}.report-person{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:minmax(110px,1fr) minmax(0,1.4fr) auto;align-items:start;gap:8px;padding:8px;display:grid}.report-person span{color:#172033;font-weight:800}.report-person small{color:#64748b;line-height:1.35}.report-person b{color:#0f766e;white-space:nowrap}.report-actions{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.report-actions button:disabled{cursor:not-allowed;opacity:.5}.calendar-dayoff-date{color:#172033;background:#f8fafc;border:1px solid #dbe3ee;border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 11px;display:flex}.calendar-dayoff-date svg{color:#0f766e}.dayoff-check-list{gap:7px;max-height:260px;display:grid;overflow:auto}.dayoff-check-row{background:#fff;border:1px solid #dbe3ee;border-radius:8px;grid-template-columns:auto 14px minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:0 10px;display:grid}.dayoff-check-row input{accent-color:#0f766e;width:18px;height:18px}.dayoff-check-row strong{color:#172033;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.employees-layout{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:18px;display:grid}.clients-layout{grid-template-columns:minmax(0,1fr) 410px;align-items:start;gap:18px;display:grid}.stack-form{gap:10px;display:grid}.client-item.selectable{text-align:left;background:#fff;width:100%}.client-item.selected{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.client-list-entry{gap:10px;min-width:0;display:grid}.client-inline-detail{min-width:0;animation:item-enter var(--motion-base) var(--motion-ease) both;border-left:3px solid #0f766e;padding-left:10px}.client-inline-detail .client-detail-panel{box-shadow:0 8px 24px #0f172a14}.client-load-more{justify-content:center;width:100%;min-height:44px}.inline-status{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin:-4px 0 14px;padding:9px 11px;font-size:13px;font-weight:700}.locked-line{color:#9f1239}.inline-icon{color:#9f1239;vertical-align:middle;background:0 0;border:0;border-radius:6px;place-items:center;width:24px;height:24px;margin-left:6px;display:inline-grid}.task-row:disabled{cursor:not-allowed}.chat-list,.file-folder-list{gap:12px;display:grid}.chat-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;display:grid}.chat-panel{grid-template-rows:auto minmax(320px,1fr) auto;gap:12px;min-height:calc(100dvh - 132px);display:grid}.chat-thread{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-content:start;gap:10px;min-height:360px;max-height:min(620px,100dvh - 300px);padding:12px;display:grid;overflow:auto}.chat-message,.file-folder{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.chat-message{width:min(680px,88%)}.chat-message.own{background:#ecfdf5;border-color:#99f6e4;justify-self:end}.chat-message.own>div{text-align:right;flex-direction:row-reverse}.chat-message>div,.file-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-message span,.file-row span{color:#64748b;font-size:13px}.chat-message p{color:#334155;overflow-wrap:anywhere;margin:8px 0 0}.chat-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.chat-form .textarea{min-height:54px;max-height:140px}.chat-send{min-width:132px}.chat-error{grid-column:1/-1}.empty-state.compact{min-height:130px}.file-folder h3{margin:0 0 10px;font-size:16px}.file-folder.address-file-folder{padding:0;overflow:hidden}.file-folder-header{color:#172033;text-align:left;background:#fff;border:0;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:10px;width:100%;min-height:68px;padding:12px 14px;display:grid}.file-folder-header:hover{background:#f8fafc}.address-file-folder.open .file-folder-header{background:#f0fdfa}.file-folder-icon{color:#0f766e;background:#ccfbf1;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.file-folder-heading{gap:4px;min-width:0;display:grid}.file-folder-heading strong,.file-folder-heading small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-folder-heading small{color:#64748b;font-size:12px}.file-folder-content{animation:item-enter var(--motion-fast) var(--motion-ease) both;border-top:1px solid #dfe4eb;padding:0 14px 6px}.file-folder-content .file-row:first-child{border-top:0}.file-address-search{min-width:min(300px,100%)}.file-row{border-top:1px solid #edf2f7;justify-content:flex-start;min-height:52px;padding:8px 0}.file-row>div{flex:1;gap:3px;min-width:0;display:grid}.file-row-action{flex:none;min-height:34px;padding:0 10px}.file-row strong,.file-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.danger-icon{color:#9f1239;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.light-icon{color:#172033;background:#fff;border:1px solid #d4d9e2;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.file-upload-toolbar{align-items:stretch}.alert{margin-bottom:16px}.loading,.empty-state{color:#64748b;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;min-height:160px;display:grid}.notifications{gap:10px;display:grid}.notification{background:#eff6ff;border-left:3px solid #2563eb;border-radius:8px;gap:3px;padding:9px 10px;display:grid}.notification span,.muted-text{color:#64748b}.search-box{background:#fff;border:1px solid #d4d9e2;border-radius:8px;align-items:center;gap:8px;width:min(360px,100%);min-height:40px;padding:0 10px;display:flex}.search-box input{border:0;outline:none;width:100%;min-width:0}.client-list,.employee-grid{gap:10px;display:grid}.client-item,.employee-item{border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:10px;min-height:68px;padding:12px;display:grid}.client-item{grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.2fr);min-width:0}.client-item>*{overflow-wrap:anywhere;min-width:0}.employee-item{grid-template-columns:minmax(0,1fr) minmax(150px,auto) auto auto;padding:6px}.employee-item.selected{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.employee-main-button{width:100%;min-height:56px;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:14px minmax(0,1fr) 72px;align-items:center;gap:10px;padding:6px;display:grid}.employee-item.selected .employee-main-button{background:#f0fdfa}.employee-color{border-radius:6px;width:14px;height:42px}.employee-main-button>div:not(.employee-count){gap:3px;min-width:0;display:grid}.employee-count{color:#64748b;justify-content:flex-end}.employee-phone-link{color:#0f766e;white-space:nowrap;background:#fff;border:1px solid #d4d9e2;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 10px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.employee-toolbar{align-items:stretch}.workspace>.calendar-layout,.workspace>.clients-layout,.workspace>.chat-layout,.workspace>.employees-layout,.workspace>.main-panel.wide{animation:view-enter var(--motion-base) var(--motion-ease) both}.task-row,.client-item,.employee-item,.chat-message,.file-folder,.notification{animation:item-enter var(--motion-base) var(--motion-ease) both}@keyframes view-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes item-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-fade{0%{opacity:0}to{opacity:1}}@keyframes modal-rise{0%{opacity:0;transform:translateY(14px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}@media (width<=620px),(hover:none) and (pointer:coarse),(device-width<=620px){.workspace>.calendar-layout,.workspace>.clients-layout,.workspace>.chat-layout,.workspace>.employees-layout,.workspace>.main-panel.wide,.task-row,.client-item,.employee-item,.chat-message,.file-folder,.notification{animation:none}}@media (width<=1120px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:10;grid-template-columns:minmax(170px,1fr) minmax(220px,1fr);align-items:center;padding:14px;display:grid;position:sticky;top:0}.nav-list{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.sidebar-note{display:none}.calendar-layout,.chat-layout{grid-template-columns:1fr}}@media (width<=720px){.workspace{padding:14px}.sidebar,.nav-list{grid-template-columns:1fr}.topbar{align-items:flex-start}.panel-header,.detail-title,.topbar{flex-direction:column}.task-row{grid-template-rows:auto auto auto;grid-template-columns:10px minmax(0,1fr);align-items:start;gap:6px 10px;min-height:86px;padding:8px 10px 8px 0}.task-color{grid-row:1/4}.task-time,.task-main,.status{grid-column:2}.task-time{grid-row:1}.task-main{grid-row:2}.task-main strong,.task-main small{white-space:normal}.status{grid-row:3;width:100%}.meta-grid,.time-inputs,.checks,.client-item,.employees-layout,.clients-layout,.year-grid{grid-template-columns:1fr}.toolbar{justify-content:stretch;width:100%}.toolbar>*,.segmented{width:100%}}@media (width<=1120px){.workspace{padding-bottom:28px}.topbar,.panel-header{align-items:flex-start}.side-panel{background:0 0;border:0;padding:0}.main-panel,.main-panel.wide{max-width:none}.employees-layout,.clients-layout{grid-template-columns:1fr}}@media (width<=820px){body{overflow-x:hidden}.workspace{padding:16px}.main-panel{min-height:auto}.main-panel,.detail-panel,.task-form,.notifications,.reports-panel,.chat-message,.file-folder{padding:14px}.topbar{gap:12px;min-height:0}.topbar h1{font-size:22px}.topbar-actions{justify-content:flex-start;width:100%}.session-pill{max-width:100%}.calendar-layout,.calendar-support-grid,.calendar-tools-grid,.employees-layout,.clients-layout,.chat-layout{gap:14px}.calendar-detail-area{max-width:none}.calendar-tools-title{flex-direction:column;align-items:flex-start;gap:4px}.panel-header{gap:12px}.toolbar,.file-upload-toolbar{justify-content:stretch;width:100%}.toolbar>*,.file-upload-toolbar>*,.select.compact,.search-box{width:100%}.select,.input,.textarea,.date-input,.primary-button,.secondary-button,.danger-button,.topbar-back,.upload-button,.secondary-link,.calendar-date-navigation,.calendar-date-step{min-height:44px}.detail-actions{align-items:stretch}.detail-actions .primary-button,.detail-actions .secondary-button,.detail-actions .danger-button{white-space:normal;text-align:center;flex:calc(50% - 8px);min-width:138px}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.month-cell{gap:4px;min-height:82px;padding:7px 5px}.month-cell strong{font-size:13px}.month-task-list{flex-wrap:wrap;align-content:flex-start;gap:5px;max-height:45px;display:flex;overflow:hidden}.month-task-chip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;grid-template-columns:7px auto;align-items:center;gap:4px;width:auto;min-width:28px;height:18px;min-height:18px;padding:2px 4px;font-size:9px;display:inline-grid}.month-task-chip i{width:7px;height:7px}.month-task-chip b{display:none}.month-task-count{place-items:center;min-width:14px;padding:0 3px;font-size:9px;line-height:1.2;display:inline-grid}.dayoff-badge{color:#475569;text-overflow:ellipsis;white-space:nowrap;background:#e2e8f0;border-radius:6px;justify-content:center;width:100%;min-width:0;height:auto;min-height:18px;padding:0 3px;font-size:10px;overflow:hidden}.client-item{grid-template-columns:1fr}.client-item strong,.client-item small,.client-item span,.employee-item strong,.employee-item small,.file-row strong,.file-row span{text-overflow:clip;white-space:normal;overflow:visible}.employee-item{grid-template-columns:minmax(0,1fr) auto auto;align-items:start}.employee-phone-link{grid-column:1/-1;justify-content:flex-start}.employee-main-button{grid-template-columns:14px minmax(0,1fr);align-items:start}.employee-color{grid-row:1/3;height:100%;min-height:54px}.employee-count{grid-column:2/-1;justify-content:flex-start}.file-row{align-items:flex-start}.file-row .danger-icon{flex:none}.chat-message>div{align-items:flex-start}.chat-panel{min-height:auto}.chat-thread{max-height:none}.chat-form{grid-template-columns:1fr}.chat-message{width:min(100%,680px)}}@media (width>=621px) and (width<=1120px){.app-shell{grid-template-columns:96px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{z-index:20;flex-direction:column;align-self:start;gap:14px;min-height:100dvh;max-height:100dvh;padding:14px 10px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{text-align:center;flex-direction:column;justify-content:center;gap:7px}.brand-logo{width:42px;height:42px}.brand-title{font-size:13px;line-height:1.1}.brand-subtitle,.sidebar-user,.sidebar-note,.sidebar .field-label{display:none}.nav-list{grid-column:auto;grid-template-columns:1fr;gap:7px;display:grid}.nav-item{text-align:center;flex-direction:column;justify-content:center;gap:5px;width:100%;min-height:62px;padding:8px 4px;font-size:11px;line-height:1.1}.nav-item svg{width:19px;height:19px}.nav-item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.logout-button{flex-direction:column;gap:5px;min-height:56px;margin-top:auto;padding:8px 4px;font-size:11px;line-height:1.1}.workspace{padding:18px}.topbar-actions .session-pill{display:none}}@media (width<=620px),(device-width<=620px){.topbar-actions{display:none}}.audit-page{background:#fff;border:1px solid #dbe1ea;border-radius:8px;gap:14px;padding:18px;display:grid}.audit-heading,.audit-heading>div,.audit-event-title,.audit-event-meta{align-items:center;display:flex}.audit-heading{justify-content:space-between;gap:16px}.audit-heading>div{gap:10px;min-width:0}.audit-heading h2,.audit-heading p,.audit-details{margin:0}.audit-heading p{color:#64748b;font-size:13px}.audit-heading-icon,.audit-event-icon{border-radius:7px;flex:none;place-items:center;display:grid}.audit-heading-icon{color:#0f766e;background:#dff5ef;width:38px;height:38px}.audit-filters{border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(180px,1.4fr) minmax(180px,1.2fr) minmax(145px,.8fr) minmax(145px,.8fr) auto;align-items:end;gap:10px;padding:14px 0;display:grid}.audit-filters label{color:#64748b;gap:5px;font-size:12px;font-weight:700;display:grid}.audit-apply{min-height:44px}.audit-list{display:grid}.audit-row{border-bottom:1px solid #e2e8f0;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:11px 2px;display:grid}.audit-row:last-child{border-bottom:0}.audit-event-icon{color:#0f766e;background:#e7f6f2;width:32px;height:32px}.audit-event-icon.warning{color:#9a5d00;background:#fff4dc}.audit-event-icon.danger{color:#b42335;background:#ffe8e8}.audit-event-main{gap:4px;min-width:0;display:grid}.audit-event-title{justify-content:space-between;gap:12px}.audit-event-title time,.audit-event-meta,.audit-details{color:#64748b;font-size:12px}.audit-event-title time{white-space:nowrap}.audit-event-meta{flex-wrap:wrap;gap:4px 12px}.audit-details{overflow-wrap:anywhere}@media (width<=980px){.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-apply{width:100%}}@media (width<=620px),(device-width<=620px){.audit-page{padding:12px}.audit-filters{grid-template-columns:minmax(0,1fr)}.audit-event-title{flex-direction:column;align-items:flex-start;gap:2px}.app-shell{min-height:100dvh;padding-bottom:calc(68px + env(safe-area-inset-bottom));display:block}.sidebar{z-index:auto;background:0 0;height:0;min-height:0;padding:0;display:block;position:static;overflow:visible}.sidebar>.brand,.logout-button{display:none}.mobile-brand-inline{color:#172033;align-items:center;gap:8px;font-weight:900;display:inline-flex}.mobile-brand-inline .brand-logo{width:34px;height:34px}.mobile-brand-inline span{line-height:1}.topbar{align-items:flex-start}.topbar-copy{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;display:grid}.topbar-back{white-space:nowrap;justify-self:end;min-height:40px;margin:0;padding:0 11px}.topbar-copy>h1,.topbar-copy>p{grid-column:1/-1}.sidebar-user,.desktop-preview-switch,.sidebar .field-label{display:none}.mobile-preview-switch{grid-column:1/-1;gap:8px;width:100%;margin:0;padding:10px;display:grid}.mobile-preview-switch .role-preview-segment{min-height:40px}.mobile-preview-switch .admin-preview-title{min-height:16px}.mobile-preview-switch .admin-preview-title span,.mobile-preview-switch .admin-preview-title strong{line-height:1}.mobile-preview-switch .role-preview-segment button{min-height:40px;padding:0 6px}.nav-list{z-index:40;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#111827;border-top:1px solid #34445f;gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -12px 28px #0f172a38}.nav-item{text-align:center;border-radius:8px;flex-direction:column;flex:1 1 0;justify-content:center;gap:4px;min-width:0;min-height:56px;padding:6px 4px;font-size:10.5px;line-height:1.1}.nav-item svg{width:18px;height:18px}.nav-list>.mobile-overflow-tab{display:none}.nav-list>.mobile-more-button{display:flex}.mobile-nav-backdrop{z-index:90;padding:16px 12px calc(16px + env(safe-area-inset-bottom));animation:modal-fade var(--motion-fast) var(--motion-ease) both;background:#0f172a80;align-items:flex-end;display:flex;position:fixed;inset:0}.mobile-nav-sheet{width:100%;max-height:min(76dvh,620px);animation:modal-rise var(--motion-base) var(--motion-ease) both;background:#fff;border:1px solid #dfe4eb;border-radius:8px;flex-direction:column;gap:12px;padding:14px;display:flex;overflow:hidden;box-shadow:0 20px 48px #0f172a3d}.mobile-nav-sheet-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-nav-sheet-header h2{margin:0;font-size:20px;line-height:1.2}.mobile-nav-stack{overscroll-behavior:contain;gap:6px;display:grid;overflow-y:auto}.mobile-nav-row,.mobile-nav-logout{color:#172033;text-align:left;background:#fff;border:1px solid #dfe4eb;border-radius:8px;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:50px;padding:0 14px;font-weight:800;display:grid}.mobile-nav-row.active{color:#0f766e;background:#ecfdf5;border-color:#0f766e}.mobile-nav-row>svg:last-child{color:#64748b}.mobile-nav-logout{color:#b4233d;background:#fff7f7;border-color:#fecaca;grid-template-columns:22px minmax(0,1fr)}.workspace{padding:12px}.topbar p{font-size:13px}.topbar-actions,.topbar-actions .session-pill{display:none}.topbar-actions .install-button{place-items:center;width:44px;padding:0;display:grid}.install-button .install-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.topbar-actions .icon-button{justify-self:end}.modal-backdrop{place-items:end stretch;padding:0}.task-modal{width:100%}.task-modal .task-form{max-height:92dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-bottom:0;border-left:0;border-right:0;border-radius:12px 12px 0 0}.duplicate-modal{width:100%;max-height:92dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-bottom:0;border-left:0;border-right:0;border-radius:12px 12px 0 0}.session-pill,.logout-button,.icon-button{min-height:44px}.session-pill{justify-content:center;overflow:hidden}.session-pill span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.panel-header h2,.detail-title h2,.task-form h2,.notifications h2,.reports-panel h2{font-size:17px}.detail-title{align-items:flex-start}.meta-grid,.time-inputs,.checks,.reports-head,.report-person,.report-actions{grid-template-columns:1fr}.report-period{width:100%;min-width:0}.report-date-fields,.report-date-fields-single{grid-template-columns:1fr}.task-row{min-height:96px}.task-time{font-size:15px}.month-grid{gap:4px}.month-cell{border-radius:7px;min-height:70px;padding:5px 3px}.month-task-chip{grid-template-columns:6px auto;gap:3px;width:auto;min-width:26px;height:17px;min-height:17px;padding:1px 3px}.month-task-chip i{width:6px;height:6px}.month-task-count{min-width:13px;padding:0 3px;font-size:8px;display:inline-grid}.dayoff-badge{width:100%;min-width:0;height:auto;min-height:17px;padding:0 3px;font-size:9px}.year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.year-cell{min-height:128px;padding:10px}.year-role-summary{grid-template-columns:25px minmax(0,1fr);gap:4px}.year-person-chip{min-width:27px;min-height:20px;padding:1px 5px}.file-list{padding:9px}.file-list span{overflow-wrap:anywhere}.file-preview-item{grid-template-columns:50px minmax(0,1fr) auto}.file-preview-thumb{width:46px;height:38px}.file-preview-item .file-row-action{grid-column:2/-1;justify-self:stretch}.file-preview-item .danger-icon{grid-area:1/3}.chat-message>div,.file-row{gap:9px}.chat-side{display:none}}@media (width<=420px),(device-width<=420px){.workspace{padding:10px}.main-panel,.detail-panel,.task-form,.notifications,.reports-panel,.chat-message,.file-folder{padding:12px}.topbar-actions{grid-template-columns:1fr auto}.topbar-actions .secondary-button{grid-column:1/-1}.detail-actions .primary-button,.detail-actions .secondary-button,.detail-actions .danger-button{flex-basis:100%}.month-cell{min-height:64px}.month-task-list{max-height:38px}.month-task-chip{width:auto;min-width:24px;height:16px;min-height:16px}.month-task-count{min-width:12px;padding:0 2px;font-size:8px;display:inline-grid}.employee-item{grid-template-columns:minmax(0,1fr) auto}.employee-phone-link{grid-column:1/-1}.employee-item .danger-icon{grid-column:2}}@media (width<=620px),(device-width<=620px){.client-create-modal{width:100%;max-height:92dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-bottom:0;border-left:0;border-right:0;border-radius:8px 8px 0 0}.client-inline-detail{border-left:0;padding-left:0}.client-inline-detail .client-detail-panel{box-shadow:none;border-color:#99f6e4}.post-close-comment .secondary-button{width:100%}.file-upload-toolbar .select,.file-address-search{width:100%;min-width:0}.file-folder-header{grid-template-columns:34px minmax(0,1fr) 20px;padding:11px 12px}.file-folder-icon{width:34px;height:34px}.file-folder-content{padding:0 12px 6px}.address-file-folder .file-row{grid-template-columns:50px minmax(0,1fr) 36px;align-items:start;display:grid}.address-file-folder .file-row-action{grid-column:2/-1;justify-content:center;width:100%}.address-file-folder .danger-icon{grid-area:1/3}}.marketing-page{background:#fff;border:1px solid #dfe4eb;border-radius:8px;gap:18px;min-width:0;padding:18px;display:grid}.marketing-head,.marketing-section-head,.marketing-detail-head,.marketing-form-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.marketing-head h2,.marketing-section-head h3,.marketing-detail-head h3{letter-spacing:0;margin:0}.marketing-head>div:first-child{align-items:center;gap:12px;display:flex}.marketing-transport-state{color:#92400e;background:#fffbeb;border:1px solid #fbbf24;border-radius:8px;align-items:center;gap:6px;min-height:28px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.marketing-metrics{grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;display:grid}.marketing-metrics>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:74px;padding:12px;display:grid}.marketing-metrics svg{color:#0f766e}.marketing-metrics span{color:#64748b;font-size:13px}.marketing-metrics strong{font-size:23px;line-height:1}.marketing-tabs{width:min(480px,100%)}.marketing-section{border-top:1px solid #e2e8f0;gap:14px;min-width:0;padding-top:16px;display:grid}.marketing-form{background:#f8fafc;border-top:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.marketing-form label{gap:6px;min-width:0;display:grid}.marketing-form label>span{color:#475569;font-size:12px;font-weight:800}.marketing-form input:not([type=checkbox]),.marketing-form select,.marketing-form textarea{color:#172033;background:#fff;border:1px solid #d4d9e2;border-radius:8px;outline:none;width:100%;min-height:40px;padding:9px 11px}.marketing-form textarea{resize:vertical}.marketing-form input:focus,.marketing-form select:focus,.marketing-form textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.marketing-form-wide,.marketing-form-actions{grid-column:1/-1}.marketing-form-actions>span{color:#64748b;font-size:13px;font-weight:700}.marketing-table-wrap{border:1px solid #e2e8f0;border-radius:8px;min-width:0;overflow:auto}.marketing-table-wrap.compact{max-height:420px}.marketing-table{border-collapse:collapse;width:100%;min-width:760px;font-size:13px}.marketing-table th,.marketing-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;min-height:48px;padding:10px 12px}.marketing-table th{z-index:1;color:#64748b;text-transform:uppercase;background:#f8fafc;font-size:11px;position:sticky;top:0}.marketing-table tbody tr:last-child td{border-bottom:0}.marketing-table tbody tr.selected{background:#f0fdfa}.marketing-link{color:#0f766e;text-align:left;background:0 0;border:0;padding:0;font-weight:800}.marketing-row-actions{white-space:nowrap;justify-content:flex-end;gap:7px;display:flex}.marketing-row-actions .primary-button,.marketing-row-actions .secondary-button{min-height:32px;padding:0 9px;font-size:12px}.marketing-status{color:#475569;white-space:nowrap;background:#e2e8f0;border-radius:8px;align-items:center;min-height:26px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.marketing-status.status-prepared{color:#1d4ed8;background:#dbeafe}.marketing-status.status-approved,.marketing-status.status-completed{color:#0f766e;background:#ccfbf1}.marketing-detail{border-top:2px solid #0f766e;gap:12px;min-width:0;padding-top:16px;display:grid}.marketing-detail-head span:not(.marketing-status){color:#64748b;font-size:13px}.marketing-detail-meta{color:#64748b;flex-wrap:wrap;align-items:center;gap:16px;font-size:13px;display:flex}.marketing-detail-meta strong{color:#172033}.marketing-message-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;border-left:3px solid #94a3b8;padding:12px 14px}.marketing-list{display:grid}.marketing-list>div:not(.empty-state){border-bottom:1px solid #e2e8f0;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:9px 4px;display:grid}.marketing-list>div:not(.empty-state):last-child{border-bottom:0}.marketing-list svg{color:#0f766e}.marketing-list span{gap:2px;min-width:0;display:grid}.marketing-list small{color:#64748b;overflow-wrap:anywhere}.marketing-list b{color:#64748b;font-size:13px}.marketing-list b.active{color:#0f766e}.marketing-client-picker{background:#fff;border:1px solid #d4d9e2;border-radius:8px;max-height:320px;overflow:auto}.marketing-client-picker label{cursor:pointer;border-bottom:1px solid #e2e8f0;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;min-height:48px;padding:7px 10px;display:grid}.marketing-client-picker label:last-child{border-bottom:0}.marketing-client-picker label>span{color:#172033;font-size:13px;display:grid}.marketing-client-picker small{color:#64748b;font-weight:400}@media (width<=980px){.marketing-metrics{grid-template-columns:repeat(2,minmax(140px,1fr))}}@media (width<=620px),(device-width<=620px){.marketing-page{padding:12px}.marketing-head,.marketing-section-head,.marketing-detail-head,.marketing-form-actions{flex-direction:column;align-items:stretch}.marketing-head>div:first-child{flex-direction:column;align-items:flex-start}.marketing-head .icon-button{align-self:flex-end;margin-top:-54px}.marketing-metrics,.marketing-form{grid-template-columns:minmax(0,1fr)}.marketing-form-wide,.marketing-form-actions{grid-column:1}.marketing-section-head .primary-button,.marketing-form-actions .primary-button{width:100%}}
