/* Udyojak CRM v5.9.5 final shell guard; mobile/navigation/polish remain final cascade owners. */

/* ---- source: mobile-shell-recovery-v592.css ---- */
/*
 * Udyojak CRM v5.9.2 — Mobile Shell Recovery
 * Owns only application-shell behavior at <=760px. It deliberately excludes
 * isolated print/document surfaces and does not change business workflows.
 */
body.ucf-app-page{--ucf-v592-mobile-header:58px;--ucf-v592-mobile-nav:62px}

/* Desktop semantics for the Quick Create split markup introduced by v5.9.2. */
body.ucf-app-page .ucf-subscribe .ucf-quick-create-icon{display:inline-grid;place-items:center;line-height:1}
body.ucf-app-page .ucf-subscribe .ucf-quick-create-label{display:inline}

@media(max-width:760px){
  /* Canonical mobile shell contract: one header row, one content row, one
     bottom-navigation row. No legacy/sidebar selector may re-enter this grid. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:var(--ucf-v592-mobile-header) minmax(0,1fr) calc(var(--ucf-v592-mobile-nav) + var(--ucf-safe-bottom,0px))!important;
    width:100%!important;
    min-width:0!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    position:relative!important;
  }

  /* P0 recovery: the desktop context sidebar is never a mobile surface. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-sidebar,
  body.ucf-app-page.ucf-v520-ui:not(.ucf-print-isolated) .ucf-sidebar,
  body.ucf-app-page.ucf-v510-ui:not(.ucf-print-isolated) .ucf-sidebar{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    position:static!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    overflow:hidden!important;
    z-index:-1!important;
  }

  /* Main content must remain the visible owner of row 2 regardless of old
     appearance/focus/sidebar preference classes. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-main,
  body.ucf-app-page.ucf-v510-ui:not(.ucf-print-isolated) .ucf-main,
  body.ucf-app-page.ucf-v520-ui:not(.ucf-print-isolated) .ucf-main{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    grid-column:1!important;
    grid-row:2!important;
    position:relative!important;
    inset:auto!important;
    z-index:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-main>.ucf-page{width:100%!important;max-width:100%!important;min-width:0!important}

  /* Compact mobile header: brand + Quick Create icon + notifications + More. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-topbar{
    grid-column:1!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    width:100%!important;
    min-width:0!important;
    height:var(--ucf-v592-mobile-header)!important;
    min-height:var(--ucf-v592-mobile-header)!important;
    overflow:hidden!important;
    position:relative!important;
    z-index:45!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-brand{
    grid-column:1!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    gap:4px!important;
    padding:0 4px 0 10px!important;
    border-right:0!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-shell-brand-logo-main{
    display:block!important;
    width:min(112px,30vw)!important;
    max-width:112px!important;
    height:34px!important;
    flex:0 1 auto!important;
    object-fit:contain!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-shell-brand-logo-compact,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-shell-collapse{display:none!important}
  body.ucf-app-page.ucf-mode-staging:not(.ucf-print-isolated) .ucf-brand::after,
  body.ucf-app-page.ucf-mode-production:not(.ucf-print-isolated) .ucf-brand::after{
    flex:0 0 auto!important;
    margin-left:2px!important;
    padding:3px 4px!important;
    font-size:7px!important;
    letter-spacing:.04em!important;
    white-space:nowrap!important;
  }

  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions{
    grid-column:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    min-width:0!important;
    width:auto!important;
    gap:3px!important;
    padding:0 7px 0 2px!important;
    overflow:visible!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-page-search-trigger,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-network-badge,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions [data-ui-density-toggle],
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions [data-route="theme"],
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-exec-tools,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-user{display:none!important}

  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-subscribe{
    order:1!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    font-size:0!important;
    line-height:1!important;
  }
  /* Overrides the older generic `.ucf-subscribe span{display:none!important}`. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-subscribe .ucf-quick-create-label{display:none!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions .ucf-subscribe .ucf-quick-create-icon{
    display:inline-grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    font-size:20px!important;
    line-height:1!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-notification-button{
    order:2!important;display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-menu-trigger{
    order:3!important;display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important
  }

  /* Bottom nav is the sole primary navigation on phones. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-nav{
    display:grid!important;
    grid-column:1!important;
    grid-row:3!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    position:relative!important;
    inset:auto!important;
    z-index:50!important;
    width:100%!important;
    min-width:0!important;
    min-height:var(--ucf-v592-mobile-nav)!important;
    margin:0!important;
  }

  /* More is a modal sheet, never another full-height sidebar. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-sheet-layer{z-index:1000!important}
  body.ucf-app-page:not(.ucf-print-isolated).ucf-v592-mobile-shell .ucf-mobile-sheet{max-height:min(84dvh,760px)!important}
}

@media(max-width:390px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-shell-brand-logo-main{width:min(102px,28vw)!important;max-width:102px!important}
  body.ucf-app-page.ucf-mode-staging:not(.ucf-print-isolated) .ucf-brand::after,
  body.ucf-app-page.ucf-mode-production:not(.ucf-print-isolated) .ucf-brand::after{font-size:6.5px!important;padding:3px!important;margin-left:0!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-top-actions{gap:2px!important;padding-right:5px!important}
}


/* ---- source: navigation-architecture-v593.css ---- */
/*
 * Udyojak CRM v5.9.3 — Unified Navigation Architecture
 * Owns navigation presentation only. No document, finance, automation or mobile-shell workflow ownership.
 */

.ucf-nav-svg{display:block;width:17px;height:17px;flex:0 0 17px;pointer-events:none}
.ucf-nav-icon .ucf-nav-svg{width:16px;height:16px}
.ucf-mobile-nav .ucf-nav-svg{width:19px;height:19px}
.ucf-mobile-module .ucf-nav-svg,.ucf-mobile-route .ucf-nav-svg{width:18px;height:18px}

/* The logo is the desktop Home / Business Command Center affordance. */
.ucf-brand-home{display:flex;align-items:center;justify-content:center;min-width:0;padding:0;border:0;background:transparent;color:inherit;border-radius:8px;cursor:pointer}
.ucf-brand-home:focus-visible{outline:2px solid var(--ucf-v51-accent,var(--ucf-accent,#f58220));outline-offset:2px}
.ucf-brand-home.is-active .ucf-shell-brand-logo{box-shadow:0 0 0 1px color-mix(in srgb,var(--ucf-v51-accent,var(--ucf-accent,#f58220)) 42%,transparent)}

@media(min-width:761px){
  /* Home is a true independent Command Center. It does not borrow Finance's sidebar. */
  body.ucf-app-page .ucf-shell-home>.ucf-sidebar{display:none!important}
  body.ucf-app-page .ucf-shell-home>.ucf-main{grid-column:1/-1!important;grid-row:2!important}

  /* The duplicate sidebar identity card was removed from markup. Reclaim its dead reservation. */
  body.ucf-app-page .ucf-nav{padding-bottom:14px!important}
  body.ucf-app-page .ucf-sidebar{padding-bottom:10px!important}

  /* v6.2.3 owns direct desktop module presentation; legacy horizontal scrolling/overflow ownership is disabled. */
  body.ucf-app-page .ucf-modulebar,
  body.ucf-v510-ui .ucf-modulebar,
  body.ucf-v520-ui .ucf-modulebar{
    overflow:visible!important;
    position:relative!important;
  }
  body.ucf-app-page .ucf-module-button>span{display:grid!important;place-items:center!important}
  body.ucf-app-page .ucf-module-button>span .ucf-nav-svg{width:15px;height:15px}

  /* v6.2.3 desktop navigation: every permitted workspace stays directly visible. */
  .ucf-module-overflow,.ucf-module-overflow-trigger,.ucf-module-overflow-menu{display:none!important}

  body.ucf-app-page .ucf-modulebar{
    display:flex!important;align-items:center!important;gap:4px!important;padding:0 8px!important;min-width:0!important;
  }
  body.ucf-app-page .ucf-module-button{
    flex:0 1 auto!important;min-width:58px!important;height:36px!important;padding:0 7px!important;gap:4px!important;
  }
  body.ucf-app-page .ucf-module-button>small{font-size:9.5px!important;font-weight:700!important;white-space:nowrap!important}
  body.ucf-app-page .ucf-module-button[aria-current="page"]{
    background:var(--ucf-v51-accent,var(--ucf-accent,#f58220))!important;color:#fff!important;
  }
}

/* Direct desktop modules remain visible at every desktop width. Compact the
   header progressively instead of moving workspaces behind another click. */
@media(min-width:761px) and (max-width:1350px){
  body.ucf-app-page .ucf-modulebar{gap:2px!important;padding-inline:5px!important}
  body.ucf-app-page .ucf-module-button{min-width:50px!important;padding-inline:5px!important}
  body.ucf-app-page .ucf-module-button>small{font-size:9px!important}
  body.ucf-app-page .ucf-top-actions{gap:4px!important;padding-right:6px!important}
}
@media(min-width:761px) and (max-width:1120px){
  body.ucf-app-page .ucf-module-button{min-width:44px!important;padding-inline:4px!important}
  body.ucf-app-page .ucf-module-button>small{font-size:8.5px!important}
  body.ucf-app-page .ucf-module-button>span .ucf-nav-svg{width:14px!important;height:14px!important}
  body.ucf-app-page .ucf-subscribe{width:36px!important;min-width:36px!important;padding:0!important;justify-content:center!important}
  body.ucf-app-page .ucf-subscribe .ucf-quick-create-label{display:none!important}
  body.ucf-app-page .ucf-top-actions [data-ui-density-toggle],
  body.ucf-app-page .ucf-top-actions [data-route="theme"]{display:none!important}
}
@media(min-width:761px) and (max-width:920px){
  body.ucf-app-page{--ucf-ds-sidebar:164px}
  body.ucf-app-page .ucf-brand{padding-inline:8px!important}
  body.ucf-app-page .ucf-shell-brand-logo-main{max-width:104px!important}
  body.ucf-app-page .ucf-modulebar{gap:1px!important;padding-inline:3px!important}
  body.ucf-app-page .ucf-module-button{min-width:40px!important;padding-inline:3px!important}
  body.ucf-app-page .ucf-module-button>small{font-size:8px!important}
  body.ucf-app-page .ucf-top-actions{gap:2px!important}
}

@media(max-width:760px){
  /* v5.9.2 remains the mobile-shell owner. v5.9.3 only normalizes icons/active semantics. */
  .ucf-module-overflow{display:none!important}
  .ucf-brand-home{max-width:min(112px,31vw)}
  .ucf-brand-home .ucf-shell-brand-logo-main{max-width:100%!important}
  .ucf-mobile-nav button>span:first-child{display:grid!important;place-items:center!important;min-height:21px}
  .ucf-mobile-nav button>span:first-child .ucf-nav-svg{width:19px;height:19px}
  .ucf-mobile-module>span:first-child,.ucf-mobile-route>span:first-child{display:grid!important;place-items:center!important}
}


/* ---- source: executive-ui-polish-v594.css ---- */
/*
 * Udyojak CRM v5.9.4 — Executive UI Polish
 * Presentation-only final normalization layer.
 * Ownership exclusions: navigation (v5.9.3), mobile shell/PWA (v5.9.2), A4 documents,
 * quotation/invoice/payment calculations, automation and project-delivery workflows.
 */
body.ucf-app-page.ucf-v594-ui{
  --ucf-v594-page-max:1720px;
  --ucf-v594-page-x:20px;
  --ucf-v594-page-y:20px;
  --ucf-v594-gap-xs:6px;
  --ucf-v594-gap-sm:8px;
  --ucf-v594-gap-md:12px;
  --ucf-v594-gap-lg:16px;
  --ucf-v594-radius-sm:8px;
  --ucf-v594-radius-md:11px;
  --ucf-v594-radius-lg:14px;
  --ucf-v594-control-h:38px;
  --ucf-v594-touch:44px;
  --ucf-v594-border:color-mix(in srgb,var(--ucf-border,#d8e1eb) 90%,transparent);
  --ucf-v594-border-strong:color-mix(in srgb,var(--ucf-border,#d8e1eb) 74%,var(--ucf-text,#101828) 26%);
  --ucf-v594-shadow:0 1px 2px rgba(15,23,42,.035),0 7px 20px rgba(15,23,42,.035);
  --ucf-v594-shadow-float:0 16px 42px rgba(15,23,42,.13);
  --ucf-v594-focus:0 0 0 3px color-mix(in srgb,var(--ucf-primary,#f58220) 20%,transparent);
  --ucf-v594-muted:var(--ucf-muted,#667085);
  --ucf-v594-accent:var(--ucf-primary,#f58220);
}

/* Page rhythm + typography. */
body.ucf-app-page.ucf-v594-ui .ucf-main>.ucf-page{
  width:100%;max-width:var(--ucf-v594-page-max)!important;
  padding:var(--ucf-v594-page-y) var(--ucf-v594-page-x) 38px!important;
  margin-inline:auto!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-page-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:var(--ucf-v594-gap-lg)!important;margin-bottom:16px!important;min-width:0;
}
body.ucf-app-page.ucf-v594-ui .ucf-page-head>div:first-child{min-width:0;padding-top:1px}
body.ucf-app-page.ucf-v594-ui .ucf-page-head h1{
  margin:0 0 4px!important;font-size:24px!important;line-height:1.18!important;
  letter-spacing:-.025em!important;font-weight:760!important;color:var(--ucf-text,#101828);
}
body.ucf-app-page.ucf-v594-ui .ucf-page-head p{
  margin:0!important;max-width:760px;font-size:12.5px!important;line-height:1.5!important;
  color:var(--ucf-v594-muted)!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-section{margin-top:16px!important}
body.ucf-app-page.ucf-v594-ui .ucf-section-heading{gap:12px;margin-bottom:10px}
body.ucf-app-page.ucf-v594-ui .ucf-section-heading h2{font-size:15px;letter-spacing:-.01em}
body.ucf-app-page.ucf-v594-ui .ucf-section-heading p{font-size:11px;line-height:1.45;color:var(--ucf-v594-muted)}

/* Action hierarchy. */
body.ucf-app-page.ucf-v594-ui .ucf-page-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:7px!important;flex-wrap:wrap;min-width:0;
}
body.ucf-app-page.ucf-v594-ui .ucf-button{
  min-height:var(--ucf-v594-control-h);padding:7px 11px!important;border-radius:var(--ucf-v594-radius-sm)!important;
  border-color:var(--ucf-v594-border)!important;box-shadow:none!important;font-size:11.5px!important;
  font-weight:680!important;line-height:1.2;transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;
}
body.ucf-app-page.ucf-v594-ui .ucf-button:hover{border-color:var(--ucf-v594-border-strong)!important;transform:translateY(-1px)}
body.ucf-app-page.ucf-v594-ui .ucf-button:active{transform:translateY(0)}
body.ucf-app-page.ucf-v594-ui .ucf-button:focus-visible,
body.ucf-app-page.ucf-v594-ui .ucf-mini-button:focus-visible,
body.ucf-app-page.ucf-v594-ui .ucf-icon-button:focus-visible{outline:0!important;box-shadow:var(--ucf-v594-focus)!important}
body.ucf-app-page.ucf-v594-ui .ucf-button-primary{
  border-color:var(--ucf-v594-accent)!important;background:var(--ucf-v594-accent)!important;color:#fff!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-button-primary:hover{filter:brightness(.97)}
body.ucf-app-page.ucf-v594-ui .ucf-button-danger{box-shadow:none!important}
body.ucf-app-page.ucf-v594-ui .ucf-icon-button,
body.ucf-app-page.ucf-v594-ui .ucf-mini-button{border-radius:8px!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
body.ucf-app-page.ucf-v594-ui .ucf-row-actions{gap:5px!important;align-items:center;justify-content:flex-start}
body.ucf-app-page.ucf-v594-ui .ucf-mini-button{width:32px!important;height:32px!important;min-width:32px!important;border-color:var(--ucf-v594-border)!important}

/* Cards: one restrained enterprise surface language. */
body.ucf-app-page.ucf-v594-ui .ucf-card:not(.ucf-document-set):not(.ucf-a4-sheet),
body.ucf-app-page.ucf-v594-ui .ucf-table-card{
  border:1px solid var(--ucf-v594-border)!important;border-radius:var(--ucf-v594-radius-md)!important;
  box-shadow:var(--ucf-v594-shadow)!important;background:var(--ucf-panel,#fff);
}
body.ucf-app-page.ucf-v594-ui .ucf-card-pad{padding:15px!important}
body.ucf-app-page.ucf-v594-ui .ucf-card-title{margin-bottom:10px!important;font-size:12.5px!important;font-weight:760!important;line-height:1.3}
body.ucf-app-page.ucf-v594-ui .ucf-card-title small{font-size:10px!important;color:var(--ucf-v594-muted)!important}
body.ucf-app-page.ucf-v594-ui .ucf-grid{gap:12px!important}
body.ucf-app-page.ucf-v594-ui .ucf-metric{min-height:92px!important}
body.ucf-app-page.ucf-v594-ui .ucf-metric-label{font-size:10px!important;font-weight:680!important;letter-spacing:.01em}
body.ucf-app-page.ucf-v594-ui .ucf-metric-value{font-variant-numeric:tabular-nums;letter-spacing:-.02em}

/* Search/filter bars share a single control baseline. */
body.ucf-app-page.ucf-v594-ui .ucf-toolbar,
body.ucf-app-page.ucf-v594-ui .ucf-client-toolbar,
body.ucf-app-page.ucf-v594-ui .ucf-audit-toolbar{
  gap:8px!important;margin-bottom:12px!important;align-items:center!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-input,
body.ucf-app-page.ucf-v594-ui .ucf-select{
  min-height:var(--ucf-v594-control-h)!important;height:var(--ucf-v594-control-h);
  padding:7px 10px!important;border-radius:var(--ucf-v594-radius-sm)!important;border-color:var(--ucf-v594-border)!important;
  font-size:11.5px!important;line-height:1.25;
}
body.ucf-app-page.ucf-v594-ui .ucf-textarea{
  min-height:96px;padding:9px 10px!important;border-radius:var(--ucf-v594-radius-sm)!important;
  border-color:var(--ucf-v594-border)!important;font-size:11.5px!important;line-height:1.45;
}
body.ucf-app-page.ucf-v594-ui .ucf-input:focus,
body.ucf-app-page.ucf-v594-ui .ucf-select:focus,
body.ucf-app-page.ucf-v594-ui .ucf-textarea:focus{border-color:var(--ucf-v594-accent)!important;box-shadow:var(--ucf-v594-focus)!important}
body.ucf-app-page.ucf-v594-ui .ucf-search-wrap:before{left:11px!important;font-size:13px;color:var(--ucf-v594-muted)}
body.ucf-app-page.ucf-v594-ui .ucf-search-wrap .ucf-input{padding-left:32px!important}

/* Forms: compact, readable hierarchy. */
body.ucf-app-page.ucf-v594-ui .ucf-form-grid{gap:12px 14px!important}
body.ucf-app-page.ucf-v594-ui .ucf-field>span{
  margin-bottom:5px!important;font-size:10.5px!important;font-weight:720!important;line-height:1.35;color:var(--ucf-text,#101828)!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-field>small{display:block;margin-top:5px;font-size:9.5px;line-height:1.4;color:var(--ucf-v594-muted)}
body.ucf-app-page.ucf-v594-ui input:disabled,
body.ucf-app-page.ucf-v594-ui select:disabled,
body.ucf-app-page.ucf-v594-ui textarea:disabled{opacity:.62;cursor:not-allowed}

/* Data tables: density, sticky headings and stable numeric reading. */
body.ucf-app-page.ucf-v594-ui .ucf-table-card{overflow:hidden!important}
body.ucf-app-page.ucf-v594-ui .ucf-table-wrap{overflow:auto!important;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table){border-collapse:separate!important;border-spacing:0!important}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) thead th{
  position:sticky;top:0;z-index:5;min-height:38px;padding:9px 10px!important;
  border-bottom:1px solid var(--ucf-v594-border)!important;background:var(--ucf-panel,#fff)!important;
  color:var(--ucf-v594-muted)!important;font-size:9px!important;font-weight:780!important;line-height:1.25;
  letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;
}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) tbody td{
  min-height:48px;padding:10px!important;border-bottom:1px solid color-mix(in srgb,var(--ucf-v594-border) 76%,transparent)!important;
  font-size:11px!important;line-height:1.38;vertical-align:middle!important;
}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) tbody tr:last-child td{border-bottom:0!important}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) tbody tr:hover td{background:color-mix(in srgb,var(--ucf-v594-accent) 2.8%,var(--ucf-panel,#fff))!important}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) .ucf-person-name{
  max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.25px!important;font-weight:740!important;
}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) .ucf-person-email,
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) .ucf-table-sub{
  max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px!important;
}
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) td[data-v594-numeric="1"],
body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) td[data-ucf-financial="1"]{
  text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;
}
body.ucf-app-page.ucf-v594-ui .ucf-pagination{min-height:42px;padding:8px 10px!important;border-top:1px solid var(--ucf-v594-border)!important;font-size:10px!important}
body.ucf-app-page.ucf-v594-ui .ucf-page-button{min-width:30px;height:30px;border-radius:7px!important}

/* Semantic badges remain semantic: orange = action/accent, green = success, red = risk. */
body.ucf-app-page.ucf-v594-ui .ucf-stage-pill,
body.ucf-app-page.ucf-v594-ui .ucf-source-pill,
body.ucf-app-page.ucf-v594-ui .ucf-status-pill,
body.ucf-app-page.ucf-v594-ui [class*="ucf-client-status"]{
  min-height:22px;padding:3px 7px!important;border-radius:999px!important;font-size:9px!important;font-weight:740!important;line-height:1.15;
}

/* Quick Peek: slimmer, calmer and easier to scan. */
@media(min-width:1180px){
  body.ucf-app-page.ucf-v594-ui .ucf-v550-split-page.is-split-enabled .ucf-v550-split-grid{grid-template-columns:minmax(0,1fr) 294px!important;gap:12px!important}
}
body.ucf-app-page.ucf-v594-ui .ucf-v550-quickpeek{
  top:76px!important;padding:14px!important;border-radius:var(--ucf-v594-radius-md)!important;box-shadow:var(--ucf-v594-shadow)!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-head{margin-bottom:11px!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-identity{margin-bottom:9px!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-identity>span{width:36px!important;height:36px!important;border-radius:10px!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-identity h3{font-size:13.5px!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-facts>div{display:grid;grid-template-columns:minmax(82px,.65fr) minmax(0,1fr);gap:8px;align-items:center;padding:8px 0!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-facts small{font-size:7.8px!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-facts b{margin:0!important;text-align:right;font-size:10px!important}
body.ucf-app-page.ucf-v594-ui .ucf-v550-peek-actions{grid-template-columns:1fr!important;gap:6px!important}

/* Empty and loading states are intentionally quiet. */
body.ucf-app-page.ucf-v594-ui .ucf-v594-empty{
  position:relative!important;display:grid!important;place-items:center!important;align-content:center!important;
  min-height:112px!important;padding:24px 16px!important;text-align:center!important;color:var(--ucf-v594-muted)!important;
  font-size:11px!important;line-height:1.45!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-v594-empty:before{
  content:"";width:30px;height:30px;margin-bottom:8px;border:1px solid var(--ucf-v594-border);
  border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--ucf-v594-accent) 8%,var(--ucf-panel,#fff)),var(--ucf-panel,#fff));
  box-shadow:inset 0 0 0 8px color-mix(in srgb,var(--ucf-v594-accent) 3%,transparent);
}
body.ucf-app-page.ucf-v594-ui td.ucf-v594-empty{display:table-cell!important;height:132px!important;vertical-align:middle!important}
body.ucf-app-page.ucf-v594-ui td.ucf-v594-empty:before{display:block;margin:0 auto 8px}
body.ucf-app-page.ucf-v594-ui .ucf-skeleton{
  position:relative;overflow:hidden;border-radius:var(--ucf-v594-radius-md)!important;
  background:color-mix(in srgb,var(--ucf-border,#d8e1eb) 38%,var(--ucf-panel,#fff))!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-skeleton:after{
  content:"";position:absolute;inset:0;transform:translateX(-105%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent);animation:ucf-v594-shimmer 1.35s ease-in-out infinite;
}
@keyframes ucf-v594-shimmer{to{transform:translateX(105%)}}

/* Modal/forms: stable title/body/footer rhythm. */
body.ucf-app-page.ucf-v594-ui .ucf-modal{
  width:min(720px,100%);border-radius:14px!important;border-color:var(--ucf-v594-border)!important;box-shadow:var(--ucf-v594-shadow-float)!important;
}
body.ucf-app-page.ucf-v594-ui .ucf-modal-head{padding:14px 16px!important;border-bottom-color:var(--ucf-v594-border)!important}
body.ucf-app-page.ucf-v594-ui .ucf-modal-head h2{font-size:16px!important;line-height:1.25!important;letter-spacing:-.015em}
body.ucf-app-page.ucf-v594-ui .ucf-modal-head small{font-size:10px!important;color:var(--ucf-v594-muted)!important}
body.ucf-app-page.ucf-v594-ui .ucf-modal-body{padding:16px!important}
body.ucf-app-page.ucf-v594-ui .ucf-modal-foot{gap:7px!important;padding:11px 16px!important;border-top-color:var(--ucf-v594-border)!important}

/* Desktop navigation micro-polish only; v5.9.3 still owns route structure. */
@media(min-width:761px){
  body.ucf-app-page.ucf-v594-ui .ucf-nav-item{min-height:38px;border-radius:8px!important;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
  body.ucf-app-page.ucf-v594-ui .ucf-module-button{transition:background-color .15s ease,color .15s ease,border-color .15s ease}
  body.ucf-app-page.ucf-v594-ui .ucf-top-actions{gap:7px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-user{gap:8px!important}
}

/* Tablet / compact desktop. */
@media(min-width:761px) and (max-width:1180px){
  body.ucf-app-page.ucf-v594-ui{--ucf-v594-page-x:16px;--ucf-v594-page-y:16px}
  body.ucf-app-page.ucf-v594-ui .ucf-page-head h1{font-size:22px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions{max-width:52%}
}

/* Mobile: preserve v5.9.2 shell ownership, polish only content ergonomics. */
@media(max-width:760px){
  body.ucf-app-page.ucf-v594-ui{--ucf-v594-page-x:12px;--ucf-v594-page-y:12px;--ucf-v594-control-h:42px}
  body.ucf-app-page.ucf-v594-ui .ucf-main>.ucf-page{padding:12px 12px calc(26px + var(--ucf-safe-bottom,0px))!important}
  body.ucf-app-page.ucf-v594-ui .ucf-page-head{align-items:flex-start!important;gap:10px!important;margin-bottom:12px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-page-head h1{font-size:20px!important;line-height:1.2!important}
  body.ucf-app-page.ucf-v594-ui .ucf-page-head p{font-size:11px!important;line-height:1.4!important}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions{gap:6px!important;max-width:52%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions::-webkit-scrollbar{display:none}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions .ucf-button{flex:0 0 auto;min-height:var(--ucf-v594-touch)!important}
  body.ucf-app-page.ucf-v594-ui .ucf-card-pad{padding:13px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-grid{gap:9px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-section{margin-top:12px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-toolbar,
  body.ucf-app-page.ucf-v594-ui .ucf-client-toolbar{margin-left:-12px!important;margin-right:-12px!important;padding:0 12px 7px!important;gap:7px!important;overflow-x:auto!important;scroll-snap-type:x proximity}
  body.ucf-app-page.ucf-v594-ui .ucf-toolbar>*,
  body.ucf-app-page.ucf-v594-ui .ucf-client-toolbar>*{scroll-snap-align:start;flex:0 0 auto}
  body.ucf-app-page.ucf-v594-ui .ucf-toolbar>.ucf-search-wrap,
  body.ucf-app-page.ucf-v594-ui .ucf-client-toolbar>.ucf-search-wrap{width:min(78vw,320px)!important;min-width:min(78vw,320px)!important}
  body.ucf-app-page.ucf-v594-ui .ucf-input,
  body.ucf-app-page.ucf-v594-ui .ucf-select{font-size:16px!important;min-height:44px!important;height:44px}
  body.ucf-app-page.ucf-v594-ui .ucf-textarea{font-size:16px!important;min-height:112px}
  body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) thead th{padding:9px!important}
  body.ucf-app-page.ucf-v594-ui table.ucf-table:not(.ucf-doc-table) tbody td{padding:10px 9px!important;min-height:50px}
  body.ucf-app-page.ucf-v594-ui .ucf-row-actions .ucf-mini-button,
  body.ucf-app-page.ucf-v594-ui .ucf-icon-button{min-width:44px!important;min-height:44px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-modal{height:min(94dvh,calc(var(--ucf-vh,100dvh) - 4px))!important;max-height:calc(var(--ucf-vh,100dvh) - 4px)!important;border-radius:16px 16px 0 0!important}
  body.ucf-app-page.ucf-v594-ui .ucf-modal-head{padding:12px 14px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-modal-body{padding:14px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-modal-foot{padding:10px 12px calc(10px + var(--ucf-safe-bottom,0px))!important}
  body.ucf-app-page.ucf-v594-ui .ucf-modal-foot .ucf-button{min-height:44px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-mobile-nav button{min-height:58px;touch-action:manipulation}
}

@media(max-width:430px){
  body.ucf-app-page.ucf-v594-ui .ucf-page-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions{max-width:44vw}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions .ucf-button:not(.ucf-button-primary){display:none!important}
  body.ucf-app-page.ucf-v594-ui .ucf-page-actions .ucf-button-primary{min-width:44px;padding-inline:10px!important}
  body.ucf-app-page.ucf-v594-ui .ucf-grid-4,
  body.ucf-app-page.ucf-v594-ui .ucf-grid-3,
  body.ucf-app-page.ucf-v594-ui .ucf-grid-2{grid-template-columns:1fr!important}
}

@media(prefers-reduced-motion:reduce){
  body.ucf-app-page.ucf-v594-ui *,body.ucf-app-page.ucf-v594-ui *:before,body.ucf-app-page.ucf-v594-ui *:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

/* v5.9.7 production runtime hardening — additive UI only. */
.ucf-recovery-boundary{min-height:min(480px,60vh);display:grid;place-items:center;border-color:color-mix(in srgb,var(--ucf-orange) 24%,var(--ucf-border));}
.ucf-recovery-boundary .ucf-placeholder-icon{color:var(--ucf-orange);background:color-mix(in srgb,var(--ucf-orange) 10%,transparent);}
.ucf-recovery-code{display:block;margin-top:10px;color:var(--ucf-muted);font:600 11px/1.4 var(--ucf-font-family);letter-spacing:.04em;}
.ucf-recovery-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;}
.ucf-system-health-list{display:grid;gap:8px;margin-top:12px;}
.ucf-system-health-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--ucf-border-soft);border-radius:10px;background:var(--ucf-panel-2);}
.ucf-system-health-row>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:rgba(25,135,84,.10);color:#198754;}
.ucf-system-health-row.is-warn>span{background:rgba(245,124,0,.12);color:#b65d00}.ucf-system-health-row.is-critical>span{background:rgba(220,53,69,.11);color:#c52a3a}
.ucf-system-health-row div{min-width:0;display:grid;gap:2px}.ucf-system-health-row small{color:var(--ucf-muted);white-space:normal}.ucf-system-health-row strong{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#198754}.ucf-system-health-row.is-warn strong{color:#a65a08}.ucf-system-health-row.is-critical strong{color:#c52a3a}
.ucf-route-matrix{display:grid;gap:6px;margin-top:12px}.ucf-route-matrix-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) 110px 120px;gap:10px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--ucf-border-soft);font-size:12px}.ucf-route-matrix-row code{overflow:hidden;text-overflow:ellipsis;color:var(--ucf-muted)}.ucf-route-matrix-row strong{font-size:10px;letter-spacing:.04em;text-align:right}.ucf-route-matrix-row strong.is-ok{color:#198754}.ucf-route-matrix-row strong.is-warn{color:#b65d00}
@media(max-width:760px){.ucf-system-health-row{grid-template-columns:28px minmax(0,1fr)}.ucf-system-health-row>strong{grid-column:2;text-align:left}.ucf-route-matrix-row{grid-template-columns:1fr auto}.ucf-route-matrix-row code,.ucf-route-matrix-row>span{grid-column:1}.ucf-route-matrix-row strong{grid-column:2;grid-row:1/4;align-self:center}.ucf-recovery-actions .ucf-button{min-height:44px;}}


/* Udyojak CRM v6.0.3 — quotation creation recovery / compact builder.
 * Application-form only. A4/document print geometry is intentionally excluded. */
#ucf-quotation-form .ucf-quote-preflight-v603{margin:10px 0 12px;padding:11px 13px;border:1px solid #f4c98f;border-left:3px solid var(--ucf-brand-secondary,#ff7a16);border-radius:10px;background:#fff8ee;color:var(--ucf-text,#172033);font-size:12px;line-height:1.45}
#ucf-quotation-form .ucf-quote-preflight-v603[hidden]{display:none!important}
#ucf-quotation-form .ucf-quote-preflight-v603.is-error{border-color:#f4b4b0;border-left-color:#d92d20;background:#fff5f4}
#ucf-quotation-form .ucf-quote-preflight-v603 b{display:block;margin-bottom:4px}
#ucf-quotation-form .ucf-quote-preflight-v603 ul{margin:5px 0 0;padding-left:18px}
#ucf-quotation-form .ucf-quote-preflight-v603 small{display:block;color:var(--ucf-muted,#667085)}
#ucf-quotation-form .ucf-quote-item-v603{padding:12px!important}
#ucf-quotation-form .ucf-quote-scope-editor-v603>summary{min-height:58px;padding:10px 12px}
#ucf-quotation-form .ucf-quote-scope-editor-v603>summary em{display:block;margin-top:4px;font-style:normal;font-size:10px;font-weight:650;color:var(--ucf-muted,#667085)}
#ucf-quotation-form .ucf-quote-scope-editor-v603:not([open]) .ucf-scope-editor-state:before{content:''}
#ucf-quotation-form .ucf-quote-scope-editor-v603[open] .ucf-scope-editor-state{color:var(--ucf-muted,#667085)}
#ucf-quotation-form .ucf-scope-metrics-v557.is-quote{padding:10px;border:1px solid var(--ucf-border-soft,#e7ebf0);border-radius:10px;background:var(--ucf-panel-2,#f8fafc)}
#ucf-quotation-form .ucf-modal-foot{position:sticky;bottom:0;z-index:4;background:var(--ucf-panel,#fff);border-top:1px solid var(--ucf-border-soft,#e7ebf0)}
@media(max-width:760px){#ucf-quotation-form .ucf-quote-item-core{grid-template-columns:1fr 1fr!important;padding-right:28px}#ucf-quotation-form .ucf-quote-item-core>div:nth-child(1),#ucf-quotation-form .ucf-quote-item-core>div:nth-child(2){grid-column:1/-1}#ucf-quotation-form .ucf-quote-scope-editor-v603>summary{align-items:flex-start}#ucf-quotation-form .ucf-scope-editor-state{white-space:nowrap}}
@media(max-width:420px){#ucf-quotation-form .ucf-quote-item-core{grid-template-columns:1fr!important}#ucf-quotation-form .ucf-quote-item-core>div{grid-column:auto!important}#ucf-quotation-form .ucf-scope-metrics-v557.is-quote{grid-template-columns:1fr 1fr!important}}


/* v6.0.4 — commercial completion gate */
.ucf-v604-payment-gate{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap}.ucf-v604-payment-gate b{font-variant-numeric:tabular-nums}.ucf-v604-payment-gate .ucf-link-button{font-size:12px}

/* === v6.1.0 GUIDED SALES WORKFLOW BUNDLE === */
/* Udyojak CRM v6.1.0 — Guided Sales Workflow UX. Application UI only; excludes A4/print renderers. */
.ucf-guided-flow-v610{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 12px;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--ucf-border-soft,#e7ebf0);border-radius:12px;background:var(--ucf-panel,#fff);scrollbar-width:thin}
.ucf-guided-flow-v610>span{position:relative;display:flex;align-items:center;gap:6px;min-width:max-content;color:var(--ucf-muted,#667085);font-size:11px;font-weight:700;letter-spacing:.01em}
.ucf-guided-flow-v610>span:not(:last-child)::after{content:'›';margin-left:2px;color:#b7c0cc;font-size:15px;font-weight:500}
.ucf-guided-flow-v610 i{display:grid;place-items:center;width:22px;height:22px;border:1px solid #d6dde6;border-radius:999px;background:#f8fafc;color:#667085;font-style:normal;font-size:10px;font-weight:800}
.ucf-guided-flow-v610 .is-done{color:#365063}.ucf-guided-flow-v610 .is-done i{border-color:#b7dfcc;background:#eaf8f1;color:#16794b}
.ucf-guided-flow-v610 .is-current{color:var(--ucf-brand-primary,#0f2d5c)}.ucf-guided-flow-v610 .is-current i{border-color:var(--ucf-brand-secondary,#ff7a16);background:var(--ucf-brand-secondary,#ff7a16);color:#fff;box-shadow:0 0 0 3px rgba(255,122,22,.12)}
.ucf-guided-next-v610{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;border-left:4px solid var(--ucf-brand-secondary,#ff7a16)!important;background:linear-gradient(135deg,#fff 0%,#fffaf5 100%)}
.ucf-guided-next-copy-v610{min-width:0;max-width:680px}.ucf-guided-next-copy-v610 small{display:block;margin-bottom:4px;color:var(--ucf-brand-secondary,#ff7a16);font-size:10px;font-weight:800;letter-spacing:.08em}.ucf-guided-next-copy-v610 h2{margin:0 0 4px;color:var(--ucf-text,#172033);font-size:18px;line-height:1.25}.ucf-guided-next-copy-v610 p{margin:0;color:var(--ucf-muted,#667085);font-size:12px;line-height:1.5}.ucf-guided-next-copy-v610>span{display:block;margin-top:6px;color:var(--ucf-muted,#667085);font-size:10px}
.ucf-guided-next-actions-v610{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}.ucf-guided-next-actions-v610 .ucf-button-primary{min-height:40px;font-weight:800}.ucf-guided-whatsapp-v610{border-color:#b8e0c7!important;color:#147a43!important;background:#f1fbf5!important}
.ucf-guided-linked-doc-v610{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--ucf-border-soft,#e7ebf0);border-radius:999px;background:#f8fafc;color:var(--ucf-text,#172033);font-size:11px;font-weight:700}
.ucf-guided-row-actions-v610{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}.ucf-guided-row-actions-v610 .ucf-button{min-height:32px;padding:5px 9px;font-size:11px}.ucf-guided-more-v610,.ucf-guided-head-more-v610{position:relative}.ucf-guided-more-v610>summary,.ucf-guided-head-more-v610>summary{list-style:none;cursor:pointer}.ucf-guided-more-v610>summary::-webkit-details-marker,.ucf-guided-head-more-v610>summary::-webkit-details-marker{display:none}.ucf-guided-more-v610>div,.ucf-guided-head-more-v610>div{position:absolute;right:0;top:calc(100% + 6px);z-index:60;display:grid;min-width:170px;padding:6px;border:1px solid var(--ucf-border-soft,#e7ebf0);border-radius:10px;background:var(--ucf-panel,#fff);box-shadow:0 14px 34px rgba(15,23,42,.14)}.ucf-guided-more-v610>div button,.ucf-guided-head-more-v610>div button{appearance:none;width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:var(--ucf-text,#172033);text-align:left;font:inherit;font-size:12px;cursor:pointer}.ucf-guided-more-v610>div button:hover,.ucf-guided-head-more-v610>div button:hover{background:#f6f8fb}.ucf-guided-more-v610>div .is-danger,.ucf-guided-head-more-v610>div .is-danger{color:#b42318}
.ucf-guided-success-v610{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:12px 14px;border:1px solid #b7dfcc;border-left:4px solid #168552;border-radius:12px;background:#f0faf5}.ucf-guided-success-v610 b{display:block;color:#145c3c;font-size:13px}.ucf-guided-success-v610 p{margin:2px 0 0;color:#527062;font-size:11px}.ucf-guided-success-v610>div:last-child{display:flex;gap:7px;flex-wrap:wrap}
.ucf-guided-project-money-v610{margin-bottom:14px}.ucf-guided-project-money-v610 .ucf-revenue-metric{min-width:130px}.ucf-guided-invoice-v610 .ucf-document-toolbar+.ucf-guided-flow-v610{margin-top:10px}.ucf-guided-receipt-next-v610{margin-top:12px;padding:11px;border:1px solid var(--ucf-border-soft,#e7ebf0);border-radius:10px;background:#f8fafc}.ucf-guided-receipt-next-v610 b{display:block;margin-bottom:6px}.ucf-guided-receipt-next-v610>div{display:flex;gap:7px;flex-wrap:wrap}
.ucf-quick-context-v610{margin-bottom:12px;padding:11px 12px;border:1px solid #f2d5b4;border-radius:10px;background:#fff8ef}.ucf-quick-context-v610 b{display:block;color:var(--ucf-text,#172033);font-size:13px}.ucf-quick-context-v610 p{margin:3px 0 0;color:var(--ucf-muted,#667085);font-size:11px;line-height:1.45}.ucf-quick-actions-context-v610{padding-bottom:4px}.ucf-quick-actions-context-v610 .ucf-quick-action:first-child{border-color:#f3b56f;background:#fff7ee}.ucf-quick-divider-v610{display:flex;align-items:center;gap:8px;margin:10px 0;color:var(--ucf-muted,#667085);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.ucf-quick-divider-v610::before,.ucf-quick-divider-v610::after{content:'';height:1px;flex:1;background:var(--ucf-border-soft,#e7ebf0)}
.ucf-guided-mobile-cta-v610{display:none}
@media(max-width:1024px){.ucf-guided-next-v610{align-items:flex-start;flex-direction:column;gap:12px}.ucf-guided-next-actions-v610{justify-content:flex-start}.ucf-guided-flow-v610{padding-inline:10px}.ucf-guided-flow-v610>span b{font-size:10px}}
@media(max-width:760px){.ucf-guided-lead-v610,.ucf-guided-client-v610,.ucf-guided-project-v610,.ucf-guided-invoice-v610{padding-bottom:88px!important}.ucf-guided-flow-v610{margin-left:-2px;margin-right:-2px;padding:9px 8px}.ucf-guided-flow-v610>span{gap:5px;font-size:10px}.ucf-guided-flow-v610 i{width:20px;height:20px}.ucf-guided-next-v610{padding:13px!important;border-left-width:3px!important}.ucf-guided-next-copy-v610 h2{font-size:16px}.ucf-guided-next-actions-v610{width:100%}.ucf-guided-next-actions-v610 .ucf-button{min-height:44px;flex:1 1 auto}.ucf-guided-next-actions-v610 .ucf-button-primary{flex:1 0 100%}.ucf-guided-row-actions-v610{gap:4px}.ucf-guided-row-actions-v610 .ucf-button{min-width:40px;min-height:40px;padding:7px}.ucf-guided-head-more-v610>div,.ucf-guided-more-v610>div{position:fixed;left:12px;right:12px;top:auto;bottom:calc(76px + env(safe-area-inset-bottom,0px));min-width:0;z-index:1000}.ucf-guided-success-v610{align-items:flex-start;flex-direction:column}.ucf-guided-success-v610>div:last-child{width:100%}.ucf-guided-success-v610 .ucf-button{min-height:44px;flex:1}.ucf-guided-project-money-v610{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.ucf-guided-project-money-v610 .ucf-revenue-metric{min-width:0}.ucf-guided-mobile-cta-v610{position:fixed;left:10px;right:10px;bottom:calc(63px + env(safe-area-inset-bottom,0px));z-index:48;display:flex;padding:8px;border:1px solid rgba(15,45,92,.12);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(15,23,42,.16);backdrop-filter:blur(10px)}.ucf-guided-mobile-cta-v610>.ucf-button,.ucf-guided-mobile-cta-v610>button{width:100%;min-height:46px}.ucf-quick-actions-context-v610 .ucf-quick-action{min-height:76px}}
@media(max-width:420px){.ucf-guided-project-money-v610{grid-template-columns:1fr 1fr!important}.ucf-guided-flow-v610>span b{max-width:70px;overflow:hidden;text-overflow:ellipsis}.ucf-guided-next-actions-v610 .ucf-button:not(.ucf-button-primary){flex:1 1 calc(50% - 4px)}}
@media print{.ucf-guided-flow-v610,.ucf-guided-next-v610,.ucf-guided-success-v610,.ucf-guided-mobile-cta-v610{display:none!important}}



/* ---- source: workspace-simplification-v611.css ---- */
/* Udyojak CRM v6.1.1 — Unified Workspace Simplification.
 * Final presentation owner for daily list workspaces and Client 360 density.
 * Does not modify A4/document surfaces or commercial state rules.
 */
body.ucf-app-page{--ucf-v611-control-h:40px;--ucf-v611-gap:10px;--ucf-v611-radius:12px}

/* One page formula: head -> primary status tabs -> one search/filter toolbar -> data. */
body.ucf-app-page .ucf-list-page-v611>.ucf-page-head{margin-bottom:12px!important}
body.ucf-app-page .ucf-list-page-v611>.ucf-grid.ucf-compact-metrics-v611{gap:8px!important;margin:0 0 10px!important}
body.ucf-app-page .ucf-compact-metrics-v611 .ucf-metric{min-height:76px!important;padding:12px 14px!important}
body.ucf-app-page .ucf-compact-metrics-v611 .ucf-metric-label{font-size:11px!important}
body.ucf-app-page .ucf-compact-metrics-v611 .ucf-metric-value{font-size:20px!important;line-height:1.15!important}
body.ucf-app-page .ucf-compact-metrics-v611 .ucf-metric-delta{display:none!important}

body.ucf-app-page .ucf-primary-tabs-v611{display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 0 8px;margin:0 0 4px;white-space:nowrap}
body.ucf-app-page .ucf-primary-tabs-v611::-webkit-scrollbar{display:none}
body.ucf-app-page .ucf-primary-tab-v611{appearance:none;border:1px solid var(--ucf-border);background:var(--ucf-card);color:var(--ucf-muted);min-height:34px;padding:7px 13px;border-radius:999px;font:700 12px/1 var(--ucf-font,Inter,system-ui,sans-serif);cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
body.ucf-app-page .ucf-primary-tab-v611:hover{border-color:color-mix(in srgb,var(--ucf-primary) 35%,var(--ucf-border));color:var(--ucf-text);transform:translateY(-1px)}
body.ucf-app-page .ucf-primary-tab-v611.is-active,body.ucf-app-page .ucf-primary-tab-v611[aria-selected="true"]{background:color-mix(in srgb,var(--ucf-primary) 11%,var(--ucf-card));border-color:color-mix(in srgb,var(--ucf-primary) 45%,var(--ucf-border));color:var(--ucf-primary)}

body.ucf-app-page .ucf-list-toolbar-v611{display:flex!important;align-items:center!important;gap:8px!important;min-height:48px!important;margin:0 0 10px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.ucf-app-page .ucf-list-toolbar-v611 .ucf-search-wrap{flex:1 1 360px;max-width:620px;min-width:220px}
body.ucf-app-page .ucf-list-toolbar-v611 .ucf-input,body.ucf-app-page .ucf-list-toolbar-v611 .ucf-select,body.ucf-app-page .ucf-list-toolbar-v611 .ucf-button{min-height:var(--ucf-v611-control-h)!important}

/* Advanced filters are one control, not repeated status/search fields. */
body.ucf-app-page .ucf-list-filters-v611{position:relative;flex:0 0 auto}
body.ucf-app-page .ucf-list-filters-v611>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;user-select:none}
body.ucf-app-page .ucf-list-filters-v611>summary::-webkit-details-marker{display:none}
body.ucf-app-page .ucf-list-filter-popover-v611{position:absolute;top:calc(100% + 7px);right:0;z-index:70;display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;width:min(480px,calc(100vw - 32px));padding:14px;background:var(--ucf-card);border:1px solid var(--ucf-border);border-radius:14px;box-shadow:0 18px 40px rgba(10,25,50,.16)}
body.ucf-app-page .ucf-list-filter-popover-v611 label{display:flex;flex-direction:column;gap:6px;min-width:0}
body.ucf-app-page .ucf-list-filter-popover-v611 label>span{font-size:11px;font-weight:750;color:var(--ucf-muted)}
body.ucf-app-page .ucf-list-filter-popover-v611 .ucf-input,body.ucf-app-page .ucf-list-filter-popover-v611 .ucf-select{width:100%;min-width:0}

/* The row itself is the obvious open affordance. Small action icons remain secondary. */
body.ucf-app-page .ucf-clickable-row-v611{cursor:pointer;transition:background .14s ease,box-shadow .14s ease}
body.ucf-app-page .ucf-clickable-row-v611:hover{background:color-mix(in srgb,var(--ucf-primary) 4%,transparent)}
body.ucf-app-page .ucf-clickable-row-v611:focus-visible{outline:2px solid color-mix(in srgb,var(--ucf-primary) 55%,transparent);outline-offset:-2px}
body.ucf-app-page .ucf-clickable-row-v611 .ucf-row-actions,body.ucf-app-page .ucf-clickable-row-v611 .ucf-guided-row-actions-v610{justify-content:flex-end}

/* Empty pages explain purpose and provide one next action instead of a dead white surface. */
body.ucf-app-page .ucf-empty-state-v611{display:flex;align-items:center;justify-content:center;gap:14px;min-height:150px;padding:26px 22px;text-align:left;color:var(--ucf-text)}
body.ucf-app-page .ucf-empty-state-v611 .ucf-empty-icon-v611{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--ucf-primary) 9%,var(--ucf-card));color:var(--ucf-primary);font-size:22px}
body.ucf-app-page .ucf-empty-state-v611>div{max-width:460px}
body.ucf-app-page .ucf-empty-state-v611 b{display:block;font-size:15px;margin-bottom:3px}
body.ucf-app-page .ucf-empty-state-v611 p{margin:0;color:var(--ucf-muted);font-size:12px;line-height:1.45}
body.ucf-app-page .ucf-empty-state-v611>.ucf-button{flex:0 0 auto}
body.ucf-app-page .ucf-empty-page-v611{min-height:260px;display:grid;place-items:center}
body.ucf-app-page .ucf-empty-page-v611 .ucf-empty-state-v611{min-height:0}

/* Client 360: use the top area as an action center, not empty decoration. */
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-client-head{margin-bottom:8px!important;min-height:52px!important;gap:8px!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-client-contact-strip{margin:0 0 8px!important;padding:8px 12px!important;gap:8px 16px!important;min-height:0!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-guided-workflow-v610{margin:6px 0 8px!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-guided-client-next-v610{margin:8px 0!important;padding:12px 14px!important;min-height:0!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-guided-next-copy-v610 h2{font-size:17px!important;margin:2px 0 3px!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-guided-next-copy-v610 p{margin:0!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-revenue-strip{margin:8px 0!important;gap:0!important;min-height:0!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-revenue-metric{padding:10px 14px!important;min-height:58px!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-client-tabs{margin:8px 0 10px!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-client-overview-grid{gap:10px!important}
body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-card-pad{padding:14px!important}

/* v6.1.1 owns daily list controls. If a delayed historical productivity runtime wakes up,
   it must not recreate duplicate All/Status/Smart Filter layers on these pages. */
body.ucf-app-page .ucf-list-page-v611>.ucf-productivity-bar{display:none!important}

@media(max-width:900px){
  body.ucf-app-page .ucf-compact-metrics-v611{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ucf-app-page .ucf-list-toolbar-v611{flex-wrap:wrap!important}
  body.ucf-app-page .ucf-list-toolbar-v611 .ucf-search-wrap{flex:1 1 100%;max-width:none;min-width:0}
  body.ucf-app-page .ucf-list-filter-popover-v611{left:0;right:auto;grid-template-columns:1fr;width:min(420px,calc(100vw - 28px))}
}
@media(max-width:760px){
  body.ucf-app-page .ucf-list-page-v611>.ucf-page-head{margin-bottom:8px!important}
  body.ucf-app-page .ucf-primary-tabs-v611{margin-left:-2px;margin-right:-2px;padding-bottom:6px}
  body.ucf-app-page .ucf-primary-tab-v611{min-height:36px;padding:8px 12px}
  body.ucf-app-page .ucf-compact-metrics-v611{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body.ucf-app-page .ucf-compact-metrics-v611 .ucf-metric{min-height:66px!important;padding:10px!important}
  body.ucf-app-page .ucf-compact-metrics-v611 .ucf-metric-value{font-size:18px!important}
  body.ucf-app-page .ucf-list-toolbar-v611{position:relative;z-index:8;margin-bottom:8px!important}
  body.ucf-app-page .ucf-list-toolbar-v611 .ucf-button{min-height:44px!important}
  body.ucf-app-page .ucf-list-toolbar-v611 .ucf-input{min-height:44px!important;font-size:16px!important}
  body.ucf-app-page .ucf-list-filter-popover-v611{position:fixed;left:12px;right:12px;bottom:calc(var(--ucf-v592-mobile-nav,62px) + var(--ucf-safe-bottom,0px) + 10px);top:auto;width:auto;max-height:60dvh;overflow:auto;grid-template-columns:1fr;border-radius:16px}
  body.ucf-app-page .ucf-empty-state-v611{flex-direction:column;text-align:center;padding:24px 16px}
  body.ucf-app-page .ucf-empty-state-v611>.ucf-button{width:100%;max-width:320px;min-height:44px}
  body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-client-head{align-items:flex-start!important}
  body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-client-contact-strip{display:flex!important;overflow-x:auto;white-space:nowrap}
  body.ucf-app-page .ucf-v521-client360.ucf-guided-client-v610 .ucf-guided-client-next-v610{padding:12px!important}
}

/* Never leak app UX into frozen documents. */
.ucf-a4-sheet .ucf-primary-tabs-v611,.ucf-a4-sheet .ucf-empty-state-v611,.ucf-document-viewer .ucf-primary-tabs-v611,.ucf-print-isolated .ucf-primary-tabs-v611{display:none!important}

/* v6.2.4 — Context-aware Quick Create */
.ucf-quick-actions-v624{grid-template-columns:repeat(3,minmax(0,1fr))}
.ucf-quick-actions-v624 .ucf-quick-action{min-height:72px}
@media(max-width:900px){.ucf-quick-actions-v624{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ucf-quick-actions-v624{grid-template-columns:1fr}.ucf-quick-actions-v624 .ucf-quick-action{min-height:58px}}


/* Udyojak CRM v6.2.9 — desktop menu-bar width recovery.
 * This final shell owner keeps every permitted desktop workspace direct while
 * progressively compacting utilities before navigation can collide or clip.
 * The established <=760px mobile shell remains the sole mobile owner.
 */
@media(min-width:761px){
  body.ucf-app-page .ucf-shell{
    --ucf-v629-sidebar-column:var(--ucf-v52-sidebar,var(--ucf-v51-sidebar,220px));
    grid-template-columns:var(--ucf-v629-sidebar-column) minmax(0,1fr)!important;
  }
  body.ucf-app-page.ucf-sidebar-size-standard .ucf-shell{--ucf-v629-sidebar-column:224px}
  body.ucf-app-page.ucf-sidebar-size-compact .ucf-shell{--ucf-v629-sidebar-column:176px}
  body.ucf-app-page.ucf-sidebar-size-icons .ucf-shell,
  body.ucf-app-page.ucf-sidebar-size-hover .ucf-shell,
  body.ucf-app-page.ucf-ui-sidebar-collapsed .ucf-shell{--ucf-v629-sidebar-column:72px}

  body.ucf-app-page .ucf-topbar,
  body.ucf-app-page.ucf-v510-ui .ucf-topbar,
  body.ucf-app-page.ucf-v520-ui .ucf-topbar{
    grid-template-columns:var(--ucf-v629-sidebar-column) minmax(0,1fr) auto!important;
    width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.ucf-app-page .ucf-brand{grid-column:1!important;min-width:0!important;overflow:hidden!important}
  body.ucf-app-page .ucf-modulebar,
  body.ucf-app-page.ucf-v510-ui .ucf-modulebar,
  body.ucf-app-page.ucf-v520-ui .ucf-modulebar{
    grid-column:2!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    flex-wrap:nowrap!important;
    z-index:1!important;
  }
  body.ucf-app-page .ucf-module-button{
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.ucf-app-page .ucf-module-button>small{overflow:visible!important;text-overflow:clip!important}
  body.ucf-app-page .ucf-top-actions,
  body.ucf-app-page.ucf-v510-ui .ucf-top-actions,
  body.ucf-app-page.ucf-v520-ui .ucf-top-actions{
    grid-column:3!important;
    min-width:0!important;
    max-width:100%!important;
    flex-wrap:nowrap!important;
    position:relative!important;
    z-index:2!important;
  }
  body.ucf-app-page .ucf-top-actions>*{flex-shrink:0}

  /* First recovery step: Search becomes an icon and the secondary role line
     yields space. Module names and Quick Create remain fully labelled. */
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-modulebar{gap:2px!important;padding-inline:5px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-module-button{padding-inline:5px!important;gap:3px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-module-button>small{font-size:9.5px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-page-search-trigger{
    width:40px!important;min-width:40px!important;max-width:40px!important;padding:0!important;justify-content:center!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-page-search-trigger>b,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-page-search-trigger>kbd,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-user-meta small{display:none!important}

  /* Second recovery step: keep every module name direct, remove decorative
     module icons and collapse Quick Create/profile copy to their controls. */
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-modulebar{gap:2px!important;padding-inline:4px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button{height:34px!important;padding-inline:5px!important;gap:0!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button>span{display:none!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button>small{display:block!important;font-size:9.25px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-page-search-trigger{
    width:36px!important;min-width:36px!important;max-width:36px!important;padding:0!important;justify-content:center!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-page-search-trigger>b,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-page-search-trigger>kbd,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-quick-create-label,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-user-meta{display:none!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-subscribe{
    display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-user{padding-left:2px!important;margin-left:0!important;border-left:0!important}

  /* Final desktop fallback: equal-width direct labels. Nothing moves into a
     desktop More menu and no workspace is hidden, scrolled or clipped. */
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-modulebar{
    display:grid!important;
    grid-template-columns:repeat(var(--ucf-v629-module-count,8),minmax(0,1fr))!important;
    gap:1px!important;padding-inline:2px!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-module-button{
    width:100%!important;min-width:0!important;height:34px!important;padding-inline:1px!important;gap:0!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-module-button>span{display:none!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-module-button>small{
    display:block!important;width:100%!important;min-width:0!important;font-size:8.5px!important;line-height:1!important;text-align:center!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-top-actions{gap:2px!important;padding-inline:2px 5px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-page-search-trigger,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-subscribe,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-notification-button{
    width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;padding:0!important;justify-content:center!important;
  }
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-page-search-trigger>b,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-page-search-trigger>kbd,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-quick-create-label,
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-user-meta{display:none!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-user{gap:0!important;padding:0!important;margin:0!important;border:0!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-avatar{width:29px!important;height:29px!important}
}

@media(min-width:761px) and (max-width:1280px){
  body.ucf-app-page.ucf-sidebar-size-auto .ucf-shell{--ucf-v629-sidebar-column:176px}
  body.ucf-app-page.ucf-sidebar-size-auto.ucf-ui-sidebar-collapsed .ucf-shell{--ucf-v629-sidebar-column:72px}
}


/* Udyojak CRM v6.2.10 — mobile responsive layout recovery.
 * Final <=760px presentation owner for phone content only. Desktop navigation,
 * application routes, data/state handlers and frozen A4/PDF surfaces are not
 * changed by this layer.
 */
@media(max-width:760px){
  body.ucf-app-page{
    --ucf-v6210-touch:44px;
    --ucf-v6210-gap:8px;
    --ucf-v6210-card-radius:12px;
  }

  /* Contain phone workspaces without disabling intentional horizontal rails. */
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-ceo-dashboard,.ucf-accounting-page){
    width:100%!important;
    min-width:0!important;
    overflow-x:clip!important;
  }
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-ceo-dashboard,.ucf-accounting-page)>*{min-width:0}

  /* Stable title/CTA allocation. Long titles wrap in their own track; actions
     never sit on top of the heading or escape the viewport. */
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-accounting-page)>.ucf-page-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:8px!important;
  }
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-accounting-page)>.ucf-page-head>div:first-child{min-width:0}
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-accounting-page)>.ucf-page-head :is(h1,p){overflow-wrap:anywhere}
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-accounting-page)>.ucf-page-head .ucf-page-actions{
    width:auto!important;
    max-width:min(48vw,260px)!important;
    overflow:visible!important;
    justify-content:flex-end!important;
  }
  body.ucf-app-page :is(.ucf-list-page-v611,.ucf-accounting-page)>.ucf-page-head .ucf-button{
    max-width:100%;
    min-height:var(--ucf-v6210-touch)!important;
    white-space:normal;
    text-align:center;
  }

  /* CEO header keeps only the two true phone-level commands and places them
     below the title. All secondary destinations remain available in-page and
     through More, so no route or permission surface is removed. */
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head .ucf-page-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:none!important;
    gap:8px!important;
    overflow:visible!important;
  }
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head .ucf-page-actions>.ucf-button{
    display:none!important;
    width:100%!important;
    min-width:0!important;
    min-height:var(--ucf-v6210-touch)!important;
    padding:7px 9px!important;
    white-space:normal!important;
    text-align:center;
    line-height:1.2;
  }
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head .ucf-page-actions>.ucf-button:first-child,
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head .ucf-page-actions>.ucf-button:last-child{display:inline-flex!important}

  /* Status filters are explicit touch rails. The page itself never becomes the
     horizontal scroller and the final tab has breathing room when reached. */
  body.ucf-app-page :is(.ucf-stage-tabs,.ucf-primary-tabs-v611){
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    padding:2px 18px 8px 0!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    scroll-padding-inline:0 18px;
    -webkit-overflow-scrolling:touch;
  }
  body.ucf-app-page :is(.ucf-stage-tabs,.ucf-primary-tabs-v611)::-webkit-scrollbar{display:none}
  body.ucf-app-page :is(.ucf-stage-tab,.ucf-primary-tab-v611){
    flex:0 0 auto!important;
    min-height:var(--ucf-v6210-touch)!important;
    padding:9px 12px!important;
  }

  /* Search + one contextual filter/action share a bounded row at every phone
     width. They wrap only when a browser's accessibility font scale requires it. */
  body.ucf-app-page .ucf-list-page-v611>.ucf-list-toolbar-v611{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0 0 10px!important;
    padding:0!important;
    gap:var(--ucf-v6210-gap)!important;
    overflow:visible!important;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-list-toolbar-v611>.ucf-search-wrap{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex:1 1 auto!important;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-list-toolbar-v611 .ucf-input{
    width:100%!important;
    min-width:0!important;
    text-overflow:ellipsis;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-list-toolbar-v611>:not(.ucf-search-wrap){
    min-width:0!important;
    max-width:42vw;
  }

  /* Finance filters become a real grid instead of a clipped desktop strip. */
  body.ucf-app-page .ucf-accounting-page>.ucf-finance-filter{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 10px!important;
    padding:0!important;
    gap:var(--ucf-v6210-gap)!important;
    overflow:visible!important;
  }
  body.ucf-app-page .ucf-accounting-page>.ucf-finance-filter>*{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:var(--ucf-v6210-touch)!important;
    margin:0!important;
    white-space:normal;
  }
  body.ucf-app-page .ucf-accounting-page>.ucf-finance-filter>select:first-child{grid-column:1/-1}

  /* Keep summary information scannable above the fold at 320–430px. */
  body.ucf-app-page .ucf-list-page-v611>.ucf-summary-strip-v625{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:8px!important;
    margin:8px 0 10px!important;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-summary-strip-v625>.ucf-metric{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:68px!important;
    padding:10px 11px!important;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-summary-strip-v625 .ucf-metric-copy{min-width:0}
  body.ucf-app-page .ucf-list-page-v611>.ucf-summary-strip-v625 .ucf-metric-label{
    font-size:10px!important;
    line-height:1.2!important;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-summary-strip-v625 .ucf-metric-value{
    font-size:clamp(16px,5vw,19px)!important;
    line-height:1.12!important;
    overflow-wrap:anywhere;
  }
  body.ucf-app-page .ucf-accounting-page>.ucf-grid-5{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.ucf-app-page .ucf-accounting-page>.ucf-grid-5>.ucf-metric{
    display:block!important;
    min-width:0!important;
    min-height:78px!important;
    padding:10px 11px!important;
  }
  body.ucf-app-page .ucf-accounting-page>.ucf-grid-5>.ucf-metric:last-child:nth-child(odd){grid-column:1/-1}
  body.ucf-app-page .ucf-accounting-page>.ucf-grid-5 .ucf-metric-value{
    font-size:clamp(16px,5vw,20px)!important;
    overflow-wrap:anywhere;
  }

  /* List rows are compact native phone cards. Bulk selection is pinned to the
     card corner; all meaningful values and 44px actions remain available. */
  body.ucf-app-page .ucf-list-page-v611>.ucf-table-card{
    width:100%!important;
    min-width:0!important;
    margin-top:8px!important;
    border-radius:var(--ucf-v6210-card-radius)!important;
    overflow:hidden!important;
  }
  body.ucf-app-page .ucf-list-page-v611>.ucf-table-card>.ucf-table-wrap{
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table){
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>thead{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody{
    display:grid!important;
    width:100%!important;
    gap:8px!important;
    padding:8px!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr{
    position:relative!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 12px!important;
    min-width:0!important;
    min-height:0!important;
    padding:10px!important;
    border:1px solid var(--ucf-border)!important;
    border-radius:var(--ucf-v6210-card-radius)!important;
    background:var(--ucf-panel)!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr[hidden]{display:none!important}
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr>td{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    padding:6px 0!important;
    border:0!important;
    background:transparent!important;
    font-size:12px!important;
    line-height:1.32!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr>td[data-ux-label]:before{
    content:attr(data-ux-label)!important;
    display:block!important;
    margin:0 0 2px!important;
    color:var(--ucf-muted)!important;
    font-size:8.5px!important;
    font-weight:800!important;
    line-height:1.15!important;
    letter-spacing:.045em!important;
    text-transform:uppercase!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr>td[data-ux-primary="1"]{
    grid-column:1/-1!important;
    padding:2px 44px 8px 0!important;
    border-bottom:1px solid var(--ucf-border-soft)!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr>td[data-ux-actions="1"]{
    grid-column:1/-1!important;
    padding-top:8px!important;
    border-top:1px solid var(--ucf-border-soft)!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) td.ucf-select-col{
    position:absolute!important;
    top:8px!important;
    right:8px!important;
    z-index:2!important;
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    padding:0!important;
    border:1px solid var(--ucf-border-soft)!important;
    border-radius:9px!important;
    background:var(--ucf-panel-2)!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) td.ucf-select-col:before{display:none!important;content:none!important}
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) td.ucf-select-col input{width:18px;height:18px}
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) :is(.ucf-row-actions,.ucf-guided-row-actions-v610){
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    white-space:normal!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) :is(.ucf-mini-button,.ucf-guided-row-actions-v610 .ucf-button){
    min-width:var(--ucf-v6210-touch)!important;
    min-height:var(--ucf-v6210-touch)!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) .ucf-person{gap:7px!important}
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) .ucf-person-avatar{width:32px!important;height:32px!important}
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) td[data-ux-label="Email"]{overflow-wrap:anywhere!important}
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table) tr[data-ux-row-open="1"]:after{display:none!important;content:none!important}

  /* Empty-result rows must render their message and CTA, not an anonymous blank
     card created by competing table-card transforms. */
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr:has(.ucf-empty-state-v625){
    display:block!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.ucf-app-page .ucf-list-page-v611 table.ucf-table:not(.ucf-doc-table)>tbody>tr>td:has(.ucf-empty-state-v625){
    display:block!important;
    width:100%!important;
    padding:0!important;
  }
  body.ucf-app-page .ucf-list-page-v611 .ucf-empty-state-v625{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    min-height:138px!important;
    padding:18px!important;
    gap:12px!important;
    text-align:left!important;
  }
  body.ucf-app-page .ucf-list-page-v611 .ucf-empty-actions-v625{grid-column:1/-1!important}
  body.ucf-app-page .ucf-list-page-v611 .ucf-pagination{
    min-height:44px!important;
    padding:7px 10px!important;
  }

  /* Canonical mobile workspace order and visible active-module state. */
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="leads"]{order:1}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="sales"]{order:2}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="clients"]{order:3}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="projects"]{order:4}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="finance"]{order:5}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="reports"]{order:6}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="team"]{order:7}
  body.ucf-app-page .ucf-mobile-module[data-mobile-module-open="settings"]{order:8}
  body.ucf-app-page .ucf-mobile-module.is-active{
    border-color:color-mix(in srgb,var(--ucf-orange) 68%,var(--ucf-border))!important;
    background:color-mix(in srgb,var(--ucf-orange) 9%,var(--ucf-panel-2))!important;
    color:var(--ucf-text)!important;
  }
  body.ucf-app-page .ucf-mobile-module.is-active>span:first-child{color:var(--ucf-orange)!important}
  body.ucf-app-page .ucf-mobile-sheet{
    max-height:min(88dvh,780px)!important;
    overscroll-behavior-y:contain;
    scroll-padding-bottom:calc(18px + var(--ucf-safe-bottom,0px));
  }
  body.ucf-app-page .ucf-mobile-nav button{min-width:0;touch-action:manipulation}
  body.ucf-app-page .ucf-mobile-nav button>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

@media(max-width:360px){
  body.ucf-app-page .ucf-mobile-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ucf-app-page .ucf-list-page-v611>.ucf-list-toolbar-v611{gap:6px!important}
  body.ucf-app-page .ucf-list-page-v611>.ucf-list-toolbar-v611>:not(.ucf-search-wrap){max-width:40vw}
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head .ucf-page-actions{gap:6px!important}
  body.ucf-app-page .ucf-ceo-dashboard>.ucf-page-head .ucf-page-actions>.ucf-button{font-size:11px!important}
}


/* Udyojak CRM v6.2.11 — mobile fixed-layer and safe-zone recovery.
 * Final phone owner for bottom navigation, floating actions, sheets, modals and
 * transient menus. Desktop layout, business workflows and A4/PDF surfaces are
 * intentionally excluded from this layer.
 */
body.ucf-app-page{
  --ucf-v6211-layer-nav:200;
  --ucf-v6211-layer-action:300;
  --ucf-v6211-layer-popover:500;
  --ucf-v6211-layer-sheet:600;
  --ucf-v6211-layer-modal:700;
  --ucf-v6211-layer-toast:800;
}

@media(max-width:760px){
  body.ucf-app-page:not(.ucf-print-isolated){
    --ucf-v6211-nav-base:64px;
    --ucf-v6211-nav-total:calc(var(--ucf-v6211-nav-base) + var(--ucf-safe-bottom,0px));
    --ucf-v6211-header-total:calc(var(--ucf-v592-mobile-header,58px) + var(--ucf-safe-top,0px));
    --ucf-v6211-fixed-gap:8px;
    --ucf-v6211-action-height:62px;
    overflow:hidden!important;
  }
  html:has(body.ucf-app-page:not(.ucf-print-isolated)){overflow:hidden!important}

  /* One viewport, one header row, one independently scrolling content row and
     one safe-area-aware bottom-navigation row. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-shell{
    grid-template-rows:var(--ucf-v6211-header-total) minmax(0,1fr) var(--ucf-v6211-nav-total)!important;
    height:var(--ucf-v6211-vh,var(--ucf-vh,100dvh))!important;
    max-height:var(--ucf-v6211-vh,var(--ucf-vh,100dvh))!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-topbar{
    height:var(--ucf-v6211-header-total)!important;
    min-height:var(--ucf-v6211-header-total)!important;
    padding-top:var(--ucf-safe-top,0px)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-main{
    min-width:0!important;
    max-width:100%!important;
    scroll-padding-top:12px!important;
    scroll-padding-bottom:calc(var(--ucf-v6211-action-height) + 24px)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-main :is(.ucf-page,.ucf-card,.ucf-table-card,.ucf-section){min-width:0}

  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-nav{
    position:relative!important;
    grid-row:3!important;
    z-index:var(--ucf-v6211-layer-nav)!important;
    height:var(--ucf-v6211-nav-total)!important;
    min-height:var(--ucf-v6211-nav-total)!important;
    padding:0 max(4px,var(--ucf-safe-right,0px)) var(--ucf-safe-bottom,0px) max(4px,var(--ucf-safe-left,0px))!important;
    isolation:isolate;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-nav button{
    min-width:0!important;
    min-height:var(--ucf-v6211-nav-base)!important;
    max-height:var(--ucf-v6211-nav-base)!important;
  }

  /* Every fixed action clears the canonical nav zone. Old route-specific
     bottom values are replaced by the same shared contract. */
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-guided-mobile-cta-v610,.ucf-quote-mobile-actions-v570){
    bottom:calc(var(--ucf-v6211-nav-total) + var(--ucf-v6211-fixed-gap))!important;
    z-index:var(--ucf-v6211-layer-action)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-guided-lead-v610,.ucf-guided-client-v610,.ucf-guided-project-v610,.ucf-guided-invoice-v610,.ucf-quotation-workspace-v570){
    padding-bottom:calc(var(--ucf-v6211-action-height) + 28px)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-list-filter-popover-v611,.ucf-v580-menu-popover){
    bottom:calc(var(--ucf-v6211-nav-total) + 10px)!important;
    z-index:var(--ucf-v6211-layer-popover)!important;
    max-height:calc(var(--ucf-v6211-vh,var(--ucf-vh,100dvh)) - var(--ucf-v6211-header-total) - var(--ucf-v6211-nav-total) - 24px)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-guided-head-more-v610>div,.ucf-guided-more-v610>div,.ucf-client-more-menu){
    bottom:calc(var(--ucf-v6211-nav-total) + var(--ucf-v6211-action-height) + 14px)!important;
    z-index:var(--ucf-v6211-layer-popover)!important;
    max-height:min(58dvh,480px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-quote-mobile-actions-v570 .ucf-doc-action-menu{
    bottom:calc(var(--ucf-v6211-nav-total) + var(--ucf-v6211-action-height) + 12px)!important;
    z-index:var(--ucf-v6211-layer-popover)!important;
    max-height:min(58dvh,480px)!important;
    overflow-y:auto!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-v571-command,.ucf-v571-comm-sheet){
    bottom:calc(var(--ucf-v6211-nav-total) + 8px)!important;
    z-index:calc(var(--ucf-v6211-layer-popover) + 20)!important;
    max-height:calc(var(--ucf-v6211-vh,var(--ucf-vh,100dvh)) - var(--ucf-v6211-nav-total) - 22px)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-v571-overlay{z-index:calc(var(--ucf-v6211-layer-popover) + 10)!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-v551-row-menu{
    z-index:var(--ucf-v6211-layer-popover)!important;
    max-width:calc(100vw - 24px)!important;
    max-height:calc(var(--ucf-v6211-vh,var(--ucf-vh,100dvh)) - var(--ucf-v6211-header-total) - var(--ucf-v6211-nav-total) - 20px)!important;
    overflow-y:auto!important;
  }

  /* Mobile More and application modals never share a layer. The runtime makes
     them mutually exclusive; these tiers guarantee deterministic painting. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-sheet-layer{
    z-index:var(--ucf-v6211-layer-sheet)!important;
    height:var(--ucf-v6211-vh,var(--ucf-vh,100dvh))!important;
    max-height:var(--ucf-v6211-vh,var(--ucf-vh,100dvh))!important;
    padding-top:calc(18px + var(--ucf-safe-top,0px))!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-mobile-sheet{
    max-height:calc(var(--ucf-v6211-vh,var(--ucf-vh,100dvh)) - var(--ucf-safe-top,0px) - 18px)!important;
    padding-bottom:calc(18px + var(--ucf-safe-bottom,0px))!important;
    overscroll-behavior:contain!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-layer{
    z-index:var(--ucf-v6211-layer-modal)!important;
    height:var(--ucf-v6211-vh,var(--ucf-vh,100dvh))!important;
    max-height:var(--ucf-v6211-vh,var(--ucf-vh,100dvh))!important;
    padding:var(--ucf-safe-top,0px) var(--ucf-safe-right,0px) 0 var(--ucf-safe-left,0px)!important;
    overflow:hidden!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal{
    width:100%!important;
    height:min(92dvh,calc(var(--ucf-v6211-vh,var(--ucf-vh,100dvh)) - var(--ucf-safe-top,0px)))!important;
    max-height:calc(var(--ucf-v6211-vh,var(--ucf-vh,100dvh)) - var(--ucf-safe-top,0px))!important;
    padding-bottom:0!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-head{
    flex:0 0 auto!important;
    z-index:4!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-head .ucf-icon-button{min-width:44px!important;min-height:44px!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-body{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scroll-padding-bottom:86px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-foot{
    flex:0 0 auto!important;
    z-index:5!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding-bottom:calc(10px + var(--ucf-safe-bottom,0px))!important;
    scroll-padding-inline:12px!important;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-foot>.ucf-button{display:inline-flex!important;flex:0 0 auto!important;min-height:44px!important;scroll-snap-align:start}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-modal-foot>.ucf-button-primary{order:-1}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-toast-wrap{
    z-index:var(--ucf-v6211-layer-toast)!important;
    bottom:calc(var(--ucf-v6211-nav-total) + 10px)!important;
  }
  body.ucf-app-page.ucf-modal-open:not(.ucf-print-isolated) .ucf-toast-wrap,
  body.ucf-app-page.ucf-mobile-sheet-open:not(.ucf-print-isolated) .ucf-toast-wrap{bottom:calc(10px + var(--ucf-safe-bottom,0px))!important}
  body.ucf-app-page.ucf-modal-open:not(.ucf-print-isolated) .ucf-mobile-nav,
  body.ucf-app-page.ucf-mobile-sheet-open:not(.ucf-print-isolated) .ucf-mobile-nav{
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* Restore real page actions hidden by legacy <=480px polish rules. Multiple
     actions receive their own bounded row instead of colliding with the title. */
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page:not(.ucf-ceo-dashboard)>.ucf-page-head .ucf-page-actions>.ucf-button:not([hidden]){display:inline-flex!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page:not(.ucf-ceo-dashboard)>.ucf-page-head .ucf-page-actions:has(>.ucf-button:nth-child(2)){
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:none!important;
    gap:8px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page:not(.ucf-ceo-dashboard)>.ucf-page-head .ucf-page-actions:has(>.ucf-button:nth-child(2))>.ucf-button{
    width:100%!important;
    min-width:0!important;
    justify-content:center!important;
    white-space:normal!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-row-actions,.ucf-guided-row-actions-v610,.ucf-page-actions,.ucf-quotation-actions){max-width:100%!important}
}

/* Cross-route acceptance band: these rules intentionally cover every supported
   phone width from 320px through 430px. */
@media(min-width:320px) and (max-width:430px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-main{overflow-x:hidden!important}
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-page,.ucf-list-page-v611,.ucf-ceo-dashboard,.ucf-accounting-page,.ucf-guided-lead-v610,.ucf-guided-client-v610,.ucf-quotation-workspace-v570){width:100%!important;max-width:100%!important;min-width:0!important}
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-button,.ucf-icon-button,.ucf-mini-button,.ucf-mobile-route,.ucf-mobile-module){min-height:44px}
  body.ucf-app-page:not(.ucf-print-isolated) :is(.ucf-row-actions,.ucf-guided-row-actions-v610){display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px!important}
}

@media(max-width:360px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page:not(.ucf-ceo-dashboard)>.ucf-page-head{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page:not(.ucf-ceo-dashboard)>.ucf-page-head .ucf-page-actions{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page:not(.ucf-ceo-dashboard)>.ucf-page-head .ucf-page-actions:has(>.ucf-button:nth-child(2)){
    grid-template-columns:1fr!important;
  }
}


/* Udyojak CRM v6.2.13 — quotation builder long-form interaction recovery.
 * Form-only accordion, validation and persistent action ownership. Frozen
 * quotation/invoice/receipt A4 and print renderers are intentionally excluded. */
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-row.ucf-quote-item-v6213{
  display:block!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--ucf-border-soft,#e1e7ef)!important;
  border-radius:13px!important;
  background:var(--ucf-panel,#fff)!important;
  box-shadow:0 5px 16px rgba(15,35,65,.035);
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-accordion-head-v6213{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-toggle-v6213{
  appearance:none;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:60px!important;
  gap:11px!important;
  padding:10px 13px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--ucf-panel-2,#f8fafc)!important;
  color:var(--ucf-text,#172033)!important;
  text-align:left!important;
  font:inherit;
  cursor:pointer;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-toggle-v6213:hover{background:#f4f7fb!important}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-toggle-v6213:focus-visible{
  outline:3px solid color-mix(in srgb,var(--ucf-brand-secondary,#ff7a16) 32%,transparent)!important;
  outline-offset:-3px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-number-v6213{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 8px;
  border:1px solid #d9e1ec;
  border-radius:8px;
  background:#fff;
  color:#536277;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-summary-copy-v6213{display:block;min-width:0!important}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-summary-copy-v6213 b{
  display:block;
  overflow:hidden;
  color:var(--ucf-text,#172033);
  font-size:13px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-summary-copy-v6213 small{
  display:block;
  margin-top:3px;
  color:var(--ucf-muted,#667085);
  font-size:10px;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-scope-state-v6213{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 8px;
  border:1px solid #bcdcca;
  border-radius:999px;
  background:#f1faf5;
  color:#1f7650;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .is-scope-disabled-v6213 .ucf-quote-item-scope-state-v6213{
  border-color:#dce2ea;
  background:#f7f8fa;
  color:#737f90;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-chevron-v6213{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  color:#637187;
  font-size:18px;
  transform:rotate(-90deg);
  transition:transform .16s ease;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .is-expanded-v6213 .ucf-quote-item-chevron-v6213{transform:rotate(0)}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-body-v6213{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  padding:14px!important;
  border-top:1px solid var(--ucf-border-soft,#e1e7ef);
  background:var(--ucf-panel,#fff);
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-body-v6213[hidden]{display:none!important}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-body-v6213>.ucf-remove-item{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:3!important;
  min-width:34px!important;
  min-height:34px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .has-validation-error-v6213{
  border-color:#e59a94!important;
  box-shadow:0 0 0 3px rgba(217,45,32,.08)!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .has-validation-error-v6213 .ucf-quote-item-toggle-v6213{background:#fff7f6!important}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .is-invalid-v6213{
  border-color:#d92d20!important;
  box-shadow:0 0 0 3px rgba(217,45,32,.1)!important;
}

/* Total and primary actions are a non-scrolling form zone. The modal body is
 * the sole long-form scroll owner, so keyboard and pointer users never lose it. */
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-body{
  scroll-padding-top:18px!important;
  scroll-padding-bottom:104px!important;
  overscroll-behavior:contain!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213{
  position:relative!important;
  bottom:auto!important;
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) auto auto!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:100%!important;
  gap:9px!important;
  overflow:visible!important;
  background:var(--ucf-panel,#fff)!important;
  box-shadow:0 -10px 24px rgba(15,35,65,.055);
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213{
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:start!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:7px 10px!important;
  gap:10px!important;
  border:1px solid #e3e8ef!important;
  border-radius:10px!important;
  background:#f8fafc!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213 span{
  color:var(--ucf-muted,#667085)!important;
  font-size:10px!important;
  white-space:nowrap;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213 b{
  color:var(--ucf-brand-primary,#0f2d5c)!important;
  font-size:17px!important;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213 small{
  justify-self:end;
  min-width:0;
  color:var(--ucf-muted,#667085);
  font-size:9px;
  text-align:right;
  white-space:nowrap;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213>.ucf-button{
  display:inline-flex!important;
  min-height:44px!important;
  margin:0!important;
  justify-content:center!important;
}

@media(max-width:760px){
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-toggle-v6213{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    min-height:64px!important;
    gap:9px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-scope-state-v6213{
    grid-column:2;
    justify-self:start;
    min-height:22px;
    padding:3px 7px;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-chevron-v6213{grid-column:3;grid-row:1/3}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-body-v6213{padding:12px!important}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-body{scroll-padding-bottom:122px!important}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    padding:8px 10px calc(8px + var(--ucf-safe-bottom,0px))!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213{
    grid-template-columns:auto auto!important;
    gap:4px 8px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213 small{grid-column:1/-1;justify-self:start;text-align:left}
}

@media(max-width:430px){
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-number-v6213{padding-inline:6px}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-summary-copy-v6213 b{font-size:12px}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-body{scroll-padding-bottom:154px!important}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213{grid-column:1/-1!important}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213>.ucf-button{width:100%!important;min-width:0!important}
}

@media(max-width:360px){
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-toggle-v6213{padding-inline:9px!important}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-number-v6213{font-size:9px}
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-scope-state-v6213{font-size:8px}
}

@media(max-width:760px){
  body.ucf-keyboard-open.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-body{scroll-padding-bottom:132px!important}
  body.ucf-keyboard-open.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213{
    padding-top:6px!important;
    gap:6px!important;
  }
  body.ucf-keyboard-open.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-action-summary-v6213{min-height:38px!important;padding-block:4px!important}
  body.ucf-keyboard-open.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot.ucf-quote-action-foot-v6213>.ucf-button{min-height:40px!important;padding-block:6px!important}
}

@media(prefers-reduced-motion:reduce){
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-chevron-v6213{transition:none!important}
}


/* Udyojak CRM v6.2.12 — quotation builder desktop layout recovery.
 * Final, form-scoped ownership isolates the block-based Scope Editor from the
 * legacy quotation-item grid. Frozen A4/print document geometry is excluded. */
body.ucf-app-page:not(.ucf-print-isolated) .ucf-quotation-modal-v6212{
  width:min(1120px,calc(100vw - 48px))!important;
  height:min(92dvh,940px)!important;
  max-height:calc(var(--ucf-vh,100dvh) - 32px)!important;
  overflow:hidden!important;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-quotation-modal-v6212>#ucf-quotation-form{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-body{
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-builder{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
  gap:12px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-builder>.ucf-quote-item-row.ucf-quote-item-row-premium{
  display:block!important;
  grid-template-columns:none!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  padding:14px!important;
  overflow:visible!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core{
  display:grid!important;
  grid-template-columns:minmax(210px,1.15fr) minmax(250px,1.45fr) minmax(84px,.42fr) minmax(120px,.65fr)!important;
  align-items:end!important;
  width:100%!important;
  min-width:0!important;
  gap:10px!important;
  padding-right:42px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core>div,
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core :is(input,select,textarea),
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body,
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body :is(input,select,textarea){
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-scope-editor{
  display:block!important;
  grid-column:1/-1!important;
  clear:both!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  margin-top:12px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-scope-editor>summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-width:0!important;
  gap:14px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-scope-editor>summary>span:first-child{
  min-width:0!important;
  overflow-wrap:anywhere;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-state{flex:0 0 auto!important}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body{
  display:block!important;
  padding:14px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  width:100%!important;
  min-width:0!important;
  gap:10px!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-enable{flex:1 1 360px!important;min-width:0!important}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-metrics-v557.is-quote{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  min-width:0!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body>.ucf-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;
  min-width:0!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body>.ucf-form-grid>.ucf-field-full{
  grid-column:1/-1!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-row>.ucf-remove-item{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:2!important;
}
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form>.ucf-modal-foot{
  display:flex!important;
  flex:0 0 auto!important;
  visibility:visible!important;
}

/* .ucf-main is the desktop scroll owner below the 68px topbar. A sticky child
 * therefore anchors at zero inside that container, not at a second 68px gap. */
@media(min-width:761px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-main .ucf-quotation-workspace-v571 .ucf-quote-exec-head-v570{
    position:sticky!important;
    top:0!important;
    z-index:82!important;
  }
}

@media(min-width:761px) and (max-width:1040px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-quotation-modal-v6212{
    width:calc(100vw - 28px)!important;
    max-height:calc(var(--ucf-vh,100dvh) - 24px)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core>div:nth-child(1),
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core>div:nth-child(2){
    grid-column:1/-1!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-catalogue-picker{
    display:flex!important;
    flex-wrap:wrap!important;
    min-width:0!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-catalogue-picker>.ucf-select{
    flex:1 1 300px!important;
    min-width:0!important;
  }
}

@media(max-width:760px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-quotation-modal-v6212{
    width:100%!important;
    height:min(92dvh,calc(var(--ucf-vh,100dvh) - var(--ucf-safe-top,0px)))!important;
    max-height:calc(var(--ucf-vh,100dvh) - var(--ucf-safe-top,0px))!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding-right:36px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core>div:nth-child(1),
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core>div:nth-child(2){
    grid-column:1/-1!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body>.ucf-form-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-body>.ucf-form-grid>.ucf-field{
    grid-column:auto!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-scope-editor>summary{
    align-items:flex-start!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-editor-tools{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-enable{flex:0 1 auto!important}
}

@media(max-width:430px){
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-item-core>div{
    grid-column:auto!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-scope-metrics-v557.is-quote{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-catalogue-picker{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-catalogue-picker>*{
    width:100%!important;
    min-width:0!important;
  }
}

/* Udyojak CRM v6.2.13 — final quotation interaction cascade seal.
 * This higher-specificity selector intentionally follows v6.2.12 layout
 * ownership so the accordion card, not the legacy row, owns outer padding. */
body.ucf-app-page:not(.ucf-print-isolated) #ucf-quotation-form .ucf-quote-builder>.ucf-quote-item-row.ucf-quote-item-row-premium.ucf-quote-item-v6213{
  padding:0!important;
  overflow:hidden!important;
  background:var(--ucf-panel,#fff)!important;
}

/* Udyojak CRM v6.2.14 — project, task, delivery and support action recovery.
 * This layer is deliberately isolated from quotation/A4 selectors. */
body.ucf-app-page:not(.ucf-print-isolated) .ucf-primary-more-actions-v6214{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-actions-v6214{
  position:relative;
  display:inline-block;
  flex:0 0 auto;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-actions-v6214>summary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:76px;
  min-height:38px;
  cursor:pointer;
  list-style:none;
  white-space:nowrap;
  user-select:none;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-actions-v6214>summary::-webkit-details-marker{display:none}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-actions-v6214[open]>summary{
  border-color:var(--ucf-orange,#ff8412);
  box-shadow:0 0 0 3px rgba(255,132,18,.12);
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-action-menu-v6214{
  position:absolute;
  z-index:210;
  top:calc(100% + 7px);
  right:0;
  display:grid;
  width:min(232px,calc(100vw - 24px));
  padding:7px;
  overflow:hidden;
  border:1px solid rgba(15,45,92,.14);
  border-radius:13px;
  background:#fff;
  box-shadow:0 18px 46px rgba(15,23,42,.18);
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214{
  display:flex;
  align-items:center;
  width:100%;
  min-height:42px;
  padding:9px 11px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--ucf-ink,#111827);
  font:inherit;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214:hover,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214:focus-visible{
  outline:none;
  background:#f3f6fa;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214.is-danger{color:#b42318}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214.is-danger:hover,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214.is-danger:focus-visible{background:#fff1f0}

body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-hint-v6214{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 8px;
  color:var(--ucf-muted,#667085);
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-hint-v6214>span{font-weight:800;color:var(--ucf-ink,#111827)}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-v6214{
  display:grid;
  grid-template-columns:repeat(6,minmax(250px,1fr));
  align-items:start;
  gap:12px;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-gutter:stable;
  padding-bottom:12px;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-v6214>.ucf-kanban-col{
  min-width:250px;
  scroll-snap-align:start;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-card-v6214{
  position:relative;
  overflow:visible;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-card-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  margin-top:12px;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-card-actions>.ucf-button,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-card-actions>.ucf-mini-button{flex:1 1 auto}

body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-drop-v6214{
  display:grid;
  gap:4px;
  margin-bottom:12px;
  padding:13px 14px;
  border:1px dashed rgba(15,45,92,.24);
  border-radius:12px;
  background:#f8fafc;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-drop-v6214 small{color:var(--ucf-muted,#667085)}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-list-v6214{
  display:grid;
  gap:8px;
  min-width:0;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-list-v6214 a{
  overflow-wrap:anywhere;
  word-break:break-word;
}

body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214>span:first-child{min-width:0}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-record-v6214{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex:1 1 auto;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-record-v6214>span:first-child{min-width:0}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-record-v6214 small,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214 small{display:block;overflow-wrap:anywhere}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-record-v6214:focus-visible{
  outline:2px solid var(--ucf-orange,#ff8412);
  outline-offset:4px;
  border-radius:6px;
}

body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-empty-v6214{
  min-height:clamp(260px,42vh,430px)!important;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-table-v6214 td:last-child,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-table-v6214 th:last-child{width:150px}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-files-v6214{margin-top:14px}

@media(max-width:1180px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-v6214{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:minmax(270px,320px);
  }
}

@media(max-width:760px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-workspace-v6214,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-desk-v6214{
    min-width:0!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-toolbar-v6214{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-toolbar-v6214>.ucf-search-wrap{
    grid-column:1/-1!important;
    min-width:0!important;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-toolbar-v6214>*{width:100%!important;min-width:0!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-hint-v6214{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-v6214{
    margin-right:-12px;
    padding-right:12px;
    grid-auto-columns:minmax(min(84vw,320px),min(84vw,320px));
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-primary-more-actions-v6214{flex-wrap:wrap}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-primary-more-actions-v6214>.ucf-button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-primary-more-actions-v6214>.ucf-mini-button{min-height:44px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-actions-v6214>summary{min-height:44px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-action-menu-v6214{
    position:fixed;
    z-index:var(--ucf-v6211-layer-popover,500);
    left:12px;
    right:12px;
    top:auto;
    bottom:calc(var(--ucf-v6211-nav-total,var(--ucf-v592-mobile-nav,62px)) + 12px);
    width:auto;
    max-height:min(58dvh,470px);
    padding:9px;
    overflow-y:auto;
    border-radius:16px;
    box-shadow:0 24px 64px rgba(15,23,42,.30);
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-action-menu-item-v6214{min-height:46px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214{
    align-items:stretch;
    flex-direction:column;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-record-v6214{width:100%}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214>.ucf-primary-more-actions-v6214,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214>.ucf-record-actions-v6214{align-self:stretch}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214>.ucf-primary-more-actions-v6214>.ucf-button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-row-v6214>.ucf-primary-more-actions-v6214>.ucf-mini-button{flex:1}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-empty-v6214{min-height:280px!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-support-table-v6214 td:last-child{min-width:158px}
  body.ucf-app-page.ucf-modal-open:not(.ucf-print-isolated) .ucf-record-action-menu-v6214,
  body.ucf-app-page.ucf-mobile-sheet-open:not(.ucf-print-isolated) .ucf-record-action-menu-v6214{display:none!important}
}

@media(max-width:430px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-toolbar-v6214{grid-template-columns:minmax(0,1fr)!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-toolbar-v6214>*{grid-column:1!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-kanban-v6214{
    grid-auto-columns:calc(100vw - 38px);
    scroll-padding-inline:12px;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-delivery-record-v6214{
    align-items:flex-start;
    flex-direction:column;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-primary-more-actions-v6214{
    align-items:stretch;
    justify-content:stretch;
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-primary-more-actions-v6214>.ucf-record-actions-v6214{flex:1 1 104px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-record-actions-v6214>summary{width:100%}
}

/* Udyojak CRM v6.2.15 — final project workflow acceptance and Task 360 continuity. */
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-title-v6215{
  display:block;
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ucf-ink,#111827);
  font:inherit;
  font-weight:800;
  line-height:1.35;
  text-align:left;
  cursor:pointer;
  overflow-wrap:anywhere;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-title-v6215:hover{color:var(--ucf-blue,#1261c9)}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-title-v6215:focus-visible{
  outline:2px solid var(--ucf-orange,#ff8412);
  outline-offset:4px;
  border-radius:5px;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-title-v6215{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  min-width:0;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-title-v6215>div{min-width:0}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-title-v6215 h2,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-title-v6215 p{overflow-wrap:anywhere}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-metrics-v6215{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:14px 0;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-metrics-v6215>div{
  min-width:0;
  padding:12px;
  border:1px solid var(--ucf-border,#dfe4ec);
  border-radius:12px;
  background:var(--ucf-surface-soft,#f8fafc);
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-metrics-v6215 small,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-metrics-v6215 strong{display:block;overflow-wrap:anywhere}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-history-v6215{
  max-height:min(34vh,320px);
  overflow:auto;
  overscroll-behavior:contain;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-actions-v6215{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-row-v6215{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-row-v6215>a{min-width:0;overflow-wrap:anywhere}

@media(max-width:760px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-title-v6215{flex-direction:column}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-metrics-v6215{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-actions-v6215{
    position:sticky;
    z-index:2;
    bottom:0;
    margin:14px -16px -16px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
    border-top:1px solid var(--ucf-border,#dfe4ec);
    background:rgba(255,255,255,.97);
    box-shadow:0 -8px 24px rgba(15,23,42,.08);
  }
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-actions-v6215>.ucf-button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-actions-v6215>.ucf-button-danger{min-height:44px;flex:1 1 128px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-file-row-v6215{align-items:flex-start;flex-direction:column}
}

@media(max-width:430px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-metrics-v6215{grid-template-columns:minmax(0,1fr)}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-actions-v6215>.ucf-button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-task-360-actions-v6215>.ucf-button-danger{flex-basis:100%}
}

/* Udyojak CRM v6.2.16 — all-plugin viewport and action-surface acceptance. */
body.ucf-app-page:not(.ucf-print-isolated) .ucf-main,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-head,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-head>div,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-card,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-table-card,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-client-toolbar,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-form-grid,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-grid{min-width:0;max-width:100%}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page h1,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page h2,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page h3,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page p,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page td{overflow-wrap:anywhere}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page input,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page select,
body.ucf-app-page:not(.ucf-print-isolated) .ucf-page textarea{min-width:0;max-width:100%}
body.ucf-app-page:not(.ucf-print-isolated) .ucf-all-plugin-acceptance-v6216 .ucf-route-matrix-row>code{white-space:normal;overflow-wrap:anywhere}

@media(max-width:760px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-head{align-items:flex-start;flex-direction:column;gap:12px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions{display:flex;width:100%;min-width:0;flex-wrap:wrap;gap:8px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>.ucf-button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>a{min-height:44px;min-width:0;flex:1 1 142px;white-space:normal;text-align:center;justify-content:center}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-client-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-client-toolbar>.ucf-search-wrap{grid-column:1/-1;width:100%;min-width:0}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-client-toolbar>*{width:100%;min-width:0}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-card-actions,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-row-actions{flex-wrap:wrap}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-table-wrap{max-width:100%;overscroll-behavior-inline:contain}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-all-plugin-acceptance-v6216 .ucf-route-matrix-row{grid-template-columns:minmax(0,1fr) auto}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-all-plugin-acceptance-v6216 .ucf-route-matrix-row>code,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-all-plugin-acceptance-v6216 .ucf-route-matrix-row>span{grid-column:1/-1}
}

@media(max-width:430px){
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-client-toolbar{grid-template-columns:minmax(0,1fr)}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-client-toolbar>*{grid-column:1!important}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>:only-child{grid-column:1/-1}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>.ucf-button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>button,
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-page-actions>a{width:100%;padding-inline:10px}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-all-plugin-acceptance-v6216 .ucf-route-matrix-row{grid-template-columns:minmax(0,1fr)}
  body.ucf-app-page:not(.ucf-print-isolated) .ucf-all-plugin-acceptance-v6216 .ucf-route-matrix-row>*{grid-column:1!important}
}

/* Udyojak CRM v6.2.17 — all-workspace visual and interaction polish. */

/* Udyojak CRM v6.3.0 — professional proposal workspace. Quotation A4 CSS remains isolated. */
.ucf-proposal-command-v630{display:grid;grid-template-columns:auto minmax(260px,1fr) auto auto;gap:16px;align-items:center;padding:20px 22px;background:var(--ucf-card);border:1px solid var(--ucf-border);border-radius:18px;box-shadow:var(--ucf-shadow)}
.ucf-proposal-command-v630 h1{margin:3px 0;font-size:28px}.ucf-proposal-command-v630 p{margin:0;color:var(--ucf-muted)}
.ucf-proposal-command-actions-v630{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ucf-proposal-progress-v630{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.ucf-proposal-progress-v630 span{padding:13px 16px;border:1px solid var(--ucf-border);border-radius:14px;background:var(--ucf-card);color:var(--ucf-muted)}.ucf-proposal-progress-v630 b{display:block;color:var(--ucf-text);font-size:18px}
.ucf-proposal-layout-v630{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}.ucf-proposal-paper-v630{overflow:hidden}.ucf-proposal-paper-v630>header{padding:clamp(28px,5vw,58px);background:linear-gradient(135deg,#062b63,#0b3f82);color:#fff}.ucf-proposal-paper-v630>header small{color:#ffb46d;font-weight:900;letter-spacing:.13em}.ucf-proposal-paper-v630>header h1{font-size:clamp(32px,5vw,56px);line-height:1.05;margin:14px 0}.ucf-proposal-paper-v630>header p{color:#dbeafe}.ucf-proposal-paper-v630>header div{display:flex;gap:24px;flex-wrap:wrap;color:#dbeafe}
.ucf-proposal-section-v630{padding:30px clamp(24px,5vw,58px);border-bottom:1px solid var(--ucf-border)}.ucf-proposal-section-v630:last-child{border-bottom:0}.ucf-proposal-section-v630>small{display:block;margin-bottom:10px;color:var(--ucf-orange);font-weight:900;letter-spacing:.11em}.ucf-proposal-section-v630>p{margin:0;color:var(--ucf-text);font-size:16px;line-height:1.8}.ucf-proposal-side-v630{display:grid;gap:14px;position:sticky;top:calc(var(--ucf-topbar-height,72px) + 14px)}.ucf-proposal-cases-v630{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ucf-proposal-cases-v630 article{box-shadow:none}.ucf-proposal-cases-v630 p{margin:8px 0;color:var(--ucf-muted)}
.ucf-proposal-builder-v630 .ucf-modal-body{padding-bottom:92px}.ucf-proposal-builder-intro-v630{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;padding:15px 18px;border:1px solid #fed7aa;border-radius:14px;background:#fff7ed;color:#9a4806}.ucf-proposal-builder-v630 textarea{min-height:112px;resize:vertical}.ucf-proposal-sticky-actions-v630{position:sticky;bottom:0;z-index:3;background:var(--ucf-card);box-shadow:0 -12px 26px rgba(7,26,51,.08)}.ucf-proposal-sticky-actions-v630>div{margin-right:auto;color:var(--ucf-muted)}
@media(max-width:1050px){.ucf-proposal-command-v630{grid-template-columns:auto minmax(0,1fr) auto}.ucf-proposal-command-actions-v630{grid-column:1/-1;justify-content:flex-start}.ucf-proposal-layout-v630{grid-template-columns:1fr}.ucf-proposal-side-v630{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ucf-proposal-command-v630{grid-template-columns:auto minmax(0,1fr);padding:16px}.ucf-proposal-command-v630>.ucf-stage-pill{grid-column:2}.ucf-proposal-command-actions-v630{display:grid;grid-template-columns:1fr 1fr;width:100%}.ucf-proposal-command-actions-v630 .ucf-button,.ucf-proposal-command-actions-v630 details{width:100%}.ucf-proposal-command-actions-v630 details>summary{width:100%}.ucf-proposal-progress-v630{grid-template-columns:1fr 1fr}.ucf-proposal-side-v630,.ucf-proposal-cases-v630{grid-template-columns:1fr}.ucf-proposal-paper-v630>header{padding:28px 22px}.ucf-proposal-section-v630{padding:24px 22px}.ucf-proposal-builder-intro-v630{display:grid}.ucf-proposal-sticky-actions-v630{display:grid;grid-template-columns:1fr 1fr;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.ucf-proposal-sticky-actions-v630>div{grid-column:1/-1}.ucf-proposal-sticky-actions-v630 .ucf-button{width:100%}}
@media(max-width:390px){.ucf-proposal-command-actions-v630,.ucf-proposal-progress-v630{grid-template-columns:1fr}.ucf-proposal-command-v630 h1{font-size:23px}}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated){
  --ucf-polish-ring:color-mix(in srgb,var(--ucf-orange,#ff8412) 30%,transparent);
  --ucf-polish-shadow:0 10px 28px rgba(15,23,42,.055);
  --ucf-polish-shadow-raised:0 16px 40px rgba(15,23,42,.11);
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-head h1{
  letter-spacing:-.025em;
  text-wrap:balance;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-head p{
  max-width:72ch;
  line-height:1.5;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-card,.ucf-table-card):not(.ucf-a4-sheet):not(.ucf-document-set):not(.ucf-quotation-page):not(.ucf-invoice-sheet):not(.ucf-receipt-sheet){
  border-color:color-mix(in srgb,var(--ucf-border,#dfe4ec) 88%,transparent);
  box-shadow:var(--ucf-polish-shadow);
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-card-title{
  align-items:flex-start;
  letter-spacing:-.008em;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-card-title small{
  line-height:1.35;
  text-align:right;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-polished-metric-v6217,.ucf-revenue-metric) :is(.ucf-metric-value,strong,b){
  font-variant-numeric:tabular-nums lining-nums;
  letter-spacing:-.018em;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-button,.ucf-mini-button,.ucf-icon-button){
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-button{
  min-height:38px;
  line-height:1.2;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-button-primary{
  box-shadow:0 8px 18px color-mix(in srgb,var(--ucf-orange,#ff8412) 22%,transparent)!important;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-button,.ucf-mini-button,.ucf-icon-button):hover:not(:disabled){
  border-color:color-mix(in srgb,var(--ucf-orange,#ff8412) 34%,var(--ucf-border,#dfe4ec));
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-button,.ucf-mini-button,.ucf-icon-button,.ucf-tab,.ucf-client-tab,button,a,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--ucf-orange,#ff8412)!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 4px var(--ucf-polish-ring)!important;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(button,.ucf-button):disabled,
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(button,.ucf-button)[aria-disabled="true"]{
  cursor:not-allowed!important;
  filter:saturate(.45);
  opacity:.58!important;
  box-shadow:none!important;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(input,select,textarea,.ucf-input){
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-table-region-v6217{
  scrollbar-gutter:stable;
  scroll-padding-inline:12px;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-table-region-v6217:focus-visible{
  outline:2px solid var(--ucf-orange,#ff8412);
  outline-offset:-2px;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) table.ucf-table:not(.ucf-doc-table) thead th{
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) table.ucf-table:not(.ucf-doc-table) tbody tr{
  transition:background-color .14s ease;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) table.ucf-table:not(.ucf-doc-table) tbody tr:hover td{
  background:color-mix(in srgb,var(--ucf-orange,#ff8412) 3.8%,var(--ucf-panel,#fff))!important;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-stage-pill,.ucf-source-pill,.ucf-status-pill,.ucf-payment-pill){
  line-height:1.2;
  letter-spacing:.01em;
  white-space:nowrap;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-tabs,.ucf-client-tabs){
  scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-tab,.ucf-client-tab){
  scroll-snap-align:start;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-polished-action-menu-v6217>summary{
  list-style:none;
  cursor:pointer;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-polished-action-menu-v6217>summary::-webkit-details-marker{display:none}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-polished-action-menu-v6217[open]>div{
  border:1px solid var(--ucf-border,#dfe4ec);
  box-shadow:var(--ucf-polish-shadow-raised);
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-zero-card-v6217{
  min-height:0!important;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-zero-card-v6217 :is(.ucf-empty-cell,.ucf-empty-state-v611,.ucf-placeholder-inner){
  min-height:clamp(120px,18vh,220px)!important;
  padding:22px!important;
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal-layer.is-open{
  background:rgba(15,23,42,.58);
  backdrop-filter:blur(7px) saturate(.9);
}
body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal{
  border-color:color-mix(in srgb,var(--ucf-border,#dfe4ec) 86%,transparent);
  box-shadow:0 30px 90px rgba(15,23,42,.34);
}

@media(max-width:760px){
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page{padding-inline:14px}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-head{margin-bottom:14px!important}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-button,.ucf-mini-button,.ucf-icon-button,.ucf-tab,.ucf-client-tab,summary){min-height:44px}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) :is(.ucf-tabs,.ucf-client-tabs,.ucf-stage-tabs){
    margin-inline:-2px;
    padding:2px;
    scroll-padding-inline:8px;
  }
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal-body{padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal-foot{
    gap:8px;
    padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));
  }
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal-foot>.ucf-button{min-height:44px;flex:1 1 128px}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-card-title{gap:8px}
}

@media(max-width:430px){
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page{padding-inline:12px}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-actions>.ucf-button,
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-actions>button,
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-actions>a{display:inline-flex!important}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-actions{gap:7px}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-page-actions>*{font-size:12px!important}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-card-title{flex-wrap:wrap}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-card-title small{width:100%;text-align:left}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal-foot{flex-wrap:wrap}
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) .ucf-modal-foot>.ucf-button{flex-basis:100%}
}

@media(prefers-reduced-motion:reduce){
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) *,
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) *::before,
  body.ucf-app-page.ucf-polished-v6217:not(.ucf-print-isolated) *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}

/* Udyojak CRM v6.3.1 — proposal delivery, acceptance and mobile client reliability. */
.ucf-proposal-mobile-actions-v631{display:none}
.ucf-proposal-fidelity-v631{margin:14px 0;border-left:4px solid var(--ucf-green,#139a68)}
.ucf-proposal-fidelity-v631.is-blocked{border-left-color:var(--ucf-red,#d44343);background:color-mix(in srgb,var(--ucf-red,#d44343) 5%,var(--ucf-card,#fff))}
.ucf-proposal-fidelity-v631 p{margin:8px 0;color:var(--ucf-muted)}
.ucf-proposal-fidelity-v631.is-ready .ucf-card-title>b{color:var(--ucf-green,#139a68)}
.ucf-proposal-fidelity-v631.is-blocked .ucf-card-title>b{color:var(--ucf-red,#d44343)}
.ucf-proposal-followup-overdue-v631{border-color:color-mix(in srgb,var(--ucf-red,#d44343) 45%,var(--ucf-border,#dfe4ec));box-shadow:inset 4px 0 0 var(--ucf-red,#d44343)}
.ucf-proposal-audit-v631 code,.ucf-proposal-revision-row-v631 code{font:700 11px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ucf-muted);overflow-wrap:anywhere}
.ucf-proposal-revisions-v631{display:grid;gap:8px;margin-top:14px}
.ucf-proposal-revision-row-v631{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--ucf-border-soft,#edf0f4)}
.ucf-proposal-revision-row-v631>span{padding:5px 8px;border-radius:999px;background:#fff3e8;color:#a84b00;font-size:11px;font-weight:900}
.ucf-proposal-revision-row-v631 b,.ucf-proposal-revision-row-v631 small{display:block}.ucf-proposal-revision-row-v631 small{color:var(--ucf-muted)}
.ucf-proposal-events-v631{display:grid;gap:2px;max-height:390px;overflow:auto}
.ucf-proposal-event-v631{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid var(--ucf-border-soft,#edf0f4)}
.ucf-proposal-event-v631>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f3f6fa;color:#0b62ce;font-weight:900}.ucf-proposal-event-v631 b,.ucf-proposal-event-v631 small{display:block}.ucf-proposal-event-v631 small{margin-top:2px;color:var(--ucf-muted)}
.ucf-proposal-builder-check-v631{margin-bottom:14px;padding:12px 14px;border:1px solid #fecaca;border-radius:12px;background:#fef2f2;color:#991b1b}.ucf-proposal-builder-check-v631 ul{margin:7px 0 0;padding-left:20px}
.ucf-proposal-builder-v631 [aria-invalid="true"]{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important}
.ucf-proposal-action-form-v631 .ucf-modal-body{padding-bottom:24px}

@media(max-width:760px){
  .ucf-proposal-detail-v631{padding-bottom:calc(var(--ucf-v6211-nav-total,var(--ucf-v592-mobile-nav,62px)) + 92px)!important}
  .ucf-proposal-detail-v631 .ucf-proposal-command-actions-v630{display:none}
  .ucf-proposal-detail-v631 .ucf-proposal-lower-v631{grid-template-columns:1fr!important}
  .ucf-proposal-progress-v631{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ucf-proposal-mobile-actions-v631{position:fixed;left:max(10px,var(--ucf-safe-left,0px));right:max(10px,var(--ucf-safe-right,0px));bottom:calc(var(--ucf-v6211-nav-total,var(--ucf-v592-mobile-nav,62px)) + 10px);z-index:48;display:grid;grid-template-columns:minmax(0,1fr) 48px 48px 48px;gap:7px;padding:8px;border:1px solid rgba(15,45,92,.14);border-radius:15px;background:rgba(255,255,255,.97);box-shadow:0 12px 34px rgba(15,23,42,.2);backdrop-filter:blur(10px)}
  .ucf-proposal-mobile-actions-v631>.ucf-button,.ucf-proposal-mobile-actions-v631>button{min-width:0;min-height:48px;border:1px solid var(--ucf-border,#dfe4ec);border-radius:10px;background:#fff;color:var(--ucf-text,#172033);font-weight:900}
  .ucf-proposal-mobile-actions-v631>.ucf-button-primary{background:var(--ucf-orange,#ff8412);border-color:var(--ucf-orange,#ff8412);color:#fff}
  .ucf-proposal-revision-row-v631{grid-template-columns:auto minmax(0,1fr)}.ucf-proposal-revision-row-v631 code{grid-column:2}
  .ucf-proposal-action-form-v631 .ucf-form-grid{grid-template-columns:1fr}
}

@media(max-width:430px){
  .ucf-proposals-v631 .ucf-table-card{overflow:hidden}
  .ucf-proposal-progress-v631{grid-template-columns:1fr 1fr!important;gap:8px}
  .ucf-proposal-progress-v631 span{padding:11px 12px}
  .ucf-proposal-mobile-actions-v631{grid-template-columns:minmax(0,1fr) 46px 46px 46px;left:8px;right:8px}
  .ucf-proposal-action-form-v631 .ucf-modal-foot{display:grid!important;grid-template-columns:1fr!important}
  .ucf-proposal-action-form-v631 .ucf-modal-foot>.ucf-button{width:100%}
}

@media(max-width:350px){.ucf-proposal-mobile-actions-v631{grid-template-columns:minmax(0,1fr) 44px 44px}.ucf-proposal-mobile-actions-v631>[data-proposal-copy-current]{display:none}.ucf-proposal-progress-v631{grid-template-columns:1fr!important}}


/* Udyojak CRM v6.4.1 — Workflow-First Navigation & Route-Stable Guided Lifecycle Edition.
 * Global navigation follows work order; header scale now matches the visual
 * confidence of the contextual sidebar while retaining responsive fit logic. */
@media(min-width:1121px){
  body.ucf-app-page .ucf-modulebar{gap:4px!important;padding-inline:8px!important}
  body.ucf-app-page .ucf-module-button{
    min-width:68px!important;height:40px!important;padding:0 8px!important;gap:6px!important;
    border:1px solid transparent!important;border-radius:10px!important;
  }
  body.ucf-app-page .ucf-module-button>span{display:grid!important;place-items:center!important}
  body.ucf-app-page .ucf-module-button>span .ucf-nav-svg{width:17px!important;height:17px!important;stroke-width:1.9!important}
  body.ucf-app-page .ucf-module-button>small{display:block!important;font-size:12.25px!important;line-height:1!important;font-weight:700!important;letter-spacing:0!important}
  body.ucf-app-page .ucf-module-button.is-active{
    background:color-mix(in srgb,var(--ucf-orange) 10%,var(--ucf-panel))!important;
    border-color:color-mix(in srgb,var(--ucf-orange) 38%,var(--ucf-border))!important;
    color:var(--ucf-accent-text,#a84d08)!important;
    box-shadow:inset 0 -2px 0 var(--ucf-orange)!important;
  }
}
@media(min-width:761px) and (max-width:1120px){
  body.ucf-app-page .ucf-modulebar{gap:2px!important;padding-inline:4px!important}
  body.ucf-app-page .ucf-module-button{min-width:50px!important;height:36px!important;padding:0 5px!important;gap:4px!important}
  body.ucf-app-page .ucf-module-button>span{display:grid!important;place-items:center!important}
  body.ucf-app-page .ucf-module-button>span .ucf-nav-svg{width:15px!important;height:15px!important}
  body.ucf-app-page .ucf-module-button>small{display:block!important;font-size:10.5px!important;font-weight:700!important}
}
@media(min-width:761px){
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-module-button{height:38px!important;padding-inline:6px!important;gap:4px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-module-button>span{display:grid!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-module-button>span .ucf-nav-svg{width:16px!important;height:16px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="compact"] .ucf-module-button>small{display:block!important;font-size:11.25px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button{height:36px!important;padding-inline:4px!important;gap:3px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button>span{display:grid!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button>span .ucf-nav-svg{width:14px!important;height:14px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="dense"] .ucf-module-button>small{display:block!important;font-size:10px!important}
  body.ucf-app-page .ucf-topbar[data-ucf-header-density="squeeze"] .ucf-module-button>small{font-size:9.5px!important;font-weight:700!important}
}

/* Dashboard workflow command surface. */
.ucf-workflow-command-v640{margin:0 0 14px;padding:16px;border:1px solid color-mix(in srgb,var(--ucf-orange) 22%,var(--ucf-border));border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--ucf-orange) 6%,var(--ucf-panel)) 0%,var(--ucf-panel) 62%);box-shadow:0 8px 24px rgba(15,23,42,.04)}
.ucf-workflow-command-head-v640{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}
.ucf-workflow-command-head-v640 small{display:block;margin-bottom:4px;color:var(--ucf-accent-text,#a84d08);font-size:10px;font-weight:800;letter-spacing:.08em}
.ucf-workflow-command-head-v640 h2{margin:0;color:var(--ucf-text);font-size:19px;line-height:1.2}
.ucf-workflow-command-head-v640 p{margin:5px 0 0;color:var(--ucf-muted);font-size:11.5px;line-height:1.45}
.ucf-workflow-command-track-v640{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}
.ucf-workflow-command-track-v640>button{position:relative;display:flex;align-items:center;gap:8px;min-width:0;padding:9px 8px;border:1px solid var(--ucf-border-soft,var(--ucf-border));border-radius:10px;background:var(--ucf-panel);color:var(--ucf-text);text-align:left;cursor:pointer}
.ucf-workflow-command-track-v640>button:not(:last-child)::after{content:'›';position:absolute;right:-7px;top:50%;z-index:2;transform:translateY(-50%);width:14px;text-align:center;color:#aab4c0;background:var(--ucf-panel);font-weight:800}
.ucf-workflow-command-track-v640>button:hover{border-color:color-mix(in srgb,var(--ucf-orange) 34%,var(--ucf-border));background:color-mix(in srgb,var(--ucf-orange) 4%,var(--ucf-panel))}
.ucf-workflow-command-track-v640 i{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:999px;background:color-mix(in srgb,var(--ucf-orange) 12%,var(--ucf-panel-2));color:var(--ucf-accent-text,#a84d08);font-style:normal;font-size:10px;font-weight:800}
.ucf-workflow-command-track-v640 span{display:grid;min-width:0;gap:2px}.ucf-workflow-command-track-v640 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}.ucf-workflow-command-track-v640 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ucf-muted);font-size:9.5px}

/* Longer v6.4 lifecycle remains readable without making cards taller. */
.ucf-guided-flow-v640{gap:6px!important;padding:10px!important}
.ucf-guided-flow-v640>span{gap:5px!important;font-size:10.5px!important}
.ucf-guided-flow-v640 i{width:21px!important;height:21px!important}
.ucf-guided-flow-v640 .is-current b{font-weight:800!important}

@media(max-width:1180px){
  .ucf-workflow-command-track-v640{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:3px;scrollbar-width:thin}
  .ucf-workflow-command-track-v640>button{flex:0 0 148px}
}
@media(max-width:760px){
  .ucf-workflow-command-v640{padding:12px;margin-bottom:10px}
  .ucf-workflow-command-head-v640{align-items:flex-start;flex-direction:column;gap:9px}.ucf-workflow-command-head-v640 .ucf-button{width:100%}
  .ucf-workflow-command-head-v640 h2{font-size:17px}.ucf-workflow-command-head-v640 p{font-size:10.5px}
  .ucf-workflow-command-track-v640>button{flex-basis:140px;min-height:58px}
  .ucf-guided-flow-v640>span b{max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media print{.ucf-workflow-command-v640{display:none!important}}
