.crm-project-editor-dialog{border:1px solid var(--crm-border);background:var(--crm-panel-surface);width:min(740px,100vw - 32px);max-width:none;max-height:calc(100dvh - 48px);color:var(--crm-text);border-radius:20px;margin:auto;padding:0;overflow:auto;box-shadow:0 28px 100px #0008}.crm-project-editor-dialog::backdrop{-webkit-backdrop-filter:blur(9px);background:#000d}:is(.crm-app:has(.crm-project-editor-dialog[open])>.crm-topbar,.crm-app:has(.crm-project-editor-dialog[open])>.crm-dock,.crm-project-workspace:has(.crm-project-editor-dialog[open])>:not(.crm-project-editor-dialog)){filter:blur(8px)}.crm-project-editor-dialog[data-wide]{width:min(960px,100vw - 32px)}.crm-project-editor-heading{border-bottom:1px solid var(--crm-border);justify-content:space-between;align-items:flex-start;gap:20px;padding:26px 28px 22px;display:flex}.crm-project-editor-heading h2{margin:0;font-size:22px;font-weight:600}.crm-project-editor-heading p{color:var(--crm-muted);margin:7px 0 0;font-size:13px}.crm-project-editor-close{height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:0 0 44px;place-items:center;margin:-7px -9px 0 0;display:grid}.crm-project-editor-close:hover{background:var(--crm-raised)}.crm-project-editor-body{gap:22px;padding:24px 28px;display:grid}.crm-project-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.crm-project-editor-grid>.crm-project-date-field:nth-child(2) .crm-project-date-calendar{left:auto;right:0}.crm-project-editor-dialog .crm-project-date-calendar{box-sizing:border-box;width:min(330px,100vw - 80px)}.crm-project-editor-field{min-width:0;color:var(--crm-muted);flex-direction:column;gap:8px;font-size:12px;display:flex}.crm-project-editor-field input,.crm-project-editor-field select{box-sizing:border-box;border:1px solid var(--crm-border);background:var(--crm-raised);width:100%;min-width:0;height:45px;color:var(--crm-text);font:inherit;border-radius:9px;padding:0 12px;font-size:13px}.crm-project-editor-field input::placeholder{color:var(--crm-muted);opacity:.75}.crm-project-editor-field .crm-project-status-select{background:var(--crm-raised);border-radius:9px;width:100%;min-height:45px}.crm-project-contact-options{overscroll-behavior:contain;border:1px solid var(--crm-border);background:var(--crm-surface);max-height:192px;box-shadow:var(--crm-shadow);border-radius:10px;padding:4px;display:grid;overflow-y:auto}.crm-project-contact-option{min-height:44px;color:var(--crm-text);cursor:pointer;border-radius:7px;gap:3px;padding:8px 10px;display:grid}.crm-project-contact-option[data-active]{background:var(--crm-raised)}.crm-project-contact-option strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.crm-project-contact-option span,.crm-project-contact-empty{color:var(--crm-muted);font-size:12px}.crm-project-contact-empty{margin:0;padding:10px;line-height:1.5}.crm-project-editor-field [aria-invalid=true]{border-color:var(--crm-danger)}.crm-project-editor-dialog :focus-visible{outline:2px solid var(--crm-primary);outline-offset:3px}.crm-project-editor-contact{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.crm-project-editor-contact legend{margin:0 0 16px;padding:0;font-size:13px;font-weight:600}.crm-project-editor-hint,.crm-project-editor-error{font-size:11px;line-height:1.5}.crm-project-editor-error{color:var(--crm-danger)}.crm-project-editor-footer{border-top:1px solid var(--crm-border);background:var(--crm-panel-surface);z-index:2;justify-content:flex-end;gap:12px;padding:18px 28px;display:flex;position:sticky;bottom:0}.crm-call-sheet-preview{min-width:0;padding:0 16px}.crm-call-sheet-help{color:var(--crm-muted);margin:0;padding:12px 28px;font-size:12px}.crm-call-sheet-sample{color:#252525;background:#fff;border-radius:3px;margin:24px;padding:38px}.crm-call-sheet-sample>small{color:#666;letter-spacing:.1em;text-transform:uppercase;font-size:10px}.crm-call-sheet-sample h3{margin:24px 0 8px;font-size:27px}.crm-call-sheet-sample h4{margin:26px 0 12px}.crm-call-sheet-sample p{font-size:13px;line-height:1.6}.crm-call-sheet-sample dl{border-block:1px solid #ddd;grid-template-columns:160px 1fr;gap:14px;margin-block:24px;padding-block:24px;font-size:13px;display:grid}.crm-call-sheet-sample dt{color:#666}.crm-call-sheet-sample dd{margin:0}.crm-call-sheet-sample li{margin-block:10px;font-size:13px}@media (max-width:600px){.crm-project-editor-dialog{border-radius:14px;max-height:calc(100dvh - 24px)}.crm-project-editor-heading,.crm-project-editor-body{padding:20px}.crm-project-editor-grid{grid-template-columns:1fr}.crm-project-editor-grid>.crm-project-date-field:nth-child(2) .crm-project-date-calendar{left:0;right:auto}.crm-project-editor-footer{flex-wrap:wrap;padding:14px 20px}.crm-project-editor-footer .crm-button{flex:1}.crm-call-sheet-sample{margin:12px;padding:20px}.crm-call-sheet-sample dl{grid-template-columns:1fr;gap:8px}.crm-call-sheet-sample dd{margin-bottom:12px}}
.crm-project-editor-dialog.crm-project-finance-dialog{width:min(1040px,100vw - 32px)}.crm-project-finance-columns{grid-template-columns:1fr 1fr;display:grid}.crm-project-finance-payments,.crm-project-finance-calendar{min-width:0;padding:24px 28px}.crm-project-finance-payments{flex-direction:column;gap:10px;display:flex}.crm-project-finance-calendar{border-left:1px solid var(--crm-border);--crm-inline-calendar-day-size:40px}.crm-project-finance-overview{grid-template-columns:1fr 1fr;align-items:start;gap:24px;margin-bottom:8px;display:grid}.crm-project-finance-received{gap:8px;display:grid}.crm-project-finance-received>span,.crm-project-finance-received>small,.crm-project-finance-list-heading>span,.crm-project-finance-receipt-labels,.crm-project-finance-hint,.crm-project-finance-legend,.crm-project-finance-history>li>span:first-child{color:var(--crm-muted);font-size:12px}.crm-project-finance-received>strong{white-space:nowrap;font-size:24px;font-weight:500}.crm-project-finance-list-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-project-finance-list-heading>h3{margin:0;font-size:17px}.crm-project-finance-receipt-labels,.crm-project-finance-receipt{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 36px;gap:12px;display:grid}.crm-project-finance-receipts{scrollbar-gutter:stable;gap:8px;max-height:300px;display:grid;overflow-y:auto}.crm-project-finance-receipt .crm-project-editor-field>input{width:100%;min-width:0;height:38px}.crm-project-finance-date-button{border:1px solid var(--crm-border);width:100%;min-width:0;height:38px;color:var(--crm-text);background:var(--crm-raised);font:inherit;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;font-size:13px;display:flex}.crm-project-finance-date-button[aria-pressed=true]{border-color:var(--crm-warning)}.crm-project-finance-date-button[data-invalid]{border-color:var(--crm-danger)}.crm-project-finance-date-button:disabled{cursor:default;opacity:.55}.crm-project-finance-date-button:focus-visible{outline:2px solid var(--crm-warning);outline-offset:2px}.crm-project-finance-date-heading{gap:6px;margin-bottom:12px;display:grid}.crm-project-finance-date-heading p,.crm-project-finance-date-heading span{color:var(--crm-muted);margin:0;font-size:12px;line-height:1.4}.crm-project-finance-date-heading h3{margin:0;font-size:17px;line-height:1.3}.crm-project-finance-date-actions{gap:8px;padding-top:12px;display:grid}.crm-project-finance-date-actions>div{grid-template-columns:1fr 1fr;gap:10px;display:grid}.crm-project-finance-date-actions .crm-button{padding-inline:10px}.crm-project-finance-remove{width:36px;height:38px;color:var(--crm-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:grid}.crm-project-finance-remove:hover{color:var(--crm-danger);background:var(--crm-raised)}.crm-project-finance-remove:focus-visible{outline:2px solid var(--crm-text);outline-offset:2px}.crm-project-finance-hint{margin:0;line-height:1.5}.crm-project-finance-empty{color:var(--crm-muted);margin:12px 0;font-size:13px;line-height:1.5}.crm-project-finance-editor-summary{border-top:1px solid var(--crm-border);gap:6px;margin-top:2px;padding-top:14px;display:grid}.crm-project-finance-editor-summary>span,.crm-project-finance-editor-summary>p{color:var(--crm-muted);margin:0;font-size:12px;line-height:1.5}.crm-project-finance-editor-summary>strong{font-size:34px;font-weight:500}.crm-project-finance-editor-summary[data-deadline-state=attention]>p{color:var(--crm-warning)}.crm-project-finance-editor-summary[data-deadline-state=overdue]>p{color:var(--crm-danger)}.crm-project-finance-legend{flex-wrap:wrap;gap:12px 16px;padding:14px 0;font-size:10px;display:flex}.crm-project-finance-legend>span{align-items:center;gap:7px;display:inline-flex}.crm-project-finance-legend i{border:1px solid var(--crm-muted);border-radius:50%;flex-shrink:0;width:17px;height:17px;display:inline-block}.crm-project-finance-legend [data-kind=missed]{border:2px solid var(--crm-danger)}.crm-project-finance-legend [data-kind=payment]{border:2px solid var(--crm-warning)}.crm-project-finance-legend [data-kind=current]{background:var(--crm-text);border-color:var(--crm-text)}.crm-project-finance-history{border-top:1px solid var(--crm-border);gap:10px;margin:0 0 10px;padding:12px 0 0;font-size:12px;line-height:1.5;list-style:none;display:grid}.crm-project-finance-history [data-missed]{color:var(--crm-danger)}.crm-project-finance-history small{color:var(--crm-muted);font-size:10px;display:block}.crm-project-finance-calendar .crm-project-date-footer .crm-button{width:100%}@media (min-width:741px) and (max-height:850px){.crm-project-finance-dialog .crm-project-editor-heading{padding:12px 24px}.crm-project-finance-dialog .crm-project-editor-heading p{margin-top:6px}.crm-project-finance-dialog .crm-project-editor-footer{padding:12px 24px}.crm-project-finance-payments,.crm-project-finance-calendar{padding:16px 24px}.crm-project-finance-payments{gap:5px}.crm-project-finance-overview{margin-bottom:0}.crm-project-finance-received{gap:4px}.crm-project-finance-received>strong{font-size:22px}.crm-project-finance-overview input{height:38px}.crm-project-finance-receipts{gap:5px}.crm-project-finance-receipt .crm-project-editor-field>input,.crm-project-finance-date-button,.crm-project-finance-remove{height:34px}.crm-project-finance-payments>.crm-button{min-height:36px}.crm-project-finance-editor-summary{gap:4px;padding-top:10px}.crm-project-finance-editor-summary>strong{font-size:30px}.crm-project-finance-calendar{--crm-inline-calendar-day-size:32px;--crm-payment-calendar-circle:28px;padding-block:12px}.crm-project-finance-calendar .crm-project-date-footer .crm-button{min-height:32px}.crm-project-finance-calendar .crm-project-date-header{grid-template-columns:36px minmax(0,1fr) 36px}.crm-project-finance-calendar .crm-project-date-header .crm-button-square{width:36px;min-height:36px}.crm-project-finance-calendar .crm-project-date-field:has(tbody>tr:nth-child(6)){--crm-payment-calendar-circle:24px}.crm-project-finance-calendar .crm-project-date-field:has(tbody>tr:nth-child(6)) th{height:22px}.crm-project-finance-date-heading{gap:4px;margin-bottom:8px}.crm-project-finance-date-actions{gap:6px;padding-top:8px}.crm-project-finance-date-actions .crm-button{min-height:36px}.crm-project-finance-legend{gap:6px 10px;padding:6px 0}.crm-project-finance-history{margin-bottom:0;padding-top:6px;font-size:11px;line-height:1.3}.crm-project-finance-calendar>.crm-project-finance-hint{display:none}}@media (max-width:740px){.crm-project-finance-receipt .crm-project-editor-field>input,.crm-project-finance-date-button,.crm-project-finance-remove{min-height:44px}.crm-project-finance-remove{width:44px}.crm-project-finance-receipt-labels,.crm-project-finance-receipt{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 44px}.crm-project-finance-columns{grid-template-columns:1fr}.crm-project-finance-payments,.crm-project-finance-calendar{padding:20px}.crm-project-finance-calendar{border-left:0;border-top:1px solid var(--crm-border)}.crm-project-finance-receipts{scrollbar-gutter:auto;max-height:none;overflow:visible}.crm-project-finance-overview{gap:14px}.crm-project-finance-received>strong{font-size:20px}}@media (max-width:380px){.crm-project-finance-overview{grid-template-columns:1fr}.crm-project-finance-receipt-labels,.crm-project-finance-receipt{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 44px;gap:6px}.crm-project-finance-remove{width:44px}}
.crm-team-editor{min-width:0;position:relative;container-type:inline-size}.crm-team-editor-member{border-top:1px solid var(--crm-border-soft)}.crm-team-editor-row{align-items:center;gap:10px;min-width:0;min-height:56px;display:flex}.crm-team-editor-row>.crm-avatar,.crm-team-editor-option>.crm-avatar{flex:0 0 32px;width:32px;height:32px;font-size:9px}.crm-team-editor-identity{flex:1;gap:3px;min-width:0;display:grid}.crm-team-editor-identity strong,.crm-team-editor-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.crm-team-editor-identity>span{color:var(--crm-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.crm-team-shift-badge{border:1px solid var(--crm-border-soft);min-height:27px;color:var(--crm-muted);background:var(--crm-raised);white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:5px;padding-inline:8px;font-size:9px;font-weight:600;display:inline-flex}.crm-team-shift-badge[data-team-status=replacement-possible]{border-color:var(--crm-warning-border);color:var(--crm-warning);background:var(--crm-warning-surface)}.crm-team-shift-badge[data-team-status=replacement-required]{border-color:var(--crm-danger-border);color:var(--crm-danger);background:var(--crm-danger-surface)}.crm-team-editor-icon-button{width:44px;height:44px;color:var(--crm-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:0 0 44px;justify-content:center;align-items:center;padding:0;display:inline-flex}.crm-team-editor-icon-button:hover{border-color:var(--crm-border);color:var(--crm-text);background:var(--crm-raised)}.crm-team-editor button:focus-visible,.crm-team-editor input:focus-visible,.crm-team-editor select:focus-visible{outline:2px solid var(--crm-primary);outline-offset:2px}.crm-team-editor-form{border:1px solid var(--crm-border);background:var(--crm-raised);border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-block:0 12px;padding:12px;display:grid}.crm-team-editor-form>label,.crm-team-editor-field{min-width:0;color:var(--crm-muted);gap:7px;font-size:11px;display:grid}.crm-team-editor-field .crm-team-status-select{background:var(--crm-panel-surface);border-radius:7px;width:100%;min-height:44px}.crm-team-editor-form input,.crm-team-editor-form select{border:1px solid var(--crm-border);width:100%;min-width:0;min-height:44px;color:var(--crm-text);background:var(--crm-panel-surface);font:inherit;border-radius:7px;padding:9px 10px;font-size:12px}.crm-team-editor-form-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-team-editor-form-actions>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.crm-team-editor-form-hint{color:var(--crm-muted);grid-column:1/-1;margin:0;font-size:11px;line-height:1.5}.crm-team-editor-error{color:var(--crm-danger);font-size:11px;line-height:1.5}.crm-team-editor-form [aria-invalid=true]{border-color:var(--crm-danger)}.crm-team-editor[data-payments]>.crm-project-command-card-header h2{font-size:20px}.crm-team-payment-table{border-collapse:collapse;table-layout:fixed;text-align:left;width:100%;font-size:14px}.crm-team-payment-col-member{width:25%}.crm-team-payment-col-shift{width:17%}.crm-team-payment-col-money{width:11%}.crm-team-payment-col-status{width:20%}.crm-team-payment-col-action{width:5%}.crm-team-payment-table th,.crm-team-payment-table td{border-top:1px solid var(--crm-border-soft);vertical-align:middle;padding:14px 8px}.crm-team-payment-table th:first-child,.crm-team-payment-table td:first-child{padding-left:0}.crm-team-payment-table th:last-child,.crm-team-payment-table td:last-child{padding-right:0}.crm-team-payment-table thead th{color:var(--crm-muted);padding-block:15px;font-size:12px;font-weight:500}.crm-team-payment-person>div{align-items:center;gap:10px;min-width:0;display:flex}.crm-team-payment-person .crm-avatar{flex:0 0 42px;width:42px;height:42px;font-size:11px}.crm-team-payment-person strong{font-size:15px}.crm-team-payment-person .crm-team-editor-identity>span{font-size:13px;font-weight:400}.crm-team-payment-amount{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.crm-team-payment-amount[data-settled]{color:var(--crm-muted)}.crm-team-payment-table .crm-team-shift-badge{color:var(--crm-muted);white-space:normal;border-color:var(--crm-border);background:0 0;font-size:12px;line-height:1.35}.crm-team-payment-badge{border:1px solid var(--crm-border);min-height:29px;color:var(--crm-muted);white-space:normal;border-radius:999px;align-items:center;gap:5px;max-width:100%;padding:4px 8px;font-size:12px;font-weight:500;line-height:1.35;display:inline-flex}.crm-team-payment-badge .crm-icon,.crm-team-payment-table .crm-team-shift-badge .crm-icon{flex-shrink:0}.crm-team-payment-badge[data-team-payment-status=partial]{border-color:var(--crm-warning-border);color:var(--crm-warning);background:var(--crm-warning-surface)}.crm-team-payment-badge[data-team-payment-status=unset]{border-color:var(--crm-border-soft)}.crm-team-payment-actions{text-align:right}.crm-team-payment-table .crm-team-payment-edit-row>td{border:0;padding:0}.crm-team-payment-table .crm-team-editor-form{margin-block:0 16px}.crm-team-payment-table tfoot th,.crm-team-payment-table tfoot td{border-top:2px solid var(--crm-border);overflow-wrap:anywhere;padding-top:16px;font-size:14px;font-weight:600}.crm-team-payment-table tfoot .crm-team-payment-missing{color:var(--crm-muted);font-size:11px;font-weight:400}@container (min-width:801px) and (max-width:1000px){.crm-team-payment-person strong{font-size:13px}}@container (max-width:800px){.crm-team-payment-table,.crm-team-payment-table tbody,.crm-team-payment-table tfoot{display:block}.crm-team-payment-table colgroup{display:none}.crm-team-payment-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.crm-team-payment-table .crm-team-payment-row,.crm-team-payment-table tfoot tr{border-top:1px solid var(--crm-border);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px;padding-block:14px;display:grid;position:relative}.crm-team-payment-table .crm-team-payment-row>th,.crm-team-payment-table .crm-team-payment-row>td,.crm-team-payment-table tfoot th,.crm-team-payment-table tfoot td{border:0;min-width:0;padding:0}.crm-team-payment-person{grid-column:1/-1;padding-right:44px!important}.crm-team-payment-person strong{white-space:normal;overflow-wrap:anywhere}.crm-team-payment-shift,.crm-team-payment-status-cell{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;display:flex}.crm-team-payment-amount,.crm-team-payment-table tfoot td[data-label]{flex-direction:column;gap:7px;display:flex}.crm-team-payment-table [data-label]:before{color:var(--crm-muted);content:attr(data-label);font-size:10px;font-weight:400}.crm-team-payment-actions{position:absolute;top:7px;right:0}.crm-team-payment-edit-row,.crm-team-payment-edit-row>td{width:100%;display:block}.crm-team-payment-table tfoot th,.crm-team-payment-missing{grid-column:1/-1}.crm-team-payment-missing:empty{display:none}}.crm-team-editor-remove{min-height:44px;color:var(--crm-danger);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:7px;padding:8px 10px;font-size:11px;display:inline-flex}.crm-team-editor-remove:hover{background:var(--crm-danger-surface)}.crm-team-editor-add{margin-top:12px;position:relative}.crm-team-editor-add-button{border:1px solid var(--crm-border);min-height:44px;color:var(--crm-text);background:var(--crm-raised);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:11px;font-weight:600;display:inline-flex}.crm-team-editor-add-button:hover{border-color:var(--crm-muted)}.crm-team-editor-picker{z-index:20;border:1px solid var(--crm-border);background:var(--crm-panel-surface);border-radius:12px;width:min(420px,100%);padding:10px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 16px 40px #00000059}.crm-team-editor-picker-header{justify-content:space-between;align-items:center;padding-left:5px;font-size:12px;display:flex}.crm-team-editor-search{border:1px solid var(--crm-border);background:var(--crm-raised);border-radius:8px;align-items:center;gap:8px;padding-inline:12px;display:flex}.crm-team-editor-search input{width:100%;min-width:0;min-height:44px;color:var(--crm-text);font:inherit;background:0 0;border:0;font-size:12px}.crm-team-editor-options{overscroll-behavior:contain;max-height:290px;margin-top:7px;overflow-y:auto}.crm-team-editor-option{width:100%;min-width:0;min-height:60px;color:var(--crm-text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:8px;display:flex}.crm-team-editor-option:not(:disabled):hover{border-color:var(--crm-border);background:var(--crm-raised)}.crm-team-editor-option:disabled{opacity:.55;cursor:default}.crm-team-editor-option>span:not(.crm-avatar){flex:1;gap:4px;min-width:0;display:grid}.crm-team-editor-option small,.crm-team-editor-option em{color:var(--crm-muted);font-size:10px;font-style:normal}.crm-team-editor-option em{flex-shrink:0}.crm-team-editor-empty{color:var(--crm-muted);margin:0;padding:20px 10px;font-size:12px;line-height:1.5}@media (max-width:620px){.crm-team-editor-row{flex-wrap:wrap;gap:6px 8px;padding-block:9px}.crm-team-editor-row>small{order:1;margin-left:40px}.crm-team-editor-form{grid-template-columns:minmax(0,1fr)}.crm-team-editor-picker{width:100%}.crm-team-editor-option em{max-width:70px;font-size:9px}}
