@layer monoceros-layout{body{min-height:100vh;overflow-x:hidden;color:var(--mc-color-foreground);background:var(--mc-color-background)}a{color:inherit}.skip-link{position:fixed;top:var(--mc-space-2);left:var(--mc-space-2);z-index:100;padding:var(--mc-space-3) var(--mc-space-4);border-radius:var(--mc-radius-md);color:var(--mc-color-primary-foreground);background:var(--mc-color-primary);transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.auth-screen{display:grid;min-height:100vh;place-items:center;padding:var(--mc-space-6);background:radial-gradient(circle at 18% 20%,color-mix(in srgb,var(--mc-color-primary) 12%,transparent),transparent 34rem),var(--mc-color-background)}.auth-card{display:grid;width:min(100%,30rem);justify-items:center;gap:var(--mc-space-6);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-xl);padding:clamp(2rem,6vw,3.5rem);text-align:center;background:var(--mc-color-surface);box-shadow:var(--mc-shadow-lg)}.auth-brand{display:flex;align-items:center;gap:var(--mc-space-3);text-align:left}.auth-brand small,.auth-brand strong{display:block}.auth-brand strong{font-size:var(--mc-font-size-sm);letter-spacing:.08em}.auth-brand small{margin-top:.15rem;color:var(--mc-color-muted-foreground);font-size:.625rem;letter-spacing:.14em}.auth-card__icon{display:grid;width:4rem;height:4rem;place-items:center;border-radius:50%;color:var(--mc-color-primary);background:color-mix(in srgb,var(--mc-color-primary) 12%,transparent)}.auth-card__icon svg{width:1.75rem;height:1.75rem}.auth-card__spinner{animation:auth-spin .9s linear infinite}.auth-card__copy{display:grid;gap:var(--mc-space-3)}.auth-card__copy h1,.auth-card__copy p{margin:0}.auth-card__copy h1{font-size:clamp(1.55rem,4vw,2rem)}.auth-card__copy p,.auth-card__notice{color:var(--mc-color-muted-foreground);line-height:var(--mc-line-normal)}.auth-card__actions,.auth-card__actions button{width:100%}@keyframes auth-spin{to{transform:rotate(1turn)}}.app-shell{display:grid;grid-template-columns:var(--mc-sidebar-width) minmax(0,1fr);min-height:100vh;transition:grid-template-columns var(--mc-duration-normal) ease}.app-shell__desktop-sidebar{position:sticky;top:0;z-index:var(--mc-z-sticky);display:flex;height:100vh;min-width:0;flex-direction:column;overflow:hidden;border-right:1px solid var(--mc-color-border);background:var(--mc-color-surface)}.app-shell--collapsed .app-shell__desktop-sidebar{visibility:hidden}.app-sidebar{display:flex;min-height:0;flex:1 1;flex-direction:column;padding:var(--mc-space-4)}.app-brand{display:flex;align-items:center;gap:var(--mc-space-3);padding:var(--mc-space-2) var(--mc-space-2) var(--mc-space-6);text-decoration:none}.app-brand__mark{display:grid;width:2rem;height:2rem;flex:0 0 auto;place-items:center;border-radius:var(--mc-radius-md);color:var(--mc-color-primary-foreground)}.app-brand small,.app-brand strong,.app-user small,.app-user strong{display:block}.app-brand strong{font-size:var(--mc-font-size-sm);letter-spacing:.08em}.app-brand small{margin-top:.15rem;font-size:.625rem;letter-spacing:.14em}.app-navigation{flex:1 1}.app-navigation details{margin-bottom:var(--mc-space-1)}.app-navigation summary{display:flex;align-items:center;gap:var(--mc-space-3);min-height:var(--mc-control-height);border-radius:var(--mc-radius-md);padding:0 var(--mc-space-3);color:var(--mc-color-muted-foreground);cursor:pointer;font-size:var(--mc-font-size-sm);font-weight:650;list-style:none}.app-navigation summary::-webkit-details-marker{display:none}.app-navigation summary:hover{color:var(--mc-color-foreground);background:var(--mc-color-surface-subtle)}.app-navigation__chevron{margin-left:auto;transition:transform var(--mc-duration-fast)}.app-navigation details[open] .app-navigation__chevron{transform:rotate(180deg)}.app-navigation__items{display:grid;gap:var(--mc-space-1);margin:var(--mc-space-1) 0 var(--mc-space-2) 1.85rem;padding-left:var(--mc-space-3);border-left:1px solid var(--mc-color-border)}.app-navigation__items a{min-width:0;border-radius:var(--mc-radius-sm);padding:var(--mc-space-2) var(--mc-space-3);color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm);line-height:var(--mc-line-normal);text-decoration:none;overflow-wrap:anywhere}.app-navigation__items a:hover{color:var(--mc-color-foreground);background:var(--mc-color-surface-subtle)}.app-navigation__items a[aria-current=page]{color:var(--mc-color-primary);background:color-mix(in srgb,var(--mc-color-primary) 11%,transparent);font-weight:650}.app-user{display:flex;align-items:center;gap:var(--mc-space-3);margin-top:var(--mc-space-4);border-top:1px solid var(--mc-color-border);padding:var(--mc-space-4) var(--mc-space-2) 0}.app-user__avatar{display:grid;width:2rem;height:2rem;flex:0 0 auto;place-items:center;border-radius:50%;color:var(--mc-color-primary);background:color-mix(in srgb,var(--mc-color-primary) 12%,transparent);font-size:var(--mc-font-size-xs);font-weight:700}.app-user strong{font-size:var(--mc-font-size-sm)}.app-user small{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-xs)}.app-sidebar__collapse{margin:0 var(--mc-space-4) var(--mc-space-4)}.app-shell__expand{position:fixed;top:var(--mc-space-3);left:var(--mc-space-3);z-index:30}.app-shell__workspace{min-width:0}.app-topbar{position:sticky;top:0;z-index:var(--mc-z-sticky);display:flex;min-height:4rem;align-items:center;justify-content:flex-end;gap:var(--mc-space-3);padding:var(--mc-space-2) var(--mc-space-6);background:color-mix(in srgb,var(--mc-color-surface) 92%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-topbar__menu{display:none}.app-context-controls{display:flex;align-items:end;gap:var(--mc-space-3)}.app-context-controls label{display:grid;gap:var(--mc-space-1);color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-xs)}.app-context-controls label:first-child select{width:min(19rem,40vw)}.app-context-controls label:last-child select{width:7rem}.app-content{width:min(100%,100rem);min-width:0;margin:0 auto;padding:var(--mc-space-8)}.app-mobile-sheet{inset:0 auto 0 0}.app-sidebar--mobile{padding:0}.app-sidebar--mobile .app-brand{display:none}.shell-search{position:relative;min-width:min(20rem,100%)}.shell-search svg{position:absolute;top:50%;left:var(--mc-space-3);color:var(--mc-color-muted-foreground);transform:translateY(-50%)}.shell-search input{padding-left:2.25rem}.shell-link{color:var(--mc-color-primary);font-weight:650;text-decoration:none}.shell-link:hover{text-decoration:underline}.shell-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mc-space-4)}.shell-stage-list{display:grid;gap:var(--mc-space-2);margin:0;padding:0;list-style:none}.shell-stage-list li{display:flex;align-items:center;gap:var(--mc-space-2);border-radius:var(--mc-radius-md);padding:var(--mc-space-2);color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.shell-stage-list li span{display:grid;width:1.5rem;height:1.5rem;flex:0 0 auto;place-items:center;border:1px solid var(--mc-color-border);border-radius:50%;font-size:var(--mc-font-size-xs)}.shell-stage-list li[data-active=true]{color:var(--mc-color-primary);background:color-mix(in srgb,var(--mc-color-primary) 11%,transparent);font-weight:650}@media (max-width:79.99rem){.shell-kpi-grid{grid-template-columns:1fr}}@media (max-width:63.99rem){.app-shell,.app-shell--collapsed{grid-template-columns:minmax(0,1fr)}.app-shell__desktop-sidebar,.app-shell__expand{display:none}.app-topbar{justify-content:space-between;padding-inline:var(--mc-space-4)}.app-topbar__menu{display:inline-flex}.app-content{padding:var(--mc-space-6)}}@media (max-width:39.99rem){.app-topbar{position:static;align-items:flex-end}.app-context-controls,.app-context-controls label:first-child{min-width:0;flex:1 1}.app-context-controls label:first-child select{width:100%}.app-context-controls label:last-child select{width:6rem}.app-content{padding:var(--mc-space-4)}.shell-search{min-width:100%}}.app-shell{grid-template-columns:272px minmax(0,1fr);background:var(--mc-color-background)}.app-shell__desktop-sidebar{position:fixed;inset:0 auto 0 0;width:272px;height:100dvh}.app-shell__desktop-sidebar .app-sidebar{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;height:100%;overflow:hidden}.app-shell__workspace{grid-column:2}.app-shell--collapsed{grid-template-columns:0 minmax(0,1fr)}.app-shell--collapsed .app-shell__workspace{grid-column:2}.app-sidebar{padding:20px 16px 12px}.app-brand{width:100%;border:0;padding:0 12px 24px;background:transparent;color:inherit;cursor:pointer;text-align:left}.app-brand__mark{width:44px;height:44px;border-radius:12px;background:var(--mc-color-primary)}.app-brand__mark i{width:18px;height:18px;border:3px solid #fff;transform:rotate(45deg)}.app-brand strong{font-size:18px;letter-spacing:.025em}.app-brand small{margin-top:4px;color:var(--mc-color-muted-foreground);font-size:10px;letter-spacing:2px}.app-navigation{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-navigation details{margin:0}.app-navigation summary,.app-navigation__direct{display:flex;min-height:48px;align-items:center;gap:12px;border-radius:12px;padding:0 12px;color:var(--mc-color-muted-foreground);font-size:14px;font-weight:650;text-decoration:none}.app-navigation summary:hover,.app-navigation__direct:hover{background:var(--mc-color-surface-subtle);color:var(--mc-color-foreground)}.app-navigation details:has(a[aria-current=page])>summary,.app-navigation__direct[aria-current=page]{color:var(--mc-color-primary);background:var(--mc-color-primary-subtle)}[data-theme=dark] .app-navigation details:has(a[aria-current=page])>summary,[data-theme=dark] .app-navigation__direct[aria-current=page]{background:var(--mc-color-primary-subtle)}.app-navigation__items{margin:8px 0 8px 22px;padding-left:12px}.app-navigation__items a{padding:10px 12px}.app-sidebar__theme{grid-template-columns:44px 1fr;align-items:center;gap:8px}.app-sidebar__business-unit,.app-sidebar__theme{display:grid;color:var(--mc-color-muted-foreground);font-size:12px}.app-sidebar__business-unit{gap:6px;padding:8px 12px 14px}.app-sidebar__business-unit select{width:100%;min-width:0;height:38px;font-size:12px}.app-sidebar__theme select{height:36px;min-height:36px;border:0;background:transparent;padding-inline:8px;color:inherit}.app-user{margin-top:8px;padding:20px 10px 0}.app-user__avatar{width:40px;height:40px;font-size:14px}.app-user__switch{border:0;padding:10px 22px;background:transparent;font:inherit;cursor:pointer;text-align:left}.app-user__local-switch,.app-user__switch{color:var(--mc-color-muted-foreground);font-size:12px}.app-user__local-switch{display:grid;gap:6px;padding:10px 12px 2px}.app-user__local-switch select{width:100%;min-width:0;height:36px;font-size:12px}.app-topbar{display:none;min-height:64px;justify-content:flex-start;border-bottom:1px solid var(--mc-color-border);padding:12px 32px;background:var(--mc-color-background);-webkit-backdrop-filter:none;backdrop-filter:none}.app-topbar--visible{display:flex}.app-topbar__crumbs{display:flex;gap:14px;color:var(--mc-color-muted-foreground);font-size:14px}.app-topbar__crumbs a{text-decoration:none}.app-topbar__crumbs strong{color:var(--mc-color-foreground)}.app-content{width:auto;max-width:none;margin:0;padding:32px}.proto-page{color:#17233b}[data-theme=dark] .proto-page{color:var(--mc-color-foreground)}.proto-title{margin-bottom:16px}.proto-finance-head h1,.proto-title h1{margin:0;font-size:36px;line-height:1.2;letter-spacing:-1px}.proto-finance-head small,.proto-title p{color:var(--mc-color-muted-foreground);font-size:14px}.proto-filter-action{display:flex;justify-content:flex-end;margin-bottom:8px}.proto-filter-action button,.proto-finance-head>button{min-height:40px;border:1px solid #dce3ee;border-radius:8px;padding:0 13px;background:var(--mc-color-surface);color:inherit}.proto-project-filters{display:grid;grid-template-columns:1.5fr repeat(5,1fr);gap:12px;border:1px solid #dce3ee;border-radius:16px;padding:18px 16px;background:var(--mc-color-surface)}.proto-project-filters[hidden]{display:none}.proto-projects .proto-filter-action{display:flex;justify-content:flex-end;margin:-8px 0 8px}.proto-projects .proto-filter-action button{min-height:32px;padding:6px 12px;color:#667085;font-size:12px}.proto-project-filters label{display:flex;min-width:0;flex-direction:column;gap:5px;color:var(--mc-color-muted-foreground);font-size:12px;font-weight:600}.proto-project-filters input,.proto-project-filters select{width:100%;min-width:0;height:36px;border:1px solid #dce3ee;border-radius:8px;padding:6px 10px;background:var(--mc-color-surface);color:var(--mc-color-foreground);font:inherit;font-size:13px}.proto-legend{margin:16px 0;color:var(--mc-color-muted-foreground);font-size:12px}.proto-ledger-wrap{overflow:hidden;border:1px solid #dce3ee;border-radius:16px;background:var(--mc-color-surface)}.proto-project-ledger{width:100%;min-width:1080px;border-collapse:collapse;table-layout:fixed}.proto-project-ledger th{height:44px;padding:8px 12px;border-bottom:1px solid #dce3ee;background:var(--mc-color-background);color:var(--mc-color-muted-foreground);font-size:12px;font-weight:600;text-align:right}.proto-project-ledger th:first-child{width:28%;text-align:left}.proto-project-ledger th:nth-child(2){width:64px}.proto-project-ledger td:nth-child(7),.proto-project-ledger th:nth-child(7){border-left:1px solid #dce3ee}.proto-project-ledger td{height:94px;padding:12px;border-bottom:1px solid #dce3ee;font-size:13px;text-align:right;vertical-align:middle}.proto-project-ledger tbody tr{cursor:pointer}.proto-project-ledger tbody tr:hover{background:var(--mc-color-primary-subtle)}.proto-project-ledger td:first-child{position:relative;text-align:left}.proto-project-name{display:inline-block;max-width:calc(100% - 40px);font-size:14px;font-weight:700;line-height:20px}.proto-project-ledger td:first-child>small{display:block;margin-top:12px;color:var(--mc-color-muted-foreground)}.proto-info{position:absolute;top:16px;right:12px;display:grid;width:30px;height:30px;place-items:center;border:1px solid #dce3ee;border-radius:10px;background:transparent}.proto-info,.proto-pair{color:var(--mc-color-muted-foreground)}.proto-pair{display:flex;flex-direction:column;gap:8px}.proto-pair strong{color:var(--mc-color-foreground);font-weight:600}.proto-plan-fact{text-align:left}.proto-ledger-wrap>footer{display:flex;justify-content:space-between;padding:14px 16px;color:var(--mc-color-muted-foreground);font-size:12px}.proto-empty{height:120px;text-align:center}.proto-modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:rgb(16 24 40/52%)}.proto-entry-dialog,.proto-project-card{width:min(1120px,95vw);max-height:92dvh;overflow:auto;border-radius:14px;padding:24px;background:var(--mc-color-surface);box-shadow:var(--mc-shadow-md)}.proto-entry-dialog>header,.proto-project-card>header{display:flex;align-items:center;justify-content:space-between}.proto-entry-dialog header button,.proto-project-card header button{border:0;background:transparent;color:inherit}.proto-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.proto-card-grid-single{grid-template-columns:1fr}.proto-project-card-head small{display:block;margin-top:4px;color:var(--mc-color-muted-foreground);font-size:12px}.proto-card-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.proto-card-grid>div{border:1px solid var(--mc-color-border);border-radius:12px;padding:20px}.proto-entry-dialog label,.proto-project-card label{display:grid;gap:6px;margin:12px 0;color:var(--mc-color-muted-foreground);font-size:12px}.proto-entry-dialog input,.proto-entry-dialog select,.proto-project-card input,.proto-project-card select{height:40px;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 12px;background:var(--mc-color-surface);color:inherit}.proto-entry-dialog>footer,.proto-project-card>footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--mc-color-border);padding-top:16px}.proto-project-card>footer{justify-content:space-between}.proto-entry-dialog footer button,.proto-project-card footer button{height:40px;border:1px solid var(--mc-color-border);border-radius:8px;padding:0 16px;background:var(--mc-color-surface);color:inherit}.proto-primary{border-color:#18181b;background:#18181b;color:#fff}.proto-finance-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.proto-finance-head h1{font-size:var(--mc-font-size-2xl);font-weight:600;line-height:1.25;letter-spacing:normal}.proto-finance-head p{margin:0 0 var(--mc-space-2);color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-xs)}.proto-finance-head p span{margin-left:8px;color:#087443}.proto-finance-head small{display:block;margin-top:10px}.proto-finance-head>button{display:flex;align-items:center;gap:8px;font-size:14px}.proto-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.proto-finance{color:var(--mc-color-foreground)}.proto-metrics>.mc-card{min-width:0}.proto-metrics>.mc-card>span{display:block;color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.production-metric-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--mc-space-2);margin-top:var(--mc-space-2)}.proto-metrics strong{font-size:var(--mc-font-size-xl);font-weight:600}.proto-metrics small{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-xs)}@media (max-width:850px){.proto-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.proto-finance-table-wrap{overflow:hidden}.estimate-table-header{padding:var(--mc-space-6)}.estimate-table-header,.proto-finance-actions{border-bottom:1px solid var(--mc-color-border)}.proto-finance-actions{align-items:center;flex-wrap:wrap}.production-article-heading,.production-line-head,.production-line-meta,.production-parent-actions,.production-section-head,.proto-finance-decision-toolbar,.proto-finance-request-decisions{display:flex;align-items:center;gap:var(--mc-space-2)}.proto-finance-decision-toolbar{flex-wrap:wrap}.production-section-head{justify-content:space-between;font-size:var(--mc-font-size-sm);font-weight:600}.production-parent-actions{justify-content:flex-end}.proto-finance-table td:first-child:not([colspan]),.proto-finance-table th:first-child{min-width:15rem}.proto-finance-table td{vertical-align:middle}.proto-finance-table td:not(:first-child):not([colspan]),.proto-finance-table th:not(:first-child){text-align:right}.proto-finance-table .proto-finance-section td{background:var(--mc-color-background)}.proto-finance-parent td{background:var(--mc-color-surface)}.proto-finance-table .proto-finance-parent td small{margin:0;white-space:nowrap}.production-line-head{justify-content:flex-start}.production-article-heading>button,.production-line-card{min-width:0;flex:0 1 auto}.production-line-meta{flex-wrap:wrap}.proto-finance-table .production-line-meta>small{margin:0}.production-line-card{max-width:20rem;overflow:hidden;text-overflow:ellipsis}.production-line-currency{flex-shrink:0}.proto-finance-value{display:inline-flex;flex-direction:column;align-items:flex-end;white-space:nowrap}.proto-finance-request-cell{display:flex;flex-direction:column;align-items:flex-end;gap:var(--mc-space-2)}.proto-finance-request-decisions{justify-content:flex-end}.production-finance-empty .mc-empty{white-space:normal}.proto-finance-savebar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;border:1px solid #dedee2;border-radius:8px;padding:16px;background:#f4f4f5;font-size:12px}.proto-finance-savebar span{margin-right:auto;color:#71717a}.proto-finance-savebar button{min-height:40px;border:1px solid #dedee2;border-radius:8px;padding:8px 16px;background:#fff}.proto-finance-savebar button:last-child{border-color:#18181b;background:#18181b;color:#fff}.proto-entry-dialog{width:min(480px,95vw)}.proto-finance-dialog{width:min(640px,calc(100vw - 32px));border:1px solid #dedee2;border-radius:16px}.proto-finance-dialog h2{margin:0;font-size:20px}.proto-finance-dialog label{font-size:13px;font-weight:600}.proto-finance-dialog textarea{min-height:88px;border:1px solid #dedee2;border-radius:8px;padding:10px 12px;background:var(--mc-color-surface);color:inherit;font:inherit;resize:vertical}.proto-finance-dialog .proto-dialog-context{display:grid;gap:3px;margin:16px 0}.proto-finance-dialog .proto-dialog-context small{color:#71717a}.proto-finance-dialog.proto-project-card-dialog{width:min(1120px,95vw);max-height:92dvh;overflow-y:auto}.proto-project-card-section{display:grid;gap:16px;border:1px solid var(--n-line,#dbe3f0);border-radius:12px;padding:20px}.proto-project-card-section h3{margin:0;font-size:15px}.proto-project-card-section label{display:grid;gap:8px;margin:0}.proto-project-card-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media (max-width:750px){.proto-project-card-pair{grid-template-columns:1fr}}.proto-vat-grid{align-items:end}.proto-vat-grid p{margin:0 0 19px;color:#71717a;font-size:12px}.proto-counterparty{border:1px solid #dedee2;border-radius:8px;padding:0 14px}.proto-finance-dialog-footer{align-items:center;justify-content:space-between}.proto-finance-dialog-footer>div{display:flex;gap:8px}.proto-finance-dialog .proto-danger{border:0;color:#b91c1c}.production-project-filters{grid-template-columns:minmax(260px,2fr) minmax(180px,1fr) minmax(220px,1fr)}.production-inline-comment{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mc-space-4);margin:0}.production-finance-dialog label,.production-form-grid label{display:grid;gap:8px}.production-form-wide{grid-column:1/-1}.production-operation-context{display:grid;gap:var(--mc-space-1);margin:0;border-radius:var(--mc-radius-sm);padding:var(--mc-space-4);background:var(--mc-color-background)}.production-operation-context small,.production-operation-context span,.production-vat-total{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.production-vat-total{grid-column:1/-1;margin:0}.production-estimate-dialog :is(.proto-finance-dialog-footer,.proto-modal-footer){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--mc-space-3);margin-top:0}.production-estimate-dialog :is(.proto-finance-dialog-footer,.proto-modal-footer)>div{display:flex;flex-wrap:wrap;gap:var(--mc-space-3)}@media (max-width:760px){.production-form-grid,.production-project-filters{grid-template-columns:1fr}.production-form-wide{grid-column:auto}}.proto-user-dialog{inset:50% auto auto 50%;width:min(480px,calc(100vw - 32px));height:auto;transform:translate(-50%,-50%)}.proto-user-dialog label{display:grid;gap:8px}.proto-user-dialog button{margin-top:16px}.proto-report-toolbar{display:flex;align-items:flex-end;gap:12px;margin:24px 0}.proto-report-toolbar label{display:grid;min-width:0;gap:8px;color:#17233b;font-size:12px;font-weight:600}.proto-report-toolbar label:first-child{width:188px}.proto-report-toolbar label:nth-child(3){width:168px}.proto-budget .proto-report-toolbar label:nth-child(3){width:98px}.proto-budget .proto-report-toolbar label:nth-child(4){width:74px}.proto-report-toolbar .proto-year{width:76px}.proto-report-toolbar button,.proto-report-toolbar input,.proto-report-toolbar select{height:40px;border:1px solid #dce3ee;border-radius:8px;padding:0 12px;background:var(--mc-color-surface);color:inherit;font:inherit;font-size:13px}.proto-report-toolbar button{white-space:nowrap}.proto-report-note{margin:0 0 2px;color:#66789b;font-size:12px}.production-report-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;color:var(--muted-foreground);font-size:13px}.production-report-status span{padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:var(--card)}.production-report-status .is-certified{color:#137548;border-color:#a8d8c1;background:#effaf4}.production-report-status .is-uncertified{color:#9a3412;border-color:#fed7aa;background:#fff7ed}.proto-report-alert{margin:12px 0 0;color:#9a6700;font-size:12px;line-height:1.5}.proto-report-table-wrap{overflow:hidden;border:1px solid #dce3ee;border-radius:16px 16px 0 0;background:var(--mc-color-surface)}.proto-report-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed}.proto-report-table td,.proto-report-table th{height:61px;border-bottom:1px solid #dce3ee;padding:10px 12px;font-size:12px;text-align:right}.proto-report-table th{height:43px;background:#f5f7fb;color:#66789b;font-weight:600}.proto-report-table td:first-child,.proto-report-table th:first-child{width:36%;text-align:left}.proto-report-table tr.is-group td{background:#f5f7fb;font-weight:700}.proto-report-table tr.is-result td{background:#eef3fb;font-weight:700}.proto-report-amount,.proto-report-toggle{border:0;padding:0;background:transparent;color:inherit;font:inherit}.proto-report-toggle{font-weight:inherit;text-align:left}.proto-report-amount{min-width:12px;border-bottom:1px dotted}.proto-report-info{margin-top:20px;border:1px solid #dce3ee;border-radius:12px;padding:20px;background:var(--mc-color-surface)}.proto-report-info h2,.proto-report-info h3{margin:0 0 8px}.proto-report-info h2{font-size:20px}.proto-report-info p{color:#66789b;font-size:12px}.proto-report-dialog>button,.proto-report-info>button{height:38px;border:1px solid #dce3ee;border-radius:8px;padding:0 12px;background:var(--mc-color-surface);color:inherit}.proto-internal-wrap{overflow-x:auto}.proto-internal-table{width:100%;min-width:900px;border-collapse:collapse}.proto-internal-table td,.proto-internal-table th{border-bottom:1px solid #dce3ee;padding:12px;font-size:12px;text-align:left}.proto-report-dialog{width:min(520px,95vw);border-radius:14px;padding:24px;background:var(--mc-color-surface);box-shadow:var(--mc-shadow-md)}.proto-report-dialog h2{margin-top:0}.proto-report-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.proto-report-dialog-head button{display:grid;width:36px;height:36px;place-items:center;border:1px solid #dce3ee;border-radius:8px;background:var(--mc-color-surface);color:inherit}.proto-unit-context{display:flex;align-items:center;gap:24px;min-height:82px;margin-bottom:24px;border:1px solid #dce3ee;border-left:4px solid var(--mc-color-primary);border-radius:14px;padding:16px 24px;background:var(--mc-color-surface);font-size:13px;font-weight:700}.proto-unit-context select{width:260px;height:44px;border:1px solid #dce3ee;border-radius:8px;padding:0 14px;background:var(--mc-color-background);color:inherit;font:inherit}.proto-off-head{display:flex;align-items:flex-start;justify-content:space-between}.proto-off-head h1{margin:0;font-size:36px;letter-spacing:-1px}.proto-off-head p{margin:8px 0 0;color:#66789b;font-size:14px}.proto-off-head>button{height:40px;border:0;border-radius:8px;padding:0 14px;background:var(--mc-color-primary);color:#fff;font-weight:650}.proto-off-search{margin:24px 0 20px}.proto-off-search input{width:192px;height:40px;border:1px solid #dce3ee;border-radius:8px;padding:0 12px;background:var(--mc-color-surface);color:inherit}.proto-off-table-wrap{overflow-x:auto;border:1px solid #dedee2;border-radius:8px;background:#fff}.proto-off-table{width:100%;min-width:1130px;border-collapse:collapse;table-layout:fixed}.proto-off-table td,.proto-off-table th{border-bottom:1px solid #dedee2;padding:8px 10px;font-size:12px;text-align:right;vertical-align:middle}.proto-off-table th{height:56px;background:#f4f4f5;color:#71717a;line-height:16px}.proto-off-table th:first-child,.proto-off-table tr:not(.proto-off-section) td:first-child{position:sticky;left:0;z-index:1;width:375px;min-width:375px;max-width:375px;border-right:1px solid #dedee2;text-align:left}.proto-off-table th:not(:first-child){width:calc((100% - 375px) / 5)}.proto-off-table td[colspan]{height:56px;text-align:left}.proto-off-table td>small,.proto-off-table td>strong{display:block}.proto-off-table td>small,.proto-off-value small{margin-top:6px;color:#71717a;font-size:12px;font-weight:400}.proto-off-section td{height:44px;padding:8px 12px;background:#18181b;color:#fff;font-size:14px;font-weight:700;text-align:left}.proto-off-section button{display:inline-grid;width:28px;height:28px;min-width:28px;place-items:center;border:1px solid #71717a;border-radius:6px;padding:0;background:transparent;color:#fff}.proto-off-group td{height:43px;background:#f4f4f5;font-weight:600}.proto-off-group-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.proto-off-group-actions>button:not(.proto-off-article-delete){border:0;padding:4px;background:transparent;color:#18181b;font:inherit;font-weight:400}.proto-off-group-actions>button:not(.proto-off-article-delete):not(.proto-off-add-child){color:var(--mc-color-primary)}.proto-off-delete,.proto-off-group-toggle,.proto-off-link{border:0;padding:0;background:transparent;color:inherit;font:inherit}.proto-off-group-toggle{display:flex;gap:4px;font-weight:650;text-align:left}.proto-off-group-toggle:disabled{color:inherit;cursor:default}.proto-off-article-heading{display:flex;align-items:center;justify-content:flex-start;gap:8px}.proto-off-article-heading>small{margin:0;color:#71717a;font-size:12px;font-weight:400}.proto-off-currency{display:inline-flex;min-width:32px;min-height:22px;align-items:center;justify-content:center;margin-left:auto;border-radius:12px;padding:0 6px;background:#f4f4f5;color:#71717a;font-size:10px;font-weight:500}.proto-off-article-delete{display:inline-grid;width:28px;height:28px;min-width:28px;flex:0 0 auto;place-items:center;border:0;border-radius:6px;padding:0;background:transparent;color:#dc2626;cursor:pointer}.proto-off-article-delete:hover{background:#fff0f0}.proto-off-group-toggle span{width:12px}.proto-off-link{display:block;min-height:24px;margin-top:7px;color:var(--mc-color-primary);font-size:12px}.proto-off-occurrence td:first-child{padding:12px 16px;background:#fff}.proto-off-occurrence td{height:92px;background:#fff}.proto-off-value{display:flex;width:100%;min-height:48px;flex-direction:column;align-items:flex-end;justify-content:center;border:1px solid transparent;border-radius:8px;padding:4px 8px;background:transparent;color:inherit;font:inherit}.proto-off-value:hover{border-color:#dce3ee;background:var(--mc-color-background)}.proto-off-value.is-empty{align-items:center;min-height:40px;border-style:dashed;border-color:#d4d4d8;color:#71717a}.proto-off-value strong{font-weight:700}.proto-off-delete{display:block;margin:8px 0 0 auto;color:#dc2626;font-size:11px}.proto-off-dialog{width:min(640px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #dce3ee;border-radius:16px;padding:24px;background:var(--mc-color-surface);color:inherit;box-shadow:var(--mc-shadow-md)}.proto-off-dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.proto-off-dialog>header h2{margin:0;font-size:20px}.proto-off-dialog>header button{display:grid;width:40px;height:40px;place-items:center;border:1px solid #dce3ee;border-radius:8px;background:var(--mc-color-surface);color:inherit}.proto-off-dialog label{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:13px;font-weight:600}.proto-off-dialog input:not([type=checkbox]),.proto-off-dialog select,.proto-off-dialog textarea{width:100%;min-height:40px;border:1px solid #dce3ee;border-radius:8px;padding:8px 12px;background:var(--mc-color-surface);color:inherit;font:inherit}.proto-off-dialog textarea{min-height:80px;resize:vertical}.proto-off-half{width:calc(50% - 8px)}.proto-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.proto-dialog-context{border-radius:8px;padding:12px 16px;background:var(--mc-color-background);font-size:13px}.proto-repeat-head{display:flex;align-items:center;justify-content:space-between;font-size:13px}.proto-repeat-head button{border:0;background:transparent;color:var(--mc-color-primary)}.proto-dialog-block{margin:18px 0 0;border:1px solid #dce3ee;border-radius:8px;padding:14px 16px}.proto-dialog-block h3{margin:0 0 4px;font-size:14px}.proto-group-pl-fields{grid-template-columns:1fr 1fr}.proto-payment-calendar{margin:16px 0}.proto-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.proto-calendar-head button{width:36px;height:36px;border:1px solid #dce3ee;border-radius:8px;background:var(--mc-color-surface)}.proto-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:12px}.proto-calendar-grid span{color:#66789b;font-size:12px;text-align:center}.proto-calendar-grid button{min-height:36px;border:1px solid #dce3ee;border-radius:8px;background:var(--mc-color-surface)}.proto-calendar-grid button[aria-pressed=true]{border-color:#18181b;background:#18181b;color:#fff}.proto-months{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.proto-months label{flex-direction:row;align-items:center;margin:0;font-weight:400}.proto-months input{width:16px;height:16px}.proto-off-currency-field{max-width:50%}.proto-off-months-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.proto-off-months-heading button{min-height:36px;border:1px solid var(--mc-color-border);border-radius:8px;padding:6px 12px;background:var(--mc-color-surface)}.proto-form-error{color:#dc2626;font-size:12px}.proto-off-dialog>footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;border-top:1px solid #dce3ee;padding-top:24px}.proto-off-dialog>footer button{height:40px;border:1px solid #dce3ee;border-radius:8px;padding:0 16px;background:var(--mc-color-surface);color:inherit}.proto-off-dialog>footer .proto-off-save{border-color:#18181b;background:#18181b;color:#fff}.production-off-filters{display:grid;grid-template-columns:minmax(280px,2fr) minmax(220px,1fr);gap:16px;margin-bottom:20px}.production-off-filters label{display:grid;gap:7px;color:#52525b;font-size:12px;font-weight:600}.production-off-filters input,.production-off-filters select{min-height:42px;border:1px solid #dedee2;border-radius:8px;padding:8px 12px;background:#fff;color:#18181b;font:inherit}.production-off-stack{display:grid;gap:4px;margin-bottom:8px}.production-off-stack>small{color:#71717a}.production-off-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px;border-top:1px solid #dedee2;padding-top:16px}.production-off-actions button{min-height:40px;border:1px solid #dedee2;border-radius:8px;padding:8px 14px;background:#fff}@media (max-width:760px){.production-off-filters{grid-template-columns:1fr}}@media (max-width:1100px){.app-shell,.app-shell--collapsed{grid-template-columns:minmax(0,1fr)}.app-shell--collapsed .app-shell__workspace,.app-shell__workspace{grid-column:1}.app-topbar{display:flex}.app-content{padding:24px}.proto-project-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.proto-finance-table-wrap,.proto-ledger-wrap,.proto-report-table-wrap{overflow-x:auto}.proto-report-toolbar,.proto-unit-context{flex-wrap:wrap}}@media (max-width:650px){.app-content{padding:20px 12px}.proto-finance-head h1,.proto-title h1{font-size:28px}.proto-project-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}.proto-project-filters label:first-child{grid-column:1/-1}.proto-metrics{grid-template-columns:1fr}.proto-finance-actions,.proto-finance-head{align-items:flex-start;flex-direction:column;gap:16px}.proto-card-grid{grid-template-columns:1fr}.proto-report-toolbar .proto-year,.proto-report-toolbar label,.proto-report-toolbar label:first-child,.proto-report-toolbar label:nth-child(3){width:calc(50% - 6px)}.proto-off-head{gap:16px}.proto-off-head h1{font-size:28px}.proto-unit-context{align-items:stretch;flex-direction:column;gap:8px}.proto-off-search input,.proto-unit-context select{width:100%}.proto-form-grid{grid-template-columns:1fr;gap:0}.proto-off-half{width:100%}.proto-months{grid-template-columns:1fr 1fr}}.proto-work-page{color:var(--mc-color-foreground)}.proto-work-page .proto-primary{border-color:var(--mc-color-primary);background:var(--mc-color-primary);color:#fff}.proto-work-page .proto-unit-context{margin-bottom:24px}.proto-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.proto-directory-toolbar button,.proto-title-row .proto-inline-actions button,.proto-title-row>button,.proto-work-filters button,.proto-work-page button{min-height:40px;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 14px;background:var(--mc-color-surface);color:inherit;font:inherit;cursor:pointer}.proto-title-row button:disabled,.proto-work-page button:disabled{cursor:default;opacity:.45}.proto-work-filters{display:grid;gap:12px;margin:20px 0 24px}.proto-request-filters{grid-template-columns:2fr repeat(4,minmax(110px,1fr));border:1px solid var(--mc-color-border);border-radius:12px;padding:16px;background:var(--mc-color-surface)}.proto-actual-toolbar label,.proto-directory-toolbar label,.proto-person-dialog label,.proto-work-dialog label,.proto-work-filters label{display:flex;min-width:0;flex-direction:column;gap:7px;color:var(--mc-color-muted-foreground);font-size:12px;font-weight:550}.proto-actual-toolbar input,.proto-actual-toolbar select,.proto-directory-toolbar input,.proto-directory-toolbar select,.proto-people-toolbar input,.proto-people-toolbar select,.proto-person-dialog input,.proto-person-dialog select,.proto-person-dialog textarea,.proto-work-dialog input,.proto-work-dialog select,.proto-work-dialog textarea,.proto-work-filters input,.proto-work-filters select{width:100%;min-width:0;min-height:40px;box-sizing:border-box;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 12px;background:var(--mc-color-surface);color:inherit;font:inherit}.proto-person-dialog textarea,.proto-work-dialog textarea{min-height:88px;resize:vertical}.proto-bulk{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:16px;color:var(--mc-color-muted-foreground);font-size:12px}.proto-bulk>div{display:flex;gap:8px}.proto-danger-link{color:#b42318}.proto-work-panel{overflow:hidden;border:1px solid var(--mc-color-border);border-radius:16px;background:var(--mc-color-surface)}.proto-table-scroll{max-width:100%;overflow:auto}.proto-work-table{width:100%;border-collapse:collapse;color:var(--mc-color-foreground);font-size:13px;table-layout:auto}.proto-currency-rates-table{min-width:920px;table-layout:fixed}.proto-currency-rates-table th:first-child{width:18%}.proto-currency-rates-table th:nth-child(2){width:14%}.proto-currency-rates-table th:nth-child(3){width:22%}.proto-currency-rates-table th:nth-child(4){width:34%}.proto-currency-rates-table th:nth-child(5){width:12%}.proto-work-table td,.proto-work-table th{height:58px;border-bottom:1px solid var(--mc-color-border);padding:14px 12px;text-align:left;vertical-align:top}.proto-work-table th{height:52px;background:var(--mc-color-background);color:var(--mc-color-muted-foreground);font-size:12px;font-weight:550}.proto-work-table td.num,.proto-work-table th.num{text-align:right;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.proto-work-table td small,.proto-work-table td strong{display:block}.proto-work-table td small{margin-top:4px;color:var(--mc-color-muted-foreground);font-size:12px;line-height:1.45}.proto-cash-table,.proto-request-table{min-width:1120px}.proto-request-table{min-width:1420px;table-layout:fixed}.proto-request-table .proto-edit-link,.proto-request-table td{white-space:normal;overflow-wrap:anywhere}.proto-cash-table th:first-child,.proto-request-table th:first-child{width:42px}.proto-request-table th:nth-child(4){width:18%}.proto-request-table th:last-child{min-width:220px}.proto-request-table .proto-request-paid{white-space:normal;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.proto-op-table{min-width:1290px;table-layout:fixed}.proto-op-table th:first-child{width:95px}.proto-op-table th:nth-child(2){width:110px}.proto-op-table th:nth-child(3){width:90px}.proto-op-table th:nth-child(4){width:135px}.proto-op-table th:nth-child(5){width:145px}.proto-op-table th:nth-child(6){width:170px}.proto-op-table th:nth-child(7){width:100px}.proto-op-table th:nth-child(8){width:70px}.proto-op-table th:nth-child(9){width:175px}.proto-cell-button,.proto-edit-link,.proto-group-toggle,.proto-person-link{min-height:0;border:0;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:normal}.proto-edit-link{color:var(--mc-color-muted-foreground);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.proto-edit-link.is-danger{color:#b42318}.proto-table-footer{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;color:var(--mc-color-muted-foreground);font-size:12px}.proto-table-footer>div{display:flex;gap:8px}.proto-table-footer button{min-height:34px}.proto-status{display:inline-flex;align-items:center;border-radius:6px;padding:3px 6px;background:var(--mc-color-background);color:var(--mc-color-muted-foreground);font-size:11px;line-height:16px}.proto-status.is-approved,.proto-status.is-executed{background:#eaf8f2;color:#087c55}.proto-status.is-submitted{background:var(--mc-color-primary-subtle);color:var(--mc-color-primary)}.proto-status.is-rejected{background:#fff0f0;color:#bf3030}.proto-plan-badge{display:inline-flex;flex-direction:column;border-radius:6px;padding:4px 7px;background:var(--mc-color-primary-subtle);color:var(--mc-color-primary);font-size:11px}.proto-mini-action{display:block;min-height:28px;margin-top:8px;padding:4px 6px;font-size:11px}.proto-dialog-note,.proto-page-note{color:var(--mc-color-muted-foreground);font-size:12px;line-height:1.5}.proto-page-note{margin-top:16px}.proto-modal__card{position:relative;width:min(560px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;border:1px solid var(--mc-color-border);border-radius:16px;padding:24px;background:var(--mc-color-surface);color:var(--mc-color-foreground);box-shadow:var(--mc-shadow-md)}.proto-modal__card.is-wide{width:min(780px,calc(100vw - 32px))}.proto-modal__card h2{margin:0 42px 18px 0;font-size:20px}.proto-modal__card h3{font-size:14px}.proto-modal__x{position:absolute;top:18px;right:18px;display:grid;width:36px;min-height:36px;place-items:center;border:0;padding:0;background:transparent}.proto-person-dialog label,.proto-work-dialog label{margin:16px 0;color:var(--mc-color-foreground);font-size:13px}.proto-dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px;border-top:1px solid var(--mc-color-border);padding-top:16px}.proto-dialog-actions.is-end{justify-content:flex-end}.proto-dialog-actions button{min-height:40px;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 16px;background:var(--mc-color-surface);color:inherit}.proto-error{color:#b42318;font-size:13px}.proto-success{color:#16834a;font-size:13px}.proto-cash-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.proto-op-filters{grid-template-columns:2fr repeat(4,minmax(0,1fr))}.proto-op-note{margin:0 0 12px;color:var(--mc-color-muted-foreground);font-size:12px}.proto-op-title-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.proto-op-import-dialog{width:min(1040px,calc(100vw - 32px))}.proto-op-import-mappings{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:4px 16px}.proto-op-import-preview{max-height:min(360px,45dvh);overflow:auto;border:1px solid var(--mc-color-border);border-radius:10px}.proto-op-import-preview .proto-work-table{min-width:900px}.proto-op-import-preview .proto-work-table th{position:sticky;top:0;z-index:1}.proto-op-import-preview td{overflow-wrap:anywhere}.proto-op-import-ready{border:1px solid #abefc6;border-radius:8px;padding:10px 12px;background:#ecfdf3;color:#067647;font-size:13px}.proto-op-import-failures{margin-top:12px;border:1px solid #fecdca;border-radius:8px;padding:12px;color:#b42318;font-size:13px}.proto-op-import-failures ul{margin:8px 0;padding-left:20px}.proto-op-import-failure-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.proto-op-import-failure-heading button{flex:0 0 auto}.proto-op-import-failures li+li{margin-top:8px}.proto-op-import-failures li small{display:block;margin-top:3px;color:var(--mc-color-muted-foreground);overflow-wrap:anywhere}.proto-op-import-failures li.is-server>strong{color:#b42318}.proto-op-import-failures li.is-configuration>strong,.proto-op-import-failures li.is-duplicate>strong{color:#93370d}.proto-op-import-failures li span,.proto-op-import-row-issues li span{display:block;margin-top:3px;color:var(--mc-color-muted-foreground)}.proto-op-import-row-issues{min-width:260px;margin:0;padding-left:18px;font-size:12px;line-height:1.45}.proto-op-import-row-issues li+li{margin-top:6px}.proto-op-import-row-issues .is-blocking{color:#b42318}.proto-op-import-row-issues .is-warning{color:#8a5a00}.proto-op-import-row-ready{color:#16804a;font-size:12px;font-weight:600}.proto-op-table td input{width:100%;min-width:130px;border:1px solid transparent;border-radius:6px;padding:7px 9px;background:transparent;font:inherit}.proto-op-table td input:focus{border-color:var(--mc-color-border);background:var(--mc-color-surface)}.proto-op-full-text{white-space:pre-wrap;overflow-wrap:anywhere}.proto-op-picker{width:min(1040px,calc(100vw - 32px))}.proto-op-selection-summary{display:grid;gap:12px;margin-bottom:18px;border:1px solid var(--mc-color-border);border-radius:10px;padding:18px;background:var(--mc-color-background)}.proto-op-selection-summary>div:first-child,.proto-op-single-amounts{display:flex;justify-content:space-between;gap:16px}.proto-op-selection-summary strong,.proto-op-single-amounts strong{font-size:18px}.proto-op-selection-meta{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:13px}.proto-op-selection-summary details{overflow-wrap:anywhere;font-size:13px}.proto-op-selection-summary details p{white-space:pre-wrap}.proto-op-picker-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.proto-op-picker-actions button{min-height:40px;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 14px;background:var(--mc-color-surface);color:inherit}.proto-op-picker-actions .proto-off-save{margin-left:auto;background:#18181b;color:#fff}.proto-op-picker-actions button:disabled{opacity:.5}.proto-op-picker .proto-work-table td small,.proto-op-single-amounts span{display:block;color:var(--mc-color-muted-foreground);font-size:12px}.proto-op-single-amounts{margin:16px 0;border-radius:10px;padding:16px;background:var(--mc-color-background)}.proto-tabs{display:flex;gap:8px;margin:0 0 18px}.proto-tabs button[aria-pressed=true]{border-color:var(--mc-color-primary);background:var(--mc-color-primary-subtle);color:var(--mc-color-primary)}.proto-metadata{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.proto-metadata dt{color:var(--mc-color-muted-foreground);font-size:12px}.proto-metadata dd{margin:4px 0 0}.proto-actual-toolbar,.proto-directory-toolbar,.proto-people-toolbar{display:flex;align-items:flex-end;gap:12px;margin:20px 0;flex-wrap:wrap}.proto-people-toolbar input{width:185px}.proto-people-toolbar select{width:200px}.proto-actual-toolbar span,.proto-people-toolbar span{align-self:center;color:var(--mc-color-muted-foreground);font-size:12px}.proto-people-table{min-width:100%;table-layout:fixed}.proto-people-table th:first-child{width:210px}.proto-people-table th:nth-child(2){width:240px}.proto-people-table th:nth-child(n+3){width:125px}.proto-people-table.is-forecast{min-width:2420px}.proto-people-table.is-forecast th:nth-child(n+6){width:135px}.proto-people-table td,.proto-people-table th{vertical-align:middle}.proto-people-table td:nth-child(2){overflow-wrap:anywhere}.proto-people-table.is-forecast th:first-child,.proto-people-table.is-forecast tr:not(.proto-table-group)>td:first-child{position:sticky;left:0;z-index:2;background:var(--mc-color-surface)}.proto-people-table.is-forecast th:first-child{z-index:4;background:var(--mc-color-background)}.proto-people-table.is-forecast th:nth-child(2),.proto-people-table.is-forecast tr:not(.proto-table-group)>td:nth-child(2){position:sticky;left:210px;z-index:2;background:var(--mc-color-surface)}.proto-people-table.is-forecast th:nth-child(2){z-index:4;background:var(--mc-color-background)}.proto-people-group-heading{display:flex;align-items:center;gap:10px}.proto-people-group-heading strong{display:inline}.proto-people-group-heading span{color:var(--mc-color-muted-foreground);font-weight:400}.proto-table-group td{background:var(--mc-color-background);font-weight:600}.proto-table-group td>span{margin-left:10px;color:var(--mc-color-muted-foreground);font-weight:400}.proto-rate-currency-group td{background:var(--mc-color-background);font-weight:650}.proto-work-page .proto-rate-group-toggle{display:flex;width:100%;min-height:28px;align-items:center;justify-content:flex-start;gap:8px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:1.4;text-align:left;cursor:pointer}.proto-work-page .proto-rate-group-toggle:focus-visible{border-radius:4px;outline:2px solid var(--mc-color-primary);outline-offset:3px}.proto-rate-group-chevron{width:12px;flex:0 0 12px;color:var(--mc-color-muted-foreground)}.proto-rate-currency-group td>strong{display:inline}.proto-rate-currency-group td>small,.proto-rate-currency-group td>span,.proto-rate-month-group td>span{color:var(--mc-color-muted-foreground);font-weight:400}.proto-rate-currency-group td>small{display:inline;margin-left:10px}.proto-rate-month-group td{padding-left:28px;background:var(--mc-color-surface);font-weight:600;text-transform:capitalize}.proto-person-link{font-weight:600}.proto-person-actions,.proto-person-link{display:flex;align-items:center;gap:8px}.proto-person-actions .proto-person-link{flex:1 1}.proto-person-link i{display:block;width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#55b879}.proto-person-link i.is-dismissed{background:#c7ccd4}.proto-person-dialog{width:min(780px,calc(100vw - 32px));padding:24px}.proto-person-dialog .proto-form-grid{gap:16px}.proto-person-dialog .proto-form-grid label{margin-block:8px}.proto-person-dialog .hr-tax-options{display:flex;flex-wrap:wrap;gap:8px 20px;margin:8px 0 16px}.proto-person-dialog .hr-tax-option{display:flex;flex-direction:row;align-items:center;gap:8px;width:auto;margin:0;color:var(--mc-color-foreground);font-size:13px}.proto-person-dialog .hr-tax-option input[type=checkbox]{width:16px;min-width:16px;min-height:16px;height:16px;margin:0;padding:0;accent-color:var(--mc-color-primary)}.proto-person-dialog .proto-dialog-section>.proto-dialog-note{margin:-8px 0 0}.proto-person-dialog .proto-person-bonus-head{margin:16px 0}.proto-person-period-panel{margin-top:24px;background:var(--mc-color-background)}.proto-person-pay-block h3,.proto-person-period-panel h3{margin:0 0 16px;font-size:15px}.proto-person-period-panel>p{margin:6px 0 0}.proto-person-period-mode{padding:12px 0 16px}.proto-person-period-mode p{margin:6px 0 0}.proto-person-period-panel>label:last-child{margin-bottom:0}.proto-person-pay-block .proto-field-label{display:block;margin:16px 0 8px}.proto-person-bonus-head{align-items:center;margin:16px 0}.proto-person-bonus-head h3{margin:0}.proto-person-bonus-head button{min-height:40px;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 16px;background:var(--mc-color-surface);color:inherit}.proto-person-bonus-block .proto-section-head{align-items:center}.proto-person-bonus-block .proto-section-head button{width:32px;height:32px;border:0;background:transparent;color:var(--mc-color-muted-foreground);font-size:22px;cursor:pointer}.proto-person-bonus-block .proto-field-label{display:block;margin-bottom:8px}.proto-dialog-section{margin:20px 0;border:1px solid var(--mc-color-border);border-radius:12px;padding:16px}.proto-dialog-section p{color:var(--mc-color-muted-foreground);font-size:12px;line-height:1.5}.proto-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.proto-section-head h3,.proto-section-head p{margin:0 0 4px}.proto-tax-list{display:flex;flex-wrap:wrap;gap:8px 20px}.proto-check-list{display:grid;gap:10px}.proto-tax-list label{display:flex;min-height:20px;flex-direction:row;align-items:center;gap:8px;margin:0;border:0;padding:0}.proto-check-list label{display:flex;min-height:40px;align-items:center;gap:10px;margin:0;border:1px solid var(--mc-color-border);border-radius:8px;padding:9px 10px}.proto-tax-list input{height:16px;flex:0 0 16px;margin:0;padding:0}.proto-check-list input,.proto-tax-list input{width:16px;min-height:16px}.proto-tax-list small{margin-left:auto}.proto-field-label{color:var(--mc-color-foreground);font-size:13px;font-weight:550}.proto-actual-people-table{min-width:1040px;table-layout:fixed}.proto-actual-people-table th[colspan]{text-align:center}.proto-actual-people-table td:nth-child(4),.proto-actual-people-table td:nth-child(6){border-right:1px solid var(--mc-color-border)}.proto-actual-people-table .fact{font-weight:650}.proto-directory-toolbar label input,.proto-directory-toolbar>input{width:min(400px,100%)}.proto-iam-unit-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.proto-iam-unit-roles>div{display:grid;gap:8px;min-height:82px;border:1px solid #dedee2;border-radius:8px;padding:14px;background:#fff}.proto-iam-unit-roles small{color:#71717a;font-size:12px}.proto-iam-unit-roles strong{font-size:14px}.proto-approval-select{position:relative;margin:18px 0}.proto-approval-select>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;border:1px solid var(--mc-color-border);border-radius:8px;padding:8px 14px;background:var(--mc-color-surface);cursor:pointer;list-style:none;color:var(--mc-color-foreground);font-size:14px;font-weight:500;transition:border-color .12s ease,box-shadow .12s ease}.proto-approval-select>summary:focus-visible{outline:2px solid var(--mc-color-ring,var(--mc-color-primary));outline-offset:2px}.proto-approval-select>summary::-webkit-details-marker{display:none}.proto-approval-select>summary:after{width:8px;height:8px;border-right:2px solid var(--mc-color-muted-foreground);border-bottom:2px solid var(--mc-color-muted-foreground);content:"";transform:rotate(45deg) translateY(-2px);transition:transform .12s ease}.proto-approval-select[open]>summary:after{transform:rotate(225deg) translate(-2px,-1px)}.proto-approval-options{max-height:max(120px,min(280px,calc(90dvh - 300px)));min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;margin-top:4px;border:1px solid var(--mc-color-border);border-radius:10px;background:var(--mc-color-surface);box-shadow:0 4px 12px rgb(15 23 42/8%)}.proto-approval-options:focus-visible{outline:2px solid var(--mc-color-ring,var(--mc-color-primary));outline-offset:2px}.proto-approval-select .proto-approval-options label{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;margin:0;border:0;border-radius:0;padding:8px 12px;background:transparent;color:var(--mc-color-foreground);font-size:14px;line-height:1.35;text-align:left;cursor:pointer}.proto-approval-select .proto-approval-options label+label{border-top:1px solid var(--mc-color-border)}.proto-approval-select .proto-approval-options label:hover{background:var(--mc-color-background)}.proto-approval-select .proto-approval-options input[type=checkbox]{appearance:auto;width:16px;min-width:16px;min-height:16px;height:16px;flex:0 0 auto;margin:0;padding:0;accent-color:var(--mc-color-primary)}.proto-approval-options label>span{min-width:0;text-align:left}.proto-approval-options small{display:block;margin-top:1px;color:var(--mc-color-muted-foreground);font-size:12px;font-weight:400}.proto-directory-toolbar.is-row{align-items:flex-end}.proto-tree{overflow:hidden}.proto-tree-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;min-height:58px;align-items:center;gap:10px;border-bottom:1px solid var(--mc-color-border);padding:10px 12px}.proto-tree-row:last-child{border-bottom:0}.proto-legal-tax-row{padding-left:36px;background:var(--mc-color-background)}.proto-tree-row>div:not(.proto-tree-actions) small,.proto-tree-row>div:not(.proto-tree-actions) strong{display:block}.proto-tree-row small{margin-top:3px;color:var(--mc-color-muted-foreground);font-size:12px}.proto-tree-toggle{min-height:28px;border:0;padding:0;background:transparent;color:inherit;font-size:18px}.proto-inline-actions,.proto-tree-actions,.proto-tree-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.proto-empty{display:grid;min-height:120px;place-items:center;padding:40px;color:var(--mc-color-muted-foreground)}.proto-empty>div{text-align:center}.proto-empty p{margin:6px 0 0}.proto-empty-cell{padding:40px 16px;color:var(--mc-color-muted-foreground);text-align:center}.proto-empty-cell small,.proto-empty-cell strong{display:block}.proto-empty-cell small{margin-top:6px}.proto-fieldset{display:grid;gap:8px;margin:16px 0;border:1px solid var(--mc-color-border);border-radius:10px;padding:12px}.proto-fieldset legend{padding:0 4px;font-size:13px;font-weight:550}.proto-fieldset .proto-check-row{display:flex;align-items:center;flex-direction:row;gap:10px;margin:0}.proto-fieldset .proto-check-row input{width:16px;min-height:16px}.proto-account-filters{grid-template-columns:minmax(220px,1.5fr) 1fr 2fr}.proto-article-filters{grid-template-columns:minmax(220px,2fr) 1fr 1fr}.proto-tree-toolbar{margin-bottom:16px}.proto-tree-toolbar button{min-height:34px;padding:6px 12px;font-size:12px}.proto-article-table{min-width:720px}.proto-article-table th:first-child{width:48%}.proto-group-toggle{display:flex;width:100%;align-items:center;gap:12px}.proto-group-toggle span{width:16px;font-size:18px}.proto-group-toggle small{margin:0}.proto-article-table .article-indent{padding-left:56px}.proto-article-scope,.proto-article-type{display:inline-block;border-radius:6px;padding:3px 8px;background:var(--mc-color-background);color:var(--mc-color-muted-foreground);font-size:12px}.proto-article-type.is-income{background:#eaf8f2;color:#087c55}@media (max-width:1100px){.proto-request-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.proto-cash-filters,.proto-op-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.proto-bulk,.proto-section-head,.proto-title-row{align-items:stretch;flex-direction:column}.proto-title-row .proto-inline-actions,.proto-title-row>button{width:100%}.proto-title-row .proto-inline-actions button{flex:1 1}.proto-account-filters,.proto-article-filters,.proto-cash-filters,.proto-op-filters,.proto-request-filters{grid-template-columns:1fr}.proto-request-filters .is-wide{grid-column:auto}.proto-actual-toolbar,.proto-directory-toolbar,.proto-people-toolbar{align-items:stretch;flex-direction:column}.proto-directory-toolbar label input,.proto-directory-toolbar>input,.proto-people-toolbar input,.proto-people-toolbar select{width:100%}.proto-iam-unit-roles{grid-template-columns:1fr}.proto-tree-row{grid-template-columns:24px minmax(0,1fr)}.proto-tree-actions{grid-column:2;flex-wrap:wrap}.proto-metadata{grid-template-columns:1fr}}select:not([multiple]){appearance:none;overflow:hidden;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366789b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}select:not([multiple]):disabled{cursor:not-allowed}select option{background-color:var(--mc-color-surface);color:var(--mc-color-foreground)}.proto-cf-calendar{display:grid;gap:12px}.proto-request-filters[hidden]{display:none}.proto-cf-calendar-nav{display:flex;justify-content:space-between;align-items:center}.proto-cf-calendar-nav button{min-width:38px;min-height:38px}.proto-cf-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.proto-cf-calendar-grid span{align-self:center;color:#667085}.proto-cf-calendar-grid button{min-height:38px;border:1px solid #d8deea;border-radius:8px;background:#fff}.proto-cf-calendar-grid button.is-selected{color:#fff;background:#175cd3;border-color:#175cd3}.crm-tabs,.crm-toolbar,.crm-totals{display:flex;flex-wrap:wrap;gap:var(--mc-space-3);align-items:center;margin-block:var(--mc-space-3)}.crm-toolbar>.mc-control,.crm-toolbar>.mc-dictionary{width:auto;min-width:9rem;max-width:18rem}.crm-board{display:flex;gap:var(--mc-space-4);overflow-x:auto;max-width:100%;padding-bottom:var(--mc-space-4);align-items:flex-start}.crm-column{flex:0 0 19rem;display:grid;gap:var(--mc-space-3);min-width:0}.crm-column h2{border-top:5px solid var(--crm-stage-color,#2f5496);padding-top:var(--mc-space-3);gap:var(--mc-space-2);font-size:var(--mc-font-size-md);display:flex;align-items:center;justify-content:space-between}.crm-column .crm-board-card{display:grid;gap:var(--mc-space-1);padding:var(--mc-space-3);font-size:var(--mc-font-size-sm);line-height:var(--mc-line-normal);min-width:0}.crm-board-card h3,.crm-board-card p{margin:0;font-size:inherit}.crm-board-card h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:var(--mc-line-normal)}.crm-board-card-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--mc-space-2);min-width:0}.crm-board-card-meta strong{text-align:right;font-size:inherit;overflow-wrap:anywhere}.crm-board-card small{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-xs)}.crm-board-card-client,.crm-board-card-owner{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.crm-board-card-products{color:var(--mc-color-muted-foreground);overflow-wrap:anywhere}.crm-board-card-next{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--mc-space-2);min-width:0}.crm-board-card-next>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.crm-board-card-next:empty{display:none}.crm-board-card small.crm-warning,.crm-warning{color:var(--mc-color-warning)}.crm-dialog{width:min(64rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow-y:auto}.crm-dialog form{min-width:0}.crm-form-grid,.crm-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mc-space-4)}.crm-form-grid>*,.crm-overview>*{min-width:0}.crm-form-grid .mc-control{width:100%}.crm-tabs a{padding:var(--mc-space-2);color:var(--mc-color-muted-foreground)}.crm-tabs a[aria-current]{color:var(--mc-color-primary);border-bottom:2px solid}.crm-overview dt{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.crm-overview dd{margin:var(--mc-space-1) 0;overflow-wrap:anywhere}.crm-description{white-space:pre-wrap}.crm-close{display:grid;gap:var(--mc-space-3);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md);padding:var(--mc-space-4);margin-block:var(--mc-space-4)}.crm-history{padding-left:var(--mc-space-6)}.crm-history li{padding:var(--mc-space-3);border-bottom:1px solid var(--mc-color-border)}@media (max-width:600px){.crm-form-grid,.crm-overview{grid-template-columns:minmax(0,1fr)}.crm-toolbar>.mc-control,.crm-toolbar>.mc-dictionary{max-width:100%}}.crm-detail-dialog{width:min(88rem,calc(100vw - 2rem))}.crm-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}.crm-card-blocks,.crm-card-layout,.crm-client-participants,.crm-composer{display:grid;gap:var(--mc-space-4)}.crm-block{min-width:0;border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md);padding:var(--mc-space-4);margin-block:var(--mc-space-4);background:var(--mc-color-surface)}.crm-card-blocks>.crm-block{margin-block:0}.crm-block h3{margin:0 0 var(--mc-space-4);font-size:var(--mc-font-size-md)}.crm-block h4{margin-block:var(--mc-space-4) var(--mc-space-2)}.crm-product-lines{display:grid;gap:var(--mc-space-3);margin-block:var(--mc-space-3);justify-items:start}.crm-product-row{display:grid;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto;align-items:start;gap:var(--mc-space-2)}.crm-product-row>.mc-field{min-width:0}.crm-product-row>.mc-button{margin-top:25px}.crm-date-group{display:grid;gap:var(--mc-space-2)}.crm-date-group+.crm-date-group{margin-top:var(--mc-space-4)}.crm-date-list{display:grid;gap:var(--mc-space-2);align-content:start;justify-items:start}.crm-equipment-date-row{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--mc-space-2)}.crm-block .crm-overview,.crm-date-list>.crm-hint{margin:0}.crm-hint,.crm-message-meta,.crm-system-event small{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.crm-payment-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) auto;gap:var(--mc-space-3);align-items:end;margin-block:var(--mc-space-3)}.crm-payment-list,.crm-timeline{list-style:none;padding:0}.crm-payment-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--mc-space-2);padding-block:var(--mc-space-2);border-bottom:1px solid var(--mc-color-border)}.crm-payment-list li p{flex-basis:100%;margin:0;overflow-wrap:anywhere}.crm-conversation{min-width:0}.crm-conversation>.crm-block{margin-top:0}.crm-composer{padding-bottom:var(--mc-space-4);border-bottom:1px solid var(--mc-color-border)}.crm-check{display:flex;gap:var(--mc-space-2);align-items:center}.crm-pinned{padding:var(--mc-space-3);border:1px solid var(--mc-color-primary);border-radius:var(--mc-radius-md);margin-top:var(--mc-space-4)}.crm-pinned article+article{border-top:1px solid var(--mc-color-border)}.crm-message p,.crm-pinned p{overflow-wrap:anywhere}.crm-timeline{display:grid;gap:var(--mc-space-3)}.crm-message{padding:var(--mc-space-3);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md)}.crm-message-incoming{border-left:3px solid var(--mc-color-primary)}.crm-message-outgoing{margin-left:var(--mc-space-4)}.crm-message-note{background:var(--mc-color-surface-subtle)}.crm-message-meta,.crm-system-event{display:grid;gap:var(--mc-space-1)}.crm-system-event{padding:var(--mc-space-2) var(--mc-space-3);border-left:2px solid var(--mc-color-border);font-size:var(--mc-font-size-sm)}@media (max-width:900px){.crm-card-layout{grid-template-columns:minmax(0,1fr)}.crm-payment-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.crm-payment-row{grid-template-columns:minmax(0,1fr)}}.crm-work-page{--crm-work-header-height:10rem;display:grid;gap:var(--mc-space-4);min-width:0}.crm-work-header{position:sticky;top:0;z-index:25;display:grid;gap:var(--mc-space-3);padding-block:var(--mc-space-3);background:var(--mc-color-background);border-bottom:1px solid var(--mc-color-border)}.crm-back-link{width:fit-content;font-size:var(--mc-font-size-sm)}.crm-work-title{display:flex;justify-content:space-between;gap:var(--mc-space-4);align-items:start}.crm-work-title>.crm-followup-buttons{flex-shrink:0}.crm-work-title>div{min-width:0}.crm-work-title h1{margin:0;font-size:var(--mc-font-size-xl);line-height:var(--mc-line-tight);overflow-wrap:anywhere}.crm-work-title p{margin:var(--mc-space-2) 0 0;color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.crm-work-summary{display:flex;align-items:end;gap:var(--mc-space-6);flex-wrap:wrap}.crm-work-summary>div{min-width:0;display:grid;gap:var(--mc-space-1)}.crm-work-summary>div>span{color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.crm-work-summary .crm-stage-control{display:flex;flex-wrap:nowrap;width:min(32rem,100%);max-width:100%;flex:0 1 32rem;gap:var(--mc-space-2);align-items:center}.crm-stage-control>.mc-control,.crm-stage-control>.mc-dictionary{width:0;min-width:0;max-width:20rem;flex:1 1}.crm-stage-control>.mc-button{flex-shrink:0;white-space:nowrap}.crm-summary-money{display:block;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.crm-inline-edit{background:transparent;border:0;padding:0;color:var(--mc-color-primary);text-align:left;cursor:pointer;font:inherit}.crm-inline-edit:disabled{color:inherit;cursor:default}.crm-inline-edit:focus-visible{outline:2px solid var(--mc-color-focus);outline-offset:3px}.crm-actions{position:relative;flex-shrink:0}.crm-actions>summary{padding:var(--mc-space-2) var(--mc-space-3);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-sm);background:var(--mc-color-surface);cursor:pointer;font-size:var(--mc-font-size-sm)}.crm-actions-popover{position:absolute;z-index:30;right:0;top:calc(100% + var(--mc-space-2));width:min(19rem,calc(100vw - 3rem));display:grid;gap:var(--mc-space-1);padding:var(--mc-space-2);background:var(--mc-color-surface);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md);box-shadow:var(--mc-shadow-md)}.crm-actions-popover .mc-button{justify-content:start;white-space:normal;height:auto;min-height:var(--mc-control-height)}.crm-followup{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--mc-space-4);padding:var(--mc-space-4);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md);background:var(--mc-color-surface)}.crm-followup h2,.crm-handoff h2{font-size:var(--mc-font-size-md);margin:0;overflow-wrap:anywhere}.crm-followup p{margin:var(--mc-space-1) 0 0;color:var(--mc-color-muted-foreground);font-size:var(--mc-font-size-sm)}.crm-followup-overdue{background:var(--mc-color-warning-subtle);border-color:var(--mc-color-warning)}.crm-followup-overdue p{color:var(--mc-color-warning)}.crm-followup-buttons{display:flex;flex-wrap:wrap;gap:var(--mc-space-2)}.crm-work-columns{display:grid;gap:var(--mc-space-6);align-items:start}.crm-work-brief{display:grid;gap:var(--mc-space-4);min-width:0}.crm-work-brief>.crm-block{margin:0}.crm-block-heading{display:flex;justify-content:space-between;gap:var(--mc-space-2);align-items:center;margin-bottom:var(--mc-space-3)}.crm-block-heading h3{margin:0}.crm-work-brief .crm-block-heading>.mc-button{flex-shrink:0}.crm-composer summary,.crm-work-brief summary{cursor:pointer;color:var(--mc-color-primary);font-size:var(--mc-font-size-sm);padding-block:var(--mc-space-2)}.crm-work-brief details>.crm-overview{margin-top:var(--mc-space-2)}.crm-work-activity{min-width:0;border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md);background:var(--mc-color-surface);padding:var(--mc-space-4)}.crm-work-tabs{display:flex;flex-wrap:wrap;gap:var(--mc-space-2);border-bottom:1px solid var(--mc-color-border);margin-bottom:var(--mc-space-3)}.crm-work-tabs a{text-decoration:none}.crm-activity-feed{max-height:clamp(14rem,calc(100dvh - 34rem),38rem);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:var(--mc-space-1)}.crm-work-activity .crm-pinned{margin-top:0;background:var(--mc-color-warning-subtle);border-color:var(--mc-color-border)}.crm-pinned h4{margin:0}.crm-pinned article p{margin:var(--mc-space-2) 0}.crm-event-filters{display:flex;flex-wrap:wrap;gap:var(--mc-space-1);margin-block:var(--mc-space-3)}.crm-work-activity .crm-timeline{margin-bottom:0}.crm-work-activity .crm-composer{border:0;border-top:1px solid var(--mc-color-border);margin-top:var(--mc-space-3);padding-top:var(--mc-space-3);padding-bottom:0;gap:var(--mc-space-2)}.crm-work-activity .crm-composer textarea{min-height:5rem}.crm-work-activity .crm-composer details{margin:0}.crm-work-activity .crm-composer>.mc-button{justify-self:end}.crm-secondary-panel:empty{display:none}.crm-secondary-panel>form{display:grid;gap:var(--mc-space-3)}.crm-mobile-switch{display:none}.crm-project-reference{margin:0}.crm-handoff{display:flex;flex-wrap:wrap;align-items:center;gap:var(--mc-space-4);padding:var(--mc-space-4);border:1px solid var(--mc-color-border);border-radius:var(--mc-radius-md)}.crm-handoff .mc-control{max-width:24rem}.crm-quick-dialog{width:min(34rem,calc(100vw - 2rem))}.crm-quick-dialog .mc-dialog__body{display:grid;gap:var(--mc-space-4)}@media (max-width:1100px) and (min-width:761px){.crm-work-brief .crm-overview{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.crm-work-title{flex-wrap:wrap}.crm-work-header{position:static}.crm-work-title h1{font-size:var(--mc-font-size-lg)}.crm-work-summary{gap:var(--mc-space-3);align-items:start}.crm-work-summary .crm-stage-control{flex-basis:100%}.crm-mobile-switch{display:flex;gap:var(--mc-space-2)}.crm-mobile-switch>button{flex:1 1}.crm-work-columns{gap:0}.crm-work-columns[data-mobile-panel=activity] .crm-work-brief,.crm-work-columns[data-mobile-panel=details] .crm-work-activity{display:none}.crm-activity-feed{max-height:28rem}.crm-work-page .crm-event-filters button,.crm-work-page .crm-tabs a{min-height:44px;display:inline-flex;align-items:center}.crm-actions>summary,.crm-inline-edit{min-height:44px}}@media (max-height:650px){.crm-work-header{position:static}}.crm-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.crm-work-brief .crm-client-name{margin:0 0 var(--mc-space-3)}.crm-work-brief h4{font-size:var(--mc-font-size-sm);margin:0}.crm-work-brief hr{border:0;border-top:1px solid var(--mc-color-border);margin-block:var(--mc-space-3)}.crm-activity-feed:focus-visible{outline:2px solid var(--mc-color-focus);outline-offset:3px}@media (max-width:1000px){.crm-work-header{position:static}}.crm-create-page .crm-back-link{border:0;background:transparent;padding:0;cursor:pointer;font:inherit}.crm-create-grid{display:grid;grid-template-areas:"request communication" "client communication" "products communication" "venue communication" "dates communication" "finance communication";gap:var(--mc-space-4) var(--mc-space-6);padding:0;align-items:start}.crm-create-grid>.mc-alert{grid-column:1/-1}.crm-create-grid>.crm-block{min-width:0;margin:0}.crm-create-grid>[data-block="Запрос"]{grid-area:request}.crm-create-grid>[data-block="Клиент"]{grid-area:client}.crm-create-grid>[data-block="Продукты"]{grid-area:products}.crm-create-grid>[data-block="Место проведения"]{grid-area:venue}.crm-create-grid>[data-block="Календарь мероприятия"]{grid-area:dates}.crm-create-grid>[data-block="Финансы будущего проекта"]{grid-area:finance}.crm-create-grid>[data-block="Переписка и важные комментарии"]{grid-area:communication;align-self:stretch}.crm-create-grid details{margin-top:var(--mc-space-3)}.crm-create-grid summary{cursor:pointer;color:var(--mc-color-primary);padding-block:var(--mc-space-2)}.crm-create-activity-tabs{display:flex;flex-wrap:wrap;gap:var(--mc-space-4);border-bottom:1px solid var(--mc-color-border);padding-bottom:var(--mc-space-3);color:var(--mc-color-muted-foreground)}.crm-create-activity-tabs [aria-current]{color:var(--mc-color-primary)}.crm-create-empty{padding:var(--mc-space-8) var(--mc-space-4);max-width:36rem;margin-inline:auto;text-align:center}.crm-create-footer{padding-inline:0;margin-top:var(--mc-space-4)}@media (max-width:1000px){.crm-create-grid .crm-form-grid,.crm-work-brief .crm-form-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.crm-create-grid{display:flex;flex-direction:column}.crm-create-grid>*{width:100%}.crm-create-page .crm-work-title{flex-wrap:wrap}}.crm-block[hidden]{display:none}.crm-work-data{min-width:0}.crm-data-tabs{margin-bottom:var(--mc-space-4)}.crm-create-grid[data-detail-tab=request]{grid-template-areas:"request communication" "products communication" "venue communication" "dates communication"}.crm-create-grid[data-detail-tab=client]{grid-template-areas:"client communication"}.crm-create-grid[data-detail-tab=finance]{grid-template-areas:"finance"}@media (max-width:760px){.crm-work-columns[data-mobile-panel=activity] .crm-work-data{display:none}}:is(.crm-work-page,.crm-dialog,.crm-quick-dialog) .mc-field{gap:var(--mc-space-1)}:is(.crm-work-page,.crm-dialog,.crm-quick-dialog) .mc-field__footer:not(:has(.mc-field__message,.mc-field__description,.mc-field__counter)){display:none}:is(.crm-work-page,.crm-dialog,.crm-quick-dialog) .crm-form-grid{row-gap:var(--mc-space-2)}.crm-composer,:is(.crm-work-page,.crm-dialog) .crm-client-participants{gap:var(--mc-space-2)}.crm-request-identity>.mc-field:first-child{grid-column:1/-1}@media (min-width:761px){.crm-create-grid .crm-request-identity,.crm-work-brief .crm-request-identity{grid-template-columns:repeat(2,minmax(0,1fr))}}.crm-block>.crm-form-grid+:is(.crm-form-grid,.mc-field,.crm-client-participants){margin-top:var(--mc-space-2)}.crm-block{padding:18px 20px 22px}.crm-block-heading{margin-bottom:22px}.crm-block-heading h3{font-size:13px;font-weight:500;line-height:1.5}:is(.crm-work-page,.crm-dialog,.crm-quick-dialog) .mc-field:has(>.mc-dictionary){gap:6px}.app-navigation summary,.app-navigation__direct{font-size:13px;font-weight:400}.app-navigation a[aria-current=page],.app-navigation details:has(a[aria-current=page])>summary{font-weight:500}}@layer monoceros-layout{.crm-work-columns[data-detail-tab=finance]>.crm-work-activity{display:none}.crm-finance{display:grid;gap:var(--mc-space-4);min-width:0}.crm-finance-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--mc-space-3);flex-wrap:wrap}.crm-finance-heading h4,.crm-finance-heading p{margin:0}.crm-finance .proto-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:760px){.crm-work-columns[data-detail-tab=finance][data-mobile-panel=activity]>.crm-work-activity{display:block}}}@layer monoceros-layout{.app-shell:has(.crm-work-page[data-finance-expanded=true]){grid-template-columns:minmax(0,1fr)}.app-shell:has(.crm-work-page[data-finance-expanded=true])>:is(.app-shell__desktop-sidebar,.app-shell__expand){display:none}.app-shell:has(.crm-work-page[data-finance-expanded=true])>.app-shell__workspace{grid-column:1}.app-shell:has(.crm-work-page[data-finance-expanded=true]) .app-topbar{display:none}.app-content:has(.crm-work-page[data-finance-expanded=true]){padding:var(--mc-space-4)}.crm-work-page[data-finance-expanded=true]{min-height:calc(100dvh - var(--mc-space-8));align-content:start}.crm-work-page[data-finance-expanded=true] .crm-work-summary{display:none}.crm-work-page[data-finance-expanded=true] [data-block="Финансы будущего проекта"]{border:0;border-radius:0;padding:0;background:transparent}.crm-work-page[data-finance-expanded=true] [data-block="Финансы будущего проекта"]>.crm-block-heading{display:none}.crm-flight-calendars{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--k-space-4)}.production-chevron-down{display:inline-flex;transform:rotate(90deg)}}@layer monoceros-layout{}.crm-schedule{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:var(--k-space-6);align-items:start}.crm-schedule-calendar,.crm-schedule-fields{min-width:0}.crm-schedule-row{display:flex;align-items:center;gap:var(--k-space-1);flex-wrap:wrap;margin-top:var(--k-space-1)}.crm-schedule-choice{flex:1 1;height:auto!important;min-height:var(--k-control-md);justify-content:flex-start!important;text-align:left;white-space:normal}.crm-schedule-choice[aria-pressed=true]{border-color:var(--k-color-brand);background:var(--k-color-brand-soft)}.crm-schedule-choice-text{min-width:0;display:grid;gap:var(--k-space-1)}.crm-schedule-choice small{color:var(--k-color-muted);font-size:var(--k-font-caption);font-weight:400;overflow-wrap:anywhere}.crm-schedule-dot{width:8px;height:8px;border-radius:var(--k-radius-pill);flex-shrink:0}.crm-schedule-calendar .k-date-picker{max-width:none}@media (max-width:760px){.crm-schedule{grid-template-columns:minmax(0,1fr);gap:var(--k-space-3)}}.crm-schedule-fields{display:grid;align-content:start;gap:var(--k-space-3)}.crm-schedule-fields>.crm-hint{margin:0}.crm-schedule-group{padding:var(--k-space-3);border:1px solid var(--k-color-border);border-radius:var(--k-radius-sm)}.crm-schedule-group h4{margin:0 0 var(--k-space-2);font-size:var(--k-font-ui);font-weight:500}.crm-schedule-group-buttons{display:grid;gap:var(--k-space-2);grid-template-columns:minmax(0,1fr)}.crm-schedule-group-buttons[data-paired=true]{grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr))}.crm-schedule-group .crm-schedule-row{margin-top:0}.crm-work-page .crm-schedule{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:var(--k-space-6)}@media (max-width:760px){.crm-work-page .crm-schedule{grid-template-columns:minmax(0,1fr)}}#crm-request-editor,#crm-request-view,.crm-data-tabs{min-width:0;max-width:100%}.crm-data-tabs{width:100%}.crm-create-grid>[data-block="Календарь мероприятия"],.crm-work-brief>[data-block="Календарь мероприятия"]{container:crm-schedule-layout/inline-size}@container crm-schedule-layout (max-width: 500px){.crm-work-page .crm-schedule{grid-template-columns:minmax(0,1fr)}}.crm-card-columns{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:var(--mc-space-6)}@media (min-width:761px) and (max-width:1000px){.crm-card-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.crm-card-columns{grid-template-columns:minmax(0,1fr);column-gap:0}}.crm-card-columns[data-detail-tab=finance]{grid-template-columns:minmax(0,1fr)}.crm-stage-color-value{display:inline-flex;align-items:center;gap:var(--mc-space-2);white-space:nowrap}.crm-stage-color-swatch{display:inline-block;width:1rem;height:1rem;border-radius:50%;border:1px solid var(--mc-border-color,#ddd)}.crm-board>.crm-column[data-drop-active=true]{background:color-mix(in srgb,var(--crm-stage-color) 10%,transparent);outline:2px dashed var(--crm-stage-color);outline-offset:2px;border-radius:var(--mc-radius-md)}.crm-party-records{min-width:0;overflow-wrap:anywhere}.crm-party-records>*{min-width:0}.crm-party-text{white-space:pre-wrap}.directory-dialog--wide{width:min(960px,calc(100% - 32px))}.crm-party-records>:has(>.k-tabs),.k-react-tab-panel,.mc-page>:has(>.k-tabs){min-width:0;max-width:100%}.crm-product-row>.mc-field{gap:6px}.crm-product-row .k-dictionary>.k-label,.crm-product-row .mc-field__label{min-height:calc(var(--k-font-ui) * 1.5)}.directory-workspace{min-width:0;width:100%;display:grid;gap:var(--k-space-6);border:1px solid var(--k-color-border);border-radius:var(--k-radius-md);background:var(--k-color-surface);padding:var(--k-space-6)}.directory-page-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--k-space-5);padding-bottom:var(--k-space-6);border-bottom:1px solid var(--k-color-border);min-width:0}.directory-page-header>div{min-width:0}.directory-page-header h1{margin:var(--k-space-1) 0 var(--k-space-2);font-size:var(--k-font-heading);line-height:1.3;font-weight:600}.directory-page-header p{margin-block:0}.directory-page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--k-space-3);min-width:0;max-width:100%}.directory-page-actions .k-button{max-width:100%;white-space:normal;text-align:center}.directory-filters{display:flex;align-items:flex-start;flex-wrap:wrap;gap:var(--k-space-4);min-width:0}.directory-filters>:is(.k-field,.mc-field){flex:1 1 200px;max-width:320px;min-width:0}.directory-filters>:is(.k-field,.mc-field):has(input:not([type]),input[type=text],input[type=search]){flex:2 1 240px;max-width:480px}.directory-filters :is(.k-field,.mc-field){gap:7px}.directory-filters .k-label{min-height:calc(var(--k-font-ui) * 1.5)}.directory-filters>.k-button{align-self:flex-end;max-width:100%}.directory-collection{display:grid;gap:var(--k-space-5);min-width:0}.directory-collection .k-object-list-branch>summary{flex-wrap:wrap}.directory-collection .k-object-list-row-actions{flex-wrap:wrap;max-width:100%}.directory-action--danger{color:var(--k-color-danger-text)}.directory-page-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--k-space-3);border-top:1px solid var(--k-color-border);padding-top:var(--k-space-4);color:var(--k-color-muted);font-size:var(--k-font-caption)}.directory-unit-roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:var(--k-space-4);padding:var(--k-space-4);border:1px solid var(--k-color-border);border-radius:var(--k-radius-sm)}.directory-unit-roles small{display:block;color:var(--k-color-muted)}.directory-dialog .k-dialog-body{display:grid;gap:var(--k-space-4)}.directory-fieldset{margin:0;padding:var(--k-space-4);border:1px solid var(--k-color-border);border-radius:var(--k-radius-sm)}.directory-fieldset .k-choice{display:flex;margin-top:var(--k-space-3)}.directory-section{border-top:1px solid var(--k-color-border);padding-block:var(--k-space-4)}.directory-empty{color:var(--k-color-muted);text-align:center}.directory-success{color:var(--k-color-success-text)}@media (max-width:550px){.directory-workspace{padding:var(--k-space-4);gap:var(--k-space-5)}.directory-page-actions{width:100%}.directory-page-actions>.k-button{flex:1 1 auto}.directory-filters>:is(.k-field,.mc-field){flex:1 1 100%;max-width:100%;width:100%}.directory-filters>.k-button{width:100%}.directory-collection .k-object-list-row>.k-object-list-content{flex-basis:calc(100% - 40px)}.directory-collection .k-object-list-branch>summary>.k-object-list-content{flex-basis:calc(100% - 48px)}.directory-collection .k-object-list-count,.directory-collection .k-object-list-row-actions{margin-left:auto}}.crm-company-office-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:var(--mc-space-2)}.crm-company-office-row>.mc-field{min-width:0}.crm-company-matches{display:grid;gap:var(--mc-space-2)}.crm-company-match{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--mc-space-3)}.crm-company-match>strong{min-width:0;flex:1 1 10rem;overflow-wrap:anywhere}.crm-company-match>.mc-button{flex:0 0 auto}