.dark .workspace.is-authenticated{--night-page:#141a23;--night-panel:#1d2531;--night-raised:#273242;--night-line:#414e60;--night-text:#e6ebf2;--night-muted:#b6c2d2;--night-accent:#f2a0ba;--ui-paper:var(--night-panel);--ui-ink:var(--night-text);--ui-muted:var(--night-muted);--ui-line:var(--night-line);--ui-soft:var(--night-raised);background:var(--night-page);color:var(--night-text)}.dark body:has(.workspace.is-authenticated){background:#141a23}.dark .workspace.is-authenticated>.content{background:var(--night-page)}.dark .workspace.is-authenticated .topbar{background:var(--night-panel)!important;border-color:var(--night-line)!important}.dark .workspace.is-authenticated :is(.panel,.customers-panel,.members-directory){background:var(--night-panel)!important;border-color:var(--night-line)!important}.dark .workspace.is-authenticated :is(.heading p,.customers-heading p,.customers-toolbar-meta,.customers-legal,.settings-hint){color:var(--night-muted)!important}.dark .workspace.is-authenticated :is(.secondary,.icon-button){background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}.dark .workspace.is-authenticated .primary{background:#ad2855!important;color:#fff!important;border-color:#c54770!important}.dark .workspace.is-authenticated .primary:hover{background:#c03262!important}.dark .workspace.is-authenticated :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){color:var(--night-text);border-color:var(--night-line);caret-color:var(--night-accent)}.dark .workspace.is-authenticated :is(input,textarea)::placeholder{color:var(--night-muted);opacity:1}.dark .workspace.is-authenticated [role=tab]{color:var(--night-muted)!important}.dark .workspace.is-authenticated [role=tab][aria-selected=true]{background:#493043!important;color:#ffd1df!important}.dark .workspace.is-authenticated :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--night-accent);outline-offset:2px}.dark .workspace .customers-compact{--customers-muted:var(--night-muted);--customers-tint:var(--night-raised)}.dark .workspace .customers-compact .customers-toolbar{background:var(--night-panel)}.dark .workspace .customers-compact :is(.customers-search,.customers-role-filter select){background:#141c27!important;border-color:#4b596d!important;color:var(--night-text)!important}.dark .workspace .customers-compact .customers-table th{background:#2a3545!important;color:#c9d3e0!important;border-color:var(--night-line)}.dark .workspace .customers-compact .customers-table tbody tr td{background:var(--night-panel)!important;color:var(--night-text);border-color:#364355}.dark .workspace .customers-compact .customers-table tbody tr:nth-child(2n) td{background:#222c3a!important}.dark .workspace .customers-compact .customers-table tbody tr:hover td{background:#2e3b4d!important}.dark .workspace .customers-compact .customers-name{color:#edf1f7}.dark .workspace .customers-compact :is(.customers-legal,.customers-inn,.customers-inn span){color:#c1ccda!important}.dark .workspace .customers-compact .customers-roles span{background:#334154;color:#dce5f0}.dark .designed-form{--form-paper:#1d2531;--form-soft:#141c27;--form-ink:#e6ebf2;--form-muted:#b6c2d2;--form-line:#414e60;--form-accent:#f2a0ba}.dark .designed-form :is(input,textarea)::placeholder{color:#b6c2d2;opacity:1}.dark .designed-form .primary{background:#ad2855!important;color:#fff!important;border-color:#c54770!important}.dark .designed-form :is(input,select,textarea):focus-visible{outline-color:#f2a0ba}.dark .finance-page :is(.contract-summary-card,.contract-requisites-card,.finance-party-options){background:#1d2531;color:#e6ebf2;border-color:#414e60}.dark .finance-page .contract-summary-card :is(h2,strong,dd){color:#e6ebf2}.dark .finance-page .contract-summary-card :is(small,dt,p:not(.contract-summary-note)){color:#b6c2d2}.dark .finance-page .contract-summary-card .contract-summary-note{color:#e9bc80}.dark .finance-page .contract-summary-total{border-color:#414e60}.dark .finance-page .contract-rate-calculator{background:#273242;color:#e6ebf2;border-color:#414e60}.finance-page nav.finance-tabs{width:fit-content;max-width:100%;padding:4px;gap:4px;align-items:center;border-radius:9px}.finance-page nav.finance-tabs button,.finance-page nav.finance-tabs button[aria-pressed=true]{min-height:36px;padding:8px 12px;border-radius:6px;display:inline-flex;align-items:center;gap:7px}@media(max-width:750px){.finance-page nav.finance-tabs button,.finance-page nav.finance-tabs button[aria-pressed=true]{min-height:44px}}.crew-dialog .crew-check{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:10px;width:100%;margin:0;padding:10px 6px;font-weight:400;line-height:1.4}.crew-dialog .crew-check input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;accent-color:var(--accent,#ca1452)}.crew-dialog .crew-check span{min-width:0;overflow-wrap:anywhere}.crew-members{max-height:220px;overflow-y:auto;border:1px solid var(--border,#dce1e9);border-radius:10px;padding:4px 8px}.crew-add-person{display:flex;gap:10px;align-items:flex-end;margin-top:16px}.crew-add-person label{flex:1;min-width:0}.crew-add-person button{flex-shrink:0}@media(max-width:600px){.crew-add-person{flex-direction:column;align-items:stretch}.crew-dialog .crew-check{font-size:15px}}.crew-dialog select{display:block;width:100%;padding:10px 12px;margin-top:6px;border:1px solid var(--border,#dce2ea);border-radius:10px;background:var(--background,#fff);color:inherit}.crew-headcount{border:1px solid var(--border,#dce2ea);border-radius:12px}.crew-headcount p{font-size:13px;line-height:1.5;margin-top:10px}.crew-dialog{width:calc(100vw - 32px)!important;max-width:660px!important;padding:24px!important;border-radius:20px!important}.crew-dialog .form-grid{gap:18px}.crew-dialog .form-grid>fieldset{display:grid;gap:16px;min-width:0;border:0;padding:0;margin:0}.crew-card-section{display:grid;gap:16px;padding:18px;border:1px solid var(--border,#dce2ea);border-radius:14px;background:var(--background,#fff)}.crew-card-section h3{font-size:14px;font-weight:650;letter-spacing:.01em;margin:0;color:var(--foreground,#252b36)}.crew-card-section .form-two{margin:0;gap:14px}.crew-card-section label{font-size:13px!important;line-height:1.5}.crew-card-section input:not([type=checkbox]),.crew-card-section select{min-height:44px!important;border-radius:10px!important;box-shadow:none!important}.crew-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.crew-dialog .crew-active{width:auto;padding:5px 9px;font-size:12px!important;border-radius:8px;background:color-mix(in srgb,var(--foreground,#253040) 4%,var(--background,#fff));white-space:nowrap}.crew-composition{background:color-mix(in srgb,var(--foreground,#253040) 2%,var(--background,#fff))}.crew-headcount{display:grid;gap:8px;background:var(--background,#fff);border-style:dashed;padding:16px}.crew-headcount input[type=number]{max-width:160px;font-size:24px!important;font-weight:650;text-align:center;font-variant-numeric:tabular-nums;height:54px}.crew-headcount p{margin:0;font-size:12px}.crew-dialog .crew-members{background:var(--background,#fff);max-height:190px}.crew-dialog .crew-members .crew-check{padding:9px 7px;border-bottom:1px solid var(--border,#dce2ea)}.crew-dialog .crew-members .crew-check:last-child{border:0}.crew-dialog .crew-members .crew-check:hover{background:color-mix(in srgb,var(--foreground,#253040) 3%,var(--background,#fff))}.crew-dialog h4{margin:0;font-size:13px;font-weight:600}.crew-dialog .crew-add-person{margin-top:0}.crew-dialog .form-actions{margin-top:0;padding-top:16px;border-top:1px solid var(--border,#dce2ea);gap:10px}.crew-dialog .form-actions button{min-height:42px;border-radius:10px}.crew-dialog small.muted{font-size:12px;line-height:1.6}@media(max-width:600px){.crew-dialog{padding:18px!important;border-radius:16px!important}.crew-card-section{padding:14px;gap:13px}.crew-card-section .form-two{grid-template-columns:1fr}.crew-section-heading{gap:8px}.crew-card-section input:not([type=checkbox]),.crew-card-section select{font-size:16px}.crew-dialog .form-actions>button{flex:1}.crew-headcount input[type=number]{max-width:100%}}.crews-directory{padding:24px;background:var(--background);border-color:var(--color-border,#dfe6ed)}.crew-directory-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.crew-directory-heading h3{display:flex;align-items:center;gap:10px;margin:0;font-size:20px;font-weight:650}.crew-directory-heading p{margin-top:6px;font-size:13px}.crew-total{font-size:12px;padding:3px 8px;background:var(--color-muted,#f2f5f8);border-radius:7px;color:var(--color-muted-foreground,#67768a)}.crew-heading-actions{display:flex;gap:10px;flex-wrap:wrap}.crew-directory-tools{display:flex;align-items:center;gap:16px;margin-bottom:20px}.crew-directory-tools>.input{flex:1;min-width:0;background:var(--background);color:var(--foreground);border-color:var(--color-border,#dfe6ed);font-size:14px}.crew-status-filter{display:flex;gap:3px;padding:4px;background:var(--color-muted,#f2f5f8);border-radius:10px}.crew-status-filter button{padding:8px 12px;border:0;border-radius:7px;font-size:13px;white-space:nowrap;color:var(--color-muted-foreground,#67768a);background:transparent}.crew-status-filter button[aria-pressed=true]{color:var(--foreground);background:var(--background);box-shadow:0 1px 3px #00000014}.crew-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;align-items:start}.crew-summary-card{min-width:0;border:1px solid var(--color-border,#dfe6ed);border-radius:14px;padding:20px;background:var(--background)}.crew-summary-card header{display:flex;justify-content:space-between;gap:10px}.crew-summary-title{display:flex;align-items:center;gap:10px;min-width:0}.crew-summary-title h3{font-size:16px;line-height:1.4;font-weight:650;margin:0;overflow-wrap:anywhere}.crew-monogram{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:10px;font-weight:650}.crew-monogram,.crew-state{background:var(--color-muted,#f2f5f8);color:var(--color-muted-foreground,#67768a)}.crew-state{font-size:11px;white-space:nowrap;border-radius:6px;padding:4px 7px}.crew-state.is-active{background:color-mix(in srgb,#198978 10%,var(--background));color:var(--foreground)}.crew-contact{display:grid;gap:4px;margin:20px 0;font-size:14px}.crew-contact small{font-size:12px;color:var(--color-muted-foreground,#67768a)}.crew-contact strong{font-weight:550}.crew-contact>span{color:var(--color-muted-foreground,#67768a);font-variant-numeric:tabular-nums}.crew-roster-preview{border-block:1px solid var(--color-border,#dfe6ed);padding:14px 0}.crew-roster-preview>div{display:flex;justify-content:space-between}.crew-roster-preview strong{font-weight:550}.crew-roster-preview p{margin:7px 0 0;font-size:12px}.crew-roster-preview summary{cursor:pointer;margin-top:9px;color:var(--color-muted-foreground,#67768a)}.crew-roster-preview ul{padding:0;list-style:none;margin:10px 0 0;display:grid;gap:6px}.crew-summary-card footer{margin-top:14px}.crew-summary-card footer button{width:100%;font-size:13px;min-height:38px}.crew-summary-card footer:empty{display:none}.crew-project-agreement{font-size:13px;margin-top:10px}.crew-project-agreement button{margin-top:10px}.crew-directory-empty{text-align:center;padding:36px 16px;font-size:14px}.crew-directory-empty p{margin:8px 0 16px;font-size:13px}@media(max-width:700px){.crews-directory{padding:16px}.crew-directory-heading{align-items:stretch;flex-direction:column;gap:14px}.crew-heading-actions>button{flex:1}.crew-directory-tools{flex-direction:column;align-items:stretch;gap:10px}.crew-directory-tools>.input{font-size:16px;width:100%}.crew-status-filter button{flex:1;padding:8px}.crew-summary-card{padding:16px}.crew-directory-grid{grid-template-columns:1fr}}.crew-directory-grid{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--color-border,#dfe6ed)}.crew-summary-card{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(160px,1fr) minmax(170px,1fr) auto;align-items:start;gap:20px;width:100%;border:0;border-bottom:1px solid var(--color-border,#dfe6ed);border-radius:0;padding:18px 4px}.crew-summary-card header{align-items:start;flex-direction:column;gap:7px}.crew-summary-title h3{font-size:14px}.crew-monogram{flex-basis:30px;height:30px;font-size:13px;border-radius:8px}.crew-state{margin-left:40px;padding:2px 6px;font-size:10px}.crew-contact{margin:0;gap:3px;font-size:13px}.crew-contact small{font-size:11px}.crew-roster-preview{border:0;padding:0;font-size:13px}.crew-roster-preview>div{justify-content:flex-start;gap:12px}.crew-roster-preview summary{font-size:12px;margin-top:6px}.crew-summary-card footer{margin:0;align-self:center}.crew-summary-card footer button{width:auto;white-space:nowrap;font-size:12px;padding:8px 12px}.crew-project-agreement{grid-column:2/-1;grid-row:2;margin:0}@media(min-width:701px) and (max-width:1100px){.crew-summary-card{grid-template-columns:minmax(150px,1fr) minmax(120px,.8fr) minmax(135px,.8fr) auto;gap:12px}.crew-summary-card footer button{padding:8px}.crew-summary-title h3{font-size:13px}}@media(max-width:700px){.crew-summary-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;padding:16px 0}.crew-summary-card header{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.crew-state{margin:0}.crew-contact{grid-column:1}.crew-roster-preview{grid-column:2}.crew-summary-card footer{grid-column:1/-1;justify-self:stretch}.crew-summary-card footer button{width:100%}.crew-summary-title h3{font-size:14px}}.crew-dialog .crew-members .crew-check>.text-button{margin-left:auto;flex-shrink:0;font-size:12px;padding:4px 8px}.crew-dialog .form-actions>.crew-active{margin-right:auto;display:inline-flex;align-items:center;gap:8px;align-self:center;flex:0 0 auto;min-height:42px}