.global-search{position:relative;width:min(340px,32vw)}.global-search__field{height:40px;display:flex;align-items:center;gap:9px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text-muted);padding:0 12px}.global-search__field:focus-within,.global-search__field.is-open{border-color:#0b63ce;box-shadow:0 0 0 2px #0b63ce1f}.global-search__field input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit}.global-search__popover{position:absolute;top:calc(100% + 8px);right:0;z-index:55;width:min(520px,calc(100vw - 40px));max-height:min(560px,calc(100vh - 120px));overflow-y:auto;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:0 18px 48px #0f172a29;padding:8px}.global-search__result{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-radius:8px;background:transparent;color:var(--color-text);padding:9px;text-align:left}.global-search__result:hover,.global-search__result:focus-visible{background:var(--color-surface-muted);outline:none}.global-search__icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f3f5;color:var(--color-text-muted)}.global-search__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.global-search__copy strong,.global-search__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search__copy strong{font-size:14px;font-weight:850;line-height:1.2}.global-search__copy small,.global-search__badge,.global-search__state{color:var(--color-text-muted);font-size:12px}.global-search__badge{justify-self:end;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);padding:4px 8px;font-weight:750}.global-search__state{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 10px}.global-search__state.is-error{color:#b84747}.global-search__spinner{animation:global-search-spin .8s linear infinite}@keyframes global-search-spin{to{transform:rotate(360deg)}}@media(max-width:900px){.global-search{width:min(280px,40vw)}}@media(max-width:900px),(pointer:coarse){.global-search{position:static;flex:0 0 44px;width:44px;min-width:44px}.global-search__field{width:44px;height:44px;justify-content:center;padding:0;border-radius:12px}.global-search__field input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.global-search:focus-within{position:fixed;z-index:1100;top:10px;left:10px;right:10px;width:auto;min-width:0}.global-search:focus-within .global-search__field{width:100%;justify-content:flex-start;padding:0 12px;background:var(--color-surface);box-shadow:0 16px 44px #0f172a29}.global-search:focus-within .global-search__field input{position:static;width:100%;height:auto;opacity:1;pointer-events:auto}.global-search__popover{position:fixed;top:62px;left:10px;right:10px;width:auto;max-height:min(560px,calc(100dvh - 150px));border-radius:12px}}.notification-button{position:relative;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text)}.notification-button:hover,.notification-button.is-active{border-color:#0b63ce;box-shadow:0 0 0 2px #0b63ce1f}.notification-button span{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:#12161d;color:#fff;font-size:10px;font-weight:800}.notification-drawer{position:fixed;top:76px;right:34px;z-index:50;width:min(430px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 96px));display:flex;flex-direction:column;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);box-shadow:0 20px 54px #0f172a2e;overflow:hidden}.notification-drawer__header{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--color-border)}.notification-drawer__header strong{font-size:16px;font-weight:850}.notification-drawer__header button,.notification-feed__tools button,.notification-card__actions button,.notification-group-card__actions button{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text-muted)}.notification-drawer__header button{width:32px;height:32px}.notification-feed{min-height:0;display:flex;flex-direction:column;background:var(--color-surface)}.notification-feed--panel{max-height:620px}.notification-feed--rail{min-height:0;overflow:hidden}.notification-feed--rail .notification-feed__header{display:none}.notification-feed--workspace{height:100%;padding:18px;background:var(--color-bg)}.notification-feed__header{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--color-border)}.notification-feed__header div:first-child{min-width:0;display:flex;flex-direction:column;gap:2px}.notification-feed__header strong{font-size:15px;font-weight:850;line-height:1.15}.notification-feed__header span,.notification-feed__status{color:var(--color-text-muted);font-size:12px}.notification-feed__tools{display:inline-flex;align-items:center;gap:6px}.notification-feed__tools button{width:30px;height:30px}.notification-feed__tools button:disabled{opacity:.45}.notification-feed__categories{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.notification-feed--rail .notification-feed__categories{padding-top:0}.notification-feed__categories button{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:800}.notification-feed__categories button.is-active{border-color:#12161d;background:#12161d;color:#fff}.notification-feed__categories button b{min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#9199a62e;color:inherit;font-size:11px;font-weight:850}.notification-feed__categories button.is-active b{background:#ffffff29}.notification-feed__list{min-height:0;overflow-y:auto;padding:8px}.notification-feed--workspace .notification-feed__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));align-content:start;gap:10px;padding:12px 0 0}@media(max-width:900px),(pointer:coarse){.notification-button{width:44px;height:44px;border-radius:12px}.notification-drawer{inset:72px 10px calc(var(--mobile-nav-height, 76px) + 12px + env(safe-area-inset-bottom,0px));width:auto;max-height:none;border-radius:12px}.notification-feed__categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.notification-feed__categories::-webkit-scrollbar{display:none}}.notification-card,.notification-group-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface)}.notification-card+.notification-card,.notification-group-card+.notification-group-card{margin-top:7px}.notification-feed--workspace .notification-card+.notification-card,.notification-feed--workspace .notification-group-card+.notification-group-card{margin-top:0}.notification-card.is-unread,.notification-group-card.is-unread{border-color:#0b63ce47;background:#f7fbff}.notification-card__main,.notification-group-card__main{min-width:0;display:grid;gap:10px;padding:10px;border:0;background:transparent;text-align:left}.notification-card__main{grid-template-columns:auto minmax(0,1fr)}.notification-group-card__main{grid-template-columns:auto minmax(0,1fr) auto}.notification-card__avatar,.notification-group-card__avatar{position:relative;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted)}.notification-card__module-icon,.notification-group-card__module-icon{position:absolute;right:-4px;bottom:-4px;width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:#0b63ce;box-shadow:0 2px 6px #0f172a1f}.notification-card__content,.notification-group-card__content{min-width:0;display:flex;flex-direction:column;gap:4px}.notification-card__title-row,.notification-group-card__title-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:baseline}.notification-card__title-row strong,.notification-card__body,.notification-card__meta,.notification-group-card__title-row strong,.notification-group-card__body,.notification-group-card__meta,.notification-group-card__event span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-card__title-row strong,.notification-group-card__title-row strong{color:var(--color-text);font-size:13px;font-weight:850;line-height:1.2}.notification-card__title-row time,.notification-card__body,.notification-card__meta,.notification-group-card__title-row time,.notification-group-card__body,.notification-group-card__meta,.notification-group-card__event time{color:var(--color-text-muted);font-size:12px}.notification-card__meta,.notification-group-card__meta{display:inline-flex;align-items:center;gap:5px;min-width:0}.notification-group-card__meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-card__meta em,.notification-group-card__meta i{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--color-text-muted);font-size:11px;font-style:normal}.notification-group-card__meta b,.notification-group-card__meta em{flex:0 0 auto;display:inline-flex;align-items:center;min-height:18px;padding:0 7px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;font-style:normal;font-weight:850}.notification-group-card__meta em{background:#12161d;color:#fff}.notification-group-card__events{display:flex;flex-direction:column;gap:3px;margin-top:3px;padding-top:7px;border-top:1px solid rgba(145,153,166,.2)}.notification-group-card__event{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;color:var(--color-text-muted);font-size:12px;line-height:1.25}.notification-group-card__chevron{align-self:center;color:var(--color-text-muted)}.notification-group-card.is-compact .notification-group-card__chevron{display:none}.notification-card__actions,.notification-group-card__actions{display:inline-flex;align-items:start;gap:4px;padding:8px 8px 0 0}.notification-card__actions button,.notification-group-card__actions button{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center}.notification-feed__empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--color-text-muted);text-align:center}.notification-feed__empty strong{color:var(--color-text);font-size:15px}.dashboard-page{gap:16px}.dashboard-page .page-heading{margin-bottom:0}.dashboard-page .kpi-card--danger{border-color:color-mix(in srgb,#c95050 34%,var(--color-border))}.dashboard-page .kpi-card--danger .kpi-card__value,.dashboard-page .kpi-card--danger .kpi-card__icon{color:#b94747}.dashboard-page__state{min-height:220px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text-muted);font-weight:700}.chart-panel__empty{min-height:220px;display:grid;place-items:center;color:var(--color-text-muted);font-weight:700}.chart-panel__legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;color:var(--color-text-muted);font-size:12px;font-weight:700}.chart-panel__legend span{display:inline-flex;align-items:center;gap:6px}.chart-panel__legend span:before{content:"";width:16px;height:2px;border-radius:999px;background:var(--color-text)}.chart-panel__legend span:nth-child(2):before{background:var(--color-text-soft)}.chart-panel__legend span:nth-child(3):before{background:var(--color-text-muted)}.bar-chart small{display:block;margin-top:8px;color:var(--color-text-muted);font-size:11px;font-weight:700}@media(max-width:900px),(pointer:coarse){.dashboard-page{gap:12px;padding-bottom:calc(var(--mobile-nav-height, 76px) + 20px + env(safe-area-inset-bottom,0px))}.dashboard-page .page-heading{gap:8px;padding:4px 0 8px}.dashboard-page .page-heading h1{max-width:12ch;font-size:26px;line-height:32px}.dashboard-page .kpi-grid{gap:10px}.dashboard-page .kpi-card{min-height:92px;padding:14px;border-radius:12px}.dashboard-page .kpi-card__label{font-size:12px;line-height:16px}.dashboard-page .kpi-card__trend{display:inline-block;margin:2px 0 0;font-size:12px;line-height:16px}.dashboard-page .kpi-card__icon{width:48px;height:48px;border-radius:10px}.dashboard-page .chart-panel,.dashboard-page .data-list,.dashboard-page .document-section{border-radius:12px}.dashboard-page .chart-panel{min-width:0;overflow:hidden}.dashboard-page .chart-panel__header{align-items:flex-start;gap:10px}.dashboard-page .chart-panel__header h3{font-size:18px;line-height:24px;overflow-wrap:anywhere}.dashboard-page .line-chart{width:100%;height:auto;max-width:100%}}.timeline-deal[role=button]{cursor:pointer}.timeline-deal[role=button]:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.deal-card header{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--color-text-muted)}.deal-card header span,.deal-card footer span{min-width:0;display:inline-flex;align-items:center;gap:5px}.deal-card__topline{min-width:0;display:inline-flex;align-items:center;gap:8px}.deal-card header span,.deal-card header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.deal-card h3,.deal-card p{margin:0}.deal-card h3{overflow:hidden;display:-webkit-box;color:var(--color-text);font-size:13px;line-height:19px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.deal-card p{overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.deal-card footer{display:grid;gap:5px;margin-top:auto;color:var(--color-text-muted);font-size:11px}.deal-detail{position:fixed;top:0;right:0;bottom:0;left:0;z-index:42;display:grid;place-items:center;padding:18px;background:#0000007a}.deal-detail__panel{width:min(1180px,100%);max-height:calc(100dvh - 36px);display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-page);box-shadow:var(--shadow-panel)}.deal-detail--page{position:static;inset:auto;z-index:auto;place-items:stretch;padding:0;background:transparent}.deal-detail--page .deal-detail__panel{width:100%;min-height:0;max-height:none;justify-self:stretch;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.deal-back{width:fit-content;min-height:36px;display:inline-flex;align-items:center;gap:8px;margin:0;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px;font-weight:700}.deal-back:hover{color:var(--color-text);border-color:var(--color-border-strong)}.deal-detail__top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:0;border-bottom:0}.deal-detail__top p,.deal-detail__top h2{margin:0}.deal-detail__top p{color:var(--color-text-muted);font-size:13px}.deal-detail__top small{display:block;margin-top:4px;color:var(--color-text-muted);font-size:12px;font-weight:700}.deal-detail__top button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text)}.deal-detail__stages{display:grid;grid-auto-columns:minmax(132px,1fr);grid-auto-flow:column;gap:6px;overflow-x:auto;padding:0}.deal-detail__stages button{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid var(--color-border);border-bottom:3px solid var(--stage-color);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:600;white-space:nowrap}.deal-detail__stages button:not(:disabled){cursor:pointer}.deal-detail__stages button.is-active{background:color-mix(in srgb,var(--stage-color) 70%,var(--color-surface));color:#fff}.deal-detail__stages button.deal-detail__stage-transfer{border-color:var(--color-text);border-bottom-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.deal-detail__stages button:last-child{border-color:color-mix(in srgb,var(--stage-color) 52%,var(--color-border));background:color-mix(in srgb,var(--stage-color) 12%,var(--color-surface-muted))}.deal-detail__stages button.deal-detail__stage-transfer:last-child{border-color:var(--color-text);border-bottom-color:var(--color-text);background:var(--color-text)}.deal-detail__tabs{display:flex;gap:4px;overflow-x:auto;margin:0 16px 12px;padding:4px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.deal-detail__tabs button{min-height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);font:inherit;font-size:12px;white-space:nowrap}.deal-detail__tabs button svg{color:var(--color-text-soft)}.deal-detail__tabs button.is-active{background:var(--color-surface-muted);color:var(--color-text)}.deal-detail__tabs button.is-active svg{color:var(--color-text)}.deal-detail__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;overflow-y:auto;padding:14px 16px 16px}.deal-detail__section,.deal-detail__placeholder{display:grid;gap:12px;align-content:start;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.deal-detail__section--wide{grid-column:1 / -1}.pipeline-manager__hero{gap:10px;border-color:var(--color-border);background:var(--color-surface)}.pipeline-manager__hero-badge{width:fit-content;display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.pipeline-manager__hero p{max-width:760px;color:var(--color-text-muted);font-size:13px;line-height:20px}.pipeline-manager__stage-card{gap:0;padding:15px;border-radius:var(--radius-md);background:var(--color-surface-muted);box-shadow:none}.pipeline-manager__stage-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pipeline-manager__stage-head strong{color:var(--color-text);font-size:14px}.pipeline-manager__stage-head span{padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--color-surface) 78%,white 22%);color:var(--color-text-soft);font-size:11px;font-weight:600}.deal-detail__section h3,.deal-detail__placeholder h3,.deal-detail__placeholder p{margin:0}.deal-detail__section h3,.deal-detail__placeholder h3{font-size:14px;line-height:20px}.deal-detail__placeholder{margin:18px;min-height:260px}.deal-detail__placeholder p{color:var(--color-text-muted);font-size:13px;line-height:20px}.deal-documents-registry{display:grid;gap:0;overflow:hidden;margin-top:4px;border:1px solid var(--color-border);border-radius:var(--radius-md)}.deal-documents-registry__head,.deal-documents-registry article{display:grid;grid-template-columns:minmax(180px,1.6fr) 90px minmax(130px,1fr) 120px minmax(140px,1fr) 90px minmax(170px,1.2fr);gap:10px;align-items:center;padding:10px 12px}.deal-documents-registry__head{color:var(--color-text-soft);font-size:11px;text-transform:uppercase}.deal-documents-registry article{border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:12px}.deal-documents-registry article strong,.deal-documents-registry article span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deal-documents-registry article strong{color:var(--color-text)}.deal-documents-registry__row{display:contents}.deal-documents-registry__relink{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;padding:12px;border-top:1px dashed var(--color-border);background:var(--color-surface-muted)}.deal-documents-registry__relink label{display:grid;gap:6px;color:var(--color-text-soft);font-size:11px;text-transform:uppercase}.deal-documents-registry__relink input,.deal-documents-registry__relink select{height:40px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit}.deal-detail__section label{display:grid;gap:6px;color:var(--color-text-muted);font-size:12px}.deal-detail__section input,.deal-detail__section select,.deal-detail__section textarea{width:100%;border:1px solid var(--color-border);border-radius:var(--radius-sm);outline:0;background:var(--color-surface-muted);color:var(--color-text);font:inherit}.deal-detail__section input,.deal-detail__section select{height:38px;padding:0 12px}.deal-detail__section textarea{min-height:180px;resize:vertical;padding:12px;line-height:20px}.deal-detail__section label textarea{min-height:84px}.deal-detail__field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.deal-detail__contact-picker{gap:9px}.deal-detail__contact-control{min-height:46px;display:grid;grid-template-columns:28px 1fr 28px;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.deal-detail__contact-control svg{color:var(--color-icon)}.deal-detail__contact-control>svg:first-child{width:28px;height:28px;padding:5px;border-radius:50%;background:var(--color-border-strong);color:var(--color-surface)}.deal-detail__contact-control select{height:44px;padding:0 10px;border:0;border-left:1px solid var(--color-border);border-radius:0;background:transparent;color:var(--color-text)}.deal-detail__contact-control button{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-xs);background:var(--color-surface);color:var(--color-text)}.deal-detail__client-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.deal-detail__participants{display:grid;gap:6px;position:relative}.deal-detail__participants p{margin:0;color:var(--color-text-soft);font-size:12px}.deal-detail__picker-wrap{position:relative;margin-top:-2px;z-index:8}.deal-detail__picker-wrap .crm-picker-popover{position:absolute;top:0;left:0;right:0}.deal-detail__field-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--color-text-muted);font-size:12px;font-weight:600}.deal-detail__field-head button{border:0;background:transparent;color:var(--color-text-muted);font:inherit;cursor:pointer}.deal-detail__field-head button:hover{color:var(--color-text)}.deal-detail__section h3+.deal-detail__field-head{margin-top:-2px}.deal-detail__compact-picker{margin-top:-2px}.deal-entity-preview{min-height:58px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.deal-entity-preview__avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#343a40,#727982);color:#fff;font-size:12px;font-weight:800;letter-spacing:.05em}.deal-entity-preview--company .deal-entity-preview__avatar{border-radius:11px;background:linear-gradient(135deg,#2f3439,#8a8176)}.deal-entity-preview__name{min-width:0;overflow:hidden;color:var(--color-text);font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.deal-entity-preview button{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--color-text-muted)}.deal-entity-preview button:hover{background:var(--color-border);color:var(--color-text)}.deal-detail__inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}.deal-detail__inline-actions button{min-height:34px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font-size:12px}.deal-detail__employee{min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.deal-detail__employee img{width:38px;height:38px;flex:0 0 auto;border:1px solid var(--color-border);border-radius:50%;object-fit:cover;background:var(--color-surface)}.deal-detail__employee div{min-width:0;display:grid;gap:3px}.deal-detail__employee strong,.deal-detail__employee span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deal-detail__employee strong{color:var(--color-text);font-size:13px}.deal-detail__employee span{color:var(--color-text-muted);font-size:11px}.deal-detail__employee button,.deal-detail__watchers button{border:0;background:transparent;color:var(--color-text-muted);font:inherit;font-size:12px}.deal-detail__watchers{display:grid;gap:8px}.deal-detail__watchers p{margin:0;color:var(--color-text-muted);font-size:12px}.deal-detail__watchers button{width:fit-content;padding:0;border-bottom:1px dotted var(--color-border-strong);color:var(--color-text-muted)}.deal-detail__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-top:1px solid var(--color-border);background:var(--color-surface)}.deal-detail__footer>span{color:var(--color-text-muted);font-size:12px}.deal-detail__footer>div{display:flex;gap:8px}.pipeline-timeline{display:grid;gap:12px}.timeline-stage{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:14px;padding:12px;border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface-muted)}.timeline-stage header{display:grid;align-content:start;gap:12px}.timeline-stage header>div{min-height:38px;display:grid;grid-template-columns:8px minmax(0,1fr);align-items:center;gap:8px;padding:0 10px;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--stage-color) 72%,var(--color-surface));color:#fff}.timeline-stage header span{width:8px;height:8px;border-radius:50%;background:color-mix(in srgb,#FFFFFF 84%,var(--stage-color))}.timeline-stage h2{margin:0;overflow:hidden;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.timeline-stage header strong{color:var(--color-text);font-size:22px;line-height:28px;font-weight:500}.timeline-stage__items{display:grid;gap:8px}.timeline-stage__items p{margin:0;padding:14px;border:1px dashed var(--color-border-strong);border-radius:var(--radius-sm);color:var(--color-text-soft);font-size:12px}.timeline-deal{min-height:58px;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-raised)}.timeline-deal time,.timeline-deal span{color:var(--color-text-muted);font-size:11px}.timeline-deal div{min-width:0;display:grid;gap:4px}.timeline-deal strong,.timeline-deal span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-deal strong,.timeline-deal b{color:var(--color-text);font-size:12px}.deal-detail__panel{width:min(1500px,100%)}.deal-detail__body{grid-template-columns:repeat(3,minmax(0,1fr))}.deal-detail__panel{width:min(1720px,100%)}.deal-detail__panel{width:min(1120px,100%)}.deal-detail__body{grid-template-columns:1fr}.deal-documents-registry{overflow-x:auto}.deal-documents-registry__head,.deal-documents-registry article{min-width:760px}.timeline-stage{grid-template-columns:1fr}.timeline-deal{grid-template-columns:82px minmax(0,1fr)}.timeline-deal b{grid-column:2}.deal-detail{padding:10px}.deal-detail__panel{max-height:calc(100dvh - 20px)}.deal-detail__body{grid-template-columns:1fr;padding:12px}.deal-detail__field-grid,.deal-detail__client-fields{grid-template-columns:1fr}.deal-entity-preview{grid-template-columns:40px minmax(0,1fr) auto}.deal-detail__top,.deal-detail__footer{align-items:flex-start;flex-direction:column}.deal-detail__footer>div{width:100%}.deal-detail__footer .button{flex:1}.pipeline-page{--deals-control-height: 38px;--deals-card-radius: var(--radius-sm);gap:14px}.pipeline-heading{align-items:center;padding:14px 16px;border:1px solid var(--color-border);border-radius:var(--deals-card-radius);background:var(--color-surface)}.pipeline-heading h1{font-size:26px;line-height:32px}.pipeline-heading__meta span,.pipeline-action-button{min-height:var(--deals-control-height);border-radius:var(--radius-xs)}.pipeline-toolbar{padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--deals-card-radius);background:var(--color-surface)}.pipeline-tabs,.pipeline-view-switcher{border-radius:var(--radius-xs);box-shadow:none}.pipeline-tabs button,.pipeline-view-switcher button{height:32px;border-radius:6px}.deal-card footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}.deal-card footer .crm-card-owner-badge{grid-column:1 / -1}.deal-detail{place-items:stretch;padding:20px 22px;background:#1113186b}.deal-detail__panel{width:min(1540px,100%);min-height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);justify-self:center;gap:12px;padding:16px 16px 14px;border-radius:var(--deals-card-radius);background:#f7f8fa;box-shadow:0 18px 48px #0f172a2e}.deal-back{margin-top:0}.deal-detail__top{align-items:flex-end;padding:0;background:transparent}.deal-detail__top p{font-size:13px;font-weight:700}.deal-detail__top h2{margin-top:2px;font-size:26px;line-height:32px}.deal-detail__stages{padding:0;background:transparent;border-bottom:0}.deal-detail__stages button{min-height:34px;border-radius:6px;background:var(--color-surface);font-size:12px}.deal-detail__stages button.is-active{background:color-mix(in srgb,var(--stage-color) 20%,#ffffff);color:var(--color-text);border-color:color-mix(in srgb,var(--stage-color) 55%,var(--color-border));box-shadow:inset 0 -2px 0 var(--stage-color)}.deal-detail__stages button:last-child{background:var(--color-surface)}.deal-detail__stages button.deal-detail__stage-transfer{background:var(--color-text);color:var(--color-surface)}.deal-detail__tabs{gap:4px;margin:0;padding:4px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.deal-detail__tabs button{min-height:34px;border:1px solid transparent;border-radius:var(--radius-sm);gap:7px}.deal-detail__tabs button.is-active{background:var(--color-surface-muted);border-color:transparent;color:var(--color-text)}.deal-detail__body{grid-template-columns:minmax(0,1.55fr) minmax(340px,.75fr);align-items:start;gap:12px;padding:0}.deal-detail__section,.deal-detail__placeholder{gap:10px;padding:14px;border-radius:var(--deals-card-radius);box-shadow:none}.deal-detail__section--primary{grid-column:1 / 2}.deal-detail__section h3,.deal-detail__placeholder h3{font-size:17px;line-height:22px}.deal-detail__field-grid,.deal-detail__section--primary .deal-detail__field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.deal-detail__section label{gap:5px;font-size:11px;font-weight:700}.deal-detail__section input,.deal-detail__section select{height:38px}.deal-detail__section textarea,.deal-detail__section label textarea{min-height:92px}.deal-detail__participants{gap:8px}.deal-entity-preview{min-height:50px;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:8px 10px;border-radius:var(--radius-sm)}.deal-entity-preview__avatar{width:34px;height:34px}.deal-entity-preview__name{font-size:13px}.deal-detail__footer{justify-content:flex-end;padding:12px 16px}.deal-detail__save-state{margin-right:auto;min-height:20px;display:inline-flex;align-items:center;padding:0 8px;border-radius:999px;color:var(--color-text-muted);font-size:12px;font-weight:700}.deal-detail__save-state:empty{display:none}.deal-detail__save-state--error{background:color-mix(in srgb,var(--color-danger) 10%,transparent);color:var(--color-danger)}.deal-detail__save-state--saved{background:color-mix(in srgb,var(--color-success) 12%,transparent);color:var(--color-success);animation:deal-save-confirm .9s ease-out}.deal-detail__footer .button:disabled{opacity:.62;cursor:wait}.deal-detail--page{position:static;inset:auto;z-index:auto;display:grid;place-items:stretch;gap:12px;padding:0;background:transparent}.deal-detail--page .deal-detail__panel{width:100%;min-height:0;max-height:none;display:grid;grid-template-rows:auto auto auto auto auto;gap:12px;justify-self:stretch;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.deal-detail--page .deal-back{justify-self:start}.deal-detail--page .deal-detail__top{justify-content:flex-start;width:100%}.deal-detail--page .deal-detail__top>div{max-width:860px;margin:0}.deal-detail--page .deal-detail__body{overflow:visible}.deal-detail--page .deal-detail__body--general{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,.92fr);gap:12px;align-items:start}.deal-detail--page .deal-detail__body--general .deal-detail__section{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.deal-detail--page .deal-detail__body--general .deal-detail__section--primary{grid-column:1 / 2;grid-row:span 2;min-height:360px;padding:18px}.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(2),.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(4){grid-column:2 / 3}.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(3),.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(5){grid-column:1 / 2}.deal-detail--page .deal-detail__body--general .deal-detail__section h3{margin:0;font-size:15px;line-height:22px}.deal-detail--page .deal-detail__body--general .deal-detail__field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.deal-detail--page .deal-detail__body--general .deal-detail__section label{gap:6px;color:var(--color-text-muted);font-size:11px;font-weight:700}.deal-detail--page .deal-detail__body--general .deal-detail__section input,.deal-detail--page .deal-detail__body--general .deal-detail__section select,.deal-detail--page .deal-detail__body--general .deal-detail__section textarea{border-radius:var(--radius-sm);background:var(--color-surface-muted)}.deal-detail--page .deal-detail__body--general .deal-detail__section--primary input,.deal-detail--page .deal-detail__body--general .deal-detail__section--primary select{min-height:40px}.deal-detail--page .deal-detail__body--general .deal-detail__field-head{min-height:30px;align-items:center}.deal-detail--page .deal-detail__body--general .deal-detail__field-head span{color:var(--color-text-muted);font-size:12px;font-weight:700}.deal-detail--page .deal-detail__body--general .deal-detail__field-head button,.deal-detail--page .deal-detail__body--general .deal-detail__inline-actions button{min-height:34px;border-radius:var(--radius-sm);background:var(--color-surface-muted)}.deal-detail--page .deal-detail__body--general .deal-entity-preview,.deal-detail--page .deal-detail__body--general .deal-entity-empty{min-height:52px;border-radius:var(--radius-sm);background:var(--color-surface)}.deal-detail--page .deal-detail__footer{padding:0}@media(max-width:1120px){.deal-detail--page .deal-detail__body--general{grid-template-columns:1fr}.deal-detail--page .deal-detail__body--general .deal-detail__section,.deal-detail--page .deal-detail__body--general .deal-detail__section--primary,.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(2),.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(3),.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(4),.deal-detail--page .deal-detail__body--general .deal-detail__section:nth-of-type(5){grid-column:1 / -1;grid-row:auto;min-height:0}.deal-detail--page .deal-detail__body--general .deal-detail__field-grid{grid-template-columns:1fr}}@keyframes deal-save-confirm{0%{transform:translateY(2px);opacity:0}35%{transform:translateY(0);opacity:1}to{transform:translateY(0);opacity:1}}.pipeline-list{border-radius:var(--deals-card-radius);background:var(--color-surface)}.pipeline-list__header,.pipeline-list__row{min-height:50px}@media(max-width:1180px){.deal-detail__body{grid-template-columns:1fr}.deal-detail__section--primary{grid-column:1 / -1}}@media(max-width:760px){.pipeline-heading,.pipeline-toolbar{align-items:stretch}.deal-detail{padding:0}.deal-detail__panel{min-height:100dvh;max-height:100dvh;border-radius:0}.deal-detail__field-grid,.deal-detail__section--primary .deal-detail__field-grid{grid-template-columns:1fr}}.supply-tab{display:grid;gap:10px}.supply-hero,.supply-toolbar,.supply-summary{border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);box-shadow:none}.supply-hero{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px}.supply-hero p,.supply-hero h2{margin:0}.supply-hero p{color:var(--color-text-muted);font-size:12px}.supply-hero h2{margin-top:4px;color:var(--color-text);font-size:24px;line-height:1.1}.supply-hero__meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.supply-hero__meta span{min-height:30px;display:inline-flex;align-items:center;padding:0 11px;border:1px solid var(--color-border);border-radius:9px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:13px;font-weight:800}.supply-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,230px) minmax(180px,230px);gap:8px;padding:10px;overflow:visible}.supply-toolbar select{min-height:42px;padding:0 12px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-muted);color:var(--color-text);font-size:13px}.supply-toolbar .tasks-search,.supply-filter-menu .tasks-filter-menu__trigger{min-height:34px;border-radius:10px;background:var(--color-surface);font-size:13px}.supply-search{min-width:0}.supply-status{margin:-2px 0 8px;color:var(--color-text-muted);font-size:12px;font-weight:800}.supply-card h3,.supply-card p{margin:0}.supply-card h3{color:var(--color-text);font-size:14px;line-height:1.22}.supply-card p{color:var(--color-text-muted);font-size:12px;line-height:1.35}.supply-card__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.supply-card__meta span{min-height:24px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:11px;font-weight:800}.supply-card footer{display:flex;align-items:center;gap:8px;padding-top:2px;color:var(--color-text);font-size:12px}.supply-card footer img{width:28px;height:28px;border-radius:50%;object-fit:cover}.supply-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px}.supply-summary article{min-height:74px;display:grid;align-content:center;gap:4px;padding:12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted)}.supply-summary article svg{color:var(--color-icon)}.supply-summary article strong{color:var(--color-text);font-size:17px}.supply-summary article span{color:var(--color-text-muted);font-size:12px}@media(max-width:1180px){.supply-toolbar,.supply-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.supply-hero{align-items:stretch;flex-direction:column}.supply-toolbar,.supply-summary{grid-template-columns:1fr}}.projects-heading--compact>div{display:grid;gap:4px}.projects-heading--compact h1,.projects-heading--compact p{margin:0}.projects-heading--compact .button{min-height:38px;gap:8px}.project-create-panel{display:grid;gap:14px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-create-panel header,.project-create-panel footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-create-panel h2,.project-create-panel p{margin:0}.project-create-panel h2{font-size:18px;line-height:24px}.project-create-panel p{color:var(--color-text-muted);font-size:12px;line-height:18px}.project-create-panel header button:not(.button){width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted)}.project-create-panel__grid{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(220px,1.35fr) minmax(180px,.7fr);gap:10px}.project-create-panel label{display:grid;gap:6px;color:var(--color-text-muted);font-size:12px;font-weight:700}.project-create-panel input,.project-create-panel select{width:100%;min-height:38px;padding:0 11px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font:inherit}.project-create-panel footer{justify-content:flex-start}.project-create-panel footer .button{min-height:38px;gap:8px}.project-card__badge.is-archived{border-color:color-mix(in srgb,#8e95a1 42%,transparent);background:color-mix(in srgb,#8e95a1 14%,var(--color-surface));color:#6d7480}.project-card__bottom{align-items:center;flex-wrap:wrap}.project-card__lifecycle{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px;font-weight:700}.project-card__lifecycle:hover{border-color:var(--color-text);color:var(--color-text)}.project-card__lifecycle.is-danger{border-color:color-mix(in srgb,#d95a4e 36%,var(--color-border));color:#9f342b}.project-card__lifecycle.is-danger:hover{background:color-mix(in srgb,#d95a4e 10%,var(--color-surface))}@media(max-width:920px){.projects-heading--compact,.project-create-panel header,.project-create-panel footer{align-items:stretch;flex-direction:column}.project-create-panel__grid{grid-template-columns:1fr}}@media(max-width:900px),(pointer:coarse){.projects-page{width:100%;min-width:0;gap:12px;padding-bottom:calc(var(--mobile-nav-height, 76px) + 18px + env(safe-area-inset-bottom));overflow-x:clip}.projects-heading--compact{gap:10px}.projects-heading--compact h1{font-size:22px;line-height:28px}.projects-heading--compact p{max-width:34ch;font-size:12px;line-height:18px}.projects-heading--compact .button{width:100%;min-height:44px;justify-content:center}.projects-filter-stack{width:100%;min-width:0;gap:8px;justify-items:stretch}.projects-filter-group,.projects-statuses{width:100%;min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px}.projects-filter-group button,.projects-statuses button{min-width:0;min-height:40px;max-width:100%;padding:0 10px;gap:6px;font-size:12px;line-height:16px;white-space:normal}.projects-filter-group button svg,.projects-statuses button svg{flex:0 0 auto}.projects-grid{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:12px}.project-card{width:100%;min-width:0;border-radius:var(--radius-md)}.project-card__image{aspect-ratio:4 / 3;min-height:0;max-height:260px}.project-card__image .project-image-placeholder{min-height:0;padding:16px}.project-card__badge{top:10px;right:10px;max-width:calc(100% - 20px);min-height:32px;padding:0 10px;font-size:12px;line-height:16px;text-align:center}.project-card__body{min-width:0;gap:9px;padding:12px}.project-card h2{min-height:0;max-height:none;font-size:20px;line-height:26px;overflow-wrap:anywhere}.project-card p,.project-card__summary{font-size:13px;line-height:20px}.project-card__address{min-height:0;max-height:none;gap:8px}.project-card__address span,.project-card__summary{-webkit-line-clamp:3}.project-card__type{min-height:32px;padding:0 12px;font-size:12px}.project-card__progress-line{gap:7px 10px}.project-card__progress-line span,.project-card__meta span,.project-card__owner span,.project-card__estimate span{font-size:13px;line-height:18px}.project-card__progress-line strong,.project-card__meta strong,.project-card__owner strong,.project-card__estimate strong{min-width:0;font-size:14px;line-height:20px}.project-card__progress-line i{height:6px}.project-card__meta,.project-card__owner,.project-card__estimate{min-width:0;min-height:42px;gap:10px}.project-card__meta strong,.project-card__owner strong,.project-card__estimate strong{max-width:64%;justify-content:flex-end;overflow-wrap:anywhere;text-align:right}.project-card__owner strong{align-items:center}.project-card__owner .directory-avatar{flex:0 0 auto}.project-card__stats{display:flex;flex-wrap:wrap;gap:6px}.project-card__stats .project-stat{max-width:100%;min-height:34px;padding:0 10px;white-space:normal}.project-card__stats .project-stat strong{min-width:0;overflow-wrap:anywhere;white-space:normal}.project-card__bottom{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;padding-top:2px}.project-card__bottom .button,.project-card__lifecycle{flex:1 1 calc(50% - 4px);min-width:132px;min-height:44px;padding:0 12px}.project-card__bottom .button{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.project-create-panel{padding:12px}.project-create-panel header button:not(.button),.project-create-panel footer .button,.project-create-panel input,.project-create-panel select{min-height:44px}}@media(max-width:430px){.project-card__image{aspect-ratio:1.25}.project-card h2{font-size:18px;line-height:24px}.project-card__meta,.project-card__owner,.project-card__estimate{align-items:flex-start;flex-direction:column;justify-content:flex-start;padding-top:9px}.project-card__meta strong,.project-card__owner strong,.project-card__estimate strong{max-width:100%;justify-content:flex-start;text-align:left}.project-card__bottom .button,.project-card__lifecycle{flex-basis:100%}}.project-detail-page{display:grid;gap:12px}.project-detail-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.project-detail-heading p,.project-detail-heading h1{margin:0}.project-detail-heading p{color:var(--color-text-muted);font-size:13px}.project-detail-heading h1{font-size:26px;line-height:32px}.project-tabs{display:flex;gap:4px;overflow-x:auto;padding:4px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-tabs button{min-height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);font:inherit;font-size:12px}.project-tabs button svg{color:var(--color-text-soft)}.project-tabs button.is-active{background:var(--color-surface-muted);color:var(--color-text)}.project-tabs button.is-active svg{color:var(--color-text)}.project-documents-panel{display:grid;gap:12px;min-height:160px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-documents-panel h2{margin:0;font-size:16px;line-height:24px}.project-compact-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-compact-header p,.project-compact-header h2{margin:0}.project-compact-header p{color:var(--color-text-muted);font-size:12px}.project-compact-header h2{font-size:18px;line-height:24px}.project-compact-header button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px;font-weight:700}.project-tools-tab,.project-finance-tab{display:grid;gap:12px}.project-tools-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:12px}.project-tools-main,.project-tools-side{display:grid;gap:12px;align-content:start;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-tools-main h3,.project-tools-side h3{margin:0;display:inline-flex;align-items:center;gap:8px;font-size:16px;line-height:22px}.project-tools-person{min-height:44px;display:flex;align-items:center;gap:10px;margin:0;padding:8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.project-tools-person span{display:grid;gap:2px}.project-tools-person strong,.project-tools-person small{line-height:1.2}.project-tools-person small{color:var(--color-text-muted)}.project-compact-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-compact-table th,.project-compact-table td{padding:10px 12px;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle}.project-compact-table th{color:var(--color-text-muted);font-size:11px;text-transform:uppercase}.project-compact-table td{font-size:13px}.project-compact-table tr:last-child td{border-bottom:0}.project-empty-note{margin:0;color:var(--color-text-muted);font-size:13px;line-height:20px}.project-finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.project-finance-summary article{display:grid;gap:6px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-finance-summary span{color:var(--color-text-muted);font-size:12px}.project-finance-summary strong{font-size:20px;line-height:26px}.project-finance-progress{height:8px;overflow:hidden;border-radius:999px;background:var(--color-surface-muted)}.project-finance-progress span{display:block;height:100%;border-radius:inherit;background:var(--color-blue)}@media(max-width:920px){.project-detail-heading{align-items:flex-start;flex-direction:column}.project-tools-grid,.project-finance-summary{grid-template-columns:1fr}}.contacts-page,.contact-detail-page{--contacts-control-height: 36px;display:grid;gap:18px}.contacts-page .contacts-header{display:grid;gap:14px}.contacts-page .contacts-header__top{display:flex;align-items:center;justify-content:space-between;gap:16px}.contacts-page .contacts-header__bottom{display:grid;justify-items:start;gap:10px}.contacts-page .contacts-entity{display:inline-flex;align-items:center;gap:10px;min-width:0}.contacts-page .contacts-entity h1{margin:0;color:var(--color-text);font-size:18px;line-height:24px;font-weight:850}.contacts-page .contacts-toolbar{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.contacts-page .contacts-search{width:min(330px,36vw);height:var(--contacts-control-height);display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);color:var(--color-icon)}.contacts-page .contacts-search input{min-width:0;flex:1;border:0;outline:0;color:var(--color-text);background:transparent;font-size:13px}.contacts-page .contacts-view-toggle{width:max-content;height:42px;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted)}.contacts-page .contacts-view-toggle button{height:32px;min-width:78px;padding:0 14px;border:0;border-radius:999px;color:var(--color-text-muted);background:transparent;font-size:12px;font-weight:750}.contacts-page .contacts-view-toggle button.is-active{color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-soft)}.contacts-page .contacts-role-filter{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:2px 0 0;border:0;background:transparent}.contacts-page .contacts-role-filter button{height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:760;line-height:1;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.contacts-page .contacts-role-filter button:hover{border-color:var(--color-border-strong);color:var(--color-text);transform:translateY(-1px)}.contacts-page .contacts-role-filter button.is-active{border-color:#30343a;background:#30343a;color:#fff;box-shadow:var(--shadow-soft)}.contacts-page .contacts-role-filter button svg{flex:0 0 auto}.contacts-page .contacts-role-filter button b{min-width:22px;height:22px;display:grid;place-items:center;padding:0 7px;border-radius:999px;background:color-mix(in srgb,currentColor 10%,transparent);font-size:11px;font-weight:850}.contacts-page .directory-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;align-items:stretch}.contacts-page .directory-card{min-height:184px;height:auto;padding:16px 14px;border-radius:var(--radius-md);background:var(--color-surface)}.contacts-page .directory-card__body{gap:9px;padding:6px 8px}.contacts-page .directory-card__body strong{min-height:auto;font-size:13px}.contacts-page .directory-card__body small{min-height:auto;color:var(--color-text-muted)}.contact-related-company{display:grid;width:100%;gap:8px;padding:14px 0 2px;margin-top:12px;border-top:1px solid var(--color-border)}.contact-related-company>span{color:var(--color-text-soft);font-size:11px;font-weight:800}.contact-related-company .crm-entity-preview-card{width:100%;min-height:56px;border-radius:8px;padding:9px 10px;background:color-mix(in srgb,var(--color-surface) 82%,var(--color-surface-muted));text-align:left}.contact-related-company button.crm-entity-preview-card{cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.contact-related-company button.crm-entity-preview-card:hover,.contact-related-company button.crm-entity-preview-card:focus-visible{border-color:color-mix(in srgb,var(--color-active) 42%,var(--color-border));background:var(--color-surface);transform:translateY(-1px)}.contact-related-company .crm-person-card__body strong{font-size:12px;font-weight:800}.contact-related-company .crm-person-card__body small{font-size:11px}.contact-profile-meta{width:100%;display:grid;gap:8px;padding:12px 0 0}.contact-profile-meta>span{color:var(--color-text-soft);font-size:11px;font-weight:800}.contact-profile-select{display:grid;gap:4px}.contact-profile-select span{color:var(--color-text-soft);font-size:10px;font-weight:750}.contact-profile-select select,.contact-profile-select input{width:100%;height:38px;border:1px solid var(--color-border);border-radius:8px;padding:0 12px;background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px;font-weight:650;outline:0}.contact-profile-select select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;cursor:pointer}.contact-profile-select select:focus,.contact-profile-select input:focus{border-color:color-mix(in srgb,var(--color-primary) 48%,var(--color-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 12%,transparent)}@media(max-width:900px){.contacts-page .contacts-header__top,.contacts-page .contacts-toolbar{align-items:stretch}.contacts-page .contacts-header__top{flex-direction:column}.contacts-page .contacts-toolbar{width:100%;justify-content:space-between}.contacts-page .contacts-search{width:100%}}@media(max-width:640px){.contacts-page .contacts-toolbar{flex-direction:column}.contacts-page .contacts-toolbar .button{width:100%}.contacts-page .contacts-role-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.contacts-page .contacts-role-filter button{flex:0 0 auto}}.company-related-contacts-field{gap:8px}.company-related-contacts-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}@media(max-width:760px){.company-related-contacts-list{grid-template-columns:1fr}}.employee-password-change-button{color:#15171b}.users-security-dialog{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:grid;place-items:center;padding:24px;background:#15171b57}.users-security-dialog__panel{width:min(520px,100%);padding:20px;border:1px solid #d9dee7;border-radius:8px;background:#fff;box-shadow:0 22px 58px #0f172a2e}.users-security-dialog__panel header,.users-security-dialog__panel footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.users-security-dialog__panel header span{display:inline-flex;align-items:center;gap:10px;color:#15171b}.users-security-dialog__panel header button{width:38px;height:38px;border:1px solid #d9dee7;border-radius:8px;background:#fff;color:#6b7280}.users-security-dialog__panel p{margin:14px 0 18px;color:#6b7280;line-height:1.45}.users-security-dialog__panel label{display:grid;gap:8px;margin-bottom:14px;color:#6b7280;font-weight:700}.users-security-dialog__panel input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #d9dee7;border-radius:8px;background:#f1f3f6;color:#15171b;font:inherit}.users-security-dialog__panel footer{padding-top:8px}.users-security-dialog__panel footer span{flex:1;min-height:20px;color:#c04444}.users-security-dialog__panel footer span.is-success{color:#2f8f64}.mail-page{display:flex;flex-direction:column;gap:14px;min-height:calc(100vh - 112px);color:var(--color-text)}.mail-page__header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.mail-page__header p{margin:0 0 3px;color:var(--color-muted);font-size:12px;font-weight:700}.mail-page__header h1{margin:0;font-size:30px;line-height:1.05}.mail-page button,.mail-settings input,.mail-settings select,.mail-toolbar input,.mail-compose input,.mail-compose select,.mail-compose textarea,.mail-access select{font:inherit}.mail-page button{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);cursor:pointer}.mail-page button:disabled{cursor:not-allowed;opacity:.52}.mail-page__actions,.mail-tabs,.mail-settings__actions,.mail-compose__header{display:flex;align-items:center;gap:8px}.mail-page__actions button,.mail-settings__actions button,.mail-compose button,.mail-toolbar button,.mail-empty-state button{min-height:38px;border-radius:8px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:700}.mail-tabs{border-bottom:1px solid var(--color-border)}.mail-tabs button{min-height:38px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 12px;background:transparent;color:var(--color-muted);font-size:13px;font-weight:700}.mail-tabs button.is-active{border-bottom-color:var(--color-active);color:var(--color-text)}.mail-workspace{display:grid;grid-template-columns:248px minmax(0,1fr);gap:14px;align-items:start}.mail-sidebar,.mail-main,.mail-settings,.mail-compose,.mail-settings-view{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px}.mail-sidebar{min-height:640px;padding:12px;display:flex;flex-direction:column;gap:16px}.mail-sidebar__section h2,.mail-compose h2,.mail-settings__title h2,.mail-settings-view__intro h2{margin:0 0 10px;font-size:15px;line-height:1.25}.mail-account,.mail-folder{width:100%;border-radius:8px;padding:10px;display:grid;text-align:left}.mail-account{grid-template-columns:24px 1fr;gap:1px 9px;margin-bottom:7px}.mail-account strong{font-size:13px;overflow-wrap:anywhere}.mail-account small{grid-column:2;color:var(--color-muted);font-size:11px}.mail-account.is-active,.mail-folder.is-active,.mail-message.is-active{border-color:var(--color-active);box-shadow:inset 0 0 0 1px var(--color-active)}.mail-folder{grid-template-columns:20px 1fr auto;align-items:center;gap:9px;margin-bottom:6px;font-size:13px}.mail-folder b{min-width:24px;height:24px;border-radius:999px;display:grid;place-items:center;background:var(--color-page);font-size:12px}.mail-main{min-width:0;overflow:hidden}.mail-toolbar{padding:12px;border-bottom:1px solid var(--color-border);display:grid;grid-template-columns:minmax(220px,440px) auto;gap:8px}.mail-toolbar label{min-height:38px;border:1px solid var(--color-border);border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 11px;background:var(--color-page)}.mail-toolbar input{width:100%;border:0;outline:0;background:transparent;color:var(--color-text);font-size:13px}.mail-columns{display:grid;grid-template-columns:minmax(280px,34%) 1fr;min-height:590px}.mail-list{border-right:1px solid var(--color-border);overflow:auto;max-height:680px}.mail-message{width:100%;border:0;border-bottom:1px solid var(--color-border);border-radius:0;padding:12px;display:grid;gap:4px;text-align:left;background:transparent}.mail-message span,.mail-message time{color:var(--color-muted);font-size:11px}.mail-message strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.mail-message p{margin:0;color:var(--color-muted);font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mail-message.is-unread strong{color:var(--color-active)}.mail-reader{min-height:590px;overflow:hidden}.mail-reader header{padding:16px;border-bottom:1px solid var(--color-border)}.mail-reader header h2{margin:0 0 8px;font-size:18px}.mail-reader header p{margin:3px 0;color:var(--color-muted);font-size:12px}.mail-reader iframe{width:100%;height:520px;border:0;background:#fff}.mail-reader pre{margin:0;padding:16px;white-space:pre-wrap;font:inherit;color:var(--color-text);font-size:13px}.mail-reader__empty,.mail-empty{min-height:170px;display:grid;place-items:center;text-align:center;color:var(--color-muted);font-size:13px}.mail-reader__empty h2{margin:8px 0 0;font-size:18px;color:var(--color-text)}.mail-empty-state{min-height:180px;padding:16px 8px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:var(--color-muted)}.mail-empty-state__icon{width:48px;height:48px;border-radius:8px;display:grid;place-items:center;background:var(--color-page);color:var(--color-text)}.mail-empty-state h2{margin:0;color:var(--color-text);font-size:15px}.mail-empty-state p{margin:0;font-size:12px}.mail-compose-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;justify-content:flex-end}.mail-compose-layer__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-radius:0;background:#0f121857}.mail-compose-layer__panel{position:relative;width:min(520px,calc(100vw - 24px));margin:14px;align-self:flex-start}.mail-compose,.mail-settings{padding:14px}.mail-compose{display:grid;gap:9px;box-shadow:0 18px 60px #0000002e}.mail-compose__header{justify-content:space-between}.mail-icon-button{width:34px;height:34px;min-height:34px!important;padding:0!important}.mail-compose input,.mail-compose select,.mail-compose textarea,.mail-settings input,.mail-settings select{width:100%;border:1px solid var(--color-border);border-radius:8px;background:var(--color-page);color:var(--color-text);padding:10px 11px;outline:0;font-size:13px}.mail-compose textarea{resize:vertical}.mail-compose button[type=submit],.mail-settings__actions button[type=submit]{background:var(--color-text);color:var(--color-surface)}.mail-settings__danger{margin-right:auto;border-color:color-mix(in srgb,#d33 45%,var(--color-border))!important;color:#b3261e!important}.mail-settings-view{max-width:980px;padding:16px}.mail-settings-view__intro{display:flex;align-items:center;gap:12px;margin-bottom:16px}.mail-settings-view__intro p{margin:0;color:var(--color-muted);font-size:13px}.mail-settings-add{margin-left:auto;min-height:38px;border-radius:8px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700}.mail-settings-accounts{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-bottom:16px}.mail-settings-account{min-height:220px;border-radius:8px;padding:18px;display:grid;place-items:center;align-content:center;gap:14px;text-align:center;background:var(--color-surface);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.mail-settings-account:hover,.mail-settings-account.is-active{border-color:var(--color-border-strong);box-shadow:var(--shadow-soft);transform:translateY(-1px)}.mail-settings-account__avatar{width:84px;height:84px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(145deg,#4f8f84,#8bc6b5);color:#fff;font-size:24px;font-weight:800}.mail-settings-account:nth-child(3n+2) .mail-settings-account__avatar{background:linear-gradient(145deg,#507da9,#90c5df)}.mail-settings-account:nth-child(3n+3) .mail-settings-account__avatar{background:linear-gradient(145deg,#b4803c,#dec178)}.mail-settings-account__body{min-width:0;display:grid;gap:7px;justify-items:center}.mail-settings-account strong{overflow-wrap:anywhere;font-size:16px;line-height:1.25}.mail-settings-account small{color:var(--color-muted);font-size:12px}.mail-settings-account span span{max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--color-muted);font-size:12px}.mail-settings-empty{min-height:190px;margin-bottom:16px;border:1px dashed var(--color-border);border-radius:8px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:var(--color-muted)}.mail-settings-empty strong{color:var(--color-text);font-size:15px}.mail-settings__title{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}.mail-settings__title p{margin:0;color:var(--color-muted);font-size:12px}.mail-settings__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mail-settings label span,.mail-access__pickers{color:var(--color-muted);font-size:11px;font-weight:700}.mail-settings__toggles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0;align-items:end}.mail-settings__toggles label{display:flex;align-items:center;gap:8px;font-size:12px}.mail-access{border:1px solid var(--color-border);border-radius:8px;padding:10px;background:var(--color-page)}.mail-access__chips{display:flex;flex-wrap:wrap;gap:6px;min-height:32px}.mail-access-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 8px;background:color-mix(in srgb,var(--color-active) 14%,var(--color-surface));color:var(--color-text);font-size:12px}.mail-access-chip button{border:0;background:transparent;padding:0;display:grid;place-items:center}.mail-access__pickers{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.mail-access-picker{position:relative}.mail-access-picker__button{width:100%;min-height:40px;border-radius:8px;padding:0 12px;display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;background:var(--color-surface);font-size:13px;font-weight:700}.mail-access-picker__menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:240px;overflow:auto;padding:6px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--shadow-soft)}.mail-access-picker__menu button{width:100%;min-height:42px;border:0;border-radius:6px;padding:7px 8px;display:grid;grid-template-columns:20px 1fr;gap:2px 7px;align-items:center;background:transparent;text-align:left}.mail-access-picker__menu button:hover{background:var(--color-surface-muted)}.mail-access-picker__menu button small{grid-column:2;color:var(--color-muted);font-size:11px}.mail-access-picker__menu p{margin:0;padding:10px;color:var(--color-muted);font-size:12px}.mail-settings__actions{justify-content:flex-end;margin-top:14px}@media(max-width:1180px){.mail-workspace{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:900px){.mail-page__header,.mail-page__actions{align-items:stretch;flex-direction:column}.mail-workspace,.mail-columns,.mail-settings__grid,.mail-settings__toggles{grid-template-columns:1fr}.mail-sidebar{min-height:auto}.mail-list{border-right:0;max-height:320px}}@font-face{font-family:IBM Plex Mono;src:url(/fonts/IBMPlexMono-SemiBold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:IBM Plex Mono;src:url(/fonts/IBMPlexMono-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}:root{--crm-ui-card-title-size: 13px;--crm-ui-card-subtitle-size: 11px;--crm-ui-tab-size: 12px;--crm-ui-section-title-size: 14px;--crm-ui-field-label-size: 11px;--crm-ui-field-value-size: 13px}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--color-page);color:var(--color-text);font-family:var(--font-interface);letter-spacing:0}.chat-mention-picker{position:absolute;left:12px;right:12px;bottom:calc(100% + 8px);z-index:30;max-height:248px;overflow:auto;display:grid;gap:2px;padding:6px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:0 18px 44px #0f172a29}.chat-mention-picker button{width:100%;min-height:38px;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;color:var(--color-text);cursor:pointer;font:inherit;padding:5px 7px;text-align:left}.chat-mention-picker button.is-active,.chat-mention-picker button:hover{background:var(--color-surface-muted)}.chat-mention-picker__icon{width:28px;height:28px;flex:0 0 28px;display:inline-grid;place-items:center;border-radius:999px;background:#e8edf4;color:var(--color-text-muted);font-weight:900}.chat-mention-picker__icon--ai{background:#efe5fb;color:#8a45bb}.chat-mention-picker__icon--group{background:#dff1fb;color:#087aa3}.chat-mention-picker__body{min-width:0;display:grid;gap:1px}.chat-mention-picker__body strong,.chat-mention-picker__body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-mention-picker__body strong{font-size:12px;line-height:15px;font-weight:800}.chat-mention-picker__body small{color:var(--color-text-muted);font-size:11px;line-height:14px}.chat-mention-picker footer{display:flex;align-items:center;min-height:24px;border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:11px;line-height:14px;padding:5px 7px 0}.task-workspace{display:grid;gap:var(--space-3)}.task-workspace__topbar{display:flex;align-items:center;gap:12px}.task-workspace__topbar span{color:var(--color-text-muted);font-size:13px}.task-workspace__topbar .tasks-create-button{margin-left:auto}.task-workspace__actions{margin-left:auto;display:inline-flex;align-items:center;gap:8px}.task-workspace__actions .tasks-create-button{margin-left:0}.task-workspace__actions .button,.tasks-project-archive-toggle{min-height:38px;min-width:122px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-weight:800}.task-b24-topbar .task-workspace__actions .button,.task-b24-topbar .task-workspace__actions .tasks-create-button{min-width:124px;min-height:38px;border-radius:8px;padding:0 14px;font-size:13px;line-height:18px}.task-b24-topbar .task-workspace__actions .tasks-create-button{min-width:148px;background:#111418!important;border-color:#111418!important;color:#fff!important}.task-b24-topbar .task-workspace__actions .button--secondary{border:1px solid #d7dce3!important;background:#fff!important;color:#111418!important}.task-b24-topbar .task-workspace__actions .task-status-finish-button{border-color:#2a714c52!important;background:#eff8f2!important;color:#2a714c!important}.task-b24-topbar .task-workspace__actions .task-status-finish-button:hover{background:#e5f4eb!important}.task-workspace__actions .button--danger{border:1px solid rgba(177,59,59,.24);background:#fff5f5;color:#9f2d2d}.task-b24-workspace{--task-b24-panel: #f3f5f7;--task-b24-chat: #eef3f6;height:calc(100vh - 116px);min-height:620px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;overflow:hidden}.task-b24-topbar{min-height:36px}.task-b24-shell{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,1fr);gap:10px;align-items:stretch;min-height:0;height:100%;overflow:hidden}.task-b24-left,.task-b24-chat{min-width:0;min-height:0;height:100%;border:1px solid var(--color-border);border-radius:8px;background:var(--task-b24-panel);overflow:hidden}.task-b24-left{display:grid;grid-template-rows:auto auto min-content min-content min-content min-content;align-content:start;gap:6px;padding:0 8px 8px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.task-b24-hero{margin:0 -8px;padding:9px 12px 8px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.task-b24-hero p,.task-b24-hero h2{margin:0}.task-b24-hero p{color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:700}.task-b24-hero h2{margin-top:2px;color:var(--color-text);font-size:20px;line-height:25px;font-weight:800}.task-b24-summary,.task-b24-tool-strip{display:flex;flex-wrap:wrap;gap:8px}.task-b24-summary{margin-top:6px}.task-b24-summary span,.task-b24-tool-strip button{min-height:24px;border:1px solid var(--color-border);border-radius:8px;display:inline-flex;align-items:center;gap:7px;background:var(--color-surface-muted);color:var(--color-text-muted);padding:0 9px;font-size:12px;line-height:16px;font-weight:700}.task-b24-stages{display:grid;grid-template-columns:repeat(5,minmax(116px,1fr));gap:8px}.task-b24-stages .crm-kanban-column__title{width:100%;min-height:42px;cursor:pointer;font:inherit;opacity:.72;transition:opacity .15s ease,outline-color .15s ease}.task-b24-stages .crm-kanban-column__title.is-active{opacity:1;outline:2px solid var(--color-blue);outline-offset:2px}.task-b24-stages .crm-kanban-column__title small:empty{background:#ffffff1f}.task-b24-card{min-width:0;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:8px}.task-b24-main-card,.task-b24-checklist-draft,.task-b24-participants-card,.task-b24-params-card{display:grid;gap:7px}.task-b24-main-card label,.task-b24-people-grid label,.task-b24-fields label,.task-b24-checklist-draft__items label{display:grid;gap:5px;color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:800}.task-b24-card input:not([type=checkbox]),.task-b24-card select,.task-b24-card textarea{width:100%;min-width:0;min-height:32px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:14px;line-height:20px;padding:0 10px}.task-b24-card textarea{min-height:64px;padding:9px;resize:vertical}.task-b24-tool-strip{padding-top:2px}.task-b24-tool-strip button{cursor:default}.task-b24-people-grid,.task-b24-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.task-b24-people-grid .crm-picker-trigger{justify-content:flex-start;min-height:38px;padding:0;border-radius:8px}.task-b24-people-grid .crm-person-card{min-height:38px;width:100%;background:var(--color-surface-muted)}.task-b24-team-card{gap:8px}.task-b24-team-card .task-b24-people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;align-items:start}.task-b24-team-card .task-b24-people-grid>*{min-height:68px}.task-b24-team-card .task-b24-card__head{align-items:center}.task-b24-team-card .task-member-picker-card{position:relative;min-width:0;padding:0;border:0;border-radius:0;background:transparent}.task-b24-team-card .task-b24-people-grid>label{position:relative;min-width:0}.task-b24-team-card .task-member-picker-card .task-workspace__section-head{min-height:16px;margin:0 0 5px}.task-b24-team-card .task-member-picker-card .task-workspace__section-head h3{color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:800}.task-b24-team-card .task-member-picker-card .task-add-link{font-size:12px}.task-b24-team-card .task-member-picker-card .task-member-picker{min-height:38px;border:1px solid var(--color-border);border-radius:8px;display:grid;align-content:center;background:var(--color-surface-muted);padding:5px 8px}.task-b24-team-card .crm-picker-trigger{min-height:38px;border:1px solid var(--color-border);background:var(--color-surface-muted)}.task-b24-team-card .crm-picker-trigger .crm-person-card{min-height:36px;border:0;background:transparent}.task-b24-team-card .crm-picker-popover{position:absolute;top:calc(100% + 6px);left:0;z-index:60;width:min(420px,100%);margin-top:0;border-radius:8px}.task-b24-team-card .task-member-picker-card .task-pill-list{gap:6px}.task-b24-team-card .task-member-picker-card .crm-person-card{min-height:30px;padding:3px 6px;background:var(--color-surface)}.task-b24-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.task-b24-card__head h3,.task-b24-card__head p{margin:0}.task-b24-card__head h3{display:inline-flex;align-items:center;gap:8px;color:var(--color-text);font-size:16px;line-height:22px}.task-b24-card__head p,.task-b24-card__head span{color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:700}.task-b24-checklist-draft__items{display:grid;gap:8px}.task-b24-checklist-draft__items label{grid-template-columns:26px minmax(0,1fr);align-items:center}.task-b24-checklist-draft__items label>span{width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px}.task-b24-error{margin:0;color:#b94a48;font-size:12px;font-weight:800}.task-b24-chat{display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--task-b24-chat)}.task-b24-chat__header{min-height:56px;display:flex;align-items:center;padding:10px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.task-b24-chat__header strong,.task-b24-chat__header span{display:block}.task-b24-chat__header strong{color:var(--color-text);font-size:17px;line-height:22px}.task-b24-chat__header span{margin-top:2px;color:var(--color-text-muted);font-size:12px;font-weight:700}.task-b24-chat__body{display:grid;align-content:start;gap:6px;min-height:0;padding:10px 12px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.task-b24-message{width:fit-content;max-width:min(440px,92%);display:grid;gap:5px;padding:8px 10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text)}.task-b24-message.is-own{justify-self:end}.task-b24-message.is-system{border-color:#2f6fcd2e;background:#eef5ff}.task-b24-message p,.task-b24-message__actor,.task-b24-message footer{margin:0}.task-b24-message p{font-size:12px;line-height:17px}.task-b24-message__actor{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;color:var(--color-text-muted);font-size:11px;font-weight:850;line-height:14px}.task-b24-message__actor span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-b24-message__actor time{color:var(--color-text-muted);font-size:10px;font-weight:800}.task-b24-message footer{display:flex;gap:8px;justify-content:space-between;color:var(--color-text-muted);font-size:10px;font-weight:700}.task-b24-chat__empty{align-self:center;justify-self:center;max-width:360px;display:grid;justify-items:center;gap:8px;text-align:center;color:var(--color-text-muted)}.task-b24-chat__empty strong,.task-b24-chat__empty p{margin:0}.task-b24-chat__empty strong{color:var(--color-text);font-size:17px}.task-b24-chat__empty p{font-size:13px;line-height:19px}.task-b24-chat__composer{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border-top:1px solid var(--color-border);background:var(--color-surface)}.task-b24-chat__composer input{min-height:38px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;padding:0 12px}.task-b24-chat__send{min-width:118px;height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #15171a;border-radius:6px;background:#15171a;color:#fff;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.task-b24-chat__send:disabled{opacity:.38;cursor:not-allowed}.task-b24-chat__status{margin:0;padding:0 12px 10px;color:var(--color-text-muted);font-size:12px}.tasks-project-archive-toggle{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);padding:0 12px;cursor:pointer}.tasks-project-archive-toggle.is-active{border-color:#11182759;background:#111418;color:#fff}.task-workspace__shell{display:grid;grid-template-columns:minmax(0,.96fr) minmax(360px,.84fr);gap:16px;align-items:start}.task-workspace__main,.task-chat-panel{display:grid;gap:14px}.task-workspace__section,.task-chat-panel{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:none}.task-workspace__section{padding:var(--space-4)}.task-workspace__title,.task-workspace__description{width:100%;border:0;background:transparent;color:var(--color-text);resize:none}.task-workspace__title{min-height:54px;font-size:28px;font-weight:800;line-height:1.15}.task-workspace__description{min-height:110px;margin-top:8px;font-size:14px;line-height:1.6;color:var(--color-text-muted)}.task-workspace__section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-3)}.task-workspace__section-head h3{margin:0;color:var(--color-text);font-size:16px;line-height:24px;font-weight:600}.task-workspace__section-head span{color:var(--color-text-muted);font-size:var(--crm-ui-field-label-size);font-weight:600}.task-workspace__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.task-workspace__stats article,.task-workspace__participants-grid article{display:grid;gap:8px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted)}.task-workspace__stats span,.task-workspace__participants-grid span,.task-checklist-card strong,.task-feed__item strong,.task-chat-panel__header p{color:var(--color-text-muted)}.task-workspace__stats strong{color:var(--color-text);font-size:var(--crm-ui-field-value-size)}.task-workspace__stats small{color:var(--color-text-muted);font-size:var(--crm-ui-field-label-size)}.task-workspace__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-workspace__grid label,.task-member-picker,.task-inline-create{display:grid;gap:8px}.task-workspace__grid label span{color:var(--color-text-muted);font-size:var(--crm-ui-field-label-size);font-weight:600}.task-workspace__grid input,.task-workspace__grid select,.task-member-picker select,.task-inline-create input,.task-chat-panel__composer textarea{min-height:36px;padding:0 12px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-muted);color:var(--color-text);font-size:14px}.task-workspace__wide{grid-column:1 / -1}.task-member-picker__controls,.task-inline-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-2)}.task-pill-list,.task-people-stack{display:flex;flex-wrap:wrap;gap:var(--space-2)}.task-pill{display:inline-flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:var(--crm-ui-field-label-size);font-weight:600}.task-entity-empty{color:var(--color-text-muted);font-size:12px}.task-workspace__participants-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-checklists{display:grid;gap:var(--space-2)}.task-checklist-card{display:grid;gap:var(--space-2);padding:10px 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.task-checklist-card strong{color:var(--color-text);font-size:13px;line-height:18px;font-weight:600}.task-checklist-card__items{display:grid;gap:0;border:1px solid var(--color-border);border-radius:6px;overflow:hidden}.task-checklist-item{display:grid;grid-template-columns:18px minmax(0,1fr) 26px;align-items:center;gap:8px;min-height:36px;padding:0 10px;border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:var(--color-surface);color:var(--color-text);font-size:13px;line-height:18px}.task-checklist-item:last-child{border-bottom:0}.task-checklist-item:hover{background:var(--color-surface-muted)}.task-checklist-item input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;min-height:0;margin:0;padding:0;border-radius:4px;border:1px solid var(--color-border-strong);background:var(--color-surface);flex:0 0 auto;display:grid;place-items:center}.task-checklist-item input:checked{border-color:var(--color-text);background:var(--color-text)}.task-checklist-item input:checked:after{content:"";width:7px;height:4px;border-left:2px solid var(--color-surface);border-bottom:2px solid var(--color-surface);transform:rotate(-45deg) translateY(-1px)}.task-checklist-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-checklist-item.is-done span{text-decoration:line-through;color:var(--color-text-muted)}.task-checklist-item__remove{width:26px;height:26px;border:0;border-radius:6px;display:grid;place-items:center;background:transparent;color:var(--color-text-soft);cursor:pointer}.task-checklist-item__remove:hover{background:var(--color-surface-muted);color:#b94a48}.task-checklist-card>.task-inline-create{margin-top:2px}.task-chat-panel{display:grid;min-height:640px;grid-template-rows:auto minmax(0,1fr) auto;padding:0;overflow:hidden;background:linear-gradient(180deg,#d0e9f5b8,#b7dff3e0),radial-gradient(circle at top,rgba(255,255,255,.46),transparent 50%)}.task-chat-panel__header{padding:14px 16px 10px;border-bottom:1px solid rgba(255,255,255,.55)}.task-chat-panel__header h3,.task-chat-panel__header p{margin:0}.task-chat-panel__header h3{color:#24323f;font-size:16px}.task-feed{display:grid;align-content:start;gap:10px;padding:14px 16px;overflow:auto}.task-feed__item{max-width:92%;display:grid;gap:5px;padding:12px 14px;border-radius:16px;background:#ffffffe0;color:#24323f;box-shadow:0 12px 28px #3f65801f}.task-feed__item.is-system{background:#f1f9ffeb}.task-feed__item strong,.task-feed__item p,.task-feed__item small{margin:0}.task-feed__item strong{color:#1e3952;font-size:13px}.task-feed__item p{color:#24323f;font-size:14px;line-height:1.5}.task-feed__item small{color:#718192;font-size:12px}.task-chat-panel__composer{display:grid;gap:10px;padding:12px 16px 16px;border-top:1px solid rgba(255,255,255,.55);background:#ffffff7a}.task-chat-panel__composer textarea{min-height:96px;padding:12px;resize:vertical}.task-chat-panel__composer>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-chat-panel__composer span,.task-chat-panel__empty p{color:#607080;font-size:12px}.task-chat-panel__empty{display:grid;gap:10px;align-content:center;justify-items:start;padding:28px}.task-chat-panel__empty strong{color:var(--color-text);font-size:20px}.task-form{display:grid;grid-template-rows:auto auto minmax(0,1fr);width:100%;min-width:0;min-height:calc(100vh - 170px);border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden}.task-form__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4);min-height:76px;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border)}.task-form__eyebrow{margin:0 0 var(--space-1);color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:700}.task-form__title-row{display:flex;align-items:baseline;gap:var(--space-3);flex-wrap:wrap}.task-form__title-row h2{margin:0;color:var(--color-text);font-size:24px;line-height:32px;font-weight:700;letter-spacing:0}.task-form__title-row span{color:var(--color-text-muted);font-size:13px;font-weight:700}.task-form__summary{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-2)}.task-form__summary span{min-height:28px;border:1px solid var(--color-border);border-radius:6px;display:inline-flex;align-items:center;padding:0 var(--space-2);background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:600}.task-form__stages{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:var(--space-2);padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--color-border);background:var(--color-surface-muted)}.task-form__stages button{min-height:36px;border:1px solid var(--color-border);border-bottom:2px solid var(--stage-color);border-radius:6px;background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px;line-height:16px;font-weight:700;text-align:left;padding:0 12px}.task-form__stages button.is-active{background:color-mix(in srgb,var(--stage-color) 18%,var(--color-surface));color:var(--color-text)}.task-form__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:10px;width:100%;min-width:0;min-height:0;padding:10px;background:var(--color-page);overflow:auto}.task-form__main,.task-form__aside{display:grid;align-content:start;gap:10px;min-width:0}.task-form-card,.task-empty-state{min-width:0;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:12px}.task-form-card h3,.task-empty-state h3{margin:0 0 var(--space-2);color:var(--color-text);font-size:16px;line-height:24px;font-weight:600}.task-form-card--primary{display:grid;gap:var(--space-3)}.task-form-card label,.task-form__fields label,.task-form__people-pickers label{display:grid;gap:var(--space-2);color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:600}.task-form-card input:not([type=checkbox]),.task-form-card select,.task-form-card textarea,.task-form__fields input:not([type=checkbox]),.task-form__fields select{width:100%;min-width:0;min-height:40px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:14px;line-height:22px;padding:0 12px}.task-form-card textarea{min-height:96px;padding:12px;resize:vertical}.task-form-card--checklists,.task-form-card--documents{padding:12px}.task-form-card.task-form-card--checklists .task-workspace__section{padding:0;border:0;border-radius:0;background:transparent}.task-form-card.task-form-card--checklists .task-workspace__section-head{min-height:28px;margin-bottom:10px}.task-form-card--checklists .task-inline-create{grid-template-columns:minmax(0,1fr) 118px;gap:8px;margin-bottom:10px}.task-form-card--checklists .task-inline-create input,.task-form-card--checklists .task-inline-create button{min-height:34px;border-radius:6px;font-size:13px}.task-form-card--documents .document-registry{padding:0;border:0;border-radius:0;background:transparent}.task-form-card--documents .document-registry__toolbar{align-items:center;min-height:40px;padding:0 0 10px;border-bottom:1px solid var(--color-border)}.task-form-card--documents .document-registry__heading{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px}.task-form-card--documents .document-registry__heading svg{width:22px;height:22px;align-self:center;justify-self:center;margin:0}.task-form-card--documents .document-registry__toolbar h3{font-size:17px;line-height:24px}.task-form-card--documents .document-registry__toolbar p{margin-top:2px;font-size:12px;line-height:16px}.task-form-card--documents .document-registry__upload{min-height:34px;padding:0 12px;border-radius:6px;font-size:13px}.task-form-card--documents .document-registry__table{margin-top:0;border:0;border-radius:0}.task-form-card--documents .document-registry__head,.task-form-card--documents .document-registry__row{min-height:38px;padding:0;column-gap:12px}.task-form-card--documents .document-registry__row strong,.task-form-card--documents .document-registry__row span{font-size:12px;line-height:18px}.task-form-card--documents .document-registry__empty{min-height:72px;padding:12px 0;font-size:13px}.task-form__people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.task-form__people-grid .task-workspace__section,.task-form-card .task-workspace__section{padding:var(--space-3);border-radius:8px;box-shadow:none}.task-form__people-grid .task-workspace__section-head,.task-form-card .task-workspace__section-head{margin-bottom:0}.task-form__people-pickers,.task-form__fields,.task-form__actions,.task-form__meta{display:grid;gap:var(--space-2)}.task-form__fields small{color:var(--color-text-soft);font-size:12px;font-weight:600}.task-form .crm-picker-trigger{justify-content:flex-start;min-height:36px;padding:0;border-radius:6px}.task-form .crm-person-card{gap:var(--space-2)}.task-form .crm-person-card__body strong{font-size:13px;line-height:18px;font-weight:600}.task-form .crm-person-card__body small{font-size:12px;line-height:16px}.task-form__actions{grid-template-columns:1fr}.task-form-card--people{display:grid;gap:var(--space-3)}.task-form-card--people .task-form__people-pickers{gap:var(--space-2)}.task-form-card--people .task-form__people-pickers label{gap:var(--space-1)}.task-form-card--people .crm-person-card{width:100%;min-height:40px;border-radius:6px;background:var(--color-surface-muted)}.task-form-card--people .task-workspace__section{padding:0;border:0;border-top:1px solid var(--color-border);border-radius:0;background:transparent}.task-form-card--people .task-workspace__section-head{min-height:28px;margin:0}.task-form-card--people .task-workspace__section-head h3{font-size:12px;line-height:16px;color:var(--color-text-muted)}.task-form-card--people .task-add-link{font-size:12px}.task-form-card--people .task-member-picker{gap:var(--space-2)}.task-form-card--people .task-pill-list{gap:var(--space-1)}.task-form-card--people .task-entity-empty{min-height:34px;display:flex;align-items:center;border:1px solid var(--color-border);border-radius:6px;padding:0 var(--space-2);background:var(--color-surface-muted)}.task-form__actions .button{min-height:36px;padding:0 12px;font-size:13px;border-radius:6px}.task-form__meta{margin-top:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:12px;line-height:16px;font-weight:600}.task-empty-state{color:var(--color-text-muted)}.task-empty-state p{margin:0}.project-form__metrics{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:var(--space-2);padding:10px 12px;border-bottom:1px solid var(--color-border);background:var(--color-surface-muted)}.project-form__metrics article{min-height:46px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:8px 10px;display:grid;align-content:center;gap:2px}.project-form__metrics strong{color:var(--color-text);font-size:20px;line-height:1}.project-form__metrics span{color:var(--color-text-muted);font-size:12px;font-weight:700}.project-form__metrics article.is-danger strong{color:#b94a48}.project-form__layout{grid-template-columns:minmax(0,1fr) minmax(300px,360px)}.project-form__aside{gap:10px}.project-form__tabs{display:flex;align-items:flex-start;flex-wrap:wrap;gap:0;padding:10px 12px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.project-form__tabs button{height:36px;min-height:36px;border:1px solid var(--color-border);border-right:0;border-radius:0;padding:0 var(--space-3);display:inline-flex;align-items:center;gap:var(--space-2);background:var(--color-surface);color:var(--color-text);cursor:pointer;font:inherit;font-size:13px;font-weight:700}.project-form__tabs button:first-child{border-radius:6px 0 0 6px}.project-form__tabs button:last-child{border-right:1px solid var(--color-border);border-radius:0 6px 6px 0}.project-form__tabs button.is-active{background:var(--color-text);color:var(--color-surface)}.project-form__description-card p{margin:0;color:var(--color-text-muted);font-size:13px;line-height:20px}.project-form-tasks header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.project-form-tasks header h3,.project-form-tasks header p{margin:0}.project-form-tasks header p{margin-top:4px;color:var(--color-text-muted);font-size:13px}.project-form-tasks header span{min-width:34px;height:26px;border-radius:6px;display:grid;place-items:center;background:var(--color-page);color:var(--color-text);font-weight:900}.project-task-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-2);margin-bottom:10px}.project-task-create input,.project-task-create button{min-height:36px;border:1px solid var(--color-border);border-radius:6px;font:inherit;font-size:13px}.project-task-create input{min-width:0;padding:0 var(--space-3);background:var(--color-surface-muted);color:var(--color-text)}.project-task-create button{padding:0 var(--space-3);display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);background:var(--color-text);color:var(--color-surface);cursor:pointer;font-weight:700}.project-form-task-list{display:grid;border:1px solid var(--color-border);border-radius:8px;overflow:hidden}.project-form-task-list article{display:grid;grid-template-columns:minmax(0,1fr) 150px 110px;gap:10px;align-items:center;min-height:44px;padding:8px 10px;border-bottom:1px solid var(--color-border)}.project-form-task-list article:last-child{border-bottom:0}.project-form-task-list strong,.project-form-task-list small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-form-task-list small{margin-top:2px;color:var(--color-text-muted);font-size:12px}.project-form-task-list b{color:var(--color-text-muted);font-size:12px;text-align:right}.project-form-chat{min-height:420px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.project-form-chat>header{padding:12px;border-bottom:1px solid var(--color-border)}.project-form-chat h3,.project-form-chat p{margin:0}.project-form-chat h3{display:inline-flex;align-items:center;gap:8px;font-size:16px}.project-form-chat header p{margin-top:4px;color:var(--color-text-muted);font-size:12px;font-weight:700}.project-form-chat__messages{min-height:0;overflow:auto;padding:10px;display:grid;align-content:start;gap:8px;background:var(--color-page)}.project-chat-message{max-width:92%;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:8px 10px;display:grid;gap:4px}.project-chat-message.is-system{max-width:100%;background:color-mix(in srgb,var(--color-surface-muted) 82%,var(--color-surface))}.project-chat-message strong{font-size:12px}.project-chat-message p{color:var(--color-text);font-size:13px;line-height:1.45}.project-chat-message span{color:var(--color-text-soft);font-size:10px}.project-form-chat__empty{min-height:280px;display:grid;place-items:center;align-content:center;gap:7px;color:var(--color-text-muted);text-align:center}.project-form-chat__empty strong{color:var(--color-text)}.project-form-chat__composer{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px;padding:10px;border-top:1px solid var(--color-border)}.project-form-chat__composer input{min-width:0;min-height:36px;border:1px solid var(--color-border);border-radius:10px;padding:0 12px;background:var(--color-surface-muted);color:var(--color-text);font:inherit}.project-form-chat__composer button{width:38px;height:36px;border:1px solid var(--color-text);border-radius:10px;display:grid;place-items:center;background:var(--color-text);color:var(--color-surface);cursor:pointer}.project-form-chat__composer button:disabled{opacity:.45;cursor:not-allowed}.project-form-chat__status{padding:0 12px 10px;color:var(--color-text-muted);font-size:12px}.task-add-link{border:0;padding:0;background:transparent;color:var(--color-text-muted);font-size:12px;font-weight:600;text-transform:lowercase}.task-add-link:hover{color:var(--color-text)}@media(max-width:1280px){.task-form__layout,.project-form__layout{grid-template-columns:minmax(0,1fr)}.task-form__aside:not(.project-form__aside){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:980px){.task-form__stages,.task-form__people-grid,.task-form__aside,.project-form__metrics,.project-form-task-list article{grid-template-columns:1fr}.task-form__layout{padding:12px}}.tasks-page.pipeline-page{display:grid;gap:16px}.tasks-create-button,.tasks-column-form button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--color-text);border-radius:8px;background:var(--color-text);color:var(--color-surface);font-weight:800}.tasks-search{min-width:260px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text-muted)}.tasks-search input,.tasks-column-form input,.tasks-filters select{min-height:40px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font-size:13px}.tasks-search input{min-width:0;border:0;background:transparent;outline:0}.tasks-column-form input,.tasks-filters select{padding:0 12px}.tasks-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.tasks-column-form{display:flex;justify-content:flex-end;gap:10px}.tasks-status{margin:0;color:var(--color-text-muted);font-size:13px}.tasks-pipeline-heading{align-items:flex-end}.tasks-pipeline-toolbar .tasks-search{min-height:42px;border-radius:var(--radius-sm);background:var(--color-surface)}.tasks-pipeline-toolbar .tasks-tabs{gap:4px}.tasks-pipeline-toolbar .tasks-tabs button{height:30px;min-height:30px;padding:0 10px;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--color-text-muted);font-size:12px;font-weight:600}.tasks-pipeline-toolbar .tasks-tabs button.is-active{background:var(--color-surface-muted);color:var(--color-text)}.tasks-filters--pipeline,.tasks-column-form--pipeline{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:none}.task-kanban-card .task-tags{gap:6px}.task-kanban-card .task-tags span{padding:2px 7px;border-radius:999px;background:color-mix(in srgb,var(--color-surface-muted) 70%,white 30%);color:var(--color-text-soft);font-size:11px;font-weight:600}.task-pipeline-list__header,.task-pipeline-list__row{grid-template-columns:minmax(220px,1.45fr) minmax(150px,.9fr) minmax(160px,1fr) minmax(170px,1fr) 118px 124px}.task-pipeline-list__row strong:last-child{font-size:12px;font-weight:600;color:var(--color-text-muted);text-transform:none}@media(max-width:1100px){.task-b24-workspace{height:auto;min-height:0;overflow:visible}.task-b24-shell{grid-template-columns:1fr;height:auto;overflow:visible}.task-b24-left{height:auto;overflow:visible}.task-b24-chat{min-height:540px}}@media(max-width:1439px){.task-workspace__shell{grid-template-columns:1fr}.task-chat-panel{min-height:540px}}@media(max-width:900px),(pointer:coarse){.task-workspace__topbar,.tasks-hero,.tasks-toolbar,.tasks-filters,.task-workspace__stats,.task-workspace__grid,.task-workspace__participants-grid,.task-member-picker__controls,.task-inline-create,.task-chat-panel__composer>div{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.task-workspace__topbar{display:grid}.tasks-hero,.tasks-toolbar{align-items:stretch}.tasks-search{min-width:0}.tasks-filters{grid-template-columns:1fr}.task-workspace__title{font-size:22px}.task-chat-panel,.task-chat-panel__composer textarea{min-height:0}}.tasks-odoo-page{gap:var(--space-4)}.tasks-odoo-heading{border:1px solid var(--color-border);border-radius:8px;padding:var(--space-4);background:var(--color-surface)}.tasks-odoo-heading .pipeline-heading__title h1{font-size:24px;line-height:32px}.tasks-odoo-heading .pipeline-heading__title{margin-top:4px}.tasks-odoo-heading .pipeline-heading__meta span{min-height:32px;padding:0 var(--space-3);border-radius:6px}.tasks-odoo-heading .tasks-create-button{min-width:158px;min-height:36px;padding:0 var(--space-3);border-radius:6px}.tasks-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3)}.tasks-metric{min-height:72px;border:1px solid var(--color-border);border-radius:8px;padding:var(--space-3);display:grid;align-content:center;gap:4px;background:var(--color-surface)}.tasks-metric span,.tasks-metric small{color:var(--color-text-muted)}.tasks-metric span{font-size:12px;font-weight:800;text-transform:uppercase}.tasks-metric strong{color:var(--color-text);font-size:22px;line-height:28px;font-variant-numeric:tabular-nums}.tasks-metric small{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.tasks-metric.is-active strong{color:#2f7d5c}.tasks-metric.is-danger strong{color:#b64b4b}.tasks-workbench{display:grid;gap:12px}.tasks-projects-top,.tasks-work-area{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.tasks-projects-top{padding:var(--space-4);display:grid;gap:var(--space-3)}.tasks-projects-top__head,.tasks-projects-top header,.tasks-project-create{display:flex;align-items:center;gap:10px}.tasks-projects-top__head{justify-content:space-between}.tasks-projects-top header p,.tasks-projects-top header h2{margin:0}.tasks-projects-top header p{color:var(--color-text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.tasks-projects-top header h2{margin-top:1px;font-size:18px;line-height:24px}.tasks-projects-top header span,.tasks-project-item b{min-width:32px;height:28px;border-radius:6px;display:grid;place-items:center;background:var(--color-page);color:var(--color-text);font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}.tasks-project-create{flex:0 1 460px;justify-content:flex-end}.tasks-project-create input{min-height:36px;min-width:0;flex:1;border:1px solid var(--color-border);border-radius:6px;padding:0 11px;background:var(--color-page);color:var(--color-text);font:inherit}.tasks-project-create button{min-height:36px;border:1px solid var(--color-text);border-radius:6px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;background:var(--color-text);color:var(--color-surface);cursor:pointer;font:inherit;font-weight:800}.tasks-projects-top__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-2)}.tasks-project-item{width:100%;min-height:56px;border:1px solid var(--color-border);border-radius:6px;padding:var(--space-2) var(--space-3);display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:2px var(--space-3);align-items:center;background:var(--color-surface);color:var(--color-text);cursor:pointer;text-align:left}.tasks-project-card{position:relative;min-width:0}.tasks-project-card .tasks-project-item{padding-right:44px}.tasks-project-card.is-active .tasks-project-item,.tasks-project-item.is-active{border-color:color-mix(in srgb,var(--color-active) 32%,var(--color-border));background:color-mix(in srgb,var(--color-active) 6%,var(--color-surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-active) 20%,transparent)}.tasks-project-open-button{position:absolute;top:50%;right:var(--space-2);width:30px;height:30px;border:1px solid var(--color-border);border-radius:6px;display:grid;place-items:center;background:var(--color-surface);color:var(--color-text-muted);cursor:pointer;transform:translateY(-50%)}.tasks-project-open-button:hover{color:var(--color-text);border-color:var(--color-border-strong)}.tasks-project-item__icon{grid-row:span 2;width:28px;height:28px;border-radius:6px;display:grid;place-items:center;background:var(--color-page)}.tasks-project-item strong,.tasks-project-item small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tasks-project-item strong{font-size:13px;line-height:18px}.tasks-project-item small{grid-column:2;color:var(--color-text-muted);font-size:12px;line-height:16px}.tasks-project-item b{grid-row:span 2}.tasks-work-area{min-width:0;padding:var(--space-4);display:grid;gap:var(--space-3)}.tasks-work-area .tasks-pipeline-toolbar,.tasks-work-area .tasks-filters,.tasks-work-area .tasks-column-form{border:0;border-radius:0;box-shadow:none;background:transparent}.tasks-work-area .tasks-pipeline-toolbar{padding:0}.tasks-work-area .tasks-filters{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;position:relative;z-index:8}.tasks-work-area .tasks-column-form{padding:0}.tasks-work-area .tasks-tabs{gap:0;border:1px solid var(--color-border);border-radius:6px;overflow:hidden;background:var(--color-surface)}.tasks-work-area .tasks-tabs button{min-height:36px;border:0;border-right:1px solid var(--color-border);border-radius:0;display:inline-flex;align-items:center;gap:7px;background:transparent;color:var(--color-text)}.tasks-work-area .tasks-tabs button small{color:var(--color-text-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:0}.tasks-work-area .tasks-tabs button:last-child{border-right:0}.tasks-work-area .tasks-tabs button.is-active{background:var(--color-text);color:var(--color-surface)}.tasks-work-area .tasks-tabs button.is-active small{color:#ffffffb8}.tasks-work-area .tasks-search{min-height:36px;background:var(--color-surface)}.tasks-work-area .tasks-column-form input{min-height:36px}.tasks-filter-menu{position:relative;min-width:0}.tasks-filter-menu__trigger{width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 11px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-text);font:inherit;font-size:13px;font-weight:700;text-align:left}.tasks-filter-menu__trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tasks-filter-menu__trigger svg{flex:0 0 auto;color:var(--color-icon)}.tasks-filter-menu__list{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;display:grid;max-height:216px;overflow:auto;padding:5px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:0 14px 34px #12182124}.tasks-filter-menu__list button{min-height:32px;display:flex;align-items:center;padding:0 9px;border:0;border-radius:6px;background:transparent;color:var(--color-text);font:inherit;font-size:12px;font-weight:700;text-align:left}.tasks-filter-menu__list button:hover,.tasks-filter-menu__list button.is-active{background:var(--color-surface-muted)}.tasks-filter-menu__list button.is-active:before{content:"✓";margin-right:7px;color:var(--color-accent)}.tasks-work-area .tasks-column-form button{min-height:36px;border-radius:6px}.task-kanban-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.task-kanban-card header span,.task-kanban-card header small{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.task-kanban-card footer{margin-top:var(--space-2);flex-wrap:wrap;justify-content:flex-start;gap:6px}.task-kanban-card footer>span{min-height:30px;border-radius:6px;padding:3px 6px;background:var(--color-page);color:var(--color-text-muted);font-size:11px;font-weight:800}.task-kanban-card footer>.task-employee-chip{max-width:100%;min-height:30px;flex:1 1 148px;gap:7px;padding:3px 8px 3px 4px;border:1px solid color-mix(in srgb,var(--color-border) 72%,transparent);border-radius:999px;background:color-mix(in srgb,var(--color-surface-muted) 72%,var(--color-surface));color:var(--color-text-muted);line-height:1}.task-kanban-card footer>.task-employee-chip .contact-avatar,.task-kanban-card footer>.task-employee-chip .contact-avatar--xs{width:24px;height:24px;flex:0 0 24px;overflow:hidden;border:1px solid var(--color-surface);border-radius:50%;box-shadow:0 1px 2px #0f172a14}.task-kanban-card footer>.task-employee-chip .contact-avatar img{width:100%;height:100%;display:block;border-radius:inherit;object-fit:cover}.task-kanban-card footer>.task-employee-chip span:last-child{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:11px;font-weight:800;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.task-mobile-board{display:grid;gap:10px}.task-mobile-column{min-width:0;border:1px solid var(--color-border);border-radius:8px;overflow:hidden;background:var(--color-surface)}.task-mobile-column__head{min-height:44px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;background:color-mix(in srgb,var(--column-color) 14%,var(--color-page));border-bottom:1px solid var(--color-border)}.task-mobile-column__head span{width:8px;height:8px;border-radius:999px;background:var(--column-color)}.task-mobile-column__head strong{min-width:0;overflow:hidden;color:var(--color-text);font-size:13px;line-height:18px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.task-mobile-column__head b{min-width:28px;height:26px;border-radius:999px;display:grid;place-items:center;background:var(--color-surface);color:var(--color-text);font-size:12px;font-variant-numeric:tabular-nums}.task-mobile-column__cards{display:grid;gap:8px;padding:8px}.task-pipeline-list__header,.task-pipeline-list__row{grid-template-columns:minmax(240px,1.7fr) 130px minmax(160px,1fr) 160px 120px 120px}@media(max-width:1180px){.tasks-projects-top__head{align-items:stretch;flex-direction:column}}@media(max-width:820px){.tasks-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tasks-work-area .tasks-pipeline-toolbar{align-items:stretch;flex-direction:column}.tasks-work-area .tasks-filters{grid-template-columns:1fr}}@media(max-width:560px){.tasks-metrics{grid-template-columns:1fr}.tasks-odoo-heading{padding:14px}}@media(max-width:900px),(pointer:coarse){.tasks-odoo-page{--tasks-mobile-footer-space: calc(var(--mobile-nav-height, 76px) + 20px + env(safe-area-inset-bottom, 0px));gap:12px;min-width:0;padding-bottom:var(--tasks-mobile-footer-space);overflow-x:hidden}.tasks-odoo-heading{padding:12px}.tasks-odoo-heading .pipeline-heading__title{display:grid;gap:10px}.tasks-odoo-heading .pipeline-heading__title h1{font-size:22px;line-height:28px}.tasks-odoo-heading .pipeline-heading__actions,.tasks-odoo-heading .tasks-create-button,.tasks-odoo-heading .pipeline-heading__meta{width:100%}.tasks-odoo-heading .tasks-create-button{min-height:44px;justify-content:center}.tasks-odoo-heading .pipeline-heading__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.tasks-odoo-heading .pipeline-heading__meta span{min-height:36px;justify-content:center}.tasks-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tasks-metric{min-height:68px;padding:10px}.tasks-metric span{font-size:11px}.tasks-metric strong{font-size:21px;line-height:26px}.tasks-metric small{white-space:normal;line-height:16px}.tasks-projects-top,.tasks-work-area{border-radius:8px}.tasks-projects-top{padding:12px}.tasks-projects-top__head,.tasks-projects-top header,.tasks-project-create{align-items:stretch}.tasks-projects-top__head,.tasks-project-create{display:grid;grid-template-columns:1fr}.tasks-projects-top header{justify-content:space-between}.tasks-project-create{gap:8px}.tasks-project-create input,.tasks-project-create button,.tasks-project-archive-toggle{width:100%;min-height:44px;justify-content:center}.tasks-projects-top__list{display:flex;gap:8px;margin:0 -12px;padding:0 12px 2px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}.tasks-projects-top__list::-webkit-scrollbar{display:none}.tasks-project-card,.tasks-projects-top__list>.tasks-project-item{flex:0 0 min(300px,82vw);scroll-snap-align:start}.tasks-project-item{min-height:64px;border-radius:8px}.tasks-project-open-button{width:36px;height:36px}.tasks-work-area{padding:12px;gap:12px}.tasks-work-area .tasks-pipeline-toolbar{display:grid;grid-template-columns:1fr;gap:10px}.tasks-work-area .tasks-tabs{display:flex;width:100%;overflow-x:auto;scrollbar-width:none}.tasks-work-area .tasks-tabs::-webkit-scrollbar{display:none}.tasks-work-area .tasks-tabs button{flex:0 0 auto;min-height:44px;padding:0 12px}.tasks-work-area .tasks-search{width:100%;min-height:44px}.tasks-work-area .tasks-search input{min-height:42px;font-size:16px}.tasks-work-area .tasks-filters{grid-template-columns:1fr;gap:8px}.tasks-filter-menu__trigger,.tasks-filter-menu__list button,.tasks-work-area .tasks-column-form input,.tasks-work-area .tasks-column-form button{min-height:44px}.tasks-work-area .tasks-column-form{grid-template-columns:1fr;gap:8px}.tasks-work-area .tasks-column-form input{font-size:16px}.task-mobile-board,.task-mobile-column,.task-mobile-column__cards,.task-kanban-card{min-width:0}.task-mobile-board{margin:0;padding:0 0 4px}.task-mobile-column__cards .crm-kanban-card{border-radius:8px;box-shadow:none}.task-mobile-column__cards .crm-kanban-card h3,.task-mobile-column__cards .crm-kanban-card p{min-width:0;overflow-wrap:anywhere}.pipeline-list{display:grid;gap:8px;border:0;background:transparent;overflow:visible}.task-pipeline-list__header{display:none}.task-pipeline-list__row{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:none}.task-pipeline-list__row>*{min-width:0}.task-pipeline-list__row>div:first-child{display:grid;gap:3px}.task-pipeline-list__row>div:first-child strong{overflow:visible;color:var(--color-text);font-size:16px;line-height:21px;white-space:normal}.task-pipeline-list__row>div:first-child small{overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.task-pipeline-list__row>span,.task-pipeline-list__row>strong:last-child{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:10px;min-height:34px;color:var(--color-text);font-size:13px;line-height:18px;white-space:normal}.task-pipeline-list__row>span:before,.task-pipeline-list__row>strong:last-child:before{color:var(--color-text-muted);font-size:11px;font-weight:800;line-height:14px;text-transform:uppercase}.task-pipeline-list__row>span:nth-child(2):before{content:""}.task-pipeline-list__row>span:nth-child(3):before{content:"Проект"}.task-pipeline-list__row>span:nth-child(4):before{content:"Ответственный"}.task-pipeline-list__row>span:nth-child(5):before{content:"Срок"}.task-pipeline-list__row>strong:last-child:before{content:"Приоритет"}.task-pipeline-list__row .pipeline-list__stage{width:fit-content;max-width:100%;min-height:28px;display:inline-flex;position:relative;align-items:center;justify-self:start;padding:0 10px 0 24px;border-radius:999px;background:color-mix(in srgb,var(--stage-color) 12%,var(--color-surface));white-space:nowrap}.task-pipeline-list__row .pipeline-list__stage:before{left:10px;top:50%;transform:translateY(-50%)}.task-pipeline-list__row .crm-person-card,.task-pipeline-list__row .task-people-stack{max-width:100%}}@media(max-width:420px){.tasks-metrics{grid-template-columns:1fr}.task-pipeline-list__row>span,.task-pipeline-list__row>strong:last-child{grid-template-columns:92px minmax(0,1fr)}}.drive-page{display:grid;gap:18px}.drive-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.drive-heading p,.drive-heading span{margin:0;color:var(--color-muted)}.drive-heading p{font-size:14px}.drive-heading h1{margin:8px 0 4px;font-size:34px;line-height:1}.drive-heading__actions,.drive-toolbar__controls,.drive-create{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.drive-heading__actions .button,.drive-create .button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.drive-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px}.drive-stat{min-height:72px;padding:14px 16px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.drive-stat strong{display:block;font-size:24px;line-height:1}.drive-stat span{display:block;margin-top:8px;color:var(--color-muted)}.drive-shell{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:620px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden}.drive-sidebar{padding:16px;border-right:1px solid var(--color-border);background:#f4f6f8}.drive-sidebar__title{display:flex;align-items:center;gap:8px;margin-bottom:12px}.drive-list{display:grid;gap:8px}.drive-list__item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 10px;width:100%;padding:12px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--color-text);text-align:left;cursor:pointer}.drive-list__item span{grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#fff;border:1px solid var(--color-border)}.drive-list__item strong,.drive-list__item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-list__item small{color:var(--color-muted)}.drive-list__item:hover,.drive-list__item.is-active{border-color:#111418;background:#fff}.drive-content{display:grid;align-content:start;gap:14px;padding:18px;min-width:0}.drive-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--color-border)}.drive-toolbar h2{margin:0 0 8px;font-size:24px}.drive-toolbar__controls>button{height:40px;padding:0 14px;border:1px solid var(--color-border);border-radius:8px;background:#fff;color:var(--color-muted);font-weight:700;cursor:pointer}.drive-toolbar__controls>button.is-active{border-color:#111418;background:#111418;color:#fff}.drive-search{display:inline-flex;align-items:center;gap:8px;height:40px;width:min(320px,38vw);padding:0 12px;border:1px solid var(--color-border);border-radius:8px;background:#fff;color:var(--color-muted)}.drive-search input,.drive-create input{min-width:0;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit}.drive-search input{width:100%}.drive-breadcrumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.drive-breadcrumbs button{border:0;background:transparent;color:var(--color-muted);cursor:pointer}.drive-breadcrumbs button:after{content:"/";margin-left:6px;color:#c3c8d0}.drive-breadcrumbs button.is-active{color:var(--color-text);font-weight:700;cursor:default}.drive-breadcrumbs button.is-active:after{content:"";margin:0}.drive-create{padding:12px;border:1px solid var(--color-border);border-radius:8px;background:#f7f8fa}.drive-create input{flex:1;min-width:220px;height:42px;padding:0 12px;border:1px solid var(--color-border);border-radius:8px;background:#fff}.drive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.drive-item{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:12px;border:1px solid var(--color-border);border-radius:8px;background:#fff}.drive-item.is-moving{border-color:#111418;box-shadow:inset 0 0 0 1px #111418}.drive-item__main{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;border:0;background:transparent;text-align:left;color:var(--color-text);cursor:pointer}.drive-item__icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:8px}.drive-item__icon--folder{background:#edf4f2;color:#47776f}.drive-item__icon--file{background:#f1f2f4;color:#6b7280}.drive-item__text{min-width:0}.drive-item__text strong,.drive-item__text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-item__text small{margin-top:4px;color:var(--color-muted)}.drive-item__actions{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}.drive-item__actions button,.drive-item__actions a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--color-border);border-radius:8px;background:#fff;color:var(--color-text);cursor:pointer}.drive-item__actions button:hover,.drive-item__actions a:hover{border-color:#111418}.drive-empty,.drive-status{margin:0;color:var(--color-muted)}.drive-empty-state{display:grid;justify-items:center;gap:8px;padding:46px 16px;border:1px dashed var(--color-border);border-radius:8px;color:var(--color-muted);text-align:center}.drive-empty-state strong{color:var(--color-text)}@media(max-width:980px){.drive-heading,.drive-toolbar{display:grid}.drive-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.drive-shell{grid-template-columns:1fr}.drive-sidebar{border-right:0;border-bottom:1px solid var(--color-border)}.drive-search{width:100%}}.admin-console{--admin-border: #d9dee7;--admin-muted: #6f7785;--admin-surface: #ffffff;--admin-soft: #f3f4f6;--admin-ink: #17191d}.admin-console__heading{margin-bottom:0}.admin-console__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.admin-console__metric,.admin-panel{border:1px solid var(--admin-border);border-radius:8px;background:var(--admin-surface)}.admin-console__metric{min-height:72px;padding:14px 16px}.admin-console__metric small,.admin-panel__header p,.admin-list__row small,.admin-logs__state{color:var(--admin-muted)}.admin-console__metric strong{display:block;margin-top:4px;color:var(--admin-ink);font-size:28px;line-height:1}.admin-console__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:12px}.admin-panel{overflow:hidden}.admin-panel__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--admin-border)}.admin-panel__header h2{margin:0;color:var(--admin-ink);font-size:22px}.admin-panel__header p{margin:4px 0 0}.admin-list{display:grid}.admin-list__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,auto);gap:12px;align-items:center;min-height:58px;padding:10px 18px;border-bottom:1px solid #eef1f5}.admin-list__row:last-child{border-bottom:0}.admin-list__row strong,.admin-list__row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-list__row>span{overflow:hidden;max-width:260px;color:var(--admin-muted);text-align:right;text-overflow:ellipsis;white-space:nowrap}.admin-logs__header code{padding:2px 6px;border-radius:6px;background:var(--admin-soft);color:var(--admin-ink)}.admin-logs__state{flex:0 0 auto}.admin-logs__filters{display:grid;grid-template-columns:minmax(280px,1fr) minmax(190px,240px) minmax(170px,220px);gap:8px;padding:12px 18px;border-bottom:1px solid var(--admin-border)}.admin-logs__filters input,.admin-logs__filters select{width:100%;height:42px;border:1px solid var(--admin-border);border-radius:8px;background:var(--admin-soft);color:var(--admin-ink);font:inherit}.admin-logs__filters input{padding:0 14px}.admin-logs__filters select{padding:0 12px}.admin-logs__table{overflow-x:auto}.admin-logs__row{display:grid;grid-template-columns:132px 86px 180px minmax(360px,1fr) 180px;gap:12px;align-items:center;min-width:980px;min-height:50px;padding:10px 18px;border-bottom:1px solid #eef1f5}.admin-logs__row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-logs__row--head{min-height:42px;background:#fbfbfc;color:var(--admin-muted);font-size:12px;text-transform:uppercase}.admin-log-level{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;background:#eef1f5;color:var(--admin-muted);font-size:12px;text-transform:uppercase}.admin-log-level.is-warning{background:#fff6df;color:#9a6a00}.admin-log-level.is-error{background:#ffecec;color:#b3261e}.admin-logs__empty{padding:28px 18px;color:var(--admin-muted)}@media(max-width:1100px){.admin-console__summary,.admin-console__grid,.admin-logs__filters{grid-template-columns:1fr}}.employee-profile-card .employee-profile-card__avatar-block{width:112px;height:112px;margin-right:auto;margin-left:auto}.employee-profile-card.is-editing .employee-profile-card__avatar-block{margin-bottom:14px}.employee-profile-card.is-editing .contact-profile-card__links{width:100%}.employee-profile-card.is-editing .contact-profile-card__links.is-editing>span,.employee-profile-card.is-editing .contact-profile-card__links.is-editing .contact-profile-card__copyline,.employee-profile-card.is-editing .contact-profile-card__links.is-editing .contact-profile-card__phone-edit{min-height:28px;padding:0;border:0;background:transparent}.employee-profile-card.is-editing .contact-profile-card__links.is-editing .contact-profile-card__phone-edit input{min-height:28px;padding:0;border:0;border-radius:0;background:transparent;color:var(--color-text);font-size:15px}.employee-profile-actions--editing{grid-template-columns:1fr 1fr}.employee-profile-actions--editing .button{width:100%}.employee-profile-actions--editing>span{min-height:20px}.profile-checkin-action{border-radius:8px}.profile-checkin-action header button{border-radius:8px}.profile-checkin-form .button{min-height:38px;border-radius:8px;white-space:nowrap}.profile-checkin-action p{min-height:18px}@media(max-width:920px){.profile-checkin-form,.employee-profile-actions--editing{grid-template-columns:1fr}}@media(max-width:900px),(pointer:coarse){.contact-detail-page{width:100%;max-width:100%;min-width:0;padding:10px 10px calc(var(--mobile-nav-height, 76px) + 26px + env(safe-area-inset-bottom,0px));overflow-x:hidden}.contact-detail-layout,.contact-detail-layout:has(>.employee-profile-card){width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.contact-detail-layout>.employee-profile-card,.contact-detail-layout>.employee-detail-panel,.contact-detail-layout:has(>.employee-profile-card)>.employee-profile-card,.contact-detail-layout:has(>.employee-profile-card)>.employee-detail-panel,.contact-profile-card,.employee-detail-panel{width:100%;max-width:100%;min-width:0}.contact-profile-card,.employee-detail-panel,.profile-info-section,.profile-checkin-action,.profile-checkin-day,.document-registry,.relationship-summary__section{border-radius:8px}.employee-profile-card{padding:14px}.employee-profile-card .employee-profile-card__avatar-block{width:92px;height:92px}.contact-profile-card>strong{max-width:100%;font-size:22px;line-height:1.15;overflow-wrap:anywhere}.contact-profile-card>small{max-width:100%;overflow-wrap:anywhere}.employee-profile-card .contact-profile-card__links{width:100%;min-width:0}.employee-profile-card .contact-profile-card__links button,.employee-profile-card .contact-profile-card__links a,.employee-profile-card .contact-profile-card__links>span,.employee-profile-card.is-editing .contact-profile-card__links.is-editing>span,.employee-profile-card.is-editing .contact-profile-card__links.is-editing .contact-profile-card__copyline,.employee-profile-card.is-editing .contact-profile-card__links.is-editing .contact-profile-card__phone-edit{min-width:0;min-height:44px;width:100%;max-width:100%;justify-content:flex-start;border-radius:8px}.employee-profile-card .contact-profile-card__links button span,.employee-profile-card .contact-profile-card__links a span,.employee-profile-card .contact-profile-card__links>span>span,.employee-profile-card .contact-profile-card__links>.contact-profile-card__copyline a span{min-width:0;white-space:normal;overflow-wrap:anywhere}.contact-profile-card__copyline{display:grid;grid-template-columns:auto minmax(0,1fr) 44px}.contact-profile-card__copyline button,.copy-inline-button,.directory-action-menu__trigger,.profile-checkin-action header button{min-width:44px;width:44px;min-height:44px;height:44px}.employee-profile-actions,.employee-profile-actions--editing{width:100%;display:grid;grid-template-columns:1fr;gap:8px}.employee-profile-actions button,.employee-profile-actions a,.employee-profile-actions .button,.contact-inline-editor__actions .button{width:100%;min-height:44px;justify-content:center;border-radius:8px}.employee-profile-card__dates{width:100%;display:grid;grid-template-columns:1fr;gap:8px}.employee-detail-panel{padding:0;overflow:hidden}.employee-detail-panel .contact-detail-tabs,.contact-detail-tabs.profile-detail-tabs{display:flex;gap:6px;width:100%;max-width:100%;padding:10px 10px 0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.employee-detail-panel .contact-detail-tabs::-webkit-scrollbar,.contact-detail-tabs.profile-detail-tabs::-webkit-scrollbar{display:none}.employee-detail-panel .contact-detail-tabs button,.contact-detail-tabs.profile-detail-tabs button{flex:0 0 auto;min-height:44px;padding:0 12px;border-radius:8px;white-space:nowrap}.profile-info-grid,.employee-profile-grid,.employee-profile-grid--editor,.profile-checkin-panel{width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px}.profile-info-section{min-width:0;padding:12px}.profile-info-section header{min-width:0}.profile-info-section header strong{min-width:0;overflow-wrap:anywhere}.employee-info-table{width:100%;min-width:0}.employee-info-table div{min-width:0;grid-template-columns:1fr;gap:4px;padding:10px 0}.employee-info-table span,.employee-info-table__value,.employee-info-table b,.employee-info-table a{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.employee-info-table__value{display:flex;align-items:center;justify-content:flex-start;gap:8px}.employee-inline-input,.profile-checkin-mode,.profile-checkin-form input,.profile-checkin-form select{width:100%;min-width:0;min-height:44px;font-size:16px;border-radius:8px}.employee-profile-policy,.employee-comment-box{width:100%;max-width:100%;overflow-wrap:anywhere}.directory-tag-list.employee-interest-list{display:flex;flex-wrap:wrap;gap:6px}.employee-interest-list .directory-tag{max-width:100%;overflow-wrap:anywhere}.employee-quick-summary{width:100%;min-width:0;padding:12px;border-radius:8px}.employee-quick-summary>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.employee-quick-summary span{min-width:0;min-height:92px;border-radius:8px}.employee-quick-summary small{white-space:normal;overflow-wrap:anywhere}.contact-inline-editor__actions{position:sticky;bottom:calc(var(--mobile-nav-height, 76px) + 20px + env(safe-area-inset-bottom,0px));z-index:6;display:grid;grid-template-columns:1fr;gap:8px;width:100%;margin:0;padding:10px;border:1px solid var(--color-border);border-radius:8px;background:#fffffffa;box-shadow:0 -10px 28px #0f172a14}.contact-inline-editor__actions span{min-width:0;overflow-wrap:anywhere}.profile-checkin-action{padding:12px}.profile-checkin-action header{gap:8px}.profile-checkin-action header span{min-width:0}.profile-checkin-form{grid-template-columns:minmax(0,1fr);gap:8px}.profile-checkin-form .button{width:100%;min-height:44px}.profile-checkin-groups,.profile-checkin-list{min-width:0}.profile-checkin-card{min-width:0;grid-template-columns:1fr;gap:8px;padding:10px}.profile-checkin-card__body,.profile-checkin-card__body b,.profile-checkin-card__body small,.profile-checkin-card__body em{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}.document-registry{min-width:0;overflow:hidden}.document-registry__toolbar{grid-template-columns:1fr;gap:10px}.document-registry__upload{width:100%;min-height:44px;justify-content:center}.document-registry__table{overflow-x:auto;scrollbar-width:thin}.document-registry__head,.document-registry__row{min-width:560px}.relationship-summary,.relationship-summary__section,.relationship-summary__grid{width:100%;min-width:0}.relationship-summary{padding:10px}.relationship-summary__grid{grid-template-columns:minmax(0,1fr)}.relationship-summary__card{min-width:0}.relationship-summary__card strong,.relationship-summary__card small,.relationship-summary__tags span{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}}@media(max-width:380px){.employee-quick-summary>div{grid-template-columns:1fr}}@media(max-width:900px),(pointer:coarse){.app-shell--users-profile .contact-detail-page,.app-shell--users-profile .contact-detail-layout,.app-shell--users-profile .contact-detail-layout>*,.app-shell--users-profile .employee-detail-panel,.app-shell--users-profile .profile-info-grid,.app-shell--users-profile .employee-profile-grid,.app-shell--users-profile .profile-info-section,.app-shell--users-profile .profile-info-section__body,.app-shell--users-profile .employee-info-table{width:100%;max-width:100%;min-width:0}.app-shell--users-profile .contact-detail-layout,.app-shell--users-profile .employee-profile-grid,.app-shell--users-profile .profile-info-grid,.app-shell--users-profile .profile-checkin-panel{display:grid;grid-template-columns:minmax(0,1fr)!important}.app-shell--users-profile .employee-detail-panel{overflow:hidden}.app-shell--users-profile .contact-detail-tabs.profile-detail-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.app-shell--users-profile .contact-detail-tabs.profile-detail-tabs::-webkit-scrollbar{display:none}.app-shell--users-profile .contact-detail-tabs.profile-detail-tabs button{flex:0 0 auto;min-width:max-content}.app-shell--users-profile .profile-info-section{display:grid;gap:12px;padding:12px;overflow:hidden}.app-shell--users-profile .profile-info-section header{display:flex;align-items:center;gap:8px}.app-shell--users-profile .employee-info-table{display:grid;gap:0}.app-shell--users-profile .employee-info-table>div{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:5px;align-items:start;min-width:0;padding:10px 0}.app-shell--users-profile .employee-info-table>div>span:first-child{min-width:0;color:var(--color-text-muted);font-size:12px;line-height:16px;white-space:normal}.app-shell--users-profile .employee-info-table__value{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:stretch;gap:8px;width:100%;min-width:0;text-align:left}.app-shell--users-profile .employee-info-table__value>b,.app-shell--users-profile .employee-info-table__value>a{display:block;width:100%;min-width:0;max-width:100%;color:var(--color-text);line-height:20px;overflow-wrap:anywhere;word-break:normal;white-space:normal}.app-shell--users-profile .employee-info-table__value>em{grid-column:1 / -1;color:var(--color-active);font-size:12px;font-style:normal;font-weight:800}.app-shell--users-profile .copy-inline-button{flex:0 0 44px;justify-self:end}.app-shell--users-profile .employee-quick-summary>div{grid-template-columns:repeat(2,minmax(0,1fr))}}.messenger-workspace{--messenger-sticker-message-size: 240px;--messenger-sticker-preview-size: calc(var(--messenger-sticker-message-size) * .5);display:grid;grid-template-columns:74px 360px minmax(0,1fr);gap:0;height:min(720px,calc(100vh - 126px));min-height:520px;border:1px solid #d9dee7;border-radius:14px;background:var(--color-surface);overflow:hidden}.messenger-panel{border:0;border-radius:0;background:var(--color-surface);overflow:hidden}.messenger-panel--sidebar,.messenger-panel--chat{min-height:0;height:100%}.messenger-panel--notifications{background:var(--color-bg)}.messenger-rail{display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:7px 6px;border:0;border-right:1px solid var(--color-border);border-radius:0;background:var(--color-surface)}.messenger-rail__item{width:100%;min-height:54px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 4px;border:0;border-radius:10px;background:transparent;color:var(--color-text-muted);text-align:center}.messenger-rail__item:hover,.messenger-rail__item.is-active{background:var(--color-surface-muted);color:var(--color-text)}.messenger-rail__icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.messenger-rail__label{max-width:62px;font-size:10px;font-weight:600;line-height:1.2}.messenger-rail__count{position:absolute;top:6px;right:5px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:var(--color-active);color:var(--color-active-text);font-size:11px;font-weight:700}.messenger-panel--sidebar{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;border-right:1px solid var(--color-border)}.messenger-panel__header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid var(--color-border)}.messenger-panel__header strong{color:var(--color-text);font-size:16px;font-weight:800;line-height:1.2}.messenger-category-tabs{display:flex;gap:8px;padding:14px 18px 0;overflow-x:auto}.messenger-category-tabs button{height:36px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:700;white-space:nowrap}.messenger-category-tabs button.is-active{background:var(--color-text);border-color:var(--color-text);color:var(--color-surface)}.messenger-panel__search{height:34px;margin:8px 10px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-muted);color:var(--color-text-muted)}.messenger-panel__search input{width:100%;border:0;outline:0;background:transparent;color:var(--color-text)}.messenger-list{min-height:0;flex:1;overflow-y:auto;padding:0 8px 7px;overscroll-behavior:contain}.messenger-list__item{width:100%;min-height:50px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:6px 8px;border:0;border-radius:0;background:transparent;text-align:left}.messenger-list__item:hover,.messenger-list__item.is-active{background:#1118270f}.messenger-list__item--pinned{position:sticky;top:0;z-index:2;background:var(--color-bg)}.messenger-list__item--pinned.is-active,.messenger-list__item--pinned:hover{background:#1118270f}.messenger-list__item--with-divider{margin-bottom:4px;border-bottom:1px solid var(--color-border)}.messenger-list__item--first-regular{margin-top:2px}.messenger-list__item--person{display:flex;padding:6px 8px}.messenger-list__item--person .crm-person-card{width:100%;min-height:48px;padding:0;border:0;border-radius:0;background:transparent}.messenger-list__body{min-width:0;display:flex;flex-direction:column;gap:4px}.messenger-list__row{display:flex;align-items:center;justify-content:space-between;gap:10px}.messenger-list__body strong,.messenger-list__body small,.messenger-list__row time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-list__row time,.messenger-list__body small{color:var(--color-text-muted);font-size:12px}.messenger-list__unread{min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--color-active);color:var(--color-active-text);font-size:11px;font-weight:700}.messenger-list__empty,.messenger-panel__status{padding:12px 18px;color:var(--color-text-muted);font-size:12px}.messenger-list--objects{display:block;padding:0}.messenger-object-chat{min-height:70px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 10px;border-bottom:0;background:transparent}.messenger-object-chat:hover,.messenger-object-chat.is-active{background:#1118270f}.messenger-object-chat__main{min-width:0;min-height:54px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.messenger-object-chat__main span{min-width:0}.messenger-object-chat__main strong,.messenger-object-chat__main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-object-chat__main strong{color:var(--color-text);font-size:16px;font-weight:900;line-height:1.15}.messenger-object-chat__main small{color:var(--color-muted);font-size:13px;line-height:1.2}.messenger-object-chat>time{color:var(--color-text);font-size:13px;white-space:nowrap}.messenger-object-chat__switches{display:inline-flex;align-items:center;gap:3px;padding:2px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-bg)}.messenger-object-chat__switches button{position:relative;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--color-text-muted)}.messenger-object-chat__switches button:hover,.messenger-object-chat__switches button.is-active{background:var(--color-text);color:#fff}.messenger-object-chat__switches b{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;display:grid;place-items:center;border-radius:999px;background:#ef4444;color:#fff;font-size:9px;font-weight:900}.messenger-panel--chat{position:relative;display:flex;flex-direction:column;background:var(--color-surface)}.messenger-chat__header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.messenger-chat__identity{min-width:0;display:flex;align-items:center;gap:12px}.messenger-chat__identity div{min-width:0;display:flex;flex-direction:column;gap:2px}.messenger-chat__identity strong,.messenger-chat__identity span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-chat__identity strong{font-size:15px;font-weight:800}.messenger-chat__title-row{display:flex;align-items:baseline;gap:10px}.messenger-chat__title-row em{color:var(--color-text-muted);font-size:12px;font-style:italic;font-weight:500}.messenger-chat__identity span,.messenger-chat__meta{color:var(--color-text-muted);font-size:12px}.messenger-chat__actions{display:flex;align-items:center;gap:8px}.messenger-chat__actions .icon-button{border:0;background:transparent;color:var(--color-text-muted)}.messenger-chat__actions .icon-button:hover{background:var(--color-surface-muted);color:var(--color-text)}.messenger-chat-search{width:min(360px,34vw);min-height:36px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted)}.messenger-chat-search input{min-width:0;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit;font-size:13px}.messenger-chat-search small{color:var(--color-text-muted);font-size:12px;font-weight:800}.messenger-chat__meta{height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.messenger-pinned-message{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:9px 18px;border:0;border-bottom:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);cursor:pointer;font:inherit;text-align:left}.messenger-pinned-message strong{color:var(--color-active);font-size:12px;font-weight:900}.messenger-pinned-message span{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.messenger-chat__body{min-height:0;flex:1;padding:12px 18px 0;background:radial-gradient(circle at 18% 12%,color-mix(in srgb,var(--color-surface-muted) 65%,transparent),transparent 28%),linear-gradient(180deg,var(--color-page) 0%,var(--color-surface) 55%,var(--color-page) 100%)}.messenger-date-divider{display:flex;justify-content:center;padding:8px 0 14px}.messenger-date-divider span{padding:6px 12px;border-radius:999px;background:#8f98a633;color:var(--color-text-muted);font-size:12px;font-weight:700}.messenger-message-row{display:flex;justify-content:flex-start;padding:0 0 8px}.messenger-message-row.is-own{justify-content:flex-end}.messenger-bubble{position:relative;max-width:min(560px,74%);padding:10px 12px 7px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);color:var(--color-text);box-shadow:0 8px 20px #0f172a0a}.messenger-bubble__tools{position:absolute;top:6px;right:6px;opacity:0;transition:opacity .15s ease}.messenger-bubble:hover .messenger-bubble__tools,.messenger-bubble__tools:focus-within{opacity:1}.messenger-bubble__tools .icon-button{width:26px;height:26px;min-height:26px;border-radius:999px;background:#ffffffeb;color:var(--color-text-muted)}.messenger-message-menu{position:absolute;top:auto;right:0;bottom:32px;z-index:20;width:190px;display:grid;gap:2px;padding:8px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:0 18px 42px #0f172a2e}.messenger-bubble.is-own .messenger-message-menu{right:-2px;transform-origin:right bottom}.messenger-message-menu button{min-height:34px;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;color:var(--color-text);cursor:pointer;font:inherit;font-size:13px;font-weight:700;padding:0 8px;text-align:left}.messenger-message-menu button:hover{background:var(--color-surface-muted)}.messenger-bubble.is-own{border-color:#2f3338;background:#2f3338;color:#fff}.messenger-bubble.is-own .messenger-bubble__meta,.messenger-bubble.is-own .messenger-bubble__author,.messenger-bubble.is-own .messenger-attachment span{color:#ffffffc2}.messenger-bubble--sticker{width:fit-content;padding:6px 7px 5px;background:transparent;border-color:transparent;box-shadow:none}.messenger-bubble--sticker.is-own{background:transparent;border-color:transparent;color:var(--color-text)}.messenger-bubble--sticker.is-own .messenger-bubble__meta{color:var(--color-text-muted)}.messenger-bubble__author{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--color-text-muted);font-size:12px;font-weight:700}.messenger-bubble__body{font-size:13px;line-height:1.36;word-break:break-word}.messenger-bubble__forwarded{margin-bottom:5px;color:var(--color-active);font-size:11px;font-weight:800;line-height:1.2}.messenger-bubble.is-own .messenger-bubble__forwarded{color:#ffffffc7}.messenger-bubble__reply{display:grid;gap:3px;margin-bottom:8px;padding:8px 10px;border-left:3px solid var(--color-active);border-radius:8px;background:var(--color-surface-muted)}.messenger-bubble.is-own .messenger-bubble__reply{background:#ffffff1a}.messenger-bubble__reply strong,.messenger-bubble__reply span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-bubble__reply strong{color:var(--color-active);font-size:12px;font-weight:900}.messenger-bubble__reply span{color:var(--color-text-muted);font-size:12px}.messenger-bubble.is-own .messenger-bubble__reply span{color:#ffffffbd}.messenger-sticker-message{width:var(--messenger-sticker-message-size);height:var(--messenger-sticker-message-size);max-width:min(var(--messenger-sticker-message-size),48vw);max-height:min(var(--messenger-sticker-message-size),48vw);display:block;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(15,23,42,.12))}.messenger-bubble__attachments{display:flex;flex-direction:column;gap:8px;margin-top:10px}.messenger-attachment{display:inline-flex;align-items:center;gap:8px;color:var(--color-text)}.messenger-attachment--image{display:inline-flex;flex-direction:column;align-items:flex-start;gap:8px}.messenger-attachment--image img{width:180px;max-width:100%;border-radius:12px;border:1px solid var(--color-border)}.messenger-poll-card,.messenger-task-link{margin-top:10px;padding:12px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-muted)}.messenger-poll-card__options{display:flex;flex-direction:column;gap:8px;margin-top:10px}.messenger-poll-card__options button{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);color:var(--color-text)}.messenger-bubble__meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px;color:var(--color-text-muted);font-size:11px}.messenger-bubble__meta .is-error{color:#b42318}.messenger-composer-shell{position:relative;padding:10px 18px 14px;border-top:1px solid var(--color-border);background:var(--color-surface)}.messenger-upload-queue{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.messenger-upload-queue span{max-width:210px;min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:4px 9px 4px 5px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;font-weight:700}.messenger-upload-queue span.is-image{background:var(--color-surface)}.messenger-upload-queue img{width:30px;height:30px;flex:0 0 auto;border-radius:8px;object-fit:cover}.messenger-upload-queue small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-reply-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px;padding:8px 10px;border-left:3px solid var(--color-active);border-radius:8px;background:var(--color-surface-muted)}.messenger-reply-preview span{min-width:0;display:grid;gap:2px}.messenger-reply-preview strong,.messenger-reply-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-reply-preview strong{color:var(--color-active);font-size:12px;font-weight:900}.messenger-reply-preview small{color:var(--color-text-muted);font-size:12px}.messenger-reply-preview button{width:24px;height:24px;border:0;border-radius:999px;background:transparent;color:var(--color-text-muted);cursor:pointer;font-size:20px;line-height:20px}.messenger-composer{min-height:46px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface)}.messenger-composer__attach{color:var(--color-text-muted)}.messenger-composer__attach:hover,.messenger-composer__attach:focus-visible{color:var(--color-text)}.messenger-composer textarea{max-height:140px;padding:4px 0;resize:none;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit;font-size:13px;line-height:1.3}.messenger-composer__actions{display:flex;align-items:center;gap:6px}.messenger-composer .icon-button.is-active{border-color:var(--color-active);color:var(--color-active)}.messenger-composer__emoji.is-active{background:#2b6ff614}.messenger-send-button{min-width:108px;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #15171a;border-radius:6px;background:#15171a;color:#fff;font:inherit;font-size:12px;font-weight:800}.messenger-forward-picker{position:absolute;right:20px;top:78px;bottom:auto;z-index:30;width:min(320px,calc(100% - 40px));display:grid;grid-template-rows:auto auto;gap:8px;padding:9px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);color:var(--color-text);box-shadow:0 18px 44px #0f172a29}.messenger-forward-picker__search{height:36px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-muted);color:var(--color-text-muted)}.messenger-forward-picker__search input{min-width:0;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit;font-size:13px}.messenger-forward-picker__search input::placeholder{color:var(--color-text-muted)}.messenger-forward-picker__search button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--color-text-muted);cursor:pointer}.messenger-forward-picker__search button:hover{background:var(--color-surface);color:var(--color-text)}.messenger-forward-picker__list{overflow:visible;display:grid;gap:2px}.messenger-forward-picker__item{min-width:0;height:44px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:4px 8px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;text-align:left}.messenger-forward-picker__item:hover,.messenger-forward-picker__item:focus-visible{outline:none;background:var(--color-surface-muted)}.messenger-forward-picker__item span{min-width:0;display:grid;gap:1px}.messenger-forward-picker__item strong,.messenger-forward-picker__item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-forward-picker__item strong{color:var(--color-text);font-size:13px;font-weight:800}.messenger-forward-picker__item small{color:var(--color-text-muted);font-size:11px;font-weight:600}.messenger-forward-picker__empty{padding:16px 10px;color:var(--color-text-muted);font-size:12px;font-weight:700;text-align:center}.messenger-emoji-popover{position:absolute;right:18px;bottom:72px;z-index:10}.messenger-emoji-card{width:min(480px,calc(100vw - 42px));height:min(420px,calc(100vh - 160px));display:grid;grid-template-rows:auto minmax(0,1fr);padding:14px 14px 10px;border:1px solid rgba(217,222,231,.9);border-radius:20px;background:linear-gradient(180deg,#fffffff5,#f7f9fcf0);box-shadow:0 18px 42px #0f172a29;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden}.messenger-emoji-card__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px 10px}.messenger-emoji-card__title{color:var(--color-text-muted);font-size:15px;font-weight:800;line-height:1.2}.messenger-emoji-card__subtitle{margin-top:2px;color:var(--color-text-muted);font-size:11px;font-weight:700;line-height:1.2}.messenger-emoji-tabs{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface)}.messenger-emoji-tabs button{height:30px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--color-text-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.messenger-emoji-tabs button.is-active{background:#15171a;color:#fff}.messenger-emoji-card emoji-picker{width:100%;height:100%;min-height:0;--background: transparent;--border-color: transparent;--border-size: 0;--border-radius: 18px;--button-active-background: rgba(43, 111, 246, .14);--button-hover-background: rgba(17, 24, 39, .07);--category-font-color: var(--color-text-muted);--category-font-size: 12px;--emoji-size: 1.45rem;--emoji-padding: .24rem;--category-emoji-size: 1.2rem;--category-emoji-padding: .28rem;--indicator-color: var(--color-active);--indicator-height: 3px;--input-border-color: #d9dee7;--input-border-radius: 12px;--input-font-color: var(--color-text);--input-font-size: 16px;--input-padding: .45rem .65rem;--input-placeholder-color: var(--color-text-muted);--num-columns: 8;--outline-color: var(--color-active);--outline-size: 2px}.messenger-sticker-grid{min-height:0;display:grid;grid-template-columns:repeat(auto-fill,var(--messenger-sticker-preview-size));justify-content:center;align-content:start;gap:12px;overflow:auto;padding:2px 4px 8px}.messenger-sticker-button{width:var(--messenger-sticker-preview-size);aspect-ratio:1;display:grid;place-items:center;min-height:var(--messenger-sticker-preview-size);padding:3px;border:1px solid transparent;border-radius:12px;background:transparent;cursor:pointer}.messenger-sticker-button:hover,.messenger-sticker-button:focus-visible{border-color:#2b6ff63d;background:#2b6ff614;outline:none}.messenger-sticker-button img{width:var(--messenger-sticker-preview-size);height:var(--messenger-sticker-preview-size);max-width:100%;max-height:100%;object-fit:contain}.messenger-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;color:var(--color-text-muted);text-align:center}.messenger-empty strong{color:var(--color-text);font-size:17px}.messenger-modal__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background:#0f172a52;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.messenger-modal{width:min(720px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 32px));display:grid;gap:16px;padding:22px;border:1px solid var(--line);border-radius:28px;background:var(--panel);overflow:auto}.messenger-modal__header{display:grid;gap:12px}.messenger-modal__header h3{margin:0;font-size:1.5rem}.messenger-modal__modes{display:flex;flex-wrap:wrap;gap:8px}.messenger-modal__modes button{padding:8px 14px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font:inherit;font-weight:700;cursor:pointer}.messenger-modal__modes button.is-active{background:var(--color-text);border-color:var(--color-text);color:var(--color-surface)}.messenger-modal__search{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface-muted);color:var(--color-text-muted)}.messenger-modal__search input,.messenger-modal__field input{width:100%;border:0;outline:none;background:transparent;color:var(--color-text);font:inherit}.messenger-modal__field,.messenger-modal__list{display:grid;gap:8px}.messenger-modal__person{width:100%;border:0;border-radius:18px;background:transparent;text-align:left;cursor:pointer}.messenger-modal__person.is-selected,.messenger-modal__person:hover{background:var(--panel-muted)}.messenger-modal__actions{display:flex;justify-content:flex-end;gap:10px}[data-theme=dark] .messenger-chat__body{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.035),transparent 28%),linear-gradient(180deg,#0f1013,#111114 56%,#0f1013)}[data-theme=dark] .messenger-send-button{border-color:#34363d;background:#2b2d33;color:#f4f4f5}[data-theme=dark] .messenger-emoji-card{border-color:#2c3038;background:#f8fafc;color:#15171a}@media(max-width:1320px){.messenger-workspace{grid-template-columns:78px 330px minmax(0,1fr)}}@media(max-width:900px),(pointer:coarse){.messenger-workspace{--messenger-mobile-footer-offset: calc(var(--mobile-nav-height, 76px) + 20px + env(safe-area-inset-bottom, 0px));--messenger-sticker-message-size: 184px;display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);width:100%;max-width:100%;min-width:0;min-height:0;height:calc(100dvh - var(--mobile-nav-height, 76px) - 78px - env(safe-area-inset-bottom,0px));max-height:none;margin:0;padding-bottom:0;border:0;border-radius:0;background:var(--color-bg);overflow:hidden}.messenger-panel{min-width:0;max-width:100%;border-radius:0}.messenger-rail{z-index:8;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(72px,max-content);gap:4px;padding:0 0 8px;border-right:0;border-bottom:1px solid var(--color-border);background:var(--color-bg);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.messenger-rail::-webkit-scrollbar,.messenger-category-tabs::-webkit-scrollbar{display:none}.messenger-rail__item{min-width:74px;min-height:48px;padding:5px 6px;border:1px solid transparent;border-radius:8px;background:var(--color-surface)}.messenger-rail__item.is-active{border-color:#2b6ff647;background:#2b6ff614;color:var(--color-active)}.messenger-rail__label{max-width:68px;font-size:10px}.messenger-panel--sidebar{grid-template-rows:auto auto auto minmax(0,1fr);height:100%;max-height:none;border-right:0;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);overflow:hidden}.messenger-workspace.is-chat-open>.messenger-rail,.messenger-workspace.is-chat-open>.messenger-panel--sidebar{display:none}.messenger-workspace.is-chat-open{grid-template-rows:minmax(0,1fr)}.messenger-panel__header{min-height:52px;padding:10px 14px}.messenger-category-tabs{gap:6px;padding:10px 12px 0;scrollbar-width:none}.messenger-category-tabs button{min-height:42px;height:42px;padding:0 13px;border-radius:8px;font-size:12px}.messenger-panel__search{min-height:44px;height:44px;margin:10px 12px;border-radius:8px}.messenger-list{max-height:none;min-height:0;height:100%;padding:0 8px 10px}.messenger-list__item,.messenger-list__item--person{min-height:62px;padding:8px;gap:10px;border-radius:8px}.messenger-list__body strong,.messenger-list__body small,.messenger-list__row time{min-width:0}.messenger-object-chat{min-height:78px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px 10px;border-radius:8px}.messenger-object-chat>time{grid-column:2;grid-row:1;align-self:start;font-size:12px}.messenger-object-chat__main{min-height:58px}.messenger-object-chat__main strong{font-size:14px}.messenger-object-chat__switches{grid-column:1 / -1;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;border-radius:8px}.messenger-object-chat__switches button{width:100%;min-height:42px;height:42px;border-radius:6px}.messenger-panel--chat{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;height:100%;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);overflow:hidden}.messenger-workspace.is-list-open>.messenger-panel--chat{display:none}.messenger-mobile-back{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:0;border-bottom:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:13px;font-weight:800;text-align:left}.messenger-chat__header{min-height:60px;padding:10px 12px;align-items:flex-start}.messenger-chat__identity{gap:10px}.messenger-chat__title-row{min-width:0;flex-direction:column;gap:2px;align-items:flex-start}.messenger-chat__actions{flex:0 0 auto;gap:4px}.messenger-chat__actions .icon-button,.messenger-composer .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}.messenger-chat-search{position:absolute;left:12px;right:12px;top:64px;z-index:4;width:auto;min-height:44px;background:var(--color-surface);box-shadow:0 10px 26px #0f172a1f}.messenger-chat__body{min-height:0;height:100%;padding:10px 10px 18px;background:var(--color-page);overflow:hidden}.messenger-pinned-message{padding:9px 12px}.messenger-bubble{max-width:min(326px,88%);border-radius:10px}.messenger-bubble__body{font-size:14px}.messenger-composer-shell{position:relative;bottom:auto;z-index:7;padding:8px 10px 10px;background:#fffffffa}.messenger-composer{min-height:52px;grid-template-columns:44px minmax(0,1fr) auto;gap:6px;padding:4px 6px;border-radius:8px}.messenger-composer textarea{min-height:34px;max-height:112px;font-size:16px}.messenger-composer__actions{gap:3px}.messenger-send-button{min-width:44px;width:44px;height:44px;padding:0;border-radius:8px;font-size:0}.messenger-send-button svg{width:18px;height:18px}.messenger-upload-queue span{max-width:100%;min-height:44px}.messenger-forward-picker{left:10px;right:10px;top:70px;width:auto;max-height:min(360px,calc(100vh - 190px));overflow:auto}.messenger-emoji-popover{position:fixed;left:8px;right:8px;bottom:calc(var(--messenger-mobile-footer-offset) + 62px);z-index:40}.messenger-emoji-card{width:100%;height:min(360px,calc(100vh - 230px));border-radius:12px}.messenger-emoji-card emoji-picker{--num-columns: 7}.messenger-empty{min-height:320px;padding:28px 18px}}@media(max-width:900px),(pointer:coarse){.calendar-page{position:relative;gap:0;min-width:0;min-height:calc(100dvh - var(--mobile-nav-height, 76px));padding:0 0 calc(var(--mobile-nav-height, 76px) + 18px + env(safe-area-inset-bottom,0px));overflow-x:hidden}.calendar-mobile-search{position:fixed;z-index:80;top:calc(10px + env(safe-area-inset-top,0px));right:10px;left:10px;width:auto;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity .16s ease,transform .16s ease}.calendar-mobile-search:focus-within{opacity:1;pointer-events:auto;transform:translateY(0)}.calendar-mobile-app{position:relative;min-height:calc(100dvh - var(--mobile-nav-height, 76px) - env(safe-area-inset-bottom,0px));display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr);gap:12px;padding:12px 12px 0;color:var(--color-text)}.calendar-mobile-head{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-mobile-head h1{margin:0;min-width:0;overflow:hidden;color:var(--color-text);font-size:21px;line-height:28px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.calendar-mobile-head div{display:inline-flex;align-items:center;gap:6px}.calendar-mobile-head button,.calendar-mobile-controls button,.calendar-mobile-fab{min-width:44px;min-height:44px;border:1px solid var(--color-border);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--color-surface);color:var(--color-text);font:inherit;font-weight:850}.calendar-mobile-weekdays,.calendar-mobile-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-mobile-weekdays span{display:grid;place-items:center;color:var(--color-text-muted);font-size:11px;line-height:18px;font-weight:850;text-transform:uppercase}.calendar-mobile-month{padding-bottom:10px;border-bottom:1px solid var(--color-border)}.calendar-mobile-month button{position:relative;min-width:0;min-height:34px;border:0;border-radius:999px;display:grid;place-items:center;background:transparent;color:var(--color-text);font:inherit;font-size:14px;line-height:18px;font-weight:800}.calendar-mobile-month button.is-muted{color:color-mix(in srgb,var(--color-text-muted) 48%,transparent)}.calendar-mobile-month button.is-today{color:var(--color-active)}.calendar-mobile-month button.is-selected{background:var(--color-active);color:#fff;box-shadow:0 7px 16px color-mix(in srgb,var(--color-active) 24%,transparent)}.calendar-mobile-month button i{position:absolute;right:3px;bottom:2px;min-width:14px;height:14px;border-radius:999px;display:grid;place-items:center;background:#e34f5f;color:#fff;font-size:9px;font-style:normal;line-height:1}.calendar-mobile-month button.is-selected i{background:#fff;color:var(--color-active)}.calendar-mobile-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.calendar-mobile-controls button{min-width:0;min-height:38px;border-radius:8px;color:var(--color-text-muted);font-size:12px}.calendar-mobile-agenda{min-height:0;display:grid;align-content:start;gap:10px;padding:6px 0 72px}.calendar-mobile-agenda>p{margin:0;color:var(--color-text-muted);font-size:13px;font-weight:850}.calendar-mobile-agenda>div:not(.calendar-mobile-empty){display:grid;gap:8px}.calendar-mobile-event{min-width:0;min-height:58px;border:1px solid var(--color-border);border-radius:10px;display:grid;grid-template-columns:8px minmax(0,1fr);gap:8px 10px;align-items:center;padding:9px 10px;background:var(--color-surface);color:var(--color-text);text-align:left}.calendar-mobile-event>span{grid-row:span 2;width:8px;height:100%;min-height:34px;border-radius:999px}.calendar-mobile-event strong,.calendar-mobile-event small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-mobile-event strong{font-size:14px;line-height:19px}.calendar-mobile-event small{color:var(--color-text-muted);font-size:12px}.calendar-mobile-empty{min-height:min(360px,42dvh);display:grid;align-content:center;justify-items:center;gap:12px;color:var(--color-text-muted);text-align:center}.calendar-mobile-empty svg{color:var(--color-active)}.calendar-mobile-empty strong{color:var(--color-text-muted);font-size:17px;line-height:24px}.calendar-mobile-fab{position:fixed;right:18px;bottom:calc(var(--mobile-nav-height, 76px) + 18px + env(safe-area-inset-bottom,0px));z-index:20;width:58px;height:58px;border:0;border-radius:18px;background:var(--color-active);color:#fff;box-shadow:0 16px 32px color-mix(in srgb,var(--color-active) 32%,transparent)}.calendar-page__header{display:grid;gap:12px}.calendar-page__header h1{font-size:28px;line-height:34px}.calendar-page__header span{max-width:100%;font-size:14px;line-height:20px}.calendar-page__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.calendar-search{grid-column:1 / -1}.calendar-search,.calendar-page__actions button{min-height:44px;border-radius:8px}.calendar-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.calendar-metric{min-width:0;min-height:74px;border-radius:8px;padding:10px}.calendar-metric span,.calendar-metric small{min-width:0;overflow-wrap:anywhere}.calendar-workspace{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}.calendar-board{order:1;min-width:0;padding:10px;border-radius:8px;overflow:hidden}.calendar-sidebar{order:2;min-width:0;height:auto;padding:10px;border-radius:8px}.calendar-inspector{order:3;min-height:0;height:auto;padding:10px;border-radius:8px}.calendar-sidebar section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.calendar-sidebar h2{grid-column:1 / -1;margin-bottom:0}.calendar-source{min-width:0;min-height:58px;border-radius:8px;padding:8px}.calendar-source__body strong,.calendar-source__body small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-board__status{justify-content:flex-start;margin-bottom:6px}.calendar-board .fc{max-width:100%;font-size:13px}.calendar-board .fc .fc-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch}.calendar-board .fc .fc-toolbar-chunk{width:100%;min-width:0}.calendar-board .fc .fc-toolbar-chunk:nth-child(2){order:-1}.calendar-board .fc .fc-toolbar-title{width:100%;overflow-wrap:anywhere;font-size:19px;line-height:24px}.calendar-board .fc .fc-button-group{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%}.calendar-board .fc .fc-toolbar-chunk:first-child,.calendar-board .fc .fc-toolbar-chunk:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.calendar-board .fc .fc-toolbar-chunk:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-board .fc .fc-button{width:100%;min-width:0;min-height:40px;padding:0 8px;border-radius:8px;font-size:12px;line-height:14px;white-space:normal}.calendar-board .fc .fc-list{border:0;border-radius:8px;overflow:hidden}.calendar-board .fc .fc-list-day-cushion{padding:9px 10px;background:var(--color-page);color:var(--color-text);font-size:12px}.calendar-board .fc .fc-list-event td{padding:9px 8px}.calendar-board .fc .fc-list-event-title,.calendar-board .fc .fc-list-event-title a{min-width:0;white-space:normal;overflow-wrap:anywhere}.calendar-modal{align-items:end;padding:12px}.calendar-form{width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:12px}.calendar-page>.calendar-inspector{margin:0 12px 12px}}@media(max-width:420px){.calendar-page__actions,.calendar-metrics,.calendar-sidebar section{grid-template-columns:minmax(0,1fr)}}.warehouse-page{display:grid;gap:10px}.warehouse-hero,.warehouse-toolbar,.warehouse-tabs,.warehouse-card{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-soft)}.warehouse-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:18px;border-radius:14px}.warehouse-hero p,.warehouse-hero span,.warehouse-field span,.warehouse-note{color:var(--color-text-muted)}.warehouse-hero p{margin:0 0 6px;font-size:12px;font-weight:700;text-transform:uppercase}.warehouse-hero h1{margin:0 0 6px;font-size:30px;line-height:1.1}.warehouse-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:8px}.warehouse-hero__stats b{display:grid;gap:3px;min-height:62px;padding:10px 12px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-bg);font-size:17px}.warehouse-hero__stats small{color:var(--color-text-muted);font-size:11px;font-weight:600}.warehouse-toolbar{display:flex;gap:8px;align-items:center;padding:10px;border-radius:12px}.warehouse-search{display:flex;flex:1;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-bg)}.warehouse-search input,.warehouse-field input,.warehouse-field select{width:100%;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit}.warehouse-toolbar button,.warehouse-form button,.warehouse-operation>button,.warehouse-operation__types button,.warehouse-tabs button{border:1px solid var(--color-border);color:var(--color-text);background:var(--color-bg);font:inherit;cursor:pointer}.warehouse-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px}.warehouse-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border-radius:12px}.warehouse-tabs button,.warehouse-operation__types button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border-radius:9px;font-size:13px;font-weight:700}.warehouse-tabs button.is-active,.warehouse-operation__types button.is-active,.warehouse-form button,.warehouse-operation>button{background:var(--color-text);color:var(--color-surface)}.warehouse-table-wrap{overflow:auto;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface)}.warehouse-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed;font-size:13px}.warehouse-table th,.warehouse-table td{height:42px;padding:8px 12px;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-table th{position:sticky;top:0;z-index:1;background:var(--color-bg);color:var(--color-text-muted);font-size:11px;text-transform:uppercase}.warehouse-table th.is-main,.warehouse-table td.is-main{width:22%;font-weight:700}.warehouse-table th.is-wide,.warehouse-table td.is-wide{width:22%}.warehouse-table th.is-date,.warehouse-table td.is-date{width:120px}.warehouse-table th.is-unit,.warehouse-table td.is-unit{width:68px;text-align:center}.warehouse-table th.is-number,.warehouse-table td.is-number,.warehouse-table th.is-money,.warehouse-table td.is-money{width:120px;text-align:right}.warehouse-table th.is-actions,.warehouse-table td.is-actions{width:112px;text-align:right}.warehouse-table tr:last-child td{border-bottom:0}.warehouse-empty,.warehouse-loading,.warehouse-error{padding:18px;color:var(--color-text-muted);text-align:center}.warehouse-error{border:1px solid rgba(185,28,28,.28);border-radius:12px;background:#b91c1c14;color:#b91c1c;text-align:left}.warehouse-grid{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:14px;align-items:start}.warehouse-stack{display:grid;gap:10px}.warehouse-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:var(--shadow-soft)}.warehouse-list-toolbar>div{display:inline-flex;align-items:center;gap:10px;min-width:0}.warehouse-list-toolbar>div>svg{flex:0 0 auto;color:var(--color-text)}.warehouse-list-toolbar span{display:grid;gap:2px;min-width:0}.warehouse-list-toolbar strong{color:var(--color-text);font-size:14px;line-height:1.2}.warehouse-list-toolbar small{overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.warehouse-list-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid var(--color-text);border-radius:9px;background:var(--color-text);color:var(--color-surface);cursor:pointer;font:inherit;font-size:13px;font-weight:800;white-space:nowrap}.warehouse-filter-bar{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.warehouse-filter-bar button{display:inline-flex;align-items:center;gap:7px;min-height:34px;max-width:280px;padding:0 10px;border:1px solid var(--color-border);border-radius:9px;background:var(--color-bg);color:var(--color-text);cursor:pointer;font:inherit;font-size:13px;font-weight:800}.warehouse-filter-bar button svg{flex:0 0 auto;color:var(--color-text-muted)}.warehouse-filter-bar button b{display:grid;min-width:24px;height:22px;place-items:center;padding:0 7px;border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:11px;font-variant-numeric:tabular-nums}.warehouse-filter-bar button.is-active{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.warehouse-filter-bar button.is-active svg,.warehouse-filter-bar button.is-active b{color:var(--color-surface)}.warehouse-filter-bar button.is-active b{background:color-mix(in srgb,var(--color-surface) 18%,transparent)}.warehouse-card{padding:10px 12px;border-radius:12px}.warehouse-card h2{display:flex;align-items:center;gap:8px;margin:0;font-size:15px}.warehouse-form,.warehouse-operation{display:grid;gap:8px}.warehouse-form--horizontal{grid-template-columns:190px minmax(220px,1.45fr) minmax(140px,.8fr) minmax(150px,.8fr) minmax(170px,.95fr) minmax(140px,.7fr) auto;align-items:end}.warehouse-form--horizontal h2{margin-bottom:0}.warehouse-material-create{padding:12px;border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-soft)}.warehouse-material-create h2{min-height:34px;white-space:nowrap}.warehouse-form-actions{display:flex;gap:6px;align-items:center}.warehouse-field{display:grid;gap:5px}.warehouse-field span{font-size:11px;font-weight:700;text-transform:uppercase}.warehouse-field input,.warehouse-field select{min-height:34px;padding:0 9px;border:1px solid var(--color-border);border-radius:9px;background:var(--color-bg)}.warehouse-form button,.warehouse-operation>button{min-height:36px;border-radius:10px;font-weight:800}.warehouse-form button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;white-space:nowrap}.warehouse-form-actions button[type=button],.warehouse-table-action{background:var(--color-bg);color:var(--color-text)}.warehouse-form-actions button.is-danger{border-color:color-mix(in srgb,#b91c1c 28%,var(--color-border));background:color-mix(in srgb,#b91c1c 6%,var(--color-bg));color:#b91c1c}.warehouse-row-actions{display:flex;justify-content:flex-end;gap:6px}.warehouse-table-action{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 9px;border:1px solid var(--color-border);border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.warehouse-table-action.is-danger{border-color:color-mix(in srgb,#b91c1c 28%,var(--color-border));color:#b91c1c;background:color-mix(in srgb,#b91c1c 6%,var(--color-bg))}.warehouse-table tbody tr:hover{background:color-mix(in srgb,var(--color-text) 3%,var(--color-surface))}.warehouse-operation__types{display:flex;flex-wrap:wrap;gap:8px}.warehouse-form-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px}.warehouse-note{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}.warehouse-material-create--priced{grid-template-columns:minmax(180px,.9fr) minmax(280px,1.4fr) minmax(150px,.75fr) minmax(150px,.75fr) minmax(170px,.85fr) auto}.warehouse-price-editor{grid-column:1 / -1;min-width:0;border-top:1px solid var(--color-border);padding-top:8px}.warehouse-price-editor summary{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);color:var(--color-text);cursor:pointer;font-size:12px;font-weight:800;list-style:none}.warehouse-price-editor summary::-webkit-details-marker{display:none}.warehouse-price-editor summary:after{content:"+";margin-left:8px;color:var(--color-text-muted)}.warehouse-price-editor[open] summary:after{content:"−"}.warehouse-price-editor__grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:8px;margin-top:8px}.warehouse-price-editor__row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(136px,1fr);gap:6px;align-items:center;padding:7px;border:1px solid var(--color-border);border-radius:9px;background:var(--color-bg)}.warehouse-price-editor__row input{min-height:30px;padding:0 8px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px}.warehouse-price-points{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-start}.warehouse-price-points span{display:inline-flex;align-items:baseline;gap:5px;min-height:26px;padding:0 7px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg)}.warehouse-price-points b{font-size:12px;font-weight:800}.warehouse-price-points small{color:var(--color-text-muted);font-size:10px;font-weight:700}.warehouse-bulk-transfer{display:grid;gap:10px}.warehouse-bulk-transfer__header{display:flex;align-items:start;justify-content:space-between;gap:12px}.warehouse-bulk-transfer__header div{display:grid;gap:4px}.warehouse-bulk-transfer__header p{margin:0;color:var(--color-text-muted);font-size:12px}.warehouse-bulk-transfer__header>b{display:inline-grid;min-height:30px;place-items:center;padding:0 10px;border-radius:999px;background:var(--color-bg);color:var(--color-text-muted);font-size:12px}.warehouse-bulk-transfer__toolbar{display:grid;grid-template-columns:auto minmax(220px,.75fr) minmax(300px,1fr) auto;gap:8px;align-items:end;padding:8px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-bg)}.warehouse-bulk-transfer__toolbar button{min-height:34px;padding:0 12px;border:1px solid var(--color-border);border-radius:9px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.warehouse-bulk-transfer__select{background:var(--color-surface);color:var(--color-text)}.warehouse-bulk-transfer__submit{border-color:var(--color-text)!important;background:var(--color-text);color:var(--color-surface)}.warehouse-transfer-list{overflow:hidden;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface)}.warehouse-transfer-list__head,.warehouse-transfer-row{display:grid;grid-template-columns:34px minmax(260px,1.35fr) minmax(180px,.8fr) minmax(110px,.5fr) minmax(140px,.55fr) minmax(120px,.5fr);gap:10px;align-items:center}.warehouse-transfer-list__head{min-height:38px;padding:0 12px;border-bottom:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.warehouse-transfer-row{min-height:52px;padding:7px 12px;border-bottom:1px solid var(--color-border);cursor:pointer}.warehouse-transfer-row:last-child{border-bottom:0}.warehouse-transfer-row:hover,.warehouse-transfer-row.is-selected{background:color-mix(in srgb,var(--color-text) 3%,var(--color-surface))}.warehouse-transfer-row input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--color-text)}.warehouse-transfer-row input:not([type=checkbox]){width:100%;min-height:34px;padding:0 9px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);color:var(--color-text);font:inherit}.warehouse-transfer-row__name{display:grid;gap:2px;min-width:0}.warehouse-transfer-row__name b,.warehouse-transfer-row__name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-transfer-row__name small{color:var(--color-text-muted);font-size:11px}.warehouse-transfer-list__empty{padding:18px;color:var(--color-text-muted);text-align:center}.warehouse-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:24px;background:#11141a61;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.warehouse-modal{width:min(520px,100%);display:grid;gap:12px;padding:14px;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);box-shadow:0 22px 60px #1418202e}.warehouse-modal>header,.warehouse-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.warehouse-modal>header span{display:inline-flex;align-items:center;gap:9px;color:var(--color-text)}.warehouse-modal>header strong{font-size:16px;line-height:1.2}.warehouse-modal>header button{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--color-border);border-radius:999px;background:var(--color-bg);color:var(--color-text-muted);cursor:pointer}.warehouse-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.warehouse-modal__grid .warehouse-field:first-child,.warehouse-modal__grid .warehouse-field:last-child{grid-column:1 / -1}.warehouse-modal>footer{justify-content:flex-end;padding-top:2px}.warehouse-modal>footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid var(--color-border);border-radius:9px;background:var(--color-bg);color:var(--color-text);cursor:pointer;font:inherit;font-size:13px;font-weight:800;white-space:nowrap}.warehouse-modal>footer .warehouse-modal__primary{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.warehouse-modal>footer .warehouse-modal__danger{border-color:color-mix(in srgb,#b91c1c 28%,var(--color-border));background:color-mix(in srgb,#b91c1c 6%,var(--color-bg));color:#b91c1c}@media(max-width:980px){.warehouse-hero,.warehouse-grid,.warehouse-form--horizontal,.warehouse-form-grid,.warehouse-material-create--priced,.warehouse-bulk-transfer__toolbar,.warehouse-price-editor__grid{grid-template-columns:1fr}.warehouse-transfer-list{overflow-x:auto}.warehouse-transfer-list__head,.warehouse-transfer-row{min-width:920px}.warehouse-form-actions{flex-direction:column;align-items:stretch}.warehouse-hero__stats{grid-template-columns:1fr}}@media(max-width:620px){.warehouse-list-toolbar{align-items:stretch;flex-direction:column}.warehouse-list-toolbar button{width:100%}.warehouse-modal{align-self:end;width:100%;border-radius:16px 16px 0 0}.warehouse-modal__grid{grid-template-columns:1fr}.warehouse-modal>footer{align-items:stretch;flex-direction:column}}.bp-page{display:grid;gap:16px;color:var(--color-text)}.bp-page__header,.bp-panel,.bp-stage-rail,.bp-kpi{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:none}.bp-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px}.bp-page__header h1{margin:3px 0 6px;font-size:26px;line-height:1.15;letter-spacing:0}.bp-page__header p,.bp-task-card p,.bp-detail__header p{margin:0;color:var(--color-text-muted);font-size:13px;line-height:1.5}.bp-eyebrow{color:var(--color-text-muted);font-size:11px;font-weight:700;letter-spacing:0;text-transform:uppercase}.bp-button,.bp-file-button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.bp-button--primary{border-color:#111418;background:#111418;color:#fff}.bp-button--danger{border-color:#f1c7c7;background:#fff1f1;color:#a33a3a}.bp-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bp-kpi{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;padding:13px}.bp-kpi__icon{width:34px;height:34px;grid-row:span 3;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--color-surface-muted);color:var(--color-text-muted)}.bp-kpi span:not(.bp-kpi__icon),.bp-kpi small,.bp-section-head small{color:var(--color-text-muted);font-size:12px;font-weight:600}.bp-kpi strong{color:var(--color-text);font-size:22px;line-height:1}.bp-stage-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px}.bp-stage{min-width:0;display:flex;align-items:center;gap:8px;padding:9px 8px;border-radius:6px;color:var(--color-text-muted);font-size:12px;font-weight:700}.bp-stage span{width:26px;height:26px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface-muted)}.bp-stage b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bp-stage.is-active{background:#edf5ff;color:#14578f}.bp-stage.is-done{color:#28715f}.bp-workspace{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);gap:14px;align-items:start}.bp-panel{padding:14px}.bp-section-head,.bp-detail__header,.bp-subsection__title,.bp-file-block__title{display:flex;align-items:center;justify-content:space-between;gap:10px}.bp-section-head{margin-bottom:12px}.bp-section-head>span,.bp-subsection__title,.bp-file-block__title{color:var(--color-text);font-size:14px;font-weight:800}.bp-section-head>span,.bp-subsection__title,.bp-file-block__title,.bp-task-card__meta span{display:inline-flex;align-items:center;gap:8px}.bp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bp-field{display:grid;gap:7px}.bp-field--wide{margin-top:12px}.bp-field span,.bp-comment-box span{color:var(--color-text-muted);font-size:12px;font-weight:700}.bp-field input,.bp-field select,.bp-field textarea,.bp-comment-box textarea{width:100%;min-height:38px;padding:0 11px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:13px}.bp-pretty-select{position:relative}.bp-select-button{width:100%;min-height:38px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 11px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:13px;text-align:left;cursor:pointer}.bp-select-button>span{min-width:0;overflow:hidden;color:var(--color-text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.bp-select-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0;left:0;display:grid;gap:4px;max-height:270px;overflow:auto;padding:6px;border:1px solid #cfd5dd;border-radius:8px;background:#fff;color:#15171a;box-shadow:0 12px 28px #11141824}.bp-select-menu button{display:grid;gap:2px;width:100%;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#15171a;font:inherit;text-align:left;cursor:pointer}.bp-select-menu button:hover,.bp-select-menu button.is-selected{background:#f1f4f7}.bp-select-menu b{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.bp-select-menu small{color:#6b7280;font-size:11px}.bp-employee-option{display:flex;align-items:center;gap:8px}.bp-employee-option>span:last-child{display:grid;gap:1px;min-width:0}.bp-field textarea,.bp-comment-box textarea{min-height:82px;padding:10px 11px;resize:vertical}.bp-file-block,.bp-subsection,.bp-object-preview,.bp-revision-box,.bp-download-box,.bp-alert-box{margin-top:12px;padding:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted)}.bp-file-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.bp-file-chip,.bp-add-file{min-height:32px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.bp-add-file{color:#14578f}.bp-add-file input{display:none}.bp-object-preview{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;align-items:center}.bp-object-preview small{grid-column:2;color:var(--color-text-muted);font-size:12px}.bp-entity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.bp-entity-card,.bp-employee-card{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:3px 10px;align-items:center;padding:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);text-align:left;cursor:pointer}.bp-entity-card.is-selected,.bp-employee-card.is-selected{border-color:#111418;box-shadow:inset 0 0 0 1px #111418}.bp-entity-card__avatar{width:38px;height:38px;grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-size:13px;font-weight:800}.bp-entity-card__avatar.is-gold{background:#b8873d}.bp-entity-card__avatar.is-violet{background:#8060a8}.bp-entity-card__avatar.is-green{background:#5f9d90}.bp-entity-card__avatar.is-brown{background:#a87335}.bp-entity-card b,.bp-task-row__name b{min-width:0;overflow:hidden;color:var(--color-text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.bp-entity-card small,.bp-task-row__name small{color:var(--color-text-muted);font-size:12px}.bp-employee-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:8px;margin-top:10px}.bp-employee-card{grid-template-columns:auto 1fr auto;padding:9px 10px}.bp-employee-card .contact-avatar{width:34px;height:34px}.bp-employee-card>span{min-width:0;display:grid;gap:2px}.bp-employee-card b,.bp-employee-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bp-employee-card b{color:var(--color-text);font-size:13px;line-height:1.1}.bp-employee-card small{color:var(--color-text-muted);font-size:12px}.bp-employee-card>svg{color:var(--color-text-muted);opacity:0}.bp-employee-card.is-selected>svg{opacity:1;color:#111418}.bp-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bp-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.bp-status--blue{background:#e9f4ff;color:#14578f}.bp-status--green{background:#e9f8f0;color:#28715f}.bp-status--amber{background:#fff4df;color:#90621a}.bp-status--red{background:#ffecec;color:#9c2f2f}.bp-process-list{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.bp-process-list .bp-section-head{padding:14px 14px 0}.bp-task-table{display:grid;gap:0;overflow-x:auto;border-top:1px solid var(--color-border)}.bp-task-table__head,.bp-task-row{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(150px,.55fr) minmax(300px,1fr) minmax(190px,.7fr) minmax(130px,.45fr);gap:0;align-items:center;min-width:1050px}.bp-task-table__head{background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.bp-task-table__head span{padding:12px 14px}.bp-task-table__head span:nth-child(2),.bp-task-row__activity{background:#eef8fb}.bp-task-row{border:0;border-top:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;text-align:left}.bp-task-row.is-active{background:#fbfdff;box-shadow:inset 3px 0 #2d6cdf}.bp-task-row__name{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:14px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.bp-row-handle{width:16px;height:18px;grid-row:span 2;display:inline-block;border-top:2px solid #c7ced6;border-bottom:2px solid #c7ced6;opacity:.8}.bp-row-handle:after{content:"";display:block;margin-top:6px;border-top:2px solid #c7ced6}.bp-task-row__activity,.bp-task-row__time,.bp-participants{display:flex;align-items:center;min-height:96px;padding:14px}.bp-task-row__activity{color:var(--color-text-muted);font-size:14px;font-weight:700}.bp-participants{justify-content:space-between;gap:12px}.bp-participants span{display:grid;justify-items:center;gap:6px}.bp-participants small{color:var(--color-text-muted);font-size:10px;font-weight:700}.bp-participants .contact-avatar,.bp-participants i{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--color-surface);border-radius:50%;background:#111418;color:#fff;font-style:normal;font-size:11px;font-weight:800}.bp-row-action{border:0;background:transparent;color:#14578f;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.bp-task-row>span:nth-child(4){padding:14px}.bp-task-row__time{display:grid;justify-items:center;gap:6px;color:var(--color-text-muted)}.bp-task-row__time small{color:#14578f;font-size:12px;font-weight:800}.bp-detail-shell{display:grid;grid-template-columns:minmax(0,.98fr) minmax(420px,.92fr);overflow:hidden;min-height:620px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.bp-detail-main{display:grid;align-content:start;gap:16px;padding:22px;background:#eef3f6;border-right:1px solid var(--color-border)}.bp-detail-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.bp-detail-title h2{margin:0;font-size:27px;line-height:1.1;letter-spacing:0}.bp-detail-title__actions{display:inline-flex;align-items:center;gap:8px}.bp-detail-tabs{display:flex;gap:4px;border-bottom:1px solid var(--color-border)}.bp-detail-tabs button{padding:10px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--color-text-muted);font:inherit;font-size:13px;font-weight:800;cursor:pointer}.bp-detail-tabs button.is-active{border-bottom-color:#2d6cdf;color:#2d6cdf}.bp-process-card{display:grid;gap:8px;padding:18px;border-radius:8px;background:#ffffffc2}.bp-process-card>span{color:var(--color-text-muted);font-size:16px;font-weight:500}.bp-process-card h3,.bp-process-card p{margin:0;color:var(--color-text);font-size:20px;line-height:1.35;letter-spacing:0}.bp-process-card p{color:var(--color-text-muted);font-size:16px}.bp-task-card__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bp-task-card__meta span{padding:7px 9px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:12px;font-weight:700}.bp-mini-chat{display:grid;grid-template-rows:auto 1fr auto;gap:18px;padding:24px;background:#fff}.bp-mini-chat__header{display:flex;align-items:center;gap:14px}.bp-mini-chat__icon{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#58c1ed;color:#fff}.bp-mini-chat__header h3{margin:0;color:var(--color-text);font-size:22px;font-weight:500}.bp-mini-chat__header p{margin:4px 0 0;color:var(--color-text-muted);font-size:16px}.bp-mini-chat__body{display:grid;align-content:start;gap:16px}.bp-chat-message{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start}.bp-chat-message__avatar{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#111418;color:#fff;font-size:12px;font-weight:800}.bp-chat-message__avatar.is-current{background:#7b8794}.bp-chat-message__bubble{display:inline-block;max-width:100%;padding:12px 16px;border-radius:22px;background:#edf1f4}.bp-chat-message__bubble b{color:#2d6cdf;font-size:15px}.bp-chat-message__bubble small{margin-left:8px;color:var(--color-text-muted);font-size:12px}.bp-chat-message__bubble p{margin:4px 0 0;color:var(--color-text);font-size:15px;line-height:1.45}.bp-chat-message nav{display:flex;gap:16px;margin:7px 0 0 16px}.bp-chat-message nav button{border:0;background:transparent;color:var(--color-text-muted);font:inherit;font-size:12px;cursor:pointer}.bp-chat-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface)}.bp-chat-composer input{width:100%;min-height:34px;padding:0 8px;border:0;border-radius:0;background:transparent;color:var(--color-text);font:inherit;font-size:14px;outline:none}.bp-chat-tool{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);cursor:pointer}.bp-revision-box{display:grid;grid-template-columns:minmax(180px,.35fr) minmax(0,1fr) auto;gap:10px;align-items:end}.bp-download-box,.bp-alert-box{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.bp-stage-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted)}.bp-alert-box{color:#9c2f2f}.bp-protocol{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.bp-protocol article{display:flex;align-items:flex-start;gap:8px;padding:10px}.bp-protocol b,.bp-protocol small{display:block}.bp-protocol b{color:var(--color-text);font-size:12px}.bp-protocol small{margin-top:3px;color:var(--color-text-muted);font-size:12px;line-height:1.4}@media(max-width:1180px){.bp-workspace,.bp-detail-shell,.bp-revision-box{grid-template-columns:1fr}.bp-task-table__head,.bp-task-row{grid-template-columns:minmax(260px,1fr) minmax(130px,.5fr) minmax(260px,.85fr) minmax(150px,.55fr)}.bp-task-table__head span:last-child,.bp-task-row__time{display:none}.bp-detail-main{border-right:0;border-bottom:1px solid var(--color-border)}}@media(max-width:760px){.bp-page__header{display:grid}.bp-kpi-grid,.bp-stage-rail,.bp-form-grid,.bp-entity-grid,.bp-protocol{grid-template-columns:1fr}.bp-stage-rail{overflow-x:auto;grid-auto-flow:column;grid-auto-columns:minmax(156px,1fr)}.bp-task-table__head{display:none}.bp-task-row{grid-template-columns:1fr;gap:8px;min-width:0}.bp-task-row__activity,.bp-participants,.bp-task-row>span:nth-child(4){min-height:auto;padding:8px 14px}.bp-mini-chat,.bp-detail-main{padding:16px}.bp-chat-composer{grid-template-columns:1fr auto}.bp-chat-composer .bp-chat-message__avatar{display:none}}.bp-page{font-family:Inter,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.bp-page__hero{display:grid;grid-template-columns:minmax(260px,1fr) auto minmax(260px,360px);align-items:center;gap:16px;padding:0;border:0;border-radius:0;background:transparent;color:var(--color-text)}.bp-page__hero:has(.bp-back-button){grid-template-columns:auto minmax(260px,1fr)}.bp-back-button{justify-self:start}.bp-page__hero h1{margin:0 0 4px;color:var(--color-text);font-size:26px;line-height:1.1;letter-spacing:0}.bp-page__hero p{margin:0;color:var(--color-text-muted);font-size:13px;line-height:1.45}.bp-button--success{border-color:#4cb36d;background:#4cb36d;color:#fff}.bp-search-pill{height:42px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:0 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.bp-search-pill span{padding:5px 10px;border-radius:6px;background:var(--color-surface-muted);color:var(--color-text);font-size:13px;font-weight:700}.bp-search-pill input{width:100%;border:0;background:transparent;color:var(--color-text);font:inherit;outline:none}.bp-search-pill input::placeholder{color:var(--color-text-muted)}.bp-invoice-form{max-width:1180px;justify-self:stretch;padding:14px}.bp-invoice-form .bp-section-head{padding-bottom:10px;border-bottom:1px solid var(--color-border)}.bp-form-grid{grid-template-columns:minmax(190px,.42fr) minmax(190px,.42fr);max-width:680px}.bp-file-block,.bp-object-preview,.bp-subsection,.bp-field--wide{max-width:900px}.bp-invoice-form .bp-file-block,.bp-invoice-form .bp-subsection,.bp-invoice-form .bp-object-preview,.bp-invoice-form .bp-field--wide{margin-top:7px}.bp-invoice-form .bp-subsection--approvers{max-width:680px;background:transparent;padding:0;border:0}.bp-invoice-form .bp-field textarea{min-height:46px}.bp-object-preview{min-height:48px}.bp-entity-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:8px}.bp-invoice-form .bp-entity-card{padding:7px 8px}.bp-invoice-form .bp-entity-card__avatar{width:32px;height:32px}.bp-task-table{overflow:hidden}.bp-task-table__head,.bp-task-row{grid-template-columns:minmax(330px,1.2fr) minmax(130px,.42fr) minmax(300px,.9fr) minmax(170px,.55fr) minmax(96px,.3fr);min-width:0}.bp-task-row__name{padding:14px 16px}.bp-task-row__name b{white-space:normal;line-height:1.25}.bp-task-row__activity,.bp-task-row__time,.bp-participants{min-height:82px;padding:12px 14px}.bp-participants{justify-content:flex-start;gap:18px;overflow:hidden}.bp-participants i{width:32px;height:32px}.bp-detail-shell{min-height:0;height:calc(100vh - 200px);max-height:640px;grid-template-columns:minmax(0,1fr) minmax(460px,.86fr)}.bp-detail-main,.bp-mini-chat{min-width:0;min-height:0;overflow:auto;padding:14px}.bp-detail-main{overflow-x:hidden}.bp-mini-chat{border-left:1px solid var(--color-border)}.bp-detail-title h2{font-size:20px}.bp-process-summary{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(180px,.55fr);gap:8px}.bp-process-card{gap:4px;padding:10px 12px}.bp-process-card.is-wide{grid-column:span 1}.bp-description-card{min-height:116px;border:1px solid rgba(207,213,221,.72)}.bp-process-card>span{font-size:12px}.bp-process-card h3{font-size:16px;overflow-wrap:anywhere}.bp-process-card p,.bp-mini-chat__header p{font-size:13px}.bp-description-card p{max-width:100%;line-height:1.45;overflow-wrap:anywhere}.bp-mini-chat__icon{width:40px;height:40px}.bp-mini-chat__header h3{font-size:18px}.bp-detail-main{gap:10px}.bp-detail-tabs button{padding:7px 10px}.bp-mini-chat,.bp-mini-chat__header{gap:10px}.bp-chat-message{grid-template-columns:34px minmax(0,1fr);gap:8px}.bp-chat-message__avatar{width:34px;height:34px}.bp-chat-message__bubble{padding:8px 12px;border-radius:16px}.bp-chat-message__bubble b,.bp-chat-message__bubble p{font-size:13px}.bp-chat-message nav{display:none}.bp-chat-composer{grid-template-columns:auto minmax(0,1fr) auto}.bp-chat-composer input{min-height:34px}.bp-send-action{min-width:118px}.bp-revision-box{grid-template-columns:minmax(142px,.24fr) minmax(0,.42fr) minmax(220px,.34fr);min-width:0;margin-top:0;padding:10px}.bp-revision-box>*{min-width:0}.bp-revision-box .bp-button{width:100%;min-width:0;padding-inline:10px;white-space:normal;line-height:1.15}.bp-revision-box .bp-field--wide{margin-top:0}.bp-revision-box textarea{min-height:38px;max-height:46px;resize:none}.bp-task-card__meta{margin-top:8px}.bp-task-card__meta span{padding:5px 8px;font-size:11px}@media(max-width:1180px){.bp-task-table{overflow-x:auto}.bp-task-table__head,.bp-task-row{grid-template-columns:minmax(300px,1fr) minmax(120px,.38fr) minmax(250px,.74fr) minmax(150px,.46fr);min-width:820px}}@media(max-width:760px){.bp-page__hero,.bp-form-grid,.bp-entity-grid{grid-template-columns:1fr}.bp-task-table__head,.bp-task-row{min-width:0}}[data-theme=dark] .bp-status--blue{background:#20374f;color:#d8ebff}[data-theme=dark] .bp-status--green{background:#1d3d31;color:#c8f1dc}[data-theme=dark] .bp-status--amber{background:#483719;color:#ffe0a6}[data-theme=dark] .bp-status--red{background:#4a2222;color:#ffd0d0}[data-theme=dark] .bp-select-menu{border-color:#343840;background:#f7f8fa;color:#15171a}[data-theme=dark] .bp-select-menu button{color:#15171a}[data-theme=dark] .bp-select-menu button:hover,[data-theme=dark] .bp-select-menu button.is-selected{background:#e8edf3}[data-theme=dark] .bp-select-menu small{color:#68717d}.hosting-ops{--hosting-border: #dfe3e8;--hosting-muted: #6f7785;--hosting-surface: #ffffff;--hosting-soft: #f3f5f7}.hosting-ops__heading{display:grid;gap:6px}.hosting-ops__heading span{color:var(--hosting-muted);font-weight:700}.hosting-ops__policy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hosting-ops__policy article,.hosting-ops-panel{background:var(--hosting-surface);border:1px solid var(--hosting-border);border-radius:8px}.hosting-ops__policy article{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:16px;align-items:center}.hosting-ops__policy svg{grid-row:span 2;color:#111418}.hosting-ops__policy small,.hosting-ops-panel p,.hosting-ops-command span,.hosting-ops-form label,.hosting-ops-runs__row--head{color:var(--hosting-muted);font-weight:800}.hosting-ops__policy strong{color:#111418;font-size:20px}.hosting-ops__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.75fr);gap:12px}.hosting-ops-panel{padding:16px}.hosting-ops-panel header{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.hosting-ops-panel h2{margin:0;font-size:24px}.hosting-ops-panel p{margin:4px 0 0}.hosting-ops-command-list{display:grid;gap:10px}.hosting-ops-command{display:grid;gap:6px;padding:12px;border:1px solid var(--hosting-border);border-radius:8px;background:var(--hosting-soft)}.hosting-ops-command code{color:#111418;white-space:pre-wrap}.hosting-ops-form{display:grid;gap:12px}.hosting-ops-form__row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hosting-ops-form label{display:grid;gap:6px}.hosting-ops-form input,.hosting-ops-form select,.hosting-ops-form textarea{width:100%;border:1px solid var(--hosting-border);border-radius:8px;background:var(--hosting-soft);color:#111418;font:inherit;font-weight:800;padding:12px}.hosting-ops-form textarea{min-height:96px;resize:vertical}.hosting-ops-form button,.hosting-ops-runs__actions button{border:1px solid var(--hosting-border);border-radius:8px;background:#111418;color:#fff;font:inherit;font-weight:900;padding:12px 16px;cursor:pointer}.hosting-ops-runs__table{display:grid;border:1px solid var(--hosting-border);border-radius:8px;overflow:hidden}.hosting-ops-runs__row{display:grid;grid-template-columns:130px 170px minmax(240px,1fr) 150px 170px 170px;gap:14px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--hosting-border)}.hosting-ops-runs__row:last-child{border-bottom:0}.hosting-ops-runs__row strong,.hosting-ops-runs__row small{display:block}.hosting-ops-runs__row small{margin-top:4px;color:var(--hosting-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hosting-ops-status{display:inline-flex;align-items:center;gap:6px;font-weight:900}.hosting-ops-status.is-passed{color:#2f8a5f}.hosting-ops-status.is-failed{color:#c44f4f}.hosting-ops-status.is-running{color:#2f6ed8}.hosting-ops-runs__actions{display:flex;gap:8px}.hosting-ops-runs__actions button{padding:8px 10px;color:#111418;background:#fff}@media(max-width:1100px){.hosting-ops__policy,.hosting-ops__grid{grid-template-columns:1fr}.hosting-ops-runs__table{overflow-x:auto}.hosting-ops-runs__row{min-width:980px}}.marketing-page{display:flex;flex-direction:column;gap:14px}.marketing-hero,.marketing-toolbar,.marketing-table-card{border:1px solid var(--border-color);border-radius:8px;background:var(--surface-color);box-shadow:var(--soft-shadow)}.marketing-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px}.marketing-hero p,.marketing-table-card p{margin:0;color:var(--text-muted);font-weight:700}.marketing-hero h1{margin:6px 0 8px;font-size:clamp(2rem,3vw,3rem);line-height:1;letter-spacing:0}.marketing-hero span{color:var(--text-muted)}.marketing-kpis{display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));gap:10px}.marketing-kpi,.marketing-summary-grid article{border:1px solid var(--border-color);border-radius:8px;background:var(--muted-surface);padding:12px 14px}.marketing-kpi strong,.marketing-summary-grid strong{display:block;font-size:1.45rem;line-height:1.1}.marketing-kpi span,.marketing-summary-grid span{display:block;margin-top:4px;color:var(--text-muted);font-weight:700}.marketing-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:12px;padding:10px}.marketing-search{min-height:48px;display:flex;align-items:center;gap:10px;border:1px solid var(--border-color);border-radius:8px;background:var(--muted-surface);color:var(--text-muted);padding:0 14px}.marketing-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;color:var(--text-color)}.marketing-filter-row{display:flex;flex-wrap:wrap;gap:8px}.marketing-filter-row button{min-height:44px;border:1px solid var(--border-color);border-radius:8px;background:var(--surface-color);color:var(--text-color);font:inherit;font-weight:800;padding:0 14px;cursor:pointer}.marketing-filter-row button.is-active{border-color:var(--accent-color);background:var(--primary-color);color:var(--primary-contrast)}.marketing-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.marketing-summary-grid article{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px}.marketing-summary-grid article svg{color:var(--text-muted)}.marketing-summary-grid article span{grid-column:2}.marketing-table-card{overflow:hidden}.marketing-table-card>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:16px 18px;border-bottom:1px solid var(--border-color)}.marketing-table-card h2{margin:0 0 4px}.marketing-table-card>header>span{flex:0 0 auto;border-radius:999px;background:var(--muted-surface);color:var(--text-muted);font-weight:800;padding:8px 12px}.marketing-table{width:100%;border-collapse:collapse}.marketing-table th,.marketing-table td{border-bottom:1px solid var(--border-color);padding:13px 18px;text-align:left;vertical-align:middle}.marketing-table th{color:var(--text-muted);font-size:.82rem;text-transform:uppercase}.marketing-source-cell{display:flex;align-items:center;gap:10px}.marketing-source-cell>span{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:8px;background:var(--muted-surface);color:var(--text-muted)}.marketing-status{display:inline-flex;align-items:center;min-height:30px;border-radius:999px;padding:0 10px;background:var(--muted-surface);color:var(--text-muted);font-weight:800}.marketing-status.is-active{background:#e8f3ec;color:#347653}.marketing-status.is-review{background:#fff3d8;color:#9a6a18}.marketing-state{display:flex;align-items:center;gap:8px;min-height:92px;padding:18px;color:var(--text-muted);font-weight:800}.marketing-state.is-error{color:#b94a48}@media(max-width:1180px){.marketing-hero,.marketing-toolbar{grid-template-columns:1fr}.marketing-kpis,.marketing-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.reports-page{gap:16px}.reports-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface)}.reports-hero p,.reports-hero span,.reports-hero time{margin:0;color:var(--color-text-muted);font-weight:700}.reports-hero h1{margin:8px 0;color:var(--color-text);font-size:clamp(30px,3vw,44px);line-height:1;letter-spacing:0}.reports-hero time{flex:0 0 auto;padding:12px 14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.reports-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.reports-kpi{min-height:112px;padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface)}.reports-kpi strong{display:block;color:var(--color-text);font-size:32px;line-height:1}.reports-kpi span,.reports-kpi small{display:block;margin-top:8px;color:var(--color-text-muted);font-weight:700}.reports-kpi--danger strong,.reports-kpi--danger small{color:#b94747}.reports-kpi--warning strong,.reports-kpi--warning small{color:#9a6a1d}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reports-section{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.reports-section__header{display:flex;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--color-border)}.reports-section__title{display:flex;gap:12px;align-items:flex-start}.reports-section__title svg{margin-top:4px;color:var(--color-text-muted)}.reports-section__title h2{margin:0;color:var(--color-text);font-size:24px;line-height:1.1}.reports-section__title p{margin:5px 0 0;color:var(--color-text-muted);font-weight:700}.reports-section__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px);gap:16px;padding:16px 18px}.reports-progress-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}.reports-progress-row{display:grid;gap:7px}.reports-progress-row__top{display:flex;align-items:center;justify-content:space-between;gap:12px}.reports-progress-row__top span,.reports-side-list span,.reports-progress-row small{color:var(--color-text-muted);font-weight:700}.reports-progress-row__top strong,.reports-side-list strong{color:var(--color-text);font-size:18px}.reports-progress-row__bar{height:8px;overflow:hidden;border-radius:999px;background:var(--color-surface-muted)}.reports-progress-row__bar span{display:block;height:100%;border-radius:inherit;background:var(--color-text)}.reports-side-list{display:grid;align-content:start;gap:10px}.reports-side-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.reports-section--recent{margin-bottom:20px}.reports-table{display:grid}.reports-table__head,.reports-table__row{display:grid;grid-template-columns:140px minmax(240px,1fr) minmax(180px,280px) 140px;gap:16px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--color-border)}.reports-table__head{color:var(--color-text-muted);font-size:12px;font-weight:800;text-transform:uppercase}.reports-table__row:last-child{border-bottom:0}.reports-table__row span{color:var(--color-text-muted);font-weight:700}.reports-table__row strong{color:var(--color-text)}.reports-state{min-height:240px;display:grid;place-items:center;gap:10px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text-muted);font-weight:800}.reports-state--error{color:#b94747}@media(max-width:1280px){.reports-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reports-grid{grid-template-columns:1fr}}@media(max-width:860px){.reports-hero,.reports-section__body{grid-template-columns:1fr}.reports-hero{align-items:flex-start;flex-direction:column}.reports-kpi-grid{grid-template-columns:1fr}.reports-table{overflow-x:auto}.reports-table__head,.reports-table__row{min-width:760px}}:root{--font-interface: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--radius-xs: 4px;--radius-sm: 6px;--radius-md: 8px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--sidebar-width: 272px;--sidebar-compact-width: 72px;--desktop-shell-padding: 32px;--content-max-width: 1360px;--topbar-height: 48px;--mobile-nav-height: 76px}@media(min-width:1600px){:root{--desktop-shell-padding: 40px;--content-max-width: 1600px}}@media(min-width:1920px){:root{--desktop-shell-padding: 48px;--content-max-width: 1840px}}@media(min-width:2560px){:root{--content-max-width: 2160px}}@media(max-width:1439px){:root{--desktop-shell-padding: 28px;--content-max-width: 1280px}}@media(max-width:767px){:root{--desktop-shell-padding: 16px}}:root,[data-theme=light]{color-scheme:light;--color-page: #F6F7F8;--color-surface: #FFFFFF;--color-surface-muted: #F0F1F3;--color-surface-raised: #FAFAFB;--color-border: #DADDE2;--color-border-strong: #C5CAD2;--color-text: #15171A;--color-text-muted: #6B717C;--color-text-soft: #8E95A1;--color-icon: #737A86;--color-active: #111317;--color-active-text: #FFFFFF;--color-blue: #2D6CDF;--color-yellow: #D2AD17;--color-green: #2F8A5F;--color-danger: #B94444;--shadow-panel: 0 12px 30px rgba(18, 22, 30, .08)}[data-theme=dark]{color-scheme:dark;--color-page: #0B0B0D;--color-surface: #111114;--color-surface-muted: #18181D;--color-surface-raised: #1D1D22;--color-border: #25262B;--color-border-strong: #34363D;--color-text: #F4F4F5;--color-text-muted: #A2A4AA;--color-text-soft: #70737B;--color-icon: #8D9098;--color-active: #F2F2F3;--color-active-text: #111114;--color-blue: #2D6CDF;--color-yellow: #D2AD17;--color-green: #53A77E;--color-danger: #E07474;--shadow-panel: 0 12px 30px rgba(0, 0, 0, .32)}@font-face{font-family:IBM Plex Mono;src:url(/fonts/IBMPlexMono-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}html{min-height:100%;background:var(--color-page);overflow-x:hidden}body{min-height:100%;margin:0;overflow-x:hidden;background:radial-gradient(circle at 78% 0%,rgba(77,72,176,.18),transparent 34%),radial-gradient(circle at 98% 30%,rgba(22,136,197,.14),transparent 30%),linear-gradient(135deg,#f6f7f8f5,#eff3f7fa)}body:before{content:"";position:fixed;top:-90px;right:-90px;bottom:-90px;left:-90px;z-index:0;pointer-events:none;background:radial-gradient(circle at 78% 8%,rgba(78,69,190,.34),transparent 35%),radial-gradient(circle at 96% 36%,rgba(20,151,210,.24),transparent 30%),radial-gradient(circle at 18% 98%,rgba(68,78,178,.12),transparent 38%),linear-gradient(135deg,#3a369a14,#138aca12 58%,#f6f7f8db);filter:blur(34px);opacity:.78;transform:scale(1.04)}#root{position:relative;z-index:1;min-height:100vh}[data-theme=dark] body{background:radial-gradient(circle at 78% 0%,rgba(77,72,176,.14),transparent 34%),radial-gradient(circle at 98% 30%,rgba(22,136,197,.1),transparent 30%),var(--color-page)}[data-theme=dark] body:before{opacity:.38}.auth-page{min-height:100vh;display:grid;place-items:center;padding:clamp(18px,4vw,44px);background:linear-gradient(135deg,#fffffff0,#eef1f5f5),var(--color-page)}.auth-loading{min-height:100vh;display:grid;place-items:center;color:var(--color-text-muted);font-weight:700}.auth-panel{width:min(100%,860px);min-height:500px;display:grid;grid-template-columns:minmax(240px,.7fr) minmax(380px,1fr);gap:0;padding:0;border:1px solid var(--color-border);border-radius:26px;background:var(--color-surface);box-shadow:0 24px 70px #0f172a1f;overflow:hidden}.auth-panel__aside{min-height:500px;padding:0;background:var(--color-text);overflow:hidden}.auth-panel__brand{display:grid;gap:16px}.auth-panel__brand-heading{display:flex;align-items:center;gap:18px}.auth-panel__logo{width:66px;height:66px;display:inline-flex;align-items:center;justify-content:center;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}.auth-panel__logo img{width:100%;height:100%;display:block;object-fit:contain}.auth-panel__image{display:block;width:100%;height:100%;min-height:500px;object-fit:cover;object-position:center}.auth-panel__brand p{margin:0;color:var(--color-text-muted);font-size:13px;font-weight:900;letter-spacing:.02em}.auth-panel__brand h1{margin:0;max-width:360px;font-size:clamp(38px,4vw,54px);line-height:1.1;letter-spacing:-.04em}.auth-panel__brand-heading strong{display:block;margin-top:6px;color:var(--color-text-muted);font-size:15px;font-weight:900}.auth-panel__content{display:grid;align-content:center;gap:24px;padding:clamp(30px,4vw,48px)}.auth-form{display:grid;gap:16px}.auth-form label{display:grid;gap:8px;color:var(--color-text-muted);font-size:13px;font-weight:800}.auth-form__field{min-height:58px;display:flex;align-items:center;gap:10px;padding:0 16px;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface-muted);color:var(--color-text-muted)}.auth-form__field:focus-within{border-color:#1114186b;box-shadow:0 0 0 4px #11141814}.auth-form__field input{width:100%;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit;font-weight:700}.auth-form button{min-height:58px;border:0;border-radius:16px;background:var(--color-text);color:var(--color-surface);font-size:15px;font-weight:900;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.auth-form button:not(:disabled):hover{transform:translateY(-1px);background:#080a0d;box-shadow:0 14px 30px #0f172a2e}.auth-form button:disabled{opacity:.65;cursor:wait}.auth-form__error{margin:0;color:var(--color-danger);font-size:13px;font-weight:800}.auth-panel__note{display:flex;align-items:center;gap:8px;color:var(--color-text-muted);font-size:12px;font-weight:700}@media(max-width:820px){.auth-panel{grid-template-columns:1fr;min-height:auto}.auth-panel__aside{min-height:auto}.auth-panel__image{min-height:220px}.auth-panel__content{padding:28px}}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:linear-gradient(180deg,#f7f8fac7,#f4f6f8e6),color-mix(in srgb,var(--color-page) 78%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}[data-theme=dark] .app-shell{background:linear-gradient(180deg,#0b0b0dd6,#0b0b0df0),color-mix(in srgb,var(--color-page) 82%,transparent)}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:6px;padding:10px;border-right:1px solid var(--color-border);background:var(--color-surface)}.sidebar__tree{min-height:0;flex:1;overflow:auto;display:flex;flex-direction:column;gap:4px;padding-right:2px}.workspace-switcher,.sidebar__nav-item{width:100%;min-height:34px;display:flex;align-items:center;gap:9px;border:0;border-radius:var(--radius-sm);color:var(--color-text-muted);background:transparent;text-align:left}.contact-avatar--sm{width:38px;height:38px;font-size:12px}.contact-avatar--md{width:44px;height:44px;font-size:13px}.workspace-switcher{padding:0;color:var(--color-text)}.workspace-switcher__logo{width:34px;height:34px;flex:0 0 auto;display:block;object-fit:contain}.workspace-switcher__copy{flex:1;min-width:0;display:grid;gap:1px;line-height:1.05}.workspace-switcher__title{font-weight:600;font-size:13px;letter-spacing:.04em}.workspace-switcher__subtitle{color:var(--color-text-muted);font-size:8.5px;font-weight:600;letter-spacing:.03em;text-transform:lowercase;white-space:nowrap}.sidebar__bottom{margin-top:auto;padding-top:4px}.sidebar__section{display:flex;flex-direction:column;gap:2px}.sidebar__section--bottom{gap:4px}.sidebar__branch{display:grid;gap:2px}.sidebar__section-toggle{width:100%;height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);text-align:left;font-size:13px;font-weight:700}.sidebar__section-toggle-main{min-width:0;display:inline-flex;align-items:center;gap:10px}.sidebar__section-toggle-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__section-actions{display:inline-flex;align-items:center;gap:4px}.sidebar__pin{width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;color:var(--color-text-soft);transition:transform .16s ease,background .16s ease,color .16s ease}.sidebar__pin:hover{background:var(--color-surface-raised);color:var(--color-text)}.sidebar__pin.is-pinned{background:#5e636e;color:#f5f7fb;transform:rotate(-28deg);box-shadow:0 0 0 1px #ffffff1f inset}.sidebar__section-toggle:hover,.sidebar__section-toggle.is-open{color:var(--color-text);background:var(--color-surface-muted)}.sidebar__section-toggle.is-pinned{color:var(--color-text);background:color-mix(in srgb,var(--color-surface-muted) 84%,#5E636E 16%)}.sidebar__section-toggle.is-pinned:hover{background:color-mix(in srgb,var(--color-surface-muted) 74%,#5E636E 26%)}[data-theme=dark] .sidebar__pin.is-pinned{background:#e7ecf4;color:#1b1d23;box-shadow:0 0 0 1px #14161c29 inset}[data-theme=dark] .sidebar__section-toggle.is-pinned{background:color-mix(in srgb,var(--color-surface-muted) 78%,#E7ECF4 22%)}[data-theme=dark] .sidebar__section-toggle.is-pinned:hover{background:color-mix(in srgb,var(--color-surface-muted) 68%,#E7ECF4 32%)}.sidebar__subnav{display:grid;gap:1px;margin:2px 0 6px 18px;padding:0 0 0 12px}.sidebar__subnav--upward{margin:0 0 6px 18px;padding:0 0 0 12px}.sidebar__nav-item{padding:0 10px;font-size:13px}.sidebar__nav-item.is-nested{height:26px;position:relative;gap:8px;padding:0 6px;font-size:12px;color:color-mix(in srgb,var(--color-text-soft) 88%,var(--color-text-muted));background:transparent;border-radius:8px}.sidebar__nav-item.is-nested:hover,.sidebar__nav-item.is-nested.is-active{background:color-mix(in srgb,var(--color-surface-muted) 68%,transparent);color:var(--color-text)}.sidebar__nav-dot{width:5px;height:5px;flex:0 0 auto;border-radius:50%;background:currentColor;opacity:.72}.sidebar__nav-item:hover,.sidebar__nav-item.is-active{background:var(--color-surface-muted);color:var(--color-text)}.app-main{min-width:0;padding:var(--desktop-shell-padding)}.content{max-width:var(--content-max-width);margin:0 auto}.topbar{max-width:var(--content-max-width);height:var(--topbar-height);margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar--projects{height:40px;margin-bottom:12px;justify-content:flex-end}.topbar--projects .topbar__title{display:none}.topbar__title,.topbar__actions{display:flex;align-items:center;gap:10px}.topbar__title{color:var(--color-text-muted);font-size:14px}.topbar__search{width:220px;height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted)}.topbar__search input,.data-list input{min-width:0;width:100%;border:0;outline:0;color:var(--color-text);background:transparent}.button,.icon-button{height:36px;border-radius:var(--radius-sm);border:1px solid var(--color-border);display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--color-text);background:var(--color-surface)}.button{padding:0 14px;font-size:13px;font-weight:600}.button--primary{border-color:var(--color-active);background:var(--color-active);color:var(--color-active-text)}.button--secondary{background:var(--color-surface-muted)}.button--ghost{background:transparent}.icon-button{width:36px;padding:0}.profile-trigger{min-height:46px;min-width:236px;display:inline-flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text)}.profile-avatar{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface-muted);color:var(--color-text);font-size:11px;font-weight:700}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar--employee{border-color:var(--color-border-strong);background:linear-gradient(135deg,#5d7894,#86c5e2);color:#fff}.profile-avatar--large{width:88px;height:88px;font-size:24px}.profile-trigger__text{min-width:0;flex:1;display:grid;gap:1px;text-align:left}.profile-trigger__text strong,.profile-trigger__text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger__text strong{font-size:13px;line-height:18px}.profile-trigger__text small{color:var(--color-text-muted);font-size:11px;line-height:14px}.profile-menu{position:relative}.profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:280px;display:grid;gap:4px;padding:10px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-lg)}.profile-dropdown__header,.profile-dropdown__card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:6px}.profile-dropdown__card{width:100%;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);color:var(--color-text);text-align:left}.profile-dropdown__card:hover{background:var(--color-surface)}.profile-dropdown__header strong,.profile-dropdown__header small,.profile-dropdown__card strong,.profile-dropdown__card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dropdown__header strong,.profile-dropdown__card strong{color:var(--color-text);font-size:13px}.profile-dropdown__header small,.profile-dropdown__card small{color:var(--color-text-muted);font-size:11px}.profile-dropdown__item,.profile-dropdown__edit{min-height:38px;display:inline-flex;align-items:center;gap:10px;width:100%;padding:0 10px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text);text-align:left}.profile-dropdown__item:hover,.profile-dropdown__edit:hover{background:var(--color-surface-muted)}.profile-dropdown__item--workday{margin-top:4px;border:1px solid #30343a;background:#30343a;color:#fff;font-weight:800}.profile-dropdown__item--workday:hover{background:#202328}.profile-dropdown__footer{margin-top:4px;padding-top:8px;border-top:1px solid var(--color-border)}.profile-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:20px;background:#0000006b}.profile-modal__panel{width:min(680px,100%);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.profile-modal__header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid var(--color-border)}.profile-modal__header p,.profile-modal__header h2{margin:0}.profile-modal__header p{color:var(--color-text-muted);font-size:12px}.profile-modal__header h2{font-size:20px;line-height:28px}.profile-modal__header button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text)}.profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.profile-form__avatar,.profile-form__full,.profile-form__footer{grid-column:1 / -1}.profile-form__avatar{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.profile-form__avatar p{max-width:430px;margin:4px 0 12px;color:var(--color-text-muted);font-size:12px;line-height:18px}.profile-form label{display:grid;gap:7px;color:var(--color-text-muted);font-size:12px}.profile-form input,.profile-form select{width:100%;height:40px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);outline:0;background:var(--color-surface-muted);color:var(--color-text)}.profile-form input:focus,.profile-form select:focus{border-color:var(--color-border-strong)}.profile-form input:disabled{color:var(--color-text-soft)}.profile-form__footer{display:flex;align-items:center;justify-content:space-between;min-height:40px;color:var(--color-text-muted);font-size:12px}.button:hover,.icon-button:hover{border-color:var(--color-border-strong)}.page-stack{display:grid;gap:16px}.page-heading{display:grid;gap:6px;padding-bottom:8px}.page-heading p,.page-heading h1{margin:0}.page-heading p{color:var(--color-text-muted);font-size:13px}.page-heading h1{font-size:24px;line-height:32px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.kpi-card,.chart-panel,.data-list,.document-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.kpi-card{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.kpi-card__label{margin:0 0 6px;color:var(--color-text-muted);font-size:12px}.kpi-card__value{display:inline-block;min-width:62px;font-size:32px;line-height:38px}.kpi-card__trend{margin-left:8px;color:var(--color-text-soft);font-size:12px}.kpi-card__icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-icon)}.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.settings-hub{max-width:1180px}.settings-hub__heading{max-width:720px}.settings-hub__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.settings-module-card{min-height:172px;display:grid;grid-template-rows:auto 1fr auto;align-content:start;gap:16px;padding:18px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}.settings-module-card:hover{border-color:var(--color-border-strong);background:var(--color-surface-muted);box-shadow:var(--shadow-soft);transform:translateY(-1px)}.settings-module-card__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:var(--color-surface-muted);color:var(--color-icon)}.employees-settings{max-width:1440px}.settings-submodule-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-submodule-card{min-height:96px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.settings-submodule-card:hover,.settings-submodule-card.is-active{border-color:var(--color-border-strong);background:var(--color-surface-muted);box-shadow:var(--shadow-soft)}.settings-submodule-card__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--color-surface-muted);color:var(--color-icon)}.settings-submodule-card strong,.settings-submodule-card small{display:block}.settings-submodule-card strong{margin-bottom:5px;font-size:16px;line-height:21px}.settings-submodule-card small{color:var(--color-text-muted);font-size:12px;line-height:17px}.settings-placeholder-card{min-height:260px;display:grid;align-content:center;justify-items:center;gap:14px;padding:32px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);text-align:center}.settings-placeholder-card h2,.settings-placeholder-card p{margin:0}.settings-placeholder-card p{max-width:520px;color:var(--color-text-muted);font-size:13px;line-height:20px}.contacts-header.is-embedded{padding-top:0}.contacts-header.is-embedded .contacts-header__top{justify-content:flex-end}.company-structure{display:grid;gap:16px}.company-structure__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.company-structure__toolbar h2,.company-structure__toolbar p{margin:0}.company-structure__toolbar h2{font-size:18px;line-height:24px}.company-structure__toolbar p{color:var(--color-text-muted);font-size:12px}.company-structure__toolbar-actions{display:flex;align-items:center;gap:8px}.company-structure__toolbar-actions span,.company-structure-panel header button,.company-structure__zoom button,.company-structure-control button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px;font-weight:600}.company-structure__toolbar-actions span{background:var(--color-surface)}.company-structure__controls{display:grid;grid-template-columns:1fr;gap:8px}.company-structure-control{display:grid;grid-template-columns:140px minmax(160px,1fr) minmax(160px,1fr) minmax(160px,1fr) auto;align-items:end;gap:8px;padding:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.company-structure-control strong{min-height:32px;display:inline-flex;align-items:center;gap:8px;font-size:12px}.company-structure-control label{min-width:0;display:grid;gap:4px}.company-structure-control label span{color:var(--color-text-muted);font-size:10px;font-weight:700;text-transform:uppercase}.company-structure-control input,.company-structure-control select{min-width:0;height:32px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px;outline:none;padding:0 10px;text-overflow:ellipsis}.company-structure-control input:focus,.company-structure-control select:focus{border-color:color-mix(in srgb,#31a8cf 55%,var(--color-border));box-shadow:0 0 0 3px color-mix(in srgb,#31c4f3 18%,transparent)}.company-structure-control button{border-radius:8px;background:#111827;color:#fff}.company-structure-control button:disabled{cursor:not-allowed;opacity:.45}.company-structure__layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;align-items:stretch}.company-structure__canvas,.company-structure-panel{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.company-structure__canvas{position:relative;min-height:620px;overflow:auto;padding:28px 24px 68px;background:linear-gradient(90deg,color-mix(in srgb,var(--color-border) 28%,transparent) 1px,transparent 1px),linear-gradient(color-mix(in srgb,var(--color-border) 28%,transparent) 1px,transparent 1px),var(--color-surface-muted);background-size:44px 44px}.company-structure__tree{min-width:690px;max-width:820px;margin:0 auto;display:grid;justify-items:center}.company-structure__root{position:relative;z-index:1}.company-structure__branches{width:70%;height:54px;border-left:1px solid var(--color-border-strong);border-bottom:1px solid var(--color-border-strong);opacity:.45}.company-structure__children{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.company-structure-card{position:relative;min-height:104px;display:grid;grid-template-rows:auto auto 1fr auto;gap:6px;padding:9px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.company-structure-card:hover,.company-structure-card[data-drop-target=true]{border-color:color-mix(in srgb,#31a8cf 60%,var(--color-border));box-shadow:0 8px 18px color-mix(in srgb,#0f172a 8%,transparent);transform:translateY(-1px)}.company-structure-card[data-drop-target=true]:after{content:"Отпустите, чтобы переместить";position:absolute;top:8px;right:8px;bottom:8px;left:8px;display:grid;place-items:center;border:1px dashed color-mix(in srgb,#31a8cf 70%,var(--color-border));border-radius:12px;background:color-mix(in srgb,#effcff 88%,transparent);color:color-mix(in srgb,#0f7795 88%,var(--color-text));font-size:11px;font-weight:800;pointer-events:none}.company-structure-card.is-root{width:260px;border-color:color-mix(in srgb,#31a8cf 52%,var(--color-border));box-shadow:0 0 0 4px color-mix(in srgb,#31c4f3 8%,transparent)}.company-structure-card__badge{position:absolute;top:-11px;right:12px;padding:4px 9px;border-radius:8px;background:color-mix(in srgb,#31c4f3 84%,var(--color-surface));color:#fff;font-size:10px;font-weight:700}.company-structure-card header{display:flex;align-items:center;gap:6px;color:var(--color-text)}.company-structure-card header strong{font-size:11px;line-height:15px}.company-structure-card__meta{display:flex;align-items:center;gap:6px;min-width:0;color:var(--color-text-muted);font-size:9px;line-height:12px}.company-structure-card__meta button{min-width:0;padding:2px 6px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:9px;line-height:12px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-structure-card__meta button:hover{border-color:color-mix(in srgb,#31a8cf 50%,var(--color-border));color:var(--color-text)}.company-structure-card footer{color:var(--color-text-muted);font-size:10px}.company-structure-card footer{min-height:22px;display:flex;align-items:center;justify-content:center;gap:6px;margin:0 -9px -9px;border-top:1px solid var(--color-border);border-radius:0 0 8px 8px;background:var(--color-surface-muted);font-weight:700;opacity:.72}.company-structure-card footer i{color:color-mix(in srgb,#127a99 70%,var(--color-text-muted));font-style:normal}.company-structure-card__popover{position:absolute;left:12px;right:12px;top:78px;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:0 12px 28px color-mix(in srgb,#0f172a 16%,transparent)}.company-structure-card__popover strong{grid-column:1 / -1;font-size:11px;line-height:14px}.company-structure-card__popover select{min-width:0;height:32px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:11px;outline:none;padding:0 8px}.company-structure-card__popover button{min-height:32px;padding:0 9px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:11px;font-weight:700}.company-structure-card__popover button{background:#111827;color:#fff}.company-structure-card__popover button:disabled{cursor:not-allowed;opacity:.45}.company-structure-person{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:6px}.company-structure-person span{min-width:0}.company-structure-person strong,.company-structure-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-structure-person strong{font-size:11px;line-height:14px}.company-structure-person small{color:var(--color-text-muted);font-size:9px}.company-structure-person>b{padding:3px 7px;border-radius:999px;background:color-mix(in srgb,#d8f5ff 80%,var(--color-surface));color:color-mix(in srgb,#127a99 80%,var(--color-text));font-size:9px}.company-structure-person__edit{width:28px;height:28px;display:inline-grid;place-items:center;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text-muted);cursor:pointer}.company-structure-person__edit:hover{border-color:color-mix(in srgb,#0b66d8 58%,var(--color-border));color:var(--color-text)}.company-structure-person.is-empty{color:var(--color-text-muted)}.company-structure-panel{min-height:620px;display:grid;align-content:start;gap:14px;padding:16px}.company-structure-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.company-structure-panel h2,.company-structure-panel h3,.company-structure-panel p{margin:0}.company-structure-panel h2{font-size:18px;line-height:24px}.company-structure-panel p{color:var(--color-text-muted);font-size:12px}.company-structure-panel__stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.company-structure-panel__stats span{min-height:36px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--color-border);border-radius:10px;color:var(--color-text-muted);font-size:12px}.company-structure-panel__search{min-height:38px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:0 12px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted)}.company-structure-panel__search input{min-width:0;border:0;background:transparent;color:var(--color-text);font:inherit;font-size:12px;outline:none}.company-structure-panel section{display:grid;gap:10px}.company-structure-panel h3{font-size:14px;line-height:20px}.company-structure-panel h3 span,.company-structure-panel h4 span{color:var(--color-text-soft)}.company-structure-panel__groups,.company-structure-panel__list{display:grid;gap:8px}.company-structure-panel__groups{max-height:280px;overflow:auto}.company-structure-panel__group{display:grid;gap:8px;padding:10px 0 12px;border-bottom:1px solid var(--color-border)}.company-structure-panel__group:last-child{border-bottom:0}.company-structure-panel__group h4{margin:0;color:var(--color-text);font-size:12px;line-height:16px}.company-structure-panel__draggable{display:block;padding:8px;border:1px solid transparent;border-radius:12px;cursor:grab}.company-structure-panel__draggable:hover{border-color:var(--color-border);background:var(--color-surface-muted)}.company-structure-panel__draggable.is-unassigned{border-color:var(--color-border);background:color-mix(in srgb,var(--color-surface-muted) 70%,var(--color-surface))}.company-structure-panel__draggable:active{cursor:grabbing}.company-structure-panel__list--unassigned{max-height:220px;overflow:auto;padding-right:2px}.company-structure-panel__empty{margin:0;padding:12px;border:1px dashed var(--color-border);border-radius:12px;color:var(--color-text-muted);font-size:12px}.company-structure-edit{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:color-mix(in srgb,var(--color-bg) 64%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.company-structure-edit__card{width:min(620px,100%);display:grid;gap:14px;padding:18px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:0 20px 50px color-mix(in srgb,#0f172a 16%,transparent)}.company-structure-edit__card header,.company-structure-edit__card footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.company-structure-edit__card header span,.company-structure-edit__grid label span{color:var(--color-text-muted);font-size:11px;font-weight:700}.company-structure-edit__card header strong{display:block;margin-top:2px;font-size:20px;line-height:24px}.company-structure-edit__card header button,.company-structure-edit__card footer button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.company-structure-edit__card header button{width:36px;padding:0;color:var(--color-text-muted)}.company-structure-edit__card footer button[type=submit]{background:#111827;color:#fff}.company-structure-edit__card footer button:disabled{cursor:not-allowed;opacity:.45}.company-structure-edit__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-structure-edit__grid label{min-width:0;display:grid;gap:5px}.company-structure-edit__grid label.is-wide{grid-column:1 / -1}.company-structure-edit__grid input,.company-structure-edit__grid select,.company-structure-edit__grid textarea{width:100%;min-width:0;padding:0 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:13px;outline:none}.company-structure-edit__grid input,.company-structure-edit__grid select{height:42px}.company-structure-edit__grid textarea{min-height:82px;padding-top:11px;padding-bottom:11px;resize:vertical;line-height:1.45}.company-structure-edit__grid input:focus,.company-structure-edit__grid select:focus,.company-structure-edit__grid textarea:focus{border-color:color-mix(in srgb,#0b66d8 64%,var(--color-border));box-shadow:0 0 0 3px color-mix(in srgb,#0b66d8 12%,transparent)}.settings-module-card__body{display:grid;gap:8px}.settings-module-card__body strong{font-size:18px;line-height:24px}@media(max-width:1180px){.settings-submodule-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.company-structure__layout,.company-structure__controls{grid-template-columns:1fr}.company-structure-control{grid-template-columns:repeat(2,minmax(0,1fr))}.company-structure-panel{min-height:0}}@media(max-width:720px){.settings-submodule-tabs{grid-template-columns:1fr}.company-structure__toolbar{align-items:flex-start;flex-direction:column}.company-structure__toolbar-actions{flex-wrap:wrap}.company-structure-control{grid-template-columns:1fr}.company-structure__canvas{min-height:460px;padding:28px 18px 64px}}.settings-module-card__body small{color:var(--color-text-muted);font-size:13px;line-height:18px}.settings-module-card__status{width:fit-content;padding:6px 10px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:700}.grid-span-8{grid-column:span 8}.grid-span-4{grid-column:span 4}.chart-panel{min-height:280px;padding:16px}.chart-panel__header,.data-list header,.document-section header{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-panel h3,.data-list h3,.document-section h2,.document-card h3{margin:0;font-size:16px;line-height:24px}.chart-panel__action,.document-section header button{height:32px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px}.line-chart{width:100%;height:220px;margin-top:16px}.line-chart__grid line{stroke:var(--color-border)}.line-chart pattern path{stroke:var(--color-border-strong);stroke-width:1}.line-chart__area{fill:url(#hatch);opacity:.34}.line-chart__primary,.line-chart__secondary{fill:none;stroke-linecap:round;stroke-linejoin:round}.line-chart__primary{stroke:var(--color-text);stroke-width:2}.line-chart__secondary{stroke:var(--color-text-soft);stroke-width:1.5;stroke-dasharray:5 5}.bar-chart{min-height:220px;display:flex;align-items:end;gap:14px;padding:24px 10px 8px}.bar-chart span{flex:1;max-width:44px;height:var(--bar-height);border-radius:6px 6px 0 0;background:var(--color-text-muted)}.data-list{min-height:280px;padding:16px}.data-list header input{max-width:120px;height:32px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.data-list__rows{display:grid;gap:8px;margin-top:16px}.data-list__row{min-height:38px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 8px;border-radius:var(--radius-sm);color:var(--color-text-muted)}.data-list__row:hover{background:var(--color-surface-muted)}.data-list__row span{overflow:hidden;color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.data-list__row small{color:var(--color-text-muted);font-size:12px}.document-section{display:grid;gap:12px}.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.document-card{min-height:168px;padding:12px;display:grid;gap:8px}.document-card__folder{height:72px;position:relative;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.document-card__folder span{position:absolute;left:14px;top:14px;width:46px;height:10px;border-radius:5px 5px 0 0;background:var(--color-border-strong)}.document-card__folder--contracts span{background:var(--color-blue)}.document-card__folder--legal span{background:var(--color-yellow)}.document-card__meta{display:flex;align-items:center;justify-content:space-between;min-height:20px;color:var(--color-text-muted);font-size:12px}.avatar-stack{display:flex}.avatar-stack i{width:18px;height:18px;display:block;margin-left:-5px;border:1px solid var(--color-surface);border-radius:50%;background:var(--color-border-strong)}.document-card p{margin:0;display:-webkit-box;overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.contracts-page{display:grid;gap:16px}.contract-templates,.contract-document-panel,.contract-version-strip,.contract-table-panel,.contract-preview{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.contract-templates p,.contract-templates h2,.contract-document-panel p,.contract-document-panel h2,.contract-version-strip p,.contract-version-strip h2,.contract-version-strip h3,.contract-table-panel p,.contract-table-panel h2,.contract-preview p,.contract-preview h3{margin:0}.contract-templates p,.contract-document-panel p,.contract-version-strip p,.contract-table-panel p,.contract-preview p{color:var(--color-text-muted);font-size:12px}.contract-templates{display:grid;gap:14px;padding:14px}.contract-templates header,.contract-document-panel header,.contract-version-strip header,.contract-table-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}.contract-templates h2,.contract-document-panel h2,.contract-version-strip h2,.contract-version-strip h3,.contract-table-panel h2{margin-top:4px;font-size:16px;line-height:24px}.contract-templates header span,.contract-table-panel header span{color:var(--color-text-muted);font-size:12px}.contract-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.contract-template-card{min-height:132px;display:grid;gap:10px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.contract-template-card--create{align-content:start}.contract-template-card h3,.contract-template-card p,.contract-template-card label{margin:0}.contract-template-card label{display:grid;gap:6px;color:var(--color-text-muted);font-size:11px}.contract-template-card input{width:100%;height:32px;padding:0 9px;border:1px solid var(--color-border);border-radius:var(--radius-sm);outline:0;background:var(--color-surface);color:var(--color-text)}.contract-template-card h3{font-size:14px;line-height:20px}.contract-template-card p{margin-top:6px;display:-webkit-box;overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.contract-template-card small{color:var(--color-text-soft);font-size:11px}.contract-template-card__actions{display:flex;gap:6px;flex-wrap:wrap;align-self:end}.contract-template-card__actions input{display:none}.contract-template-card__actions button,.contract-template-card__actions a,.contract-document-panel__actions button,.contract-version-downloads a,.contract-version-downloads button{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:11px;text-decoration:none}.contract-version-downloads button:disabled{opacity:.45;cursor:not-allowed}.contract-document-panel,.contract-version-strip,.contract-table-panel,.contract-preview{padding:14px}.contract-document-panel{display:grid;gap:14px}.contract-document-panel header{padding-bottom:12px;border-bottom:1px solid var(--color-border)}.contract-document-panel__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.contract-document-panel__actions span,.contract-status-pill{min-height:30px;display:inline-flex;align-items:center;padding:0 9px;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);font-size:11px}.contract-status-pill{width:fit-content;font-weight:700}.contract-status-pill--draft{border-color:color-mix(in srgb,var(--color-text-muted) 36%,transparent);background:color-mix(in srgb,var(--color-text-muted) 9%,transparent)}.contract-status-pill--review{border-color:color-mix(in srgb,var(--color-blue) 58%,transparent);background:color-mix(in srgb,var(--color-blue) 14%,transparent);color:var(--color-blue)}.contract-status-pill--signed{border-color:color-mix(in srgb,#2f9a61 58%,transparent);background:color-mix(in srgb,#2f9a61 14%,transparent);color:#2f9a61}.contract-status-pill--archived{border-color:color-mix(in srgb,#d94f4f 58%,transparent);background:color-mix(in srgb,#d94f4f 14%,transparent);color:#d94f4f}.contract-document-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.contract-document-form label{display:grid;gap:7px;min-width:0;color:var(--color-text-muted);font-size:12px}.contract-document-form input,.contract-document-form select{width:100%;height:38px;min-width:0;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);outline:0;background:var(--color-surface-muted);color:var(--color-text)}.contract-document-form input:disabled,.contract-document-form select:disabled{opacity:1;color:var(--color-text);background:transparent}.contract-version-strip{display:grid;gap:12px}.contract-version-strip>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.contract-version-strip__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.contract-version-strip__actions span,.contract-version-strip__actions button,.contract-version-strip article a{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:11px;text-decoration:none}.contract-version-strip article{min-width:0;display:grid;gap:3px;padding:8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);cursor:pointer}.contract-version-strip article.is-active{border-color:var(--color-blue);box-shadow:inset 0 0 0 1px var(--color-blue);background:color-mix(in srgb,var(--color-blue) 12%,var(--color-surface-muted))}.contract-version-strip article strong,.contract-version-strip article span,.contract-version-strip article small{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.contract-version-strip article strong{color:var(--color-text)}.contract-version-strip article span,.contract-version-strip article small{color:var(--color-text-soft)}.contract-version-downloads{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.contract-table{overflow:hidden;margin-top:12px;border:1px solid var(--color-border);border-radius:var(--radius-md)}.contract-table__head,.contract-table button{display:grid;grid-template-columns:minmax(220px,1.3fr) 120px minmax(140px,.9fr) 120px minmax(160px,1fr) 110px;gap:10px;align-items:center;padding:10px 12px}.contract-table__head{color:var(--color-text-soft);font-size:11px;text-transform:uppercase}.contract-table button{width:100%;min-height:58px;border:0;border-top:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);text-align:left}.contract-table button.is-active,.contract-table button:hover{background:var(--color-surface-muted)}.contract-table button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.contract-table button>span:first-child{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px}.contract-table button strong,.contract-table button small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contract-table button strong{color:var(--color-text);font-size:12px}.contract-table button small{grid-column:2;color:var(--color-text-soft);font-size:11px}.contract-preview{position:sticky;top:calc(var(--desktop-shell-padding) + var(--topbar-height));align-self:start;display:grid;gap:14px}.contract-preview header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--color-border)}.contract-preview h3{margin-top:4px;font-size:16px;line-height:22px}.contract-preview header span{flex:0 0 auto;padding:5px 8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);font-size:11px}.contract-preview dl{display:grid;gap:10px;margin:0}.contract-preview dt,.contract-preview dd{margin:0}.contract-preview dt{color:var(--color-text-soft);font-size:11px}.contract-preview dd{margin-top:3px;color:var(--color-text);font-size:13px}.contract-versions{display:grid;gap:8px}.contract-versions h4{margin:0;font-size:13px}.contract-versions article{display:grid;gap:4px;padding:9px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.contract-versions article strong,.contract-versions article span,.contract-versions article p,.contract-versions article small{margin:0;font-size:11px}.contract-versions article strong{color:var(--color-text)}.contract-versions article span,.contract-versions article small{color:var(--color-text-soft)}.contract-versions article p{color:var(--color-text-muted);line-height:16px}.contracts-status{margin:0;color:var(--color-text-muted);font-size:12px}.projects-page{display:grid;gap:12px}.projects-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.projects-heading p,.projects-heading h1{margin:0}.projects-heading p{color:var(--color-text-muted);font-size:13px}.projects-heading h1{font-size:26px;line-height:32px}.projects-statuses{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.projects-filter-stack{display:grid;justify-items:end;gap:8px}.projects-filter-group{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.projects-statuses span,.project-status,.projects-filter-group button,.projects-statuses button{min-height:30px;display:inline-flex;align-items:center;width:fit-content;padding:0 10px;border:1px solid color-mix(in srgb,var(--project-status-color) 50%,var(--color-border));border-radius:var(--radius-sm);background:color-mix(in srgb,var(--project-status-color) 12%,transparent);color:var(--color-text);font-size:12px}.projects-filter-group button,.projects-statuses button{border-color:var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font:inherit}.projects-filter-group button.is-active,.projects-statuses button.is-active{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,390px));gap:14px;align-items:start}.project-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-card__image{flex:0 0 auto;position:relative;overflow:hidden;aspect-ratio:1.62;background:var(--color-surface-muted)}.project-card__image img,.project-image-placeholder,.project-hero-image img,.project-hero-image .project-image-placeholder,.project-all-photos img,.project-plan-card img,.project-photo-grid img{width:100%;height:100%;object-fit:cover}.project-image-placeholder{min-height:220px;display:grid;place-items:center;gap:8px;padding:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--color-blue) 18%,transparent),transparent 42%),linear-gradient(160deg,var(--color-surface-muted),var(--color-surface));color:var(--color-text-muted);text-align:center}.project-card__area,.project-card__progress{position:absolute;z-index:1;display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font-weight:700}.project-card__area{top:14px;left:14px}.project-card__progress{bottom:14px;left:14px;background:color-mix(in srgb,var(--color-green) 78%,var(--color-surface));color:#fff}.project-card__body{display:flex;flex-direction:column;flex:1 1 auto;gap:8px;padding:13px}.project-card__type{width:fit-content;min-height:24px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;line-height:1;font-weight:700}.project-card h2,.project-card p,.project-card__price small,.project-card__price strong,.project-card__progress-line span,.project-card__progress-line strong,.project-card__meta span,.project-card__meta strong,.project-card__owner span,.project-card__owner strong,.project-card__estimate span,.project-card__estimate strong,.project-card__summary,.project-detail-copy p,.project-detail-copy h2,.project-schedule h2,.project-photo-archive h2,.project-photo-archive p{margin:0}.project-card h2{display:-webkit-box;min-height:23px;max-height:46px;overflow:hidden;font-size:16px;line-height:23px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.project-card p{color:var(--color-text-muted);font-size:12px;line-height:18px}.project-card__address{min-height:18px;max-height:36px;display:flex;align-items:flex-start;gap:7px}.project-card__address svg{flex:0 0 auto;margin-top:2px}.project-card__address span{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.project-card__summary{display:-webkit-box;min-height:0;overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.project-card__progress-line{display:grid;grid-template-columns:1fr auto;gap:5px 8px;padding-top:0}.project-card__progress-line span,.project-card__meta span,.project-card__owner span,.project-card__estimate span{color:var(--color-text-soft);font-size:11px}.project-card__progress-line strong,.project-card__meta strong,.project-card__owner strong,.project-card__estimate strong{color:var(--color-text);font-size:12px}.project-card__progress-line i{grid-column:1 / -1;height:5px;overflow:hidden;border-radius:999px;background:var(--color-surface-muted)}.project-card__progress-line b{display:block;height:100%;border-radius:inherit;background:var(--color-text)}.project-card__meta,.project-card__owner,.project-card__estimate{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--color-border)}.project-card__meta strong,.project-card__owner strong{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;text-align:right}.project-stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:8px}.project-card__stats{display:flex;gap:5px;flex-wrap:wrap;align-items:flex-start}.project-card__stats .project-stat{width:fit-content;min-height:26px;display:inline-flex;grid-template-columns:none;gap:6px;padding:0 8px;border-radius:999px;background:var(--color-surface);font-size:11px}.project-stat{min-width:0;min-height:44px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 7px;padding:6px 8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted)}.project-stat strong{color:var(--color-text);font-size:13px}.project-card__stats .project-stat strong{font-size:12px;line-height:1;white-space:nowrap}.project-card__stats .project-stat svg{width:14px;height:14px}.project-stat small{grid-column:1 / -1;color:var(--color-text-soft);font-size:11px}.project-card__badges{min-height:24px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.project-card__badges span{min-height:22px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border-radius:var(--radius-sm);font-size:11px}.project-card__badges span.is-warning{background:color-mix(in srgb,#f2994a 14%,var(--color-surface));color:#b15a12}.project-card__badges span.is-done{background:color-mix(in srgb,var(--color-green) 14%,var(--color-surface));color:var(--color-green)}.project-card__badges span.is-info{background:color-mix(in srgb,var(--color-blue) 12%,var(--color-surface));color:var(--color-blue)}.project-card__price{display:grid;gap:4px}.project-card__price small{color:var(--color-text-soft);font-size:12px}.project-card__price strong{font-size:18px;line-height:24px}.project-back,.project-upload-row button,.project-plan-card button,.project-photo-upload button,.project-preview button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px}.project-back{justify-self:start}.project-hero-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(320px,1fr);gap:16px}.project-hero-image,.project-side-media,.project-detail-summary,.project-detail-copy article,.project-schedule,.project-photo-archive{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-hero-image{overflow:hidden;aspect-ratio:1.72}.project-hero-image button{position:relative;width:100%;height:100%;padding:0;border:0;background:transparent}.project-hero-image button span{position:absolute;left:18px;bottom:18px;width:46px;height:46px;display:grid;place-items:center;border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted)}.project-side-media{display:grid;gap:12px;padding:12px}.project-upload-row,.project-plan-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-upload-row span,.project-plan-card span,.project-tag-input{color:var(--color-text-muted);font-size:12px}.project-tag-input{display:grid;gap:6px}.project-tag-input input,.project-photo-archive select{width:100%;height:34px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text)}.project-all-photos{position:relative;overflow:hidden;min-height:148px;padding:0;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);color:var(--color-text)}.project-all-photos img{opacity:.42;filter:brightness(.72)}.project-all-photos b{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fff;font-size:16px}.project-plan-card{display:grid;gap:10px}.project-plan-card img,.project-plan-card p{width:100%;aspect-ratio:1.75;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.project-plan-card p{display:grid;place-items:center;color:var(--color-text-soft);font-size:12px}.project-detail-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px}.project-season{min-height:42px;display:inline-flex;align-items:center;gap:10px;padding:0 14px;border-radius:var(--radius-md);background:var(--color-surface-muted)}.project-season strong{color:var(--color-text)}.project-season span{color:var(--color-text-muted);font-size:12px}.project-detail-copy{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr) minmax(260px,.8fr);gap:16px}.project-detail-copy>p{color:var(--color-text-muted);font-size:15px;line-height:24px}.project-detail-copy article,.project-schedule,.project-photo-archive{display:grid;gap:12px;padding:14px}.project-detail-copy article h2,.project-schedule h2,.project-photo-archive h2{font-size:16px;line-height:24px}.project-detail-copy article p{display:flex;gap:8px;color:var(--color-text-muted);font-size:13px;line-height:20px}.project-detail-copy dl{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:0}.project-detail-copy dt,.project-detail-copy dd{margin:0;font-size:12px}.project-detail-copy dt{color:var(--color-text-muted)}.project-detail-copy dd{color:var(--color-text);font-weight:700}.project-schedule>div{display:flex;gap:10px;flex-wrap:wrap}.project-schedule>div span{min-height:42px;display:inline-grid;align-content:center;gap:2px;padding:0 16px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-blue) 12%,var(--color-surface-muted));color:var(--color-text-muted);font-size:12px}.project-schedule b{color:var(--color-text)}.project-photo-archive header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.project-photo-archive header>div:last-child{display:flex;align-items:center;gap:8px}.project-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.project-photo-grid>button,.project-photo-upload{position:relative;overflow:hidden;aspect-ratio:1.35;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.project-photo-grid>button{padding:0}.project-photo-grid>button span{position:absolute;left:10px;bottom:10px;min-height:28px;display:inline-flex;align-items:center;padding:0 8px;border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font-size:11px}.project-photo-upload{display:grid;place-items:center;align-content:center;gap:12px;padding:18px;color:var(--color-text-muted);border-style:dashed}.project-photo-upload strong{color:var(--color-text);font-size:15px}.project-photo-upload label{width:min(260px,100%);display:grid;gap:7px;color:var(--color-text-muted);font-size:12px}.project-photo-upload input{width:100%;min-height:38px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit}.file-upload-tile-button{width:min(260px,100%);min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit}.project-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;padding:42px 56px;background:#08090bb8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.project-preview__panel{position:relative;width:100%;height:100%;display:grid;place-items:center}.project-preview__close,.project-preview__prev,.project-preview__next{position:absolute;z-index:1;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:#ffffffeb;color:#202226}.project-preview__close{top:0;right:0}.project-preview__prev{left:0;top:50%;transform:translateY(-50%)}.project-preview__next{right:0;top:50%;transform:translateY(-50%)}.project-preview__counter{position:absolute;top:4px;left:50%;transform:translate(-50%);color:#ffffffd6;font-size:13px}.project-preview img{width:min(86vw,1480px);max-height:82vh;object-fit:contain;border-radius:var(--radius-md);background:#ffffff14}.projects-status{margin:0;color:var(--color-text-muted);font-size:12px}.projects-heading--compact{align-items:flex-start}.projects-heading--compact h1{margin:0}.projects-filter-stack{display:grid;justify-items:start;gap:8px}.projects-filter-group,.projects-statuses{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start}.projects-filter-group button,.projects-statuses button{min-height:34px;display:inline-flex;align-items:center;gap:7px;width:fit-content;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px}.projects-filter-group button.is-active,.projects-statuses button.is-active{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface);box-shadow:0 10px 24px #1114181f}.projects-filter-group svg,.projects-statuses svg{color:currentColor;stroke:currentColor}.projects-filter-group button.is-active svg,.projects-statuses button.is-active svg{color:currentColor;stroke:currentColor}.projects-statuses button{border:1px solid var(--color-border)}.projects-statuses button.is-active{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.project-card__badge{position:absolute;right:12px;top:12px;min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid color-mix(in srgb,var(--project-status-color) 42%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--project-status-color) 14%,var(--color-surface));color:var(--project-status-color);font-size:11px;font-weight:700}.project-card__badge.is-warning{border-color:color-mix(in srgb,#f2994a 42%,transparent);background:color-mix(in srgb,#f2994a 14%,var(--color-surface));color:#c56013}.project-card__badge.is-done{color:var(--color-green)}.project-card__bottom{margin-top:auto;display:flex;align-items:end;justify-content:flex-end;gap:12px}.project-card__bottom .button{min-width:118px;min-height:34px;border-color:#111418;background:#111418;color:#fff}.project-showcase-grid{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(320px,.95fr);gap:16px;align-items:stretch;height:clamp(340px,34vw,520px)}.project-showcase-main,.project-showcase-side button,.project-showcase-editor-card{position:relative;overflow:hidden;min-height:0;padding:0;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.project-showcase-main{height:100%;aspect-ratio:auto}.project-showcase-main img,.project-showcase-main .project-image-placeholder,.project-showcase-side img,.project-showcase-editor-card img{width:100%;height:100%;object-fit:cover}.project-showcase-main.is-plan-image img,.project-showcase-side .is-plan-image img,.project-showcase-editor-card.is-plan-image img{object-fit:contain;padding:18px;background:color-mix(in srgb,var(--color-surface-muted) 62%,var(--color-surface))}.project-showcase-main>span{position:absolute;left:18px;bottom:18px;width:46px;height:46px;display:grid;place-items:center;border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted)}.project-showcase-side{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-height:0}.project-showcase-side button,.project-showcase-editor-card{min-height:0}.project-showcase-side button p,.project-showcase-editor-card p{margin:0;color:var(--color-text-soft);font-size:12px}.project-showcase-info{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.55fr);gap:16px;align-items:start}.project-showcase-info>div,.project-full-description,.project-settings section{display:grid;gap:14px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-showcase-info>div{position:relative}.project-showcase-info h2,.project-showcase-info p,.project-full-description h2,.project-full-description p,.project-settings h2,.project-settings p{margin:0}.project-showcase-info h2{font-size:20px;line-height:28px}.project-showcase-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding-right:44px}.project-showcase-edit,.project-settings-close{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted)}.project-showcase-edit{position:absolute;top:12px;right:12px}.project-showcase-edit:hover,.project-settings-close:hover{border-color:var(--color-text);color:var(--color-text)}.project-showcase-info p{color:var(--color-text-muted);font-size:13px;line-height:21px}.project-showcase-info p:first-of-type{display:flex;align-items:center;gap:8px}.project-full-description h2{color:var(--color-text-muted);font-size:13px;line-height:18px}.project-full-description p{color:var(--color-text-muted);font-size:14px;line-height:24px}.project-settings{display:grid;gap:16px}.project-settings-toolbar,.project-settings header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.project-settings-toolbar{padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-settings-actions{display:flex;align-items:center;gap:10px}.project-settings h2{font-size:16px;line-height:24px}.project-settings p{color:var(--color-text-muted);font-size:12px;line-height:18px}.project-settings-grid,.project-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.project-settings label,.project-picker-grid label{display:grid;gap:7px;min-width:0;color:var(--color-text-muted);font-size:12px}.project-settings input,.project-settings textarea,.project-settings select,.project-settings-upload input{width:100%;min-width:0;min-height:38px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font:inherit}.project-settings textarea{min-height:120px;padding-top:10px;resize:vertical}.project-settings-upload{display:flex;align-items:center;gap:8px}.project-settings-upload input{width:150px}.project-settings-upload span{color:var(--color-text-muted);font-size:12px}.project-settings-upload button{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px}.project-file-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.project-file-settings article{display:grid;grid-template-columns:minmax(130px,.55fr) minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.project-file-settings span{display:inline-flex;align-items:center;gap:8px;color:var(--color-text);font-weight:700;font-size:12px}.project-file-settings article>strong{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.project-file-settings button{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px}.project-showcase-grid--editor .project-showcase-main,.project-showcase-grid--editor .project-showcase-editor-card{min-height:0}.project-showcase-grid--editor .project-showcase-main{aspect-ratio:auto}.project-showcase-editor-card--clean{display:grid;place-items:center}.project-editor-controls{position:absolute;left:10px;right:10px;bottom:10px;display:grid;gap:8px;padding:10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-surface) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.project-editor-controls label{color:var(--color-text-muted)}.project-showcase-info--editor>div{grid-template-columns:repeat(2,minmax(0,1fr))}.project-showcase-info--editor .project-settings-grid{grid-column:1 / -1}.project-schedule{align-content:start;padding:12px}.project-schedule header{display:flex;align-items:center;gap:8px}.project-schedule header h2{font-size:14px;line-height:18px}.project-schedule>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.project-schedule>div span{min-height:54px;display:grid;align-content:center;gap:3px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-surface-muted) 78%,var(--color-surface));color:var(--color-text-muted);font-size:11px}.project-schedule b{color:var(--color-text);font-size:13px;line-height:17px}.project-schedule--editor{grid-template-columns:repeat(3,minmax(0,1fr))}.project-schedule--editor header{grid-column:1 / -1}.construction-tab{display:grid;gap:10px}.construction-toolbar,.construction-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.construction-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:10px 12px}.construction-toolbar p,.construction-toolbar h2,.construction-card h2,.construction-card p{margin:0}.construction-toolbar p{color:var(--color-text-muted);font-size:11px}.construction-toolbar h2{font-size:17px;line-height:22px}.construction-toolbar>div:last-child{display:flex;align-items:center;gap:10px}.construction-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:10px}.construction-card{display:grid;align-content:start;gap:10px;padding:12px;height:100%}.construction-card:nth-child(1),.construction-card:nth-child(2),.construction-card:nth-child(3){grid-column:span 4}.construction-card:nth-child(4),.construction-card:nth-child(5),.construction-card:nth-child(6),.construction-card:nth-child(7){grid-column:span 3}.construction-card:nth-child(8){grid-column:span 12}.construction-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.construction-card header>div{display:inline-flex;align-items:center;gap:8px;min-width:0}.construction-card h2{font-size:14px;line-height:19px}.construction-icon-button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted)}.construction-icon-button:hover{border-color:var(--color-text);color:var(--color-text)}.construction-description{min-height:132px;padding:10px;white-space:pre-wrap;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text);font-size:12px;line-height:18px}.construction-technical-card{display:grid;gap:8px}.construction-address-inline{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:46px;padding:8px 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.construction-address-inline>div{min-width:0;display:grid;gap:3px}.construction-address-inline small,.construction-mini-stats label small{color:var(--color-text-muted);font-size:11px}.construction-address-inline strong,.construction-mini-stats label strong{min-width:0;overflow-wrap:anywhere;color:var(--color-text);font-size:12px}.construction-address-inline input,.construction-mini-stats label input,.construction-mini-stats label select,.construction-description--edit{width:100%;min-width:0;border:0;background:transparent;color:var(--color-text);font:inherit;font-size:12px;font-weight:700}.construction-description--edit{min-height:132px;resize:vertical;border:1px solid var(--color-border);background:var(--color-surface);font-weight:500}.construction-address-inline input:focus,.construction-mini-stats label input:focus,.construction-mini-stats label select:focus,.construction-description--edit:focus{outline:2px solid color-mix(in srgb,var(--color-accent) 14%,transparent)}.construction-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.construction-mini-stats span,.construction-mini-stats label,.construction-responsible-list article{display:grid;gap:4px;padding:8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.construction-responsible-list article{grid-template-columns:auto minmax(0,1fr);align-items:center}.construction-mini-stats small,.construction-note,.construction-files small,.construction-video span,.construction-pdf-preview span,.construction-responsible-list span,.construction-responsible-list small{color:var(--color-text-muted);font-size:11px}.construction-mini-stats strong,.construction-list strong,.construction-responsible-list strong{font-size:12px}.construction-files,.construction-list{display:grid;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.construction-files button,.construction-list>div{min-height:36px;display:grid;align-items:center;gap:8px;padding:0 9px;border:0;border-bottom:1px solid var(--color-border);background:transparent;text-align:left}.construction-files button{grid-template-columns:auto minmax(0,1fr) auto auto}.construction-files button:last-child,.construction-list>div:last-child{border-bottom:0}.construction-files strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.construction-files span,.construction-list span{color:var(--color-text-muted);font-size:12px}.construction-files p,.construction-empty-media{margin:0;padding:22px 12px;color:var(--color-text-muted);text-align:center;font-size:12px}.construction-list>div{grid-template-columns:minmax(0,1fr) auto}.construction-status{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px}.construction-status.is-ok{color:#2f8a5f;background:color-mix(in srgb,#2f8a5f 12%,transparent)}.construction-status.is-warning{color:#b7791f;background:color-mix(in srgb,#b7791f 14%,transparent)}.construction-status.is-danger{color:#b42318;background:color-mix(in srgb,#b42318 12%,transparent)}.construction-video,.construction-empty-media{display:grid;gap:8px}.construction-video video,.construction-pdf-preview iframe{width:100%;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.construction-video video{aspect-ratio:16 / 9}.construction-risks{display:grid;gap:6px;margin:0;padding-left:18px;color:var(--color-text);font-size:12px;line-height:18px}.construction-responsible-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.construction-responsible-editor,.construction-technical-edit,.construction-edit-list{display:grid;gap:7px}.construction-technical-edit textarea{min-height:132px;resize:vertical;border-radius:var(--radius-sm)}.construction-technical-edit>div,.construction-edit-list>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.construction-list--edit>div{grid-template-columns:minmax(0,1fr) minmax(96px,auto) 30px;align-items:center;min-height:36px;padding-right:5px}.construction-list--edit>div.has-status{grid-template-columns:minmax(0,1fr) minmax(108px,max-content) 104px 30px}.construction-technical-edit label{display:grid;gap:5px;min-width:0;padding:8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px}.construction-technical-edit input,.construction-technical-edit textarea,.construction-edit-field,.construction-list--edit select{width:100%;min-height:30px;padding:0 6px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px}.construction-technical-edit textarea{padding:9px;line-height:18px}.construction-technical-edit label input{min-height:18px;padding:0;border:0;background:transparent;font-weight:700}.construction-edit-field,.construction-list--edit select{min-width:0;overflow:hidden;text-overflow:ellipsis;border-color:transparent;background:transparent}.construction-list--edit .construction-edit-field--value{justify-self:end;width:auto;max-width:190px;min-height:24px;padding:0 8px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);text-align:center}.construction-list--edit:not(:has(.has-status)) .construction-edit-field--value{background:transparent;color:var(--color-text);font-weight:700;text-align:right}.construction-list--edit select{min-height:24px;border-color:var(--color-border);border-radius:999px;background:var(--color-surface-muted)}.construction-edit-field:focus,.construction-list--edit select:focus,.construction-technical-edit input:focus,.construction-technical-edit textarea:focus{border-color:var(--color-accent);outline:2px solid color-mix(in srgb,var(--color-accent) 14%,transparent);background:var(--color-surface)}.construction-row-remove,.construction-add-row{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:12px}.construction-row-remove{width:30px;padding:0}.construction-add-row{justify-self:start;padding:0 9px}.construction-risk-editor{display:grid;gap:8px}.construction-risks--edit{padding-left:0;list-style:none}.construction-risks--edit li{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:8px;min-height:36px;padding:0 6px 0 18px;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.construction-risks--edit li:before{content:"";width:4px;height:4px;margin-left:-10px;border-radius:999px;background:var(--color-text)}.construction-risks--edit .construction-edit-field{grid-column:1}.construction-risks--edit .construction-row-remove{grid-column:2;grid-row:1}.construction-responsible-list--edit article{position:relative;align-content:start}.construction-responsible-list--edit .construction-row-remove{position:absolute;top:6px;right:6px;background:transparent}.construction-responsible-list--edit .crm-picker-popover{position:absolute;left:0;top:calc(100% + 8px);z-index:20;min-width:320px}.construction-person-trigger{min-width:0;padding:0;border:0;background:transparent;color:var(--color-text);text-align:left;font:inherit}.construction-person-trigger>span{color:var(--color-text-muted);font-size:12px}.construction-edit-field--muted{min-height:18px;padding:0;color:var(--color-text-muted)}.construction-pdf-preview{display:grid;gap:10px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.construction-pdf-preview header{display:flex;align-items:center;justify-content:space-between;gap:10px}.construction-pdf-preview header>div{display:inline-flex;align-items:center;gap:8px;min-width:0}.construction-pdf-preview iframe{height:560px}.build-summary{display:grid;gap:10px}.build-summary-hero{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(360px,.95fr);gap:10px}.build-summary-hero__image,.build-summary-hero aside article,.build-summary-passport,.build-summary-cards article,.build-summary-description{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.build-summary-hero__image{overflow:hidden;aspect-ratio:2.15}.build-summary-hero__image img,.build-summary-hero__image .project-image-placeholder,.build-summary-hero aside article>img{width:100%;height:100%;object-fit:cover}.build-summary-hero aside{display:grid;gap:10px}.build-summary-hero aside article{display:grid;gap:10px;padding:12px}.build-summary-hero header,.build-summary-description header{display:flex;align-items:center;gap:8px}.build-summary-hero header span{margin-left:auto;min-height:26px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px}.build-summary-hero aside article>img,.build-summary-photo-row{height:112px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.build-summary-photo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:hidden;padding:6px}.build-summary-photo-row img{width:100%;height:100%;object-fit:cover;border-radius:6px}.build-summary-photo-row p,.build-summary-hero aside article>p{margin:0;align-self:center;color:var(--color-text-muted);text-align:center;font-size:12px}.build-summary button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-blue);font:inherit;font-size:12px}.build-summary-passport{display:grid;grid-template-columns:minmax(0,1fr) minmax(560px,.9fr);gap:14px;padding:14px}.build-summary-passport>div:first-child{position:relative;display:grid;gap:9px;align-content:start}.build-summary-passport>div:first-child>button{position:absolute;top:0;right:0;width:34px;padding:0}.build-summary-passport h2,.build-summary-passport p,.build-summary-cards h3,.build-summary-cards p,.build-summary-cards small,.build-summary-description h3,.build-summary-description p{margin:0}.build-summary-passport p{display:inline-flex;align-items:center;gap:8px;color:var(--color-text-muted);font-size:12px}.build-summary-tags{display:flex;gap:8px;flex-wrap:wrap}.build-summary-tags span{min-height:26px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px}.build-summary-tags span.is-active{background:color-mix(in srgb,var(--color-blue) 12%,var(--color-surface));color:var(--color-blue)}.build-summary-passport .project-stat-row{grid-template-columns:repeat(4,minmax(0,1fr))}.build-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.build-summary-cards article,.build-summary-description{display:grid;gap:10px;padding:14px}.build-summary-cards h3,.build-summary-description h3{display:inline-flex;align-items:center;gap:8px;font-size:14px;line-height:20px}.build-summary-cards p,.build-summary-cards small,.build-summary-description p{color:var(--color-text-muted);font-size:12px;line-height:18px}.build-summary-cards p{display:flex;align-items:center;justify-content:space-between;gap:10px}.build-summary-cards strong.is-paid{color:var(--color-green)}.build-summary-person{justify-content:flex-start!important}.build-summary-person>span:last-child{display:grid;gap:1px}.build-summary-person small{line-height:14px}.build-progress-bar{height:8px;overflow:hidden;border-radius:999px;background:var(--color-surface-muted)}.build-progress-bar span{display:block;height:100%;border-radius:inherit;background:var(--color-text)}.client-portal,.client-portal-edit{display:grid;gap:12px}.client-portal-hero aside,.client-portal-cards article,.client-portal-stages,.client-portal-edit{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.client-portal button,.client-portal-edit button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;padding:0 11px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px}.client-portal-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,.92fr);gap:12px}.client-portal-hero__image{position:relative;overflow:hidden;aspect-ratio:2.1;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.client-portal-hero__image img,.client-portal-hero__image .project-image-placeholder{width:100%;height:100%;object-fit:cover}.client-portal-hero__image>span{position:absolute;left:14px;bottom:14px;min-height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:var(--radius-sm);background:#08090bb8;color:#fff;font-size:12px}.client-portal-hero aside{position:relative;display:grid;align-content:start;gap:14px;padding:18px}.client-portal-edit-button{position:absolute;top:12px;right:12px;width:34px;padding:0}.client-portal-hero h2,.client-portal-hero p,.client-portal-cards h3,.client-portal-cards p,.client-portal-stages h3,.client-portal-stages strong,.client-portal-stages small{margin:0}.client-portal-hero h2{font-size:22px;line-height:28px}.client-portal-hero strong{width:fit-content;min-height:28px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:color-mix(in srgb,#2f8a5f 12%,transparent);color:#2f8a5f;font-size:12px}.client-portal-hero p{display:flex;justify-content:space-between;gap:10px;color:var(--color-text-muted);font-size:13px;line-height:20px}.client-portal-note{min-height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);font-size:12px}.client-portal-note svg{color:#2f8a5f}.client-portal .client-portal-primary{width:100%;min-height:46px;border-color:#0d1420;background:#0d1420;color:#fff;font-weight:700}.client-portal-progress{height:8px;overflow:hidden;border-radius:999px;background:var(--color-surface-muted)}.client-portal-progress span{display:block;height:100%;border-radius:inherit;background:var(--color-text)}.client-portal-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.client-portal-cards article{display:grid;align-content:start;gap:12px;padding:14px}.client-portal-cards h3,.client-portal-stages h3{font-size:15px;line-height:22px}.client-portal-cards p{display:flex;align-items:center;gap:8px;color:var(--color-text-muted);font-size:12px;line-height:18px}.client-portal-cards p span{display:grid;gap:2px}.client-portal-cards p.client-portal-person{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.client-portal-cards small{color:var(--color-text-muted);font-size:11px;line-height:17px}.client-portal-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.client-portal-gallery img{width:100%;aspect-ratio:1.1;object-fit:cover;border-radius:var(--radius-sm)}.client-portal-stages{display:grid;gap:16px;padding:16px}.client-portal-stages>div{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.client-portal-stages article{display:grid;justify-items:center;gap:6px;color:var(--color-text-muted);text-align:center;font-size:11px}.client-portal-stages article span{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;border:2px solid var(--color-border)}.client-portal-stages article.is-done span{border-color:#2f8a5f;background:#2f8a5f;color:#fff}.client-portal-stages article.is-active span{border-color:var(--color-blue)}.client-portal-edit{padding:14px}.client-portal-edit header{display:flex;justify-content:space-between;gap:12px}.client-portal-edit header>div:last-child{display:flex;gap:8px}.client-portal-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.client-portal-edit label,.client-portal-edit-list{display:grid;gap:6px;color:var(--color-text-muted);font-size:11px}.client-portal-edit label.is-wide{grid-column:1 / -1}.client-portal-edit input,.client-portal-edit textarea,.client-portal-edit select{width:100%;min-height:36px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px}.client-portal-edit textarea{min-height:92px;padding:10px}.client-portal-edit-list>div{display:grid;grid-template-columns:var(--portal-edit-columns);gap:8px}.project-full-description--editor label{display:grid;gap:8px;color:var(--color-text-muted);font-size:12px}.file-upload-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:20px;background:#08090b9e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.file-upload-modal section{width:min(520px,100%);display:grid;gap:14px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-panel)}.file-upload-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.file-upload-modal h2,.file-upload-modal p{margin:0}.file-upload-modal h2{font-size:18px;line-height:26px}.file-upload-modal p,.file-upload-modal footer{color:var(--color-text-muted);font-size:12px}.file-upload-modal header button,.file-upload-dropzone button{min-height:34px;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px}.file-upload-dropzone{display:grid;place-items:center;gap:10px;min-height:210px;padding:22px;border:1px dashed var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface-muted);text-align:center}.file-upload-dropzone img{width:92px;height:68px;object-fit:cover;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.file-upload-dropzone strong{color:var(--color-text);font-size:15px}.file-upload-dropzone span{color:var(--color-text-muted);font-size:12px}.file-upload-progress{width:min(280px,100%);height:6px;overflow:hidden;border-radius:999px;background:var(--color-border)}.file-upload-progress span{display:block;height:100%;border-radius:inherit;background:var(--color-text);transition:width .26s ease}.file-upload-modal footer{display:flex;justify-content:space-between}.file-upload-modal footer span{min-height:28px;display:inline-flex;align-items:center;padding:0 9px;border-radius:var(--radius-sm);background:var(--color-surface-muted)}.file-upload-modal footer span.is-complete{color:var(--color-green)}.toast-stack{position:fixed;right:20px;bottom:20px;z-index:100;display:grid;gap:8px;width:min(360px,calc(100vw - 40px))}.toast{min-height:44px;display:grid;grid-template-columns:18px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:10px 10px 10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-panel)}.toast span{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.toast button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted)}.toast--success>svg{color:var(--color-green)}.toast--error>svg{color:var(--color-danger)}@media(max-width:1439px){.project-showcase-grid,.project-showcase-info{grid-template-columns:1fr}.project-showcase-grid{height:auto}.project-showcase-main{aspect-ratio:2.05}.project-showcase-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}.project-showcase-side button,.project-showcase-editor-card{aspect-ratio:2.05}.project-file-settings{grid-template-columns:1fr}.project-settings-grid,.project-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px),(pointer:coarse){.project-card__bottom,.project-settings-toolbar,.project-settings header,.project-settings-upload{align-items:stretch;flex-direction:column}.project-showcase-grid,.project-showcase-info,.project-settings-grid,.project-picker-grid{grid-template-columns:1fr}.project-showcase-side{grid-template-rows:auto}.project-showcase-side button{aspect-ratio:1.55}.project-showcase-info--editor>div,.project-schedule>div,.project-schedule--editor,.project-file-settings article{grid-template-columns:1fr}.project-settings-upload input{width:100%}}.document-card footer{display:flex;align-items:center;gap:10px;margin-top:auto}.document-card footer .button{flex:1}.text-action{height:32px;display:inline-flex;align-items:center;gap:6px;border:0;color:var(--color-text-muted);background:transparent;font-size:12px}.pipeline-page{position:relative;min-height:calc(100dvh - 112px);display:grid;gap:16px}.pipeline-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.pipeline-heading p,.pipeline-heading h1{margin:0}.pipeline-heading p{color:var(--color-text-muted);font-size:13px}.pipeline-heading h1{font-size:24px;line-height:32px}.pipeline-heading__title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}.pipeline-heading__actions{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.pipeline-action-button{min-height:38px;padding:0 14px;border-radius:var(--radius-sm);font-weight:700;box-shadow:none}.pipeline-action-button--create{border-color:var(--color-border-strong);background:var(--color-surface);color:var(--color-text)}.pipeline-heading__meta{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pipeline-heading__meta span{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);font-size:12px}.pipeline-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.pipeline-toolbar__group{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pipeline-tabs{display:inline-flex;align-items:center;gap:6px;padding:5px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.pipeline-tabs button{min-height:34px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--color-text-muted);font-size:13px;font-weight:700;cursor:pointer}.pipeline-tabs button svg{color:var(--color-text-soft)}.pipeline-tabs button small{min-width:22px;height:22px;display:grid;place-items:center;padding:0 6px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;font-weight:700}.pipeline-tabs button.is-active{background:var(--color-text);color:var(--color-surface)}.pipeline-tabs button.is-active svg{color:currentColor}.pipeline-tabs button.is-active small{background:color-mix(in srgb,var(--color-surface) 18%,transparent);color:currentColor}.pipeline-switcher{min-height:42px;display:grid;grid-template-columns:32px auto minmax(180px,260px);align-items:center;gap:8px;padding:0 10px 0 6px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.pipeline-switcher__icon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--radius-xs);background:var(--color-surface-muted);color:var(--color-text-muted)}.pipeline-switcher__label{color:var(--color-text-soft);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.pipeline-switcher select{height:36px;min-width:0;padding:0 10px;border:1px solid transparent;border-radius:var(--radius-xs);outline:0;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-weight:600}.pipeline-view-switcher{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.pipeline-view-switcher button,.pipeline-toolbar button{height:30px;padding:0 10px;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--color-text-muted);font-size:12px;font-weight:600}.pipeline-view-switcher button.is-active,.pipeline-toolbar button.is-active{background:var(--color-surface-muted);color:var(--color-text);box-shadow:none}.pipeline-list__row[role=button]{cursor:pointer}.pipeline-list__row[role=button]:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.crm-card-owner-badge{min-width:0;max-width:138px;display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;box-shadow:none;align-self:start;justify-self:start;line-height:1}.crm-card-owner-badge .contact-avatar--xs{width:18px;height:18px;font-size:9px}.crm-card-owner-badge span:last-child{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:11px;font-weight:600;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.document-registry{display:grid;gap:10px;color:var(--color-text)}.document-registry__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:4px;border-bottom:1px solid color-mix(in srgb,var(--color-border) 82%,transparent)}.document-registry__heading{min-width:0;display:flex;align-items:center;gap:9px}.document-registry__heading svg{flex:0 0 auto;color:var(--color-text-muted)}.document-registry__toolbar p,.document-registry-page__hero p{margin:2px 0 0;color:var(--color-text-soft);font-size:10px;line-height:14px}.document-registry__toolbar h3,.document-registry-page__hero h1{margin:0;color:var(--color-text);font-size:12px;line-height:16px;font-weight:600}.document-registry__upload,.document-registry-page__hero button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:0 12px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-text);color:var(--color-surface);font-size:11px;font-weight:700;cursor:pointer}.document-registry__status,.document-registry-page__status{margin:0;color:var(--color-text-muted);font-size:13px}.document-registry__table,.document-registry-page__table{width:100%;max-width:100%;overflow-x:hidden;overflow-y:hidden;border:0;border-radius:0;background:transparent;scrollbar-gutter:stable}.document-registry__head,.document-registry__row,.document-registry-page__head,.document-registry-page__row{display:grid;grid-template-columns:minmax(210px,1.6fr) 86px 108px 96px minmax(190px,1.25fr) minmax(120px,.8fr) minmax(120px,.8fr) 76px minmax(160px,1fr);gap:10px;align-items:center;min-width:1060px;padding:9px 0}.document-registry-page__head,.document-registry-page__row{grid-template-columns:minmax(180px,1.7fr) 76px 96px 84px minmax(180px,1.45fr) minmax(96px,.8fr) minmax(96px,.8fr) 68px;min-width:920px}.document-registry__head,.document-registry-page__head{color:var(--color-text-soft);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0;border-bottom:1px solid color-mix(in srgb,var(--color-border) 82%,transparent)}.document-registry__row,.document-registry-page__row{color:var(--color-text-muted);font-size:12px;border-bottom:1px solid color-mix(in srgb,var(--color-border) 66%,transparent)}.document-registry__row:last-child,.document-registry-page__row:last-child{border-bottom:0}.document-registry__row strong,.document-registry-page__row a{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow:hidden;color:var(--color-text);font-weight:700;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.document-registry__row span,.document-registry-page__row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-registry__links{display:flex;align-items:center;gap:6px}.document-registry__links button,.document-registry__links>span{flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;padding:0;border:0;background:transparent;color:var(--color-text-muted);font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap}.document-registry__links button{cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.document-registry__links button:hover{color:var(--color-text);text-decoration-color:currentColor}.document-registry__links em{flex:0 0 auto;color:var(--color-text-soft);font-style:normal}.document-registry__type,.document-registry__actions mark{width:fit-content;max-width:100%;padding:3px 8px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-registry__actions{display:inline-flex;align-items:center;gap:8px;min-width:0}.document-registry__actions mark{border-left:4px solid var(--stage-color, var(--color-text-muted))}.document-registry__actions a,.document-registry__actions button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-muted);cursor:pointer}.document-registry__empty,.document-registry-page__empty{display:flex;align-items:center;gap:9px;padding:13px 0;color:var(--color-text-muted)}.document-registry__relink{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;padding:14px 18px;border-top:1px dashed var(--color-border);background:var(--color-surface-muted)}.document-registry__relink label{display:grid;gap:6px;color:var(--color-text-soft);font-size:12px;font-weight:700}.document-registry__relink input,.document-registry__relink select{height:40px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit}.document-registry__relink-actions{display:flex;align-items:end;gap:8px}.document-registry-page{display:grid;gap:24px;padding:34px;min-width:0}.document-registry-page__hero,.document-registry-page__filters{display:flex;align-items:center;justify-content:space-between;gap:18px}.document-registry-page__hero h1{font-size:36px;line-height:42px}.document-registry-page__filters label{display:flex;align-items:center;gap:10px;min-width:360px;height:48px;padding:0 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted)}.document-registry-page__filters input{width:100%;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit}.document-registry-page__filters select{height:48px;padding:0 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font:inherit}.document-registry-page__summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.document-registry-page__summary span{padding:8px 12px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:700}.pipeline-list{overflow:hidden;border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface-muted)}.pipeline-list__header,.pipeline-list__row{display:grid;grid-template-columns:minmax(210px,1.35fr) minmax(160px,.9fr) minmax(160px,1fr) minmax(170px,1fr) 112px 128px;gap:12px;align-items:center;padding:12px 14px}.pipeline-list__header{color:var(--color-text-soft);font-size:11px;text-transform:uppercase}.pipeline-list__row{min-height:70px;border-top:1px solid var(--color-border);background:var(--color-surface-raised);color:var(--color-text-muted);font-size:12px}.pipeline-list__row strong,.pipeline-list__row span,.pipeline-list__row small{min-width:0;overflow:hidden;text-overflow:ellipsis}.pipeline-list__row>div,.pipeline-list__row>span{display:grid;gap:4px}.pipeline-list__row strong{color:var(--color-text);font-size:13px}.pipeline-list__row small{color:var(--color-text-soft);font-size:11px}.pipeline-list__stage{position:relative;padding-left:14px;color:var(--color-text)}.pipeline-list__stage:before{content:"";position:absolute;left:0;top:5px;width:8px;height:8px;border-radius:50%;background:var(--stage-color)}.contacts-page,.contact-detail-page{display:grid;gap:18px}.contacts-header{position:relative;display:grid;gap:14px}.contacts-header__top,.contacts-header__bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.contacts-entity{display:inline-flex;align-items:center;gap:10px}.contacts-entity h1{margin:0;font-size:17px;line-height:24px}.contacts-segments,.contacts-view-toggle,.contacts-role-filter{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted)}.contacts-segments button,.contacts-view-toggle button{height:32px;padding:0 12px;border:0;border-radius:999px;color:var(--color-text-muted);background:transparent;font-size:12px}.contacts-segments button.is-active,.contacts-view-toggle button.is-active{color:var(--color-text);background:var(--color-surface);box-shadow:0 1px #ffffff0a inset}.contacts-role-filter{height:42px;gap:8px;padding:0 10px;border-radius:var(--radius-sm);color:var(--color-text-muted)}.contacts-role-filter span{color:var(--color-text-soft);font-size:11px;font-weight:700;text-transform:uppercase}.contacts-role-filter select{height:32px;min-width:154px;border:0;border-radius:var(--radius-xs);outline:0;background:var(--color-surface);color:var(--color-text);font:inherit;font-size:12px;font-weight:700}.contacts-toolbar{display:inline-flex;align-items:center;gap:10px}.contacts-search{width:220px;height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted)}.contacts-search input{min-width:0;flex:1;border:0;outline:0;color:var(--color-text);background:transparent}.contacts-search kbd{padding:2px 6px;border:1px solid var(--color-border);border-radius:999px;color:var(--color-text-soft);font-size:10px;font-family:inherit}.contacts-filters{position:absolute;top:calc(100% + 8px);right:152px;z-index:5}.contacts-filters section{width:min(320px,100vw - 48px);display:grid;gap:14px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-panel)}.contacts-filters header{display:flex;align-items:center;justify-content:space-between;gap:10px}.contacts-filters h3{margin:0;font-size:16px}.contacts-filters header button{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted)}.contacts-filters__body{display:grid;gap:12px}.contacts-filters__body label{display:grid;gap:6px;color:var(--color-text-muted);font-size:12px}.contacts-filters__body input,.contacts-filters__body select{width:100%;height:38px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text)}.directory-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.directory-card{height:260px;display:grid;grid-template-rows:1fr;gap:0;padding:14px;border:1px solid var(--color-border);border-radius:18px;background:color-mix(in srgb,var(--color-surface-muted) 72%,var(--color-surface));box-shadow:inset 0 1px #ffffff08;cursor:pointer}.directory-card:hover{border-color:var(--color-border-strong);transform:translateY(-1px)}.directory-card__meta{display:flex;justify-content:flex-end}.directory-card__body{display:grid;justify-items:center;align-content:center;align-self:stretch;gap:10px;padding:0 8px;text-align:center}.directory-card__body strong,.directory-card__body small{display:block;margin:0}.directory-card__body strong{color:var(--color-text);font-size:13px;line-height:1.35;min-height:32px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.directory-card__body small{color:var(--color-text-muted);font-size:11px;line-height:1.4;min-height:28px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.directory-card.is-archived{opacity:.75}.task-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:24px;background:#1416196b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.task-modal{width:min(760px,100%);max-height:min(88vh,860px);overflow:auto;display:grid;gap:16px;padding:26px;border:1px solid var(--color-border);border-radius:22px;background:var(--color-surface);box-shadow:0 24px 80px #1416193d}.task-modal.is-full,.task-modal--detail{width:min(980px,100%)}.task-modal__header{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:12px;align-items:center}.task-modal__title{min-height:46px;border:0!important;background:transparent!important;padding:0!important;color:var(--color-text)!important;font-size:24px!important;font-weight:800}.task-modal__icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface-muted);color:var(--color-text-muted)}.task-modal textarea{min-height:120px;padding:12px;resize:vertical}.task-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-modal label{display:grid;gap:7px;color:var(--color-text-muted);font-size:12px;font-weight:800}.task-modal__wide{grid-column:1 / -1}.task-modal__assignee{padding:12px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-muted)}.task-modal__chips{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px}.task-modal__chips span,.task-modal__history article{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);color:var(--color-text-muted);font-weight:800}.task-modal__history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.task-modal__history article{justify-content:space-between}.task-modal__history strong{color:var(--color-text)}.task-modal__footer{display:flex;align-items:center;gap:12px;padding-top:4px}.task-modal__footer button{min-height:40px;padding:0 18px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-muted);color:var(--color-text);font-weight:800}.task-modal__footer .task-modal__primary{background:#30343a;border-color:#30343a;color:#fff}.task-modal__link{margin-left:auto;color:var(--color-text-muted)!important}.contact-avatar{position:relative;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;font-weight:700}.contact-avatar img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.contact-avatar--lg{width:64px;height:64px;font-size:18px}.contact-avatar--xl{width:94px;height:94px;font-size:24px}.contact-avatar--xs{width:24px;height:24px;font-size:9px}.contact-avatar.is-rose{background:linear-gradient(135deg,#a24968,#e8b1bf)}.contact-avatar.is-sky{background:linear-gradient(135deg,#3e5e83,#9fd5f2)}.contact-avatar.is-amber{background:linear-gradient(135deg,#94612a,#f2d18a)}.contact-avatar.is-mint{background:linear-gradient(135deg,#2e6c61,#9adbc8)}.contact-avatar.is-lavender{background:linear-gradient(135deg,#61518a,#d6cef7)}.contact-avatar.is-peach{background:linear-gradient(135deg,#88565a,#f0c6b3)}.contact-avatar.is-violet{background:linear-gradient(135deg,#4e3272,#d0a6ef)}.contact-avatar__badge{position:absolute;right:3px;bottom:3px;width:10px;height:10px;border:2px solid var(--color-surface);border-radius:50%}.contact-avatar__badge.is-online{background:#4dcb84}.contact-avatar__badge.is-focus{background:#7cc3ff}.contact-avatar__badge.is-review{background:#ffd25b}.crm-person-card{min-width:0;min-height:58px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);color:var(--color-text)}.crm-person-card--compact{min-height:40px;padding:6px 8px;border-radius:999px;background:color-mix(in srgb,var(--color-surface-muted) 84%,var(--color-surface))}.crm-person-card--muted{color:var(--color-text-muted)}.crm-person-card--selected{background:color-mix(in srgb,#cfe8ff 68%,var(--color-surface));border-color:color-mix(in srgb,#6aa9ff 40%,var(--color-border))}.crm-person-card--empty{min-height:40px;display:inline-flex;align-items:center;padding:10px 12px;border:1px solid var(--color-border);border-radius:14px;color:var(--color-text-muted);background:var(--color-surface);font-size:12px}.crm-person-card--placeholder{width:100%}.crm-person-card__body{min-width:0;display:grid;gap:2px}.crm-person-card__body strong,.crm-person-card__body small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-person-card__body strong{color:var(--color-text);font-size:var(--crm-ui-card-title-size);font-weight:600}.crm-person-card__body small{color:var(--color-text-muted);font-size:var(--crm-ui-card-subtitle-size)}.crm-person-card__remove{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--color-text-soft)}.crm-person-card__remove:hover{background:var(--color-border);color:var(--color-text)}.crm-entity-preview-card{width:100%;text-align:left}button.crm-entity-preview-card{cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}button.crm-entity-preview-card:hover{border-color:color-mix(in srgb,var(--color-primary) 42%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 5%,var(--color-surface));transform:translateY(-1px)}.crm-entity-preview-card--static{display:grid}.crm-picker-trigger{width:100%;padding:0;border:0;background:transparent;text-align:left}.crm-picker-popover{position:relative;z-index:20;display:grid;gap:10px;margin-top:8px;padding:12px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface);box-shadow:0 24px 60px #0c111d29}.crm-picker-popover__search{min-height:44px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;padding:0 12px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-muted);color:var(--color-text-muted)}.crm-picker-popover__search input{min-width:0;min-height:42px;border:0;background:transparent;color:var(--color-text);font:inherit;font-size:13px}.crm-picker-popover__list{max-height:280px;display:grid;gap:6px;overflow:auto}.crm-picker-popover__item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:0;border:0;border-radius:14px;background:transparent;color:var(--color-text);text-align:left}.crm-picker-popover__item .crm-person-card{border-color:transparent;background:color-mix(in srgb,var(--color-surface-muted) 84%,var(--color-surface))}.crm-picker-popover__item.is-selected .crm-person-card{background:color-mix(in srgb,#d6ecff 74%,var(--color-surface));border-color:color-mix(in srgb,#6aa9ff 45%,var(--color-border))}.crm-picker-popover__empty{padding:12px;color:var(--color-text-muted);font-size:12px}.company-mark{width:110px;height:64px;display:grid;place-items:center;border-radius:28px;border:1px solid var(--color-border);background:color-mix(in srgb,var(--color-surface) 86%,transparent);color:var(--color-text)}.company-mark span{font-size:12px;letter-spacing:.08em;text-transform:uppercase}.company-mark--large{width:160px;height:92px}.company-mark--large span{font-size:18px}.directory-table{overflow:hidden;border:1px solid var(--color-border);border-radius:18px;background:color-mix(in srgb,var(--color-surface-muted) 72%,var(--color-surface))}.directory-table__head,.directory-table__row{display:grid;align-items:center;gap:12px;padding:12px 14px}.directory-table__head{color:var(--color-text-soft);font-size:11px;text-transform:uppercase}.directory-table__head,.directory-table__row{grid-template-columns:minmax(250px,1.5fr) minmax(170px,1fr) minmax(190px,1fr) 160px 120px 110px 92px}.directory-table__head.is-company,.directory-table__row.is-company{grid-template-columns:minmax(240px,1.5fr) minmax(170px,1fr) minmax(180px,1fr) 130px 92px 70px 92px}.directory-table__row{min-height:54px;border-top:1px solid var(--color-border);color:var(--color-text-muted);text-align:left}.directory-table__main{width:100%;display:contents;padding:0;border:0;background:transparent;color:inherit;text-align:left}.directory-table__row:hover{background:color-mix(in srgb,var(--color-surface) 72%,transparent)}.directory-table__lead{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.directory-table__lead b,.directory-table__lead small,.directory-table__row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory-table__lead b{color:var(--color-text);font-size:12px}.directory-table__lead small{display:block;color:var(--color-text-soft);font-size:10px}.directory-table__controls{display:inline-flex;align-items:center;gap:6px}.directory-table__controls i{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:50%;color:var(--color-text-soft)}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:24px;padding:0 8px;border:1px solid color-mix(in srgb,var(--color-green) 24%,transparent);border-radius:999px;background:color-mix(in srgb,var(--color-green) 14%,transparent);color:var(--color-green);font-size:10px}.contact-detail-heading{display:grid;gap:12px}.contact-detail-breadcrumb{width:fit-content;display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:var(--color-text-soft);font-size:11px}.contact-detail-breadcrumb strong{color:var(--color-text);font-weight:600}.contact-detail-title{display:inline-flex;align-items:center;gap:10px;color:var(--color-text);font-size:17px;font-weight:600}.contact-detail-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px;align-items:start}.contact-detail-layout>.employee-profile-card,.contact-detail-layout>.employee-detail-panel{align-self:start}.contact-detail-layout:has(>.employee-profile-card){align-items:stretch}.contact-detail-layout:has(>.employee-profile-card)>.employee-profile-card,.contact-detail-layout:has(>.employee-profile-card)>.employee-detail-panel{align-self:stretch}.contact-profile-card,.contact-detail-panel{border:1px solid var(--color-border);border-radius:18px;background:color-mix(in srgb,var(--color-surface-muted) 72%,var(--color-surface))}.contact-profile-card{display:grid;justify-items:center;align-content:start;gap:14px;padding:20px 20px 18px;height:560px;overflow:hidden}.contact-profile-card__topbar{width:100%;display:flex;align-items:center;justify-content:space-between}.contact-profile-card strong{color:var(--color-text);font-size:var(--crm-ui-card-title-size);font-weight:600}.contact-profile-card small{color:var(--color-text-muted);font-size:var(--crm-ui-card-subtitle-size)}.contact-profile-card__inline-field{width:100%;display:grid;gap:6px}.contact-profile-card__inline-field span{color:var(--color-text-soft);font-size:var(--crm-ui-field-label-size)}.contact-profile-card__inline-field input,.contact-profile-card__inline-field select{min-height:38px;width:100%;padding:0 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);color:var(--color-text);font-family:inherit;font-size:var(--crm-ui-field-value-size);line-height:18px}.contact-profile-card>.contact-avatar--xl,.contact-profile-card>.company-mark--large,.contact-profile-card>.directory-avatar-uploader{justify-self:center;align-self:center}.contact-profile-card__links{width:100%;display:grid;gap:2px;padding-top:12px;border-top:1px solid var(--color-border)}.contact-profile-card__links button,.contact-profile-card__links a,.contact-profile-card__links>span{min-height:34px;display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:10px;padding:0 6px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);text-decoration:none;text-align:left}.contact-profile-card__links button span,.contact-profile-card__links a span,.contact-profile-card__links>span>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--color-text);font-size:var(--crm-ui-field-value-size)}.contact-profile-card__links a:hover{background:var(--color-surface-muted)}.contact-profile-card__links.is-editing{gap:8px}.contact-profile-card__links.is-editing label{min-height:38px;display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:10px;padding:0 6px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted)}.contact-profile-card__links.is-editing input{min-width:0;min-height:36px;width:100%;padding:0 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);color:var(--color-text);font-family:inherit;font-size:var(--crm-ui-field-value-size);line-height:18px}.contact-detail-panel{display:grid;grid-template-rows:auto 1fr;align-content:start;gap:14px;padding:14px;height:560px;overflow:hidden}.contact-detail-tabs{display:inline-flex;align-items:center;gap:6px}.contact-detail-tabs button{height:34px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;font-size:var(--crm-ui-tab-size);font-weight:600;letter-spacing:0;white-space:nowrap;border:1px solid var(--color-border);border-radius:999px;background:transparent;color:var(--color-text-muted);font-family:inherit}.profile-detail-tabs{width:100%}.profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:auto;padding-right:4px}.profile-info-section{display:grid;gap:12px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.profile-info-section:nth-child(3){grid-column:1 / -1}.profile-info-section header{display:flex;align-items:center;gap:8px;color:var(--color-text)}.profile-info-section header svg{color:var(--color-accent)}.profile-info-section header strong{font-size:var(--crm-ui-card-title-size);font-weight:600}.profile-info-section__body{display:grid;gap:8px}.employee-profile-card,.employee-detail-panel{background:var(--color-surface);box-shadow:0 10px 28px #19202a0a}.employee-profile-card{position:relative;gap:0;padding:12px 16px 14px;height:auto;min-height:100%;overflow:visible}.employee-profile-card .contact-profile-card__topbar{min-height:34px;justify-content:flex-end;gap:8px}.employee-profile-card>.contact-avatar--xl,.employee-profile-card>.company-mark--large,.employee-profile-card>.directory-avatar-uploader,.employee-profile-card>.profile-avatar--large,.employee-profile-card__avatar-block{margin-top:6px;margin-bottom:14px}.employee-profile-card>.contact-avatar--xl,.employee-profile-card>.profile-avatar--large,.employee-profile-card__avatar-block .profile-avatar--large{width:112px;height:112px}.employee-profile-card__avatar-block{position:relative;display:grid;place-items:center}.profile-avatar-edit-button{position:absolute;right:-88px;bottom:8px;min-height:34px;padding:0 12px;border-radius:9px;box-shadow:0 8px 18px #19202a14;white-space:nowrap}.employee-profile-card>strong{margin-top:0;font-size:19px;line-height:1.15}.employee-profile-card>small{margin-top:8px;font-size:14px}.employee-status-pill{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border:1px solid color-mix(in srgb,var(--color-green) 28%,var(--color-border));border-radius:8px;background:color-mix(in srgb,var(--color-green) 10%,var(--color-surface));color:var(--color-green);font-size:13px;font-weight:800}.employee-status-pill i{width:9px;height:9px;border-radius:50%;background:var(--color-green)}.employee-profile-card .contact-profile-card__links{gap:8px;margin-top:16px;padding:16px 0 0;border-top:1px dashed var(--color-border)}.employee-profile-card .contact-profile-card__links button,.employee-profile-card .contact-profile-card__links a,.employee-profile-card .contact-profile-card__links>span{min-height:28px;padding:0;grid-template-columns:22px minmax(0,1fr);color:var(--color-text-muted);text-decoration:none}.employee-profile-card .contact-profile-card__links>.contact-profile-card__copyline{grid-template-columns:22px minmax(0,1fr) 28px}.employee-profile-card .contact-profile-card__links button span,.employee-profile-card .contact-profile-card__links a span,.employee-profile-card .contact-profile-card__links>span>span{color:var(--color-text);font-size:15px}.employee-profile-card .contact-profile-card__links>.contact-profile-card__copyline a span{overflow:visible;text-overflow:clip;white-space:nowrap}.employee-profile-card .contact-profile-card__links>.contact-profile-card__copyline em{grid-column:2 / -1}.employee-profile-card .contact-profile-card__links.is-editing{gap:8px;margin-top:16px;padding:16px 0 0}.employee-profile-card .contact-profile-card__links.is-editing label,.employee-profile-card .contact-profile-card__links.is-editing>span{min-height:28px;padding:0;grid-template-columns:22px minmax(0,1fr)}.employee-profile-card .contact-profile-card__links.is-editing .contact-profile-card__phone-edit{grid-template-columns:22px minmax(0,1fr)}.employee-profile-card .contact-profile-card__links.is-editing .contact-profile-card__phone-edit input{min-height:34px;padding:0 12px;border-radius:10px}.employee-profile-card .contact-profile-card__links a,.employee-profile-card .contact-profile-card__links a:visited,.employee-profile-actions a,.employee-profile-actions a:visited,.employee-info-table a,.employee-info-table a:visited{color:var(--color-text);text-decoration:none}.contact-profile-card__copyline{display:grid;grid-template-columns:22px minmax(0,1fr) 26px auto;gap:0 8px;align-items:center;min-width:0;color:var(--color-text-muted)}.contact-profile-card__copyline a{min-width:0;color:var(--color-text);text-decoration:none}.contact-profile-card__copyline a span{display:block;overflow:hidden;color:var(--color-text);text-overflow:ellipsis;white-space:nowrap}.contact-profile-card__copyline button,.copy-inline-button{display:grid;width:24px;height:24px;place-items:center;border:1px solid var(--color-border);border-radius:7px;background:var(--color-surface);color:var(--color-text-muted)}.contact-profile-card__copyline em,.employee-info-table__value em{color:var(--color-green);font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.employee-work-mode{justify-self:start;display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:7px 11px;border-radius:8px;background:color-mix(in srgb,var(--color-accent) 12%,var(--color-surface-muted));color:var(--color-accent);font-size:14px}.employee-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:16px;padding-top:14px;border-top:1px solid var(--color-border)}.employee-profile-actions button,.employee-profile-actions a{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid color-mix(in srgb,var(--color-accent) 44%,var(--color-border));border-radius:8px;background:var(--color-surface);color:var(--color-accent);font:inherit;font-size:14px;font-weight:800;text-decoration:none}.employee-profile-actions button:disabled{color:var(--color-text-soft);cursor:not-allowed;opacity:.58}.employee-profile-actions a:hover{background:color-mix(in srgb,var(--color-accent) 7%,var(--color-surface))}.employee-profile-actions>span{grid-column:1 / -1;min-height:18px;color:var(--color-text-muted);font-size:12px;text-align:center}.employee-profile-card__dates{display:grid;gap:8px;width:100%;margin-top:auto;padding-top:14px;border-top:1px solid var(--color-border)}.employee-profile-card__dates span{display:inline-flex;align-items:center;gap:10px;color:var(--color-text-muted);font-size:13px}.employee-detail-panel{height:auto;min-height:0;gap:0;padding:0;overflow:visible}.employee-detail-panel .contact-detail-tabs{display:flex;gap:0;min-height:48px;padding:0 22px;border-bottom:1px solid var(--color-border)}.employee-detail-panel .contact-detail-tabs button{position:relative;height:48px;padding:0 18px;border:0;border-radius:0;background:transparent;color:var(--color-text-muted);font-size:15px;font-weight:800}.employee-detail-panel .contact-detail-tabs button.is-active{color:var(--color-text);background:transparent}.employee-detail-panel .contact-detail-tabs button.is-active:after{content:"";position:absolute;right:18px;bottom:0;left:18px;height:2px;border-radius:999px;background:var(--color-accent)}.employee-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start;padding:12px 18px 14px;overflow:visible}.employee-profile-grid .profile-info-section{gap:9px;min-height:0;padding:12px 14px;border-radius:12px;background:var(--color-surface)}.employee-profile-grid .profile-info-section:nth-child(3){grid-column:auto}.employee-profile-grid .profile-info-section header strong{font-size:15px;font-weight:900}.employee-info-table{display:grid;gap:6px}.employee-info-table div{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1fr);gap:12px;align-items:start;min-height:18px}.employee-info-table span{color:var(--color-text-muted);font-size:12px;font-weight:700;line-height:1.35}.employee-info-table b,.employee-info-table a{color:var(--color-text);font-size:12px;font-weight:800;line-height:1.35;overflow-wrap:anywhere;text-decoration:none}.employee-info-table b.is-link,.employee-info-table a.is-link{color:var(--color-text)}.employee-info-table a:hover{color:var(--color-text);text-decoration:none}.employee-info-table__value{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--color-text)}.employee-inline-input{min-height:30px;width:min(260px,100%);padding:0 9px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font:inherit;font-size:12px;font-weight:800;line-height:1.25}.employee-inline-input:focus{border-color:color-mix(in srgb,var(--color-accent) 56%,var(--color-border));outline:2px solid color-mix(in srgb,var(--color-accent) 12%,transparent)}.employee-profile-grid--editor{align-content:start}.employee-profile-grid--editor>.contact-inline-editor__actions{grid-column:1 / -1;align-self:end;padding:0}.employee-profile-grid--editor .profile-info-section:nth-child(3){grid-column:1 / -1}.employee-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.employee-editor-field{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 8px;align-items:center}.employee-editor-field.is-wide{grid-column:1 / -1}.employee-editor-field>span{grid-column:1 / -1;color:var(--color-text-muted);font-size:12px;font-weight:700}.employee-editor-field>i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:36px;color:var(--color-text-soft)}.employee-editor-field input,.employee-editor-field select{min-height:36px;width:100%;padding:0 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);color:var(--color-text);font-family:inherit;font-size:13px;line-height:18px}.employee-editor-field input:disabled,.employee-editor-field select:disabled{color:var(--color-text-muted);cursor:not-allowed;opacity:.78}.employee-profile-policy{display:inline-flex;align-items:flex-start;gap:7px;margin:2px 0 0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--color-accent) 18%,var(--color-border));border-radius:9px;background:color-mix(in srgb,var(--color-accent) 6%,var(--color-surface));color:var(--color-text-muted);font-size:11px;font-weight:700;line-height:1.35}.employee-profile-policy svg{flex:0 0 auto;margin-top:1px;color:var(--color-accent)}.employee-comment-box{margin:0;min-height:58px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--color-accent) 18%,var(--color-border));border-radius:10px;background:color-mix(in srgb,var(--color-accent) 7%,var(--color-surface));color:var(--color-text);font-size:13px;line-height:1.45}.employee-interest-list{align-content:start;gap:8px}.employee-interest-list .directory-tag{border-color:color-mix(in srgb,var(--color-accent) 38%,var(--color-border));background:color-mix(in srgb,var(--color-accent) 9%,var(--color-surface));color:var(--color-accent);font-size:12px}.employee-quick-summary{grid-column:1 / -1;display:grid;gap:10px;padding:12px 14px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.employee-quick-summary header{display:inline-flex;align-items:center;gap:10px;color:var(--color-text)}.employee-quick-summary header svg{color:var(--color-accent)}.employee-quick-summary header strong{font-size:15px;font-weight:900}.employee-quick-summary>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.employee-quick-summary span{display:grid;grid-template-columns:54px minmax(0,1fr);gap:3px 14px;align-items:center;min-height:48px;padding:0 12px;border-right:1px solid var(--color-border)}.employee-quick-summary span:last-child{border-right:0}.employee-quick-summary span svg{grid-row:span 2;width:38px;height:38px;padding:9px;border-radius:10px;background:color-mix(in srgb,var(--color-accent) 12%,var(--color-surface-muted));color:var(--color-accent)}.employee-quick-summary small{color:var(--color-text-muted);font-size:12px;font-weight:700}.employee-quick-summary b{color:var(--color-text);font-size:18px;line-height:1}.profile-checkin-panel{display:grid;gap:12px;align-content:start;overflow:auto;padding-right:4px}.profile-checkin-action{display:grid;gap:10px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.profile-checkin-action header{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-checkin-action header span{display:inline-flex;align-items:center;gap:8px}.profile-checkin-action header strong{font-size:var(--crm-ui-card-title-size);font-weight:600}.profile-checkin-action header svg{color:var(--color-accent)}.profile-checkin-action header button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted)}.profile-checkin-form{display:grid;grid-template-columns:132px minmax(0,1fr) max-content;gap:10px;align-items:center}.profile-checkin-form select,.profile-checkin-form input{min-height:38px;min-width:0;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text);font-family:inherit;font-size:var(--crm-ui-field-value-size)}.profile-checkin-mode{display:inline-flex;align-items:center;gap:0;min-width:0;position:relative}.profile-checkin-mode svg{position:absolute;left:12px;color:var(--color-icon);pointer-events:none;z-index:1}.profile-checkin-mode select{width:100%;padding-left:38px;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;font-weight:900}.profile-checkin-action p{margin:0;color:var(--color-text-muted);font-size:var(--crm-ui-field-label-size)}.profile-checkin-groups,.profile-checkin-list{display:grid;gap:10px}.profile-checkin-day{display:grid;gap:8px}.profile-checkin-day>header{display:flex;align-items:center;justify-content:space-between;color:var(--color-text-soft)}.profile-checkin-day>header strong{color:var(--color-text);font-size:var(--crm-ui-card-title-size)}.profile-checkin-day>header small{font-size:var(--crm-ui-field-label-size)}.profile-checkin-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;padding:10px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.profile-checkin-card__time{display:inline-flex;align-items:center;gap:6px;color:var(--color-text-muted);font-size:var(--crm-ui-field-value-size);font-weight:600}.profile-checkin-card__body{min-width:0;display:grid;gap:4px}.profile-checkin-card__body b,.profile-checkin-card__body small,.profile-checkin-card__body em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-checkin-card__body b{color:var(--color-text);font-size:var(--crm-ui-field-value-size)}.profile-checkin-card__body small,.profile-checkin-card__body em{color:var(--color-text-soft);font-size:var(--crm-ui-field-label-size);font-style:normal}.profile-checkin-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:8px;padding:18px;border:1px dashed var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted);text-align:center}.profile-checkin-empty strong{color:var(--color-text)}.profile-checkin-empty small{max-width:360px;color:var(--color-text-soft);font-size:var(--crm-ui-field-label-size)}.profile-edit-action{margin-left:auto}.contact-detail-tabs button.is-active{color:var(--color-text);background:var(--color-surface)}.contact-detail-fields{display:grid;gap:10px;align-content:start;overflow:auto;padding-right:4px}.contact-detail-field{display:grid;gap:6px}.contact-detail-field small{color:var(--color-text-soft);font-size:var(--crm-ui-field-label-size)}.contact-detail-field span{min-height:40px;display:inline-flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);font-size:var(--crm-ui-field-value-size);line-height:18px}.relationship-summary{display:grid;gap:16px;align-content:start;overflow:auto;padding-right:4px}.relationship-summary__section{display:grid;gap:10px}.relationship-summary__heading{display:flex;align-items:center;justify-content:space-between;color:var(--color-text-soft)}.relationship-summary__heading strong{color:var(--color-text);font-size:13px}.relationship-summary__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.relationship-summary__card{display:grid;gap:8px;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted)}.relationship-summary__card strong,.relationship-summary__card small{display:block}.relationship-summary__card strong{font-size:var(--crm-ui-field-value-size)}.relationship-summary__card small{font-size:var(--crm-ui-field-label-size)}.relationship-summary__card small,.relationship-summary__empty{color:var(--color-text-soft)}.relationship-summary__tags{display:flex;flex-wrap:wrap;gap:8px}.relationship-summary__tags span{padding:4px 8px;border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:11px}.drive-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.drive-breadcrumbs button{height:32px;padding:0 12px;border:1px solid var(--color-border);border-radius:999px;background:transparent;color:var(--color-text-soft);font:inherit}.drive-breadcrumbs button.is-active{background:var(--color-surface);color:var(--color-text)}.drive-browser{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:16px;align-items:start}.drive-browser__tree,.drive-browser__content{display:grid;gap:12px}.contact-detail-field b{color:var(--color-text);font-size:var(--crm-ui-field-value-size);font-weight:600}.employees-page{display:grid;gap:18px}.employees-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.employees-summary__card{padding:16px 18px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-soft)}.employees-summary__card small,.employees-summary__card strong{display:block}.employees-summary__card small{color:var(--color-text-muted);font-size:12px}.employees-summary__card strong{margin-top:8px;color:var(--color-text);font-size:28px;line-height:32px}.employees-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.employees-toolbar .contacts-search{width:min(360px,100%)}.employees-toolbar__actions{display:flex;align-items:center;gap:10px}.employees-toolbar__actions .contacts-view-toggle button{gap:6px}.directory-grid--employees{grid-template-columns:repeat(5,minmax(0,1fr))}.employees-hierarchy{display:grid;gap:8px}.employees-hierarchy__group{display:grid;gap:0;overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.employees-hierarchy__heading{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-bottom:1px solid var(--color-border);background:var(--color-bg)}.employees-hierarchy__heading strong,.employees-hierarchy__heading small{display:block}.employees-hierarchy__heading strong{color:var(--color-text);font-size:13px;line-height:16px}.employees-hierarchy__heading small{margin-top:3px;color:var(--color-text-muted);font-size:12px;line-height:16px}.employees-hierarchy__heading>b{min-width:26px;height:24px;display:inline-grid;place-items:center;border-radius:6px;background:var(--color-surface);color:var(--color-text);font-size:12px}.employees-hierarchy__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.employees-hierarchy__table{display:grid;min-width:980px}.employees-hierarchy__table-head,.employee-hierarchy-row__main{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(150px,.85fr) minmax(170px,1fr) minmax(150px,.8fr) minmax(120px,.6fr) minmax(130px,.7fr);gap:10px;align-items:center}.employees-hierarchy__table-head{min-height:30px;padding:0 44px 0 12px;border-bottom:1px solid var(--color-border);background:color-mix(in srgb,var(--color-bg) 70%,var(--color-surface));color:var(--color-text-muted);font-size:10px;font-weight:800;text-transform:uppercase}.employee-hierarchy-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;min-height:44px;border-bottom:1px solid var(--color-border)}.employee-hierarchy-row:last-child{border-bottom:0}.employee-hierarchy-row.is-current-user{background:color-mix(in srgb,var(--color-active) 6%,transparent)}.employee-hierarchy-row__main{width:100%;padding:5px 0 5px 12px;border:0;background:transparent;color:var(--color-text);font:inherit;text-align:left;cursor:pointer}.employee-hierarchy-row__main:hover{background:var(--color-surface-muted)}.employee-hierarchy-row__main>span{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.employee-hierarchy-row__person{display:flex;align-items:center;gap:8px;color:var(--color-text)}.employee-hierarchy-row__person>span{min-width:0;display:grid;gap:1px}.employee-hierarchy-row__person strong,.employee-hierarchy-row__person small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-hierarchy-row__person strong{color:var(--color-text);font-size:13px;line-height:16px}.employee-hierarchy-row__person small{color:var(--color-text-muted);font-size:11px;line-height:14px}.employee-hierarchy-row__actions{display:grid;place-items:center}.employee-hierarchy-card{min-height:190px;display:grid;grid-template-rows:auto 1fr auto;gap:12px;padding:14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-surface-muted) 72%,var(--color-surface));cursor:pointer}.employee-hierarchy-card:hover{border-color:var(--color-border-strong)}.employee-hierarchy-card.is-current-user{border-color:color-mix(in srgb,var(--color-active) 44%,var(--color-border));box-shadow:0 0 0 1px color-mix(in srgb,var(--color-active) 18%,transparent)}.employee-hierarchy-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.employee-hierarchy-card__body{min-width:0;display:grid;align-content:center;gap:6px;text-align:left}.employee-hierarchy-card__body strong,.employee-hierarchy-card__body small,.employee-hierarchy-card__body span{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis}.employee-hierarchy-card__body strong{color:var(--color-text);font-size:15px;line-height:19px;white-space:nowrap}.employee-hierarchy-card__body small{color:var(--color-text);font-size:12px;line-height:16px;white-space:nowrap}.employee-hierarchy-card__body span{color:var(--color-text-muted);font-size:12px;line-height:16px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.employee-hierarchy-card>footer{display:flex;align-items:center;justify-content:flex-start}.employee-role-pill{min-height:26px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:var(--color-surface);color:var(--color-text-muted);font-size:11px;line-height:16px}.employee-role-pill.is-rank-0{background:color-mix(in srgb,#5DAA8C 18%,var(--color-surface));color:#24724e}.employee-role-pill.is-rank-1{background:color-mix(in srgb,#E0B85C 18%,var(--color-surface));color:#80611f}.directory-card--employee{min-height:0}.directory-card__body--employee{gap:14px}.directory-card__body--employee strong{font-size:var(--crm-ui-card-title-size);line-height:20px}.directory-card__body--employee small{font-size:var(--crm-ui-card-subtitle-size);line-height:17px}.directory-action-menu{position:relative}.directory-action-menu__trigger{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text-soft)}.directory-action-menu__dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:8;min-width:184px;display:grid;gap:4px;padding:8px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);box-shadow:var(--shadow-soft)}.directory-action-menu__dropdown button{min-height:36px;display:inline-flex;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--color-text);text-align:left}.directory-action-menu__dropdown button:hover{background:var(--color-surface-muted)}.directory-action-menu__dropdown button.is-danger{color:var(--color-danger, #bf4c4c)}.directory-requisites{display:grid;gap:12px;align-content:start;overflow:visible;padding-right:0}.directory-requisite-field span{color:var(--color-text-soft);font-size:10px;line-height:1.2}.directory-requisite-section{display:grid;gap:7px;padding-bottom:2px}.directory-requisite-section header{display:flex;align-items:center;gap:8px;min-height:22px;padding-bottom:4px;border-bottom:1px solid color-mix(in srgb,var(--color-border) 82%,transparent)}.directory-requisite-section header svg{color:var(--color-text-muted)}.directory-requisite-section h4{margin:0;color:var(--color-text);font-size:12px;font-weight:600}.directory-requisite-section__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 12px}.directory-requisite-field{min-width:0;display:grid;gap:3px;padding:4px 0 7px;border-top:1px solid color-mix(in srgb,var(--color-border) 72%,transparent)}.directory-requisite-field.is-wide{grid-column:1 / -1}.directory-requisite-field b{min-width:0;color:var(--color-text);font-family:inherit;font-size:11px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}.directory-documents{display:grid;gap:12px;align-content:start;overflow:auto;padding-right:4px}.directory-document-card{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-muted)}.directory-document-card strong{color:var(--color-text)}.directory-document-card small{color:var(--color-text-soft)}.directory-tag-list{display:flex;flex-wrap:wrap;gap:8px}.directory-tag{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:var(--color-surface-muted);color:var(--color-text);font-size:12px;font-weight:500}.directory-placeholder-panel,.directory-status{padding:16px 18px;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);color:var(--color-text-muted)}.directory-placeholder-panel{min-height:0;overflow:auto}.contact-inline-editor{overflow:auto;padding-right:4px}.contact-detail-panel .contact-inline-editor{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 10px;align-content:start;overflow:visible;padding-right:0}.contact-detail-panel .contact-inline-editor label{gap:3px}.contact-detail-panel .contact-inline-editor label.is-wide{grid-column:1 / -1}.contact-detail-panel .contact-inline-editor span{font-size:10px;line-height:1.2}.contact-detail-panel .contact-inline-editor input,.contact-detail-panel .contact-inline-editor select,.contact-detail-panel .contact-inline-editor textarea{min-height:32px;padding:0 10px;border-radius:10px;font-size:11px;line-height:16px}.contact-detail-panel .contact-inline-editor textarea{min-height:48px;padding:8px 10px;resize:none}.contact-inline-editor__actions{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:8px}.contact-detail-panel .contact-inline-editor__actions{margin-top:0;padding-top:0}.directory-editor-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:24px;background:#11141a6b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.directory-editor-modal__panel{width:min(920px,100%);max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto 1fr auto;border:1px solid var(--color-border);border-radius:22px;background:var(--color-surface);box-shadow:var(--shadow-soft);overflow:hidden}.directory-editor-modal__header,.directory-editor-modal__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--color-border)}.directory-editor-modal__footer{justify-content:flex-start;border-top:1px solid var(--color-border);border-bottom:0}.directory-editor-modal__header p,.directory-editor-modal__header h2{margin:0}.directory-editor-modal__header p{color:var(--color-text-soft);font-size:12px}.directory-editor-modal__header h2{color:var(--color-text);font-size:20px}.directory-editor-modal__header button{border:0;background:transparent;color:var(--color-text-muted)}.directory-editor-modal__body{overflow:auto;padding:20px}.directory-avatar-uploader{display:grid;justify-items:center;gap:10px}.directory-avatar-uploader input{display:none}.directory-avatar-uploader__button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface);color:var(--color-text);font-family:inherit;font-size:12px;font-weight:700}.directory-avatar-uploader__button:disabled{cursor:not-allowed;opacity:.55}.directory-editor-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.directory-editor-form label{display:grid;gap:8px}.directory-editor-form label.is-wide{grid-column:1 / -1}.directory-editor-form span{color:var(--color-text-soft);font-size:11px}.directory-editor-form input,.directory-editor-form select,.directory-editor-form textarea{min-height:42px;width:100%;padding:0 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted);color:var(--color-text);font-family:inherit;font-size:12px;line-height:18px}.directory-editor-form textarea{min-height:92px;padding:12px;resize:vertical}.employees-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.employee-card{padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-soft);display:grid;gap:14px}.employee-card.is-current-user,.employees-table__row.is-current-user{border-color:color-mix(in srgb,var(--color-active) 38%,var(--color-border));box-shadow:0 0 0 1px color-mix(in srgb,var(--color-active) 22%,transparent),var(--shadow-soft)}.employee-card__top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.employee-card__head{min-width:0}.employee-card__head strong,.employee-card__head small{display:block}.employee-card__head strong{color:var(--color-text)}.employee-card__head small,.employee-card__meta,.employees-table__person small{color:var(--color-text-muted)}.employee-card__you{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:999px;background:color-mix(in srgb,var(--color-active) 14%,transparent);color:var(--color-text);font-size:12px;font-weight:700}.employee-card__meta{display:grid;gap:8px}.employee-card__meta span,.employees-table__devices i{display:inline-flex;align-items:center;gap:8px;font-style:normal}.employee-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.employee-card__footer small{color:var(--color-text-muted);text-align:right}.employee-access-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:color-mix(in srgb,#8B97AA 14%,transparent);color:var(--color-text);font-size:12px;font-weight:700}.employee-access-pill.is-full{background:color-mix(in srgb,#E0B85C 20%,transparent)}.employee-access-pill.is-finance{background:color-mix(in srgb,#5DAA8C 18%,transparent)}.employee-access-pill.is-contractor{background:color-mix(in srgb,#A573D8 18%,transparent)}.employees-table{display:grid;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);overflow:hidden;box-shadow:var(--shadow-soft)}.employees-table__head,.employees-table__row{display:grid;grid-template-columns:1.5fr 1.35fr 1.1fr 1fr 1fr 1fr .9fr;gap:14px;align-items:center;padding:14px 18px}.employees-table__head{border-bottom:1px solid var(--color-border);color:var(--color-text-soft);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.employees-table__row{border-bottom:1px solid var(--color-border)}.employees-table__row:last-child{border-bottom:0}.employees-table__person{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.employees-table__person strong,.employees-table__person small{display:block}.employees-table__person strong{color:var(--color-text)}.employees-table__devices{display:grid;gap:6px;color:var(--color-text-muted)}.mobile-nav{display:none}@media(min-width:1600px){.document-grid,.contract-template-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.projects-grid{grid-template-columns:repeat(auto-fit,minmax(320px,400px))}}@media(max-width:1439px){.contract-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-document-form{grid-template-columns:repeat(3,minmax(0,1fr))}.contract-version-strip>div{grid-template-columns:repeat(3,minmax(0,1fr))}.projects-grid{grid-template-columns:repeat(auto-fit,minmax(310px,390px))}.project-hero-grid,.project-detail-copy{grid-template-columns:1fr}}@media(max-width:1099px){.app-shell{grid-template-columns:var(--sidebar-compact-width) minmax(0,1fr)}.sidebar{align-items:center}.workspace-switcher span,.sidebar__nav-item span,.sidebar__section-toggle-main span,.sidebar__subnav,.sidebar__section-toggle svg,.sidebar__pin{display:none}.workspace-switcher__logo{width:24px;height:24px}.workspace-switcher,.sidebar__nav-item{justify-content:center}.contract-document-form{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-version-strip>div{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-summary{grid-template-columns:1fr}.project-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-preview{position:static}}@media(max-width:900px),(pointer:coarse){html,body,#root{height:100%}body:has(.app-shell){position:fixed;top:0;right:0;bottom:0;left:0;width:100%;min-height:0;overflow:hidden;background:var(--color-page)}body:has(.app-shell):before{display:none}.app-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100dvh;min-height:0;padding-bottom:0;overflow:hidden}.sidebar{display:none}.app-main{grid-column:1;grid-row:1;width:100%;height:100dvh;min-width:0;min-height:0;padding:0 12px calc(var(--mobile-nav-height) + 18px + env(safe-area-inset-bottom));overflow-x:clip;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.content{width:100%;max-width:none;min-width:0}.topbar{position:sticky;top:0;z-index:900;height:auto;min-height:64px;align-items:center;gap:8px;margin:0 -12px 14px;padding:10px 12px;border-bottom:1px solid color-mix(in srgb,var(--color-border) 82%,transparent);background:color-mix(in srgb,var(--color-page) 92%,white 8%);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar__actions{min-width:0;gap:7px;justify-content:flex-end;flex-wrap:nowrap}.topbar__actions>.button{display:none}.topbar__actions>.icon-button{display:none}.topbar__search{display:none}.topbar__title{min-width:0;flex:1 1 auto;overflow:hidden;color:var(--color-text-muted);font-size:15px;font-weight:800;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.profile-trigger{min-width:44px;width:44px;min-height:44px;height:44px;padding:0;justify-content:center;border-radius:12px}.profile-trigger__text,.profile-trigger>svg{display:none}.profile-form{grid-template-columns:1fr}.profile-form__avatar{align-items:flex-start}.pipeline-heading,.pipeline-toolbar{align-items:flex-start;flex-direction:column}.pipeline-heading__meta{justify-content:flex-start}.pipeline-heading__actions,.pipeline-toolbar__group,.pipeline-view-switcher,.pipeline-tabs{width:100%}.pipeline-tabs{overflow-x:auto;justify-content:flex-start}.pipeline-tabs button{flex:1 0 auto}.pipeline-switcher{width:100%;grid-template-columns:36px minmax(0,1fr);padding:8px}.pipeline-switcher__label{display:none}.pipeline-switcher select{grid-column:1 / -1;width:100%}.pipeline-action-button,.pipeline-view-switcher button{flex:1 1 auto}.pipeline-list{overflow-x:auto}.pipeline-list__header,.pipeline-list__row{min-width:860px}.page-heading h1{font-size:24px;line-height:31px;overflow-wrap:anywhere}.page-heading p{font-size:12px;line-height:18px}.kpi-grid,.dashboard-grid,.document-grid,.settings-hub__grid{grid-template-columns:1fr}.contract-template-grid,.contract-document-form,.contract-version-strip>div{grid-template-columns:1fr}.projects-heading,.project-photo-archive header{align-items:flex-start;flex-direction:column}.projects-statuses{justify-content:flex-start}.projects-grid,.project-stat-row,.project-card__stats,.project-photo-grid,.project-hero-grid{grid-template-columns:1fr}.project-detail-summary{align-items:stretch}.contract-table{overflow-x:auto}.contract-table__head,.contract-table button{min-width:1020px}.grid-span-8,.grid-span-4{grid-column:auto}.kpi-card__value{font-size:28px;line-height:32px}.mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:1000;width:100%;height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);align-items:start;gap:2px;padding:7px 8px max(7px,env(safe-area-inset-bottom));border-top:1px solid var(--color-border);background:color-mix(in srgb,var(--color-surface) 96%,transparent);box-shadow:0 -12px 32px #12161e1a;transform:translateZ(0);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);contain:layout paint}.mobile-nav button{display:grid;place-items:center;align-content:center;gap:3px;min-width:0;min-height:56px;padding:5px 3px;border:0;border-radius:var(--radius-sm);color:var(--color-text-muted);background:transparent;font:inherit;font-size:10.5px;font-weight:700;line-height:1.1;letter-spacing:0;cursor:pointer;-webkit-tap-highlight-color:transparent}.mobile-nav button:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.mobile-nav__icon{position:relative;display:grid;place-items:center;width:28px;height:24px}.mobile-nav__icon b{position:absolute;top:-6px;right:-11px;min-width:17px;height:17px;padding:0 5px;border:2px solid var(--color-surface);border-radius:999px;background:var(--color-danger);color:#fff;font-size:9px;font-weight:800;line-height:13px;text-align:center;font-variant-numeric:tabular-nums}.mobile-nav button.is-active{color:var(--color-blue);background:var(--color-surface-muted)}}.finance-page{gap:16px;--finance-green: #1f7a4d;--finance-amber: #b7791f;--finance-ink: #30343b;--finance-soft: #f4f6f8;--finance-card-bg: var(--color-surface);--finance-card-muted: var(--color-surface-muted);--finance-card-border: var(--color-border);--finance-card-shadow: 0 10px 28px rgba(20, 22, 25, .05)}.finance-heading{margin-bottom:0}.finance-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--finance-card-border);border-radius:14px;background:var(--finance-card-bg);box-shadow:var(--finance-card-shadow)}.finance-topbar>div,.finance-search,.finance-panel__header h2,.finance-pill,.finance-table-footer div{display:flex;align-items:center}.finance-topbar>div{gap:12px}.finance-topbar>div>svg,.finance-stat-card__icon{color:var(--finance-ink)}.finance-topbar strong{display:block;color:var(--color-text);font-size:17px}.finance-topbar small{display:block;margin-top:2px;color:var(--color-text-muted);font-size:13px}.finance-search{width:min(440px,100%);height:44px;gap:10px;padding:0 14px;border:1px solid var(--finance-card-border);border-radius:11px;background:var(--finance-card-muted);color:var(--color-text-muted)}.finance-search input{width:100%;border:0;outline:0;background:transparent;color:var(--color-text);font:inherit}.finance-module-nav{display:grid;gap:8px;padding:12px;border:1px solid var(--finance-card-border);border-radius:14px;background:var(--finance-card-bg);box-shadow:var(--finance-card-shadow)}.finance-module-nav>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;align-items:start}.finance-module-nav small{padding-top:9px;color:var(--color-text-muted);font-size:11px;font-weight:900;text-transform:uppercase}.finance-module-nav>div>div{display:flex;flex-wrap:wrap;gap:7px}.finance-module-nav button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 11px;border:1px solid var(--finance-card-border);border-radius:10px;background:var(--finance-card-bg);color:var(--color-text);cursor:pointer;font:inherit;font-size:13px;font-weight:900}.finance-module-nav button.is-active{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.finance-shell{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}.finance-content,.finance-view{display:grid;gap:16px;min-width:0}.finance-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-stat-grid.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-stat-card,.finance-panel{border:1px solid var(--finance-card-border);border-radius:16px;background:var(--finance-card-bg);box-shadow:var(--finance-card-shadow)}.finance-stat-card{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;min-height:126px;padding:16px}.finance-stat-card__icon{grid-row:span 3;display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:var(--finance-card-muted)}.finance-stat-card span{color:var(--color-text-muted);font-size:13px;font-weight:800}.finance-stat-card strong{color:var(--color-text);font-size:26px;line-height:1}.finance-stat-card small{color:var(--color-text-muted);font-size:12px}.finance-stat-card.is-positive strong{color:var(--finance-green)}.finance-stat-card.is-warning strong{color:var(--finance-amber)}.finance-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.finance-panel{min-width:0;padding:16px}.finance-panel.span-4{grid-column:span 4}.finance-panel.span-5{grid-column:span 5}.finance-panel.span-6{grid-column:span 6}.finance-panel.span-7{grid-column:span 7}.finance-panel.span-8{grid-column:span 8}.finance-panel.span-12{grid-column:span 12}.finance-panel__header{display:flex;justify-content:space-between;gap:14px;margin-bottom:14px}.finance-panel__header h2{gap:9px;margin:0;color:var(--color-text);font-size:20px;line-height:1.15}.finance-panel__header p{margin:5px 0 0;color:var(--color-text-muted);font-size:13px}.finance-chart-card{min-height:260px}.finance-pill{width:max-content;gap:6px;padding:6px 10px;border-radius:999px;background:#eef1f4;color:var(--color-text-muted);font-size:12px;font-weight:800}.finance-pill.is-positive{background:#e5f4eb;color:var(--finance-green)}.finance-pill.is-warning{background:#fff2df;color:var(--finance-amber)}.finance-import-card{display:grid;gap:12px;padding:15px;border-radius:13px;background:var(--finance-card-muted)}.finance-import-card strong,.finance-import-card span{overflow-wrap:anywhere}.finance-import-card>strong{color:var(--color-text);font-size:16px}.finance-import-card>span{color:var(--color-text-muted);font-size:13px}.finance-import-card>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.finance-import-card b{display:grid;gap:2px;padding:10px;border:1px solid var(--finance-card-border);border-radius:10px;background:var(--finance-card-bg);color:var(--color-text)}.finance-import-card small{color:var(--color-text-muted);font-size:11px}.finance-data-table{display:grid;gap:10px}.finance-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--finance-card-border);border-radius:13px;background:var(--finance-card-bg)}.finance-data-table table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:14px}.finance-data-table th,.finance-data-table td{padding:11px 13px;border-bottom:1px solid var(--finance-card-border);text-align:left;vertical-align:top}.finance-data-table th{position:sticky;top:0;z-index:1;background:var(--finance-card-muted)}.finance-data-table th button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--color-text-muted);font:inherit;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.finance-data-table th button.can-sort{cursor:pointer}.finance-data-table td{color:var(--color-text);line-height:1.35}.finance-data-table tbody tr:hover{background:var(--finance-card-muted)}.finance-data-table tr:last-child td{border-bottom:0}.finance-table-footer{display:flex;align-items:center;justify-content:space-between;color:var(--color-text-muted);font-size:13px}.finance-table-footer div{gap:8px}.finance-table-footer button{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--finance-card-border);border-radius:9px;background:var(--finance-card-bg);color:var(--color-text);cursor:pointer}.finance-table-footer button:disabled{opacity:.45;cursor:default}.finance-empty{display:grid;min-height:170px;place-items:center;padding:20px;border:1px dashed var(--finance-card-border);border-radius:14px;color:var(--color-text-muted);background:var(--finance-card-bg);text-align:center}.subcontractor-registry{display:flex;flex-direction:column;gap:12px;min-width:0}.subcontractor-groups{border:1px solid var(--finance-card-border);border-radius:12px;padding:8px;display:flex;flex-wrap:wrap;gap:8px;min-width:0;overflow:visible;background:var(--finance-card-bg)}.subcontractor-groups button{flex:0 0 auto;max-width:240px;min-height:38px;border:1px solid transparent;border-radius:10px;padding:7px 10px;display:inline-grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:7px;background:transparent;color:var(--color-text);cursor:pointer;font:inherit;text-align:left}.subcontractor-groups button.is-active{border-color:color-mix(in srgb,var(--color-active) 34%,var(--finance-card-border));background:color-mix(in srgb,var(--color-active) 7%,var(--finance-card-bg));box-shadow:inset 0 -3px 0 var(--color-active)}.subcontractor-groups span{min-width:0;overflow:hidden;font-size:12px;font-weight:800;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.subcontractor-groups b{min-width:26px;height:24px;border-radius:999px;display:grid;place-items:center;background:var(--color-surface);color:var(--color-text-muted);font-size:11px;font-variant-numeric:tabular-nums}@media(max-width:1180px){.finance-stat-grid,.finance-stat-grid.is-three{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-panel.span-4,.finance-panel.span-5,.finance-panel.span-6,.finance-panel.span-7,.finance-panel.span-8,.finance-panel.span-12{grid-column:span 12}}@media(max-width:760px){.finance-topbar{align-items:stretch;flex-direction:column}.finance-search{width:100%}.finance-module-nav>div{grid-template-columns:1fr}.finance-stat-grid,.finance-stat-grid.is-three{grid-template-columns:1fr}}.calendar-page{display:flex;flex-direction:column;gap:12px;min-height:calc(100vh - 110px);color:var(--color-text)}.calendar-page button,.calendar-page input,.calendar-page select,.calendar-page textarea{font:inherit}.calendar-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.calendar-page__header p,.calendar-form__head p{margin:0 0 7px;color:var(--color-text-muted);font-size:12px;font-weight:800;text-transform:uppercase}.calendar-page__header h1,.calendar-form__head h2{margin:0;font-size:30px;line-height:1.08}.calendar-page__header span{display:block;margin-top:8px;color:var(--color-text-muted);font-size:14px}.calendar-page__actions,.calendar-search,.calendar-board__status{display:flex;align-items:center;gap:9px}.calendar-page__actions{flex-wrap:wrap;justify-content:flex-end}.calendar-page__actions button,.calendar-primary-button,.calendar-inspector__empty button,.calendar-form__actions button{min-height:40px;border:1px solid var(--color-border);border-radius:10px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--color-surface);color:var(--color-text);cursor:pointer;font-size:13px;font-weight:800}.calendar-primary-button,.calendar-form__actions .calendar-primary-button{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.calendar-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.calendar-metric{min-height:78px;border:1px solid var(--color-border);border-radius:14px;padding:12px 14px;display:grid;align-content:center;gap:5px;background:var(--color-surface)}.calendar-metric span,.calendar-metric small{color:var(--color-text-muted)}.calendar-metric span{font-size:12px;font-weight:800;text-transform:uppercase}.calendar-metric strong{font-size:26px;line-height:1;font-variant-numeric:tabular-nums}.calendar-metric small{font-size:13px}.calendar-metric.is-active strong{color:#2f7d5c}.calendar-search{min-height:42px;width:min(360px,100%);border:1px solid var(--color-border);border-radius:8px;padding:0 12px;background:var(--color-surface);color:var(--color-text-muted)}.calendar-search input{width:100%;border:0;outline:0;background:transparent;color:var(--color-text)}.calendar-workspace{display:grid;grid-template-columns:286px minmax(0,1fr) 300px;gap:14px;align-items:stretch}.calendar-sidebar,.calendar-board,.calendar-inspector,.calendar-form{border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface)}.calendar-sidebar{padding:12px;display:flex;flex-direction:column;gap:14px;height:100%}.calendar-sidebar__summary{min-height:92px;border-radius:8px;padding:16px;display:grid;align-content:center;background:var(--color-page)}.calendar-sidebar__summary strong{font-size:36px;line-height:1}.calendar-sidebar__summary span{color:var(--color-text-muted);font-size:13px}.calendar-sidebar section{display:grid;gap:5px}.calendar-sidebar h2{margin:0 0 4px;color:var(--color-text-muted);font-size:12px;font-weight:800;text-transform:uppercase}.calendar-source{width:100%;min-height:60px;border:1px solid transparent;border-radius:12px;padding:8px 10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;background:var(--color-surface);color:var(--color-text);cursor:pointer;text-align:left}.calendar-source.is-active{border-color:color-mix(in srgb,var(--color-active) 34%,var(--color-border));background:color-mix(in srgb,var(--color-active) 6%,var(--color-surface));box-shadow:inset 3px 0 0 var(--color-active)}.calendar-source__icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--color-page);color:var(--color-text)}.calendar-source strong,.calendar-source small{display:block}.calendar-source strong{font-size:14px}.calendar-source small{margin-top:3px;color:var(--color-text-muted);font-size:12px;line-height:1.18;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.calendar-source b{min-width:30px;height:28px;border-radius:999px;display:grid;place-items:center;background:var(--color-page);font-size:12px;font-variant-numeric:tabular-nums}.calendar-board{min-width:0;padding:12px;overflow:hidden;height:100%}.calendar-board__status{justify-content:flex-end;min-height:28px;margin-bottom:8px;color:var(--color-text-muted);font-size:12px}.calendar-board .fc{--fc-border-color: var(--color-border);--fc-page-bg-color: var(--color-surface);--fc-neutral-bg-color: var(--color-page);--fc-today-bg-color: color-mix(in srgb, var(--color-active) 10%, transparent);color:var(--color-text)}.calendar-board .fc .fc-toolbar{gap:12px;flex-wrap:wrap;margin-bottom:10px}.calendar-board .fc .fc-toolbar-title{font-size:22px;line-height:1.1}.calendar-board .fc .fc-button{padding:.34em .58em}.calendar-board .fc .fc-button{border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);color:var(--color-text);box-shadow:none;font-weight:800}.calendar-board .fc .fc-button-primary:not(:disabled).fc-button-active,.calendar-board .fc .fc-button-primary:not(:disabled):active{border-color:var(--color-text);background:var(--color-text);color:var(--color-surface)}.calendar-board .fc .fc-daygrid-day,.calendar-board .fc .fc-timegrid-slot,.calendar-board .fc .fc-list{background:var(--color-surface)}.calendar-board .fc .fc-daygrid-day-frame{min-height:66px}.calendar-board .fc .fc-event{border-radius:7px;padding:3px 6px;cursor:pointer;font-size:12px;font-weight:800}.calendar-board .fc .fc-daygrid-day-number{padding:4px 6px;font-size:14px}.calendar-board .fc .fc-col-header-cell-cushion{padding:5px 4px;font-size:12px}.calendar-inspector{min-height:0;height:100%;padding:12px}.calendar-inspector__empty{min-height:100%;display:grid;align-content:center;justify-items:start;gap:10px;color:var(--color-text-muted)}.calendar-inspector__empty h2,.calendar-inspector__head h2{margin:0;color:var(--color-text);font-size:22px;line-height:1.2}.calendar-inspector__empty p{margin:0 0 8px;font-size:13px;line-height:1.5}.calendar-inspector__head{display:grid;grid-template-columns:12px minmax(0,1fr) 34px;gap:11px;align-items:start}.calendar-inspector__head>span{width:12px;height:100%;min-height:48px;border-radius:999px}.calendar-inspector__head p{margin:0 0 5px;color:var(--color-text-muted);font-size:12px;font-weight:800}.calendar-inspector__head button,.calendar-form__head button{width:34px;height:34px;border:1px solid var(--color-border);border-radius:8px;display:grid;place-items:center;background:var(--color-surface);color:var(--color-text);cursor:pointer}.calendar-inspector__meta{margin:18px 0 0;display:grid;gap:10px}.calendar-inspector__meta div{padding-bottom:10px;border-bottom:1px solid var(--color-border)}.calendar-inspector__meta dt{margin-bottom:4px;color:var(--color-text-muted);font-size:12px;font-weight:800}.calendar-inspector__meta dd{margin:0;font-size:13px}.calendar-inspector__description,.calendar-readonly-note{margin:14px 0 0;border-radius:12px;padding:12px;background:var(--color-page);color:var(--color-text-muted);font-size:13px;line-height:1.45}.calendar-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:18px;background:#1013186b}.calendar-form{width:min(620px,100%);padding:18px;display:grid;gap:13px;box-shadow:0 24px 70px #0f172a38}.calendar-form__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.calendar-form label{display:grid;gap:7px;color:var(--color-text-muted);font-size:12px;font-weight:800}.calendar-form input,.calendar-form select,.calendar-form textarea,.calendar-form label>span{width:100%;border:1px solid var(--color-border);border-radius:8px;background:var(--color-page);color:var(--color-text)}.calendar-form input,.calendar-form select,.calendar-form textarea{min-height:42px;padding:0 11px;outline:0}.calendar-form textarea{min-height:110px;padding-top:10px;resize:vertical}.calendar-form label>span{display:flex;align-items:center;gap:8px;padding-left:11px}.calendar-form label>span input{border:0;background:transparent}.calendar-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.calendar-form__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}@media(max-width:1280px){.calendar-workspace{grid-template-columns:270px minmax(0,1fr)}.calendar-inspector{grid-column:1 / -1;min-height:260px;height:auto}.calendar-inspector__empty{min-height:230px}}@media(max-width:840px){.calendar-page{min-height:100dvh;padding-bottom:calc(var(--mobile-nav-height, 76px) + 16px + env(safe-area-inset-bottom,0px));overflow-x:hidden}.calendar-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-page__header{align-items:stretch;flex-direction:column}.calendar-page__actions{justify-content:flex-start}.calendar-workspace,.calendar-form__grid{grid-template-columns:1fr}.calendar-workspace{gap:12px;min-width:0}.calendar-sidebar{order:2;height:auto}.calendar-board{order:1;width:100%;min-width:0}.calendar-inspector{order:3;min-height:240px;height:auto}.calendar-board .fc .fc-toolbar{align-items:stretch;flex-direction:column}.calendar-board .fc .fc-toolbar-chunk{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.calendar-board .fc .fc-toolbar-chunk:nth-child(2){order:-1}.calendar-board .fc .fc-button{min-height:44px}}@media(max-width:560px){.calendar-page{gap:10px}.calendar-page__header{gap:12px}.calendar-page__header h1,.calendar-form__head h2{font-size:24px}.calendar-page__header span{font-size:13px;line-height:1.35}.calendar-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.calendar-metric{min-height:74px;border-radius:10px;padding:10px}.calendar-metric strong{font-size:22px}.calendar-metric small{font-size:12px}.calendar-page__actions button,.calendar-search{width:100%}.calendar-page__actions button,.calendar-primary-button,.calendar-inspector__empty button,.calendar-form__actions button,.calendar-search,.calendar-form input,.calendar-form select{min-height:44px}.calendar-board,.calendar-sidebar,.calendar-inspector,.calendar-form{border-radius:10px}.calendar-board,.calendar-sidebar,.calendar-inspector{padding:10px}.calendar-board__status{justify-content:flex-start}.calendar-board .fc{max-width:100%;font-size:12px}.calendar-board .fc .fc-toolbar{gap:8px}.calendar-board .fc .fc-toolbar-chunk{width:100%}.calendar-board .fc .fc-toolbar-chunk:first-child,.calendar-board .fc .fc-toolbar-chunk:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-board .fc .fc-toolbar-chunk:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-board .fc .fc-button-group{display:contents}.calendar-board .fc .fc-toolbar-title{width:100%;font-size:18px}.calendar-board .fc .fc-button{width:100%;min-width:0;padding:0 6px;font-size:12px;white-space:normal}.calendar-board .fc .fc-scrollgrid{width:100%}.calendar-board .fc .fc-col-header-cell-cushion,.calendar-board .fc .fc-daygrid-day-number{font-size:11px}.calendar-board .fc .fc-daygrid-day-frame{min-height:54px}.calendar-board .fc .fc-daygrid-day-events{margin:0 1px}.calendar-board .fc .fc-event{border-radius:5px;padding:2px 4px;font-size:10px;line-height:1.2}.calendar-sidebar__summary{min-height:74px;padding:12px}.calendar-sidebar__summary strong{font-size:28px}.calendar-source{min-height:54px;border-radius:10px;grid-template-columns:32px minmax(0,1fr) auto}.calendar-source__icon{width:30px;height:30px}.calendar-source strong{font-size:13px}.calendar-source small{font-size:11px}.calendar-inspector{min-height:0}.calendar-inspector__empty{min-height:180px}.calendar-inspector__head{grid-template-columns:10px minmax(0,1fr) 44px}.calendar-inspector__empty h2,.calendar-inspector__head h2{font-size:18px}.calendar-inspector__head button,.calendar-form__head button{width:44px;height:44px}.calendar-modal{align-items:end;place-items:end stretch;padding:12px 10px calc(12px + env(safe-area-inset-bottom,0px))}.calendar-form{width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));overflow-y:auto;padding:14px}.calendar-form__actions{align-items:stretch;flex-direction:column-reverse}}.construction-card{gap:8px;padding:10px;border-radius:14px;box-shadow:none}.construction-card:nth-child(8){min-height:0}.construction-card header{min-height:26px}.construction-card h2{font-size:13px;line-height:17px}.construction-icon-button{width:26px;height:26px;border-radius:8px}.construction-responsible-list{gap:6px}.construction-responsible-list article{min-height:58px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px;padding:7px 8px;border-radius:10px;background:var(--color-surface)}.construction-responsible-list article>div{min-width:0;display:grid;gap:2px}.construction-responsible-list span,.construction-responsible-list small{font-size:10px;line-height:14px}.construction-responsible-list strong{font-size:11px;line-height:15px}.crm-kanban-board{display:grid;grid-auto-columns:minmax(280px,1fr);grid-auto-flow:column;gap:14px;min-height:520px;overflow-x:auto;padding:0 40px 12px 0}.crm-kanban-column{min-width:280px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:0 10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);box-shadow:none}.crm-kanban-column.is-over{border-color:var(--color-blue);background:color-mix(in srgb,var(--color-blue) 5%,var(--color-surface-muted));outline:2px solid color-mix(in srgb,var(--color-blue) 28%,transparent);outline-offset:2px}.crm-kanban-column__header{min-height:92px;display:grid;grid-template-rows:auto 1fr;gap:8px;margin:0 -10px;padding:10px 10px 12px;border-bottom:1px solid var(--color-border)}.crm-kanban-column__title{min-height:44px;display:grid;grid-template-columns:8px minmax(0,1fr) 28px;align-items:center;gap:8px;padding:0 12px;border:0;border-radius:var(--radius-xs);background:var(--kanban-stage-color, #747b83);color:#fff;box-shadow:inset 0 0 0 1px #ffffff1f}.crm-kanban-column__title>span{width:8px;height:8px;border-radius:50%;background:#ffffffeb}.crm-kanban-column__title h2{margin:0;overflow:hidden;color:#fff;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.crm-kanban-column__title small{width:28px;height:28px;display:inline-grid;place-items:center;border-radius:999px;background:#ffffff2e;color:#fff;font-size:12px;font-weight:900}.crm-kanban-column__metric{display:grid;gap:4px;padding:0 6px}.crm-kanban-column__metric span{color:var(--color-text-soft);font-size:11px;text-transform:uppercase}.crm-kanban-column__metric strong{overflow:hidden;color:var(--color-text);font-size:24px;line-height:30px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.crm-kanban-column__cards{min-height:360px;display:grid;align-content:start;gap:10px}.crm-kanban-card{min-height:132px;display:grid;gap:7px;padding:10px 11px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:none;touch-action:none}.crm-kanban-card:hover{border-color:var(--color-border-strong);box-shadow:0 8px 18px #14182012}.crm-kanban-card[role=button]{cursor:pointer}.crm-kanban-card[role=button]:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.crm-kanban-card.is-dragging{opacity:.45}.crm-kanban-card.is-overlay{width:280px;transform:rotate(2deg);box-shadow:var(--shadow-panel)}.crm-kanban-card header,.crm-kanban-card footer,.crm-kanban-card__meta-row{display:flex;align-items:center;gap:8px}.crm-kanban-card header{justify-content:space-between;color:var(--color-text-muted)}.crm-kanban-card header span,.crm-kanban-card header small{min-width:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.crm-kanban-card h3,.crm-kanban-card p{margin:0}.crm-kanban-card h3{overflow:hidden;display:-webkit-box;color:var(--color-text);font-size:13px;line-height:19px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.crm-kanban-card p{overflow:hidden;color:var(--color-text-muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.crm-kanban-card footer{flex-wrap:wrap;margin-top:auto;color:var(--color-text-muted);font-size:11px}.crm-kanban-meta{min-width:0;display:inline-flex;align-items:center;gap:5px;color:var(--color-text-muted)}.crm-kanban-avatar-stack{display:inline-flex;align-items:center;padding-left:6px}.crm-kanban-avatar-stack .contact-avatar{margin-left:-6px;border:2px solid var(--color-surface-raised)}.crm-kanban-avatar-stack__more{min-width:22px;height:22px;display:inline-grid;place-items:center;margin-left:-6px;border:2px solid var(--color-surface-raised);border-radius:999px;background:var(--color-text);color:var(--color-surface);font-size:10px;font-weight:900}[data-theme=dark] .crm-kanban-column{background:#15161b;border-color:#333640}[data-theme=dark] .crm-kanban-card{background:#202127;border-color:#3a3d47;box-shadow:none}
