/* Udyojak CRM v5.9.5 critical visual bundle; source order preserved. */

/* ---- source: app.css ---- */
:root {
    --ucf-bg: #08090c;
    --ucf-shell: #0b0c10;
    --ucf-panel: #15161b;
    --ucf-panel-2: #1b1c22;
    --ucf-panel-3: #202128;
    --ucf-border: #31323a;
    --ucf-border-soft: #24252c;
    --ucf-text: #f4f5f7;
    --ucf-muted: #9fa1ab;
    --ucf-purple: #6550ff;
    --ucf-purple-2: #503de1;
    --ucf-purple-soft: rgba(101,80,255,.14);
    --ucf-blue: #3e83ff;
    --ucf-green: #29c475;
    --ucf-orange: #ed9124;
    --ucf-red: #ed484f;
    --ucf-cyan: #2bc1c4;
    --ucf-radius: 14px;
    --ucf-sidebar: 176px;
    --ucf-topbar: 64px;
    --ucf-shadow: 0 18px 50px rgba(0,0,0,.22);
    --ucf-safe-bottom: env(safe-area-inset-bottom, 0px);
}
*{box-sizing:border-box}
html,body.ucf-standalone{margin:0!important;padding:0!important;background:var(--ucf-bg)!important;color:var(--ucf-text)!important;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body.ucf-app-page{overflow:hidden}
.ucf-app{min-height:100vh;background:radial-gradient(circle at 70% -20%,rgba(101,80,255,.09),transparent 32%),var(--ucf-bg);color:var(--ucf-text)}
.ucf-app button,.ucf-app input,.ucf-app select,.ucf-app textarea{font:inherit}
.ucf-boot,.ucf-access{min-height:100vh;display:grid;place-items:center;background:var(--ucf-bg)}
.ucf-boot{gap:14px;align-content:center;color:var(--ucf-muted)}
.ucf-spinner{width:28px;height:28px;border:3px solid var(--ucf-border);border-top-color:var(--ucf-purple);border-radius:50%;animation:ucf-spin .7s linear infinite}@keyframes ucf-spin{to{transform:rotate(360deg)}}
.ucf-access-card{width:min(420px,calc(100vw - 32px));padding:32px;background:var(--ucf-panel);border:1px solid var(--ucf-border);border-radius:20px;box-shadow:var(--ucf-shadow);text-align:center}.ucf-access-card h2{margin:10px 0}.ucf-access-card p{color:var(--ucf-muted);margin-bottom:22px}
.ucf-shell{height:100vh;display:grid;grid-template-columns:var(--ucf-sidebar) minmax(0,1fr);grid-template-rows:var(--ucf-topbar) minmax(0,1fr);overflow:hidden}
.ucf-topbar{grid-column:1/-1;display:grid;grid-template-columns:var(--ucf-sidebar) minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--ucf-border-soft);background:rgba(10,11,15,.96);backdrop-filter:blur(18px);z-index:30}
.ucf-brand{height:100%;display:flex;align-items:center;gap:10px;padding:0 22px;border-right:1px solid var(--ucf-border-soft);font-size:18px;font-weight:800;white-space:nowrap}.ucf-brand-mark{width:27px;height:27px;border:3px solid var(--ucf-purple);border-radius:50%;position:relative;display:inline-block}.ucf-brand-mark:after{content:"";position:absolute;inset:6px;border:2px solid var(--ucf-purple);border-radius:50%}
.ucf-modulebar{display:flex;align-items:center;gap:7px;padding:0 16px;min-width:0;overflow:auto;scrollbar-width:none}.ucf-modulebar::-webkit-scrollbar{display:none}.ucf-module-button{height:38px;min-width:76px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--ucf-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:.18s}.ucf-module-button>span{font-size:14px}.ucf-module-button>small{font-size:10px;font-weight:750;letter-spacing:.01em}.ucf-module-button:hover{background:var(--ucf-panel);color:var(--ucf-text)}.ucf-module-button.is-active{background:linear-gradient(145deg,var(--ucf-purple),var(--ucf-purple-2));color:#fff;box-shadow:0 10px 28px rgba(101,80,255,.22)}
.ucf-top-actions{display:flex;align-items:center;gap:10px;padding-right:18px}.ucf-subscribe{border:0;background:linear-gradient(135deg,#1774ff,#5756ff);color:white;padding:10px 16px;border-radius:10px;font-weight:700}.ucf-icon-button{border:0;background:transparent;color:var(--ucf-muted);width:36px;height:36px;border-radius:9px;cursor:pointer}.ucf-icon-button:hover{background:var(--ucf-panel);color:var(--ucf-text)}
.ucf-user{display:flex;align-items:center;gap:9px;padding-left:8px}.ucf-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#252730;border:1px solid #393b45;font-weight:800}.ucf-user-meta{font-size:13px;line-height:1.25}.ucf-user-meta small{display:block;color:var(--ucf-muted);margin-top:2px}
.ucf-sidebar{grid-row:2;background:var(--ucf-shell);border-right:1px solid var(--ucf-border-soft);padding:12px 8px calc(14px + var(--ucf-safe-bottom));display:flex;flex-direction:column;min-height:0;z-index:25}.ucf-nav{display:flex;flex-direction:column;gap:3px;overflow:auto}.ucf-nav-item{width:100%;display:flex;align-items:center;gap:10px;padding:10px 11px;border:0;border-radius:10px;background:transparent;color:#c5c7cf;text-align:left;cursor:pointer;font-size:14px}.ucf-nav-item:hover{background:var(--ucf-panel);color:white}.ucf-nav-item.is-active{background:linear-gradient(135deg,var(--ucf-purple),#5545e7);color:white}.ucf-nav-icon{width:18px;height:18px;display:grid;place-items:center;font-size:13px;opacity:.9}.ucf-nav-divider{height:1px;background:var(--ucf-border-soft);margin:7px 8px}.ucf-sidebar-user{margin-top:auto;padding:14px 11px;border-top:1px solid var(--ucf-border-soft);display:flex;gap:10px;align-items:center}.ucf-sidebar-user .ucf-avatar{width:38px;height:38px}
.ucf-main{grid-column:2;grid-row:2;overflow:auto;position:relative}.ucf-page{padding:22px 22px 34px;max-width:1480px;margin:0 auto}.ucf-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.ucf-page-head h1{font-size:26px;line-height:1.15;margin:0 0 5px}.ucf-page-head p{margin:0;color:var(--ucf-muted);font-size:14px}.ucf-page-actions{display:flex;gap:9px;flex-wrap:wrap}
.ucf-button{border:1px solid var(--ucf-border);background:var(--ucf-panel);color:var(--ucf-text);padding:9px 13px;border-radius:9px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:650;font-size:13px;transition:.16s}.ucf-button:hover{border-color:#494b58;background:var(--ucf-panel-2)}.ucf-button-primary{border-color:transparent;background:linear-gradient(135deg,var(--ucf-purple),var(--ucf-purple-2));color:white}.ucf-button-danger{background:rgba(237,72,79,.12);color:#ff7379;border-color:rgba(237,72,79,.4)}.ucf-button-success{background:rgba(41,196,117,.12);color:#4bd889;border-color:rgba(41,196,117,.35)}.ucf-button-ghost{background:transparent}
.ucf-grid{display:grid;gap:12px}.ucf-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.ucf-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ucf-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ucf-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ucf-card{background:linear-gradient(180deg,rgba(25,26,32,.98),rgba(20,21,26,.98));border:1px solid var(--ucf-border);border-radius:var(--ucf-radius);box-shadow:0 1px 0 rgba(255,255,255,.015) inset}.ucf-card-pad{padding:16px}.ucf-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:800;margin-bottom:12px}.ucf-card-title small{color:var(--ucf-muted);font-weight:500}.ucf-card-title .ucf-count{color:var(--ucf-muted)}
.ucf-metric{min-height:92px;padding:14px;display:flex;align-items:center;gap:13px}.ucf-metric-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--ucf-purple-soft);color:var(--ucf-purple);font-size:18px}.ucf-metric-copy{min-width:0}.ucf-metric-label{color:var(--ucf-muted);font-size:12px;margin-bottom:5px}.ucf-metric-value{font-size:22px;font-weight:800;letter-spacing:-.02em}.ucf-metric-delta{font-size:11px;color:var(--ucf-green);margin-top:4px}.ucf-tone-blue .ucf-metric-icon{background:rgba(62,131,255,.14);color:var(--ucf-blue)}.ucf-tone-green .ucf-metric-icon{background:rgba(41,196,117,.14);color:var(--ucf-green)}.ucf-tone-red .ucf-metric-icon{background:rgba(237,72,79,.14);color:var(--ucf-red)}.ucf-tone-orange .ucf-metric-icon{background:rgba(237,145,36,.14);color:var(--ucf-orange)}
.ucf-section{margin-top:12px}.ucf-quick-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.ucf-quick-action{min-height:85px;border:1px solid var(--ucf-border);background:var(--ucf-panel-2);border-radius:12px;color:var(--ucf-text);cursor:pointer;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}.ucf-quick-action:hover{border-color:#515361;background:#202129}.ucf-quick-action span:first-child{font-size:20px;color:#b4aaff}.ucf-quick-action strong{font-size:12px}
.ucf-list{display:flex;flex-direction:column}.ucf-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 2px;border-top:1px solid var(--ucf-border-soft)}.ucf-list-row:first-child{border-top:0}.ucf-list-title{font-weight:700;font-size:13px}.ucf-list-meta{color:var(--ucf-muted);font-size:11px;margin-top:3px}.ucf-list-amount{text-align:right;font-weight:800}.ucf-list-amount small{display:block;font-weight:500;color:var(--ucf-orange);margin-top:3px}.ucf-list-amount.is-danger small{color:var(--ucf-red)}.ucf-list-amount.is-positive{color:var(--ucf-green)}.ucf-list-amount.is-negative{color:var(--ucf-red)}
.ucf-activity-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto 115px;gap:11px;align-items:center;padding:10px 0;border-top:1px solid var(--ucf-border-soft)}.ucf-activity-row:first-child{border-top:0}.ucf-activity-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:rgba(101,80,255,.12);color:#a79cff}.ucf-activity-amount{text-align:right;font-weight:800;font-size:13px}.ucf-activity-time{color:var(--ucf-muted);font-size:11px;text-align:right}
.ucf-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) repeat(4,minmax(130px,180px));gap:9px;margin-bottom:12px}.ucf-input,.ucf-select,.ucf-textarea{width:100%;border:1px solid var(--ucf-border);background:var(--ucf-panel);color:var(--ucf-text);border-radius:9px;padding:10px 12px;outline:none}.ucf-input:focus,.ucf-select:focus,.ucf-textarea:focus{border-color:var(--ucf-purple);box-shadow:0 0 0 3px rgba(101,80,255,.1)}.ucf-select option{background:#1a1b20}.ucf-search-wrap{position:relative}.ucf-search-wrap:before{content:"⌕";position:absolute;left:12px;top:50%;transform:translateY(-52%);color:var(--ucf-muted)}.ucf-search-wrap .ucf-input{padding-left:34px}
.ucf-stage-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 12px}.ucf-stage-tab{border:1px solid var(--ucf-border);background:var(--ucf-panel);color:#cfd0d7;border-radius:9px;padding:9px 12px;white-space:nowrap;cursor:pointer}.ucf-stage-tab.is-active{border-color:rgba(101,80,255,.7);background:var(--ucf-purple-soft);color:#dcd8ff}.ucf-stage-tab b{margin-left:6px;font-size:11px;padding:2px 7px;border-radius:999px;background:#24252d}
.ucf-leads-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:12px}.ucf-table-card{overflow:hidden}.ucf-table-wrap{overflow:auto}.ucf-table{width:100%;border-collapse:collapse;min-width:980px}.ucf-table th{background:#191a20;color:var(--ucf-muted);font-size:11px;text-align:left;font-weight:700;padding:11px;border-bottom:1px solid var(--ucf-border)}.ucf-table td{padding:11px;border-bottom:1px solid var(--ucf-border-soft);font-size:12px;color:#dedfe4;vertical-align:middle}.ucf-table tr:hover td{background:rgba(255,255,255,.012)}.ucf-person{display:flex;align-items:center;gap:9px}.ucf-person-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#2c2f3a;color:#d9d9e2;font-weight:800;font-size:10px}.ucf-person-name{font-weight:750;color:#f4f4f6}.ucf-person-email{font-size:10px;color:var(--ucf-muted);margin-top:2px}.ucf-stage-pill,.ucf-source-pill,.ucf-status-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:750;border:1px solid transparent}.ucf-stage-new{color:#8fc2ff;background:rgba(62,131,255,.11);border-color:rgba(62,131,255,.18)}.ucf-stage-contacted{color:#7ddbe3;background:rgba(43,193,196,.1);border-color:rgba(43,193,196,.17)}.ucf-stage-qualified{color:#ffd36a;background:rgba(237,145,36,.1);border-color:rgba(237,145,36,.18)}.ucf-stage-proposal{color:#c3a3ff;background:rgba(160,90,255,.11);border-color:rgba(160,90,255,.18)}.ucf-stage-negotiation{color:#ffad58;background:rgba(237,145,36,.11);border-color:rgba(237,145,36,.18)}.ucf-stage-won{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.18)}.ucf-stage-lost{color:#ff7a80;background:rgba(237,72,79,.11);border-color:rgba(237,72,79,.18)}.ucf-source-pill{background:#252631;color:#c9c2ff}.ucf-row-actions{display:flex;gap:4px}.ucf-mini-button{width:30px;height:30px;border-radius:8px;border:1px solid var(--ucf-border);background:transparent;color:var(--ucf-muted);cursor:pointer}.ucf-mini-button:hover{color:white;background:var(--ucf-panel-3)}
.ucf-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px;color:var(--ucf-muted);font-size:11px}.ucf-pages{display:flex;gap:5px}.ucf-page-button{width:31px;height:31px;border-radius:8px;border:1px solid var(--ucf-border);background:transparent;color:var(--ucf-muted);cursor:pointer}.ucf-page-button.is-active{background:var(--ucf-purple-2);color:#fff;border-color:transparent}
.ucf-insights{display:flex;flex-direction:column;gap:12px}.ucf-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ucf-insight-box{padding:10px;background:var(--ucf-panel-2);border:1px solid var(--ucf-border-soft);border-radius:10px}.ucf-insight-box small{display:block;color:var(--ucf-muted);font-size:10px;margin-bottom:4px}.ucf-insight-box b{font-size:18px}.ucf-donut{width:120px;height:120px;border-radius:50%;margin:10px auto;background:conic-gradient(var(--ucf-blue) 0 19%,var(--ucf-cyan) 19% 41%,#e8be42 41% 58%,#9e65ff 58% 72%,var(--ucf-orange) 72% 83%,var(--ucf-green) 83% 95%,var(--ucf-red) 95%);position:relative}.ucf-donut:after{content:"";position:absolute;inset:24px;border-radius:50%;background:var(--ucf-panel)}.ucf-donut-label{position:absolute;inset:0;display:grid;place-items:center;z-index:1;text-align:center;font-weight:800}.ucf-donut-label small{display:block;color:var(--ucf-muted);font-size:9px;font-weight:500}
.ucf-lead-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ucf-back{width:34px;height:34px;border:0;background:transparent;color:var(--ucf-muted);cursor:pointer}.ucf-lead-title{flex:1;min-width:240px}.ucf-lead-title h1{margin:0 0 5px}.ucf-lead-title p{margin:0;color:var(--ucf-muted)}.ucf-status-interest{display:inline-flex;color:#54d98d;background:rgba(41,196,117,.12);border:1px solid rgba(41,196,117,.25);border-radius:999px;padding:5px 10px;font-size:11px;font-weight:750}.ucf-tabs{display:grid;grid-template-columns:repeat(5,1fr);margin:14px 0 12px;border:1px solid var(--ucf-border);border-radius:12px;overflow:hidden;background:var(--ucf-panel)}.ucf-tab{padding:12px;border:0;background:transparent;color:var(--ucf-muted);cursor:pointer;border-bottom:2px solid transparent}.ucf-tab.is-active{color:white;border-bottom-color:var(--ucf-purple);background:rgba(101,80,255,.045)}
.ucf-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ucf-info-card{padding:16px}.ucf-info-card h3{font-size:15px;margin:0 0 14px}.ucf-info-list{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}.ucf-info-item small{display:block;color:var(--ucf-muted);font-size:10px;margin-bottom:5px}.ucf-info-item b{font-size:13px}.ucf-lead-lower{display:grid;grid-template-columns:1.05fr 1.2fr .9fr;gap:12px;margin-top:12px}.ucf-metric-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ucf-metric-mini{text-align:center;padding:14px 9px;background:var(--ucf-panel-2);border:1px solid var(--ucf-border-soft);border-radius:11px}.ucf-metric-mini b{display:block;font-size:20px;margin-bottom:4px}.ucf-metric-mini small{color:var(--ucf-muted)}.ucf-timeline{position:relative;padding-left:18px}.ucf-timeline:before{content:"";position:absolute;left:5px;top:8px;bottom:8px;width:1px;background:var(--ucf-border)}.ucf-timeline-item{position:relative;padding:0 0 17px 12px}.ucf-timeline-item:before{content:"";position:absolute;left:-16px;top:5px;width:8px;height:8px;border:2px solid var(--ucf-purple);border-radius:50%;background:var(--ucf-panel)}.ucf-timeline-item b{font-size:12px}.ucf-timeline-item p{margin:4px 0;color:var(--ucf-muted);font-size:11px}.ucf-timeline-item small{color:#777a85;font-size:10px}.ucf-action-stack{display:flex;flex-direction:column;gap:8px}
.ucf-placeholder{min-height:480px;display:grid;place-items:center;text-align:center}.ucf-placeholder-inner{max-width:480px}.ucf-placeholder-icon{width:70px;height:70px;border-radius:20px;background:var(--ucf-purple-soft);color:#a89dff;display:grid;place-items:center;margin:0 auto 18px;font-size:28px}.ucf-placeholder h2{margin:0 0 8px}.ucf-placeholder p{margin:0;color:var(--ucf-muted);line-height:1.6}
.ucf-modal-layer{position:fixed;inset:0;z-index:60;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.62);backdrop-filter:blur(4px)}.ucf-modal-layer.is-open{display:flex}.ucf-modal{width:min(680px,100%);max-height:min(820px,calc(100vh - 36px));overflow:auto;background:#17181d;border:1px solid #3b3c45;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.55)}.ucf-modal-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid var(--ucf-border-soft)}.ucf-modal-head h2{font-size:18px;margin:0}.ucf-modal-body{padding:18px}.ucf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ucf-field{display:block}.ucf-field span{display:block;margin-bottom:6px;color:#d7d8dd;font-size:12px;font-weight:700}.ucf-field-full{grid-column:1/-1}.ucf-textarea{min-height:94px;resize:vertical}.ucf-modal-foot{display:flex;justify-content:flex-end;gap:9px;padding:16px 18px;border-top:1px solid var(--ucf-border-soft)}
.ucf-toast-wrap{position:fixed;right:18px;bottom:calc(18px + var(--ucf-safe-bottom));z-index:80;display:flex;flex-direction:column;gap:9px}.ucf-toast{min-width:280px;max-width:390px;padding:13px 15px;border-radius:11px;border:1px solid var(--ucf-border);background:#1c1d23;box-shadow:var(--ucf-shadow);font-size:13px;animation:ucf-toast-in .18s ease-out}.ucf-toast.is-success{border-color:rgba(41,196,117,.35)}.ucf-toast.is-error{border-color:rgba(237,72,79,.4)}@keyframes ucf-toast-in{from{transform:translateY(8px);opacity:0}}
.ucf-mobile-nav{display:none}
.ucf-skeleton{position:relative;overflow:hidden;background:#1b1c22;border-radius:10px;min-height:70px}.ucf-skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.05),transparent);animation:ucf-shimmer 1.1s infinite}@keyframes ucf-shimmer{to{transform:translateX(100%)}}
@media (max-width:1180px){.ucf-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.ucf-leads-layout{grid-template-columns:minmax(0,1fr)}.ucf-insights{display:grid;grid-template-columns:1fr 1fr}.ucf-lead-lower{grid-template-columns:1fr 1fr}.ucf-lead-lower>.ucf-card:last-child{grid-column:1/-1}.ucf-toolbar{grid-template-columns:minmax(240px,1fr) repeat(2,minmax(130px,180px))}.ucf-toolbar>*:nth-child(4),.ucf-toolbar>*:nth-child(5){display:none}}
@media (max-width:760px){body.ucf-app-page{overflow:auto}.ucf-shell{height:100dvh;grid-template-columns:1fr;grid-template-rows:56px minmax(0,1fr) 62px}.ucf-topbar{height:56px;grid-template-columns:1fr auto}.ucf-brand{border-right:0;font-size:16px;padding:0 14px}.ucf-brand-mark{width:24px;height:24px}.ucf-modulebar{display:none}.ucf-top-actions{padding-right:8px}.ucf-subscribe{display:none}.ucf-user-meta{display:none}.ucf-sidebar{display:none}.ucf-main{grid-column:1;grid-row:2;padding-bottom:0}.ucf-page{padding:15px 12px 26px}.ucf-page-head{align-items:center}.ucf-page-head h1{font-size:22px}.ucf-grid-4,.ucf-grid-3,.ucf-grid-2{grid-template-columns:1fr 1fr}.ucf-metric{min-height:82px;padding:11px}.ucf-metric-icon{width:34px;height:34px}.ucf-metric-value{font-size:17px}.ucf-quick-actions{display:flex;overflow:auto}.ucf-quick-action{min-width:120px;padding:10px}.ucf-section.ucf-grid-2{grid-template-columns:1fr}.ucf-activity-row{grid-template-columns:30px minmax(0,1fr) auto}.ucf-activity-time{display:none}.ucf-toolbar{display:flex;overflow:auto}.ucf-toolbar>*{display:block!important;min-width:160px}.ucf-toolbar>.ucf-search-wrap{min-width:260px}.ucf-leads-layout{display:block}.ucf-insights{margin-top:12px;grid-template-columns:1fr}.ucf-table-card{border-radius:12px}.ucf-table{min-width:860px}.ucf-lead-head{gap:8px}.ucf-lead-title{min-width:180px}.ucf-lead-head>.ucf-button-danger{display:none}.ucf-tabs{display:flex;overflow:auto}.ucf-tab{min-width:110px}.ucf-info-grid,.ucf-lead-lower{grid-template-columns:1fr}.ucf-lead-lower>.ucf-card:last-child{grid-column:auto}.ucf-info-list{grid-template-columns:1fr 1fr}.ucf-form-grid{grid-template-columns:1fr}.ucf-field-full{grid-column:auto}.ucf-mobile-nav{grid-row:3;display:grid;grid-template-columns:repeat(5,1fr);background:#0e0f13;border-top:1px solid var(--ucf-border-soft);padding-bottom:var(--ucf-safe-bottom);z-index:40}.ucf-mobile-nav button{border:0;background:transparent;color:var(--ucf-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px}.ucf-mobile-nav button.is-active{color:#b3aaff}.ucf-mobile-nav button span:first-child{font-size:18px}.ucf-toast-wrap{left:12px;right:12px}.ucf-toast{min-width:0;max-width:none}.ucf-modal-layer{align-items:flex-end;padding:0}.ucf-modal{width:100%;max-height:88dvh;border-radius:18px 18px 0 0;border-bottom:0}}
@media (max-width:430px){.ucf-grid-4,.ucf-grid-3,.ucf-grid-2{grid-template-columns:1fr}.ucf-page-actions .ucf-button:not(.ucf-button-primary){display:none}.ucf-info-list{grid-template-columns:1fr}.ucf-metric-mini-grid{grid-template-columns:1fr 1fr}.ucf-top-actions .ucf-icon-button{display:none}}

/* v1.1.0 — Clients, Client 360 & Revenue Workspace */
.ucf-client-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 180px auto auto;gap:9px;margin:12px 0}.ucf-client-table{min-width:1060px}.ucf-client-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;border:1px solid var(--ucf-border);font-size:10px;font-weight:800}.ucf-client-status.is-active{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.25)}.ucf-client-status.is-pending{color:#ffd36a;background:rgba(237,145,36,.11);border-color:rgba(237,145,36,.24)}.ucf-client-status.is-inactive{color:#9fa1ab;background:#202128}.ucf-money-positive{color:var(--ucf-green)!important}.ucf-money-danger{color:#ff777d!important}
.ucf-client-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ucf-client-identity{display:flex;align-items:center;gap:12px;min-width:260px;flex:1}.ucf-client-identity h1{margin:0 0 5px;font-size:25px}.ucf-client-identity p{margin:0;color:var(--ucf-muted);font-size:12px}.ucf-client-avatar{width:48px;height:48px;font-size:14px;background:linear-gradient(135deg,#292443,#1e2030);color:#b8adff}.ucf-client-contact-strip{display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap;margin:12px 0;color:#b9bbc4;font-size:11px;padding:10px 12px;border:1px solid var(--ucf-border-soft);background:rgba(21,22,27,.68);border-radius:11px}.ucf-client-actions{display:flex;gap:8px;overflow:auto;padding:1px 0 12px}.ucf-client-actions .ucf-button{white-space:nowrap}.ucf-revenue-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--ucf-border);border-radius:13px;background:linear-gradient(180deg,#18191f,#14151a);overflow:hidden}.ucf-revenue-metric{padding:15px 17px;border-left:1px solid var(--ucf-border-soft)}.ucf-revenue-metric:first-child{border-left:0}.ucf-revenue-metric small{display:block;color:var(--ucf-muted);font-size:10px;margin-bottom:6px}.ucf-revenue-metric b{font-size:20px}.ucf-client-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--ucf-border-soft);margin:14px 0 12px}.ucf-client-tab{padding:11px 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ucf-muted);cursor:pointer;white-space:nowrap;font-size:12px}.ucf-client-tab.is-active{color:#fff;border-bottom-color:var(--ucf-purple)}.ucf-client-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ucf-client-wide{grid-column:1/-1}.ucf-financial-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ucf-financial-summary>div{padding:13px;background:var(--ucf-panel-2);border:1px solid var(--ucf-border-soft);border-radius:10px}.ucf-financial-summary small{display:block;color:var(--ucf-muted);font-size:10px;margin-bottom:5px}.ucf-financial-summary b{font-size:16px}.ucf-revenue-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--ucf-border-soft)}.ucf-revenue-row:first-of-type{border-top:0}.ucf-revenue-row>div:last-child{display:flex;align-items:center;gap:10px}.ucf-revenue-row small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:3px}.ucf-button-small{padding:6px 9px;font-size:11px}.ucf-mini-data-table{min-width:700px}.ucf-project-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ucf-progress{height:7px;background:#262730;border-radius:99px;overflow:hidden;margin:16px 0 9px}.ucf-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--ucf-purple),var(--ucf-blue));border-radius:99px}.ucf-project-meta{display:flex;justify-content:space-between;gap:10px;color:var(--ucf-muted);font-size:10px}
@media (max-width:1180px){.ucf-client-toolbar{grid-template-columns:minmax(240px,1fr) 170px auto}.ucf-client-toolbar>*:last-child{display:none}.ucf-revenue-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-revenue-metric:nth-child(3){border-left:0;border-top:1px solid var(--ucf-border-soft)}.ucf-revenue-metric:nth-child(4){border-top:1px solid var(--ucf-border-soft)}}
@media (max-width:760px){.ucf-client-toolbar{display:flex;overflow:auto}.ucf-client-toolbar>*{min-width:160px}.ucf-client-toolbar>.ucf-search-wrap{min-width:260px}.ucf-client-head{align-items:flex-start}.ucf-client-head>.ucf-button{padding:8px 10px}.ucf-client-contact-strip{display:grid;grid-template-columns:1fr}.ucf-revenue-strip{grid-template-columns:1fr 1fr}.ucf-client-overview-grid,.ucf-project-card-grid{grid-template-columns:1fr}.ucf-client-wide{grid-column:auto}.ucf-financial-summary{grid-template-columns:1fr 1fr}.ucf-client-tabs{margin-left:-12px;margin-right:-12px;padding:0 12px}.ucf-client-tab{min-width:105px}}
@media (max-width:430px){.ucf-revenue-strip{grid-template-columns:1fr}.ucf-revenue-metric{border-left:0;border-top:1px solid var(--ucf-border-soft)}.ucf-revenue-metric:first-child{border-top:0}.ucf-financial-summary{grid-template-columns:1fr}.ucf-client-head>.ucf-button{display:none}}

/* v1.2.0 — Quotations & Payments */
.ucf-quote-table{min-width:1120px}.ucf-payment-table{min-width:1040px}.ucf-link-button{border:0;background:transparent;color:#9b91ff;padding:0;font:inherit;font-weight:800;cursor:pointer;text-align:left}.ucf-link-button:hover{text-decoration:underline}.ucf-cell-sub{display:block;margin-top:4px;color:var(--ucf-muted);font-size:10px;font-weight:500}.ucf-empty-cell{padding:40px!important;text-align:center;color:var(--ucf-muted)!important}.ucf-payment-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;border:1px solid var(--ucf-border);font-size:10px;font-weight:800;white-space:nowrap}.ucf-payment-pill.is-unpaid{color:#ff868b;background:rgba(237,72,79,.11);border-color:rgba(237,72,79,.28)}.ucf-payment-pill.is-partially-paid{color:#ffd36a;background:rgba(237,145,36,.11);border-color:rgba(237,145,36,.28)}.ucf-payment-pill.is-paid{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.28)}
.ucf-quotation-actions{display:flex;gap:8px;align-items:center;overflow:auto;margin:12px 0}.ucf-quotation-actions .ucf-button{white-space:nowrap}.ucf-quote-detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:12px;margin-top:12px}.ucf-quote-items{min-width:720px}.ucf-quote-totals{margin-left:auto;width:min(420px,100%);padding:14px 18px 18px}.ucf-quote-totals>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;color:#c9cad1;border-bottom:1px solid var(--ucf-border-soft)}.ucf-quote-totals>div.is-total{font-size:16px;color:#fff;border-bottom:0;padding-top:12px}.ucf-detail-stack{display:grid;gap:12px}.ucf-detail-stack>div{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid var(--ucf-border-soft)}.ucf-detail-stack small,.ucf-subhead small{color:var(--ucf-muted)}.ucf-subhead{margin-top:18px}.ucf-muted-copy{color:var(--ucf-muted);font-size:12px;line-height:1.65;margin:7px 0 0}
.ucf-modal-wide{width:min(1040px,calc(100vw - 36px))}.ucf-modal-head small{display:block;color:var(--ucf-muted);font-size:11px;margin-top:3px}.ucf-quote-builder-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 9px}.ucf-quote-builder-head h3{margin:0;font-size:15px}.ucf-quote-builder{display:grid;gap:8px}.ucf-quote-item-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(190px,1.4fr) 86px 130px 36px;gap:8px;align-items:end;padding:10px;border:1px solid var(--ucf-border-soft);background:var(--ucf-panel-2);border-radius:11px}.ucf-quote-item-row label{display:block;color:#c9cad2;font-size:10px;font-weight:800;margin-bottom:5px}.ucf-remove-item{margin-bottom:2px;color:#ff858a}.ucf-quote-live-total{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:14px;padding:12px 14px;border-radius:10px;background:rgba(99,78,255,.09);border:1px solid rgba(99,78,255,.22)}.ucf-quote-live-total span{color:var(--ucf-muted);font-size:11px}.ucf-quote-live-total b{font-size:20px;color:#b3aaff}
.ucf-payment-quote-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin-bottom:14px;border:1px solid rgba(99,78,255,.24);background:rgba(99,78,255,.08);border-radius:11px}.ucf-payment-quote-summary span{font-weight:800}.ucf-payment-quote-summary b{color:#ffbf72}.ucf-receipt-success{text-align:center;padding:15px 8px 22px}.ucf-receipt-success>span{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:rgba(41,196,117,.14);border:1px solid rgba(41,196,117,.32);color:var(--ucf-green);font-size:27px;font-weight:900}.ucf-receipt-success h3{margin:12px 0 6px;font-size:20px}.ucf-receipt-success strong{display:block;font-size:32px;color:var(--ucf-green)}.ucf-receipt-success p{margin:8px 0 0;color:var(--ucf-muted)}.ucf-receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ucf-receipt-grid>div{padding:12px;background:var(--ucf-panel-2);border:1px solid var(--ucf-border-soft);border-radius:9px}.ucf-receipt-grid small{display:block;color:var(--ucf-muted);font-size:10px;margin-bottom:5px}.ucf-receipt-grid b{font-size:13px}.ucf-conversion-note{display:flex;flex-direction:column;gap:5px;margin-top:14px;padding:13px 14px;border-radius:10px;background:rgba(41,196,117,.09);border:1px solid rgba(41,196,117,.25)}.ucf-conversion-note b{color:#6ee1a0}.ucf-conversion-note span{color:#c7c9d0;font-size:11px}
@media (max-width:900px){.ucf-quote-detail-grid{grid-template-columns:1fr}.ucf-quote-item-row{grid-template-columns:1fr 1fr 80px 110px 36px}.ucf-modal-wide{width:min(100%,calc(100vw - 20px))}}
@media (max-width:760px){.ucf-quotation-actions{margin-left:-12px;margin-right:-12px;padding:0 12px}.ucf-quote-item-row{grid-template-columns:1fr 1fr}.ucf-quote-item-row>div:nth-child(1),.ucf-quote-item-row>div:nth-child(2){grid-column:1/-1}.ucf-remove-item{grid-column:2;justify-self:end}.ucf-receipt-grid{grid-template-columns:1fr 1fr}.ucf-payment-quote-summary{align-items:flex-start;flex-direction:column}.ucf-modal-wide{max-height:92dvh}}
@media (max-width:430px){.ucf-receipt-grid{grid-template-columns:1fr}.ucf-quote-item-row{grid-template-columns:1fr 1fr}.ucf-quote-totals{padding-left:12px;padding-right:12px}.ucf-receipt-success strong{font-size:27px}}
@media print{body.ucf-app-page{background:#fff!important;color:#111!important}.ucf-topbar,.ucf-sidebar,.ucf-mobile-nav,.ucf-quotation-actions,.ucf-page-head,.ucf-client-head .ucf-back,.ucf-client-head .ucf-button,.ucf-toast-wrap{display:none!important}.ucf-shell{display:block!important;height:auto!important}.ucf-main{display:block!important;overflow:visible!important}.ucf-page{padding:0!important}.ucf-card,.ucf-revenue-strip{background:#fff!important;color:#111!important;border-color:#ddd!important;box-shadow:none!important}.ucf-table th,.ucf-table td,.ucf-muted-copy,.ucf-cell-sub,.ucf-detail-stack small{color:#333!important}.ucf-stage-pill,.ucf-payment-pill{border-color:#bbb!important;color:#222!important;background:#f5f5f5!important}}
.ucf-stage-draft{color:#b7b9c2;background:#24252b;border-color:#373942}.ucf-stage-sent{color:#8fc2ff;background:rgba(62,131,255,.11);border-color:rgba(62,131,255,.2)}.ucf-stage-approved{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.22)}.ucf-stage-rejected{color:#ff7a80;background:rgba(237,72,79,.11);border-color:rgba(237,72,79,.22)}.ucf-stage-expired{color:#ffb25f;background:rgba(237,145,36,.11);border-color:rgba(237,145,36,.22)}

/* v1.3.0 — Invoices, Client Ledger & Final Payment */
.ucf-invoice-table{min-width:1120px}.ucf-ledger-table{min-width:980px}.ucf-ledger-stack{display:grid;gap:12px}.ucf-completion-check{display:flex!important;align-items:flex-start;gap:12px;padding:14px;border:1px solid rgba(41,196,117,.3);background:rgba(41,196,117,.08);border-radius:11px;cursor:pointer}.ucf-completion-check input{width:18px;height:18px;margin-top:2px;accent-color:var(--ucf-green)}.ucf-completion-check span{display:grid;gap:4px}.ucf-completion-check b{color:#7ce5aa;font-size:13px}.ucf-completion-check small{color:var(--ucf-muted);font-size:11px;line-height:1.45}.ucf-payment-pill.is-partially-paid{color:#ffd36a;background:rgba(237,145,36,.11);border-color:rgba(237,145,36,.28)}.ucf-payment-pill.is-unpaid{color:#ff868b;background:rgba(237,72,79,.11);border-color:rgba(237,72,79,.28)}.ucf-payment-pill.is-paid{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.28)}
@media (max-width:760px){.ucf-invoice-table,.ucf-ledger-table{min-width:900px}.ucf-completion-check{padding:12px}.ucf-quotation-actions .ucf-button{min-height:40px}}
@media print{.ucf-ledger-stack .ucf-revenue-strip{break-inside:avoid}.ucf-ledger-table{min-width:0!important}.ucf-invoice-table{min-width:0!important}.ucf-completion-check{display:none!important}}

/* v1.4.0 — Projects, Auto Task Creation & Employee Assignment */
.ucf-project-table{min-width:1120px}.ucf-project-task-table{min-width:860px}.ucf-project-detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.72fr);gap:12px;margin-top:12px}.ucf-project-progress-inline{min-width:150px}.ucf-project-progress-inline .ucf-progress{margin:0 0 6px;height:6px}.ucf-project-progress-inline small{color:var(--ucf-muted);font-size:10px}.ucf-priority{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;border:1px solid var(--ucf-border)}.ucf-priority.is-low{color:#8fc2ff;background:rgba(62,131,255,.1)}.ucf-priority.is-medium{color:#d1caff;background:rgba(99,78,255,.1)}.ucf-priority.is-high{color:#ffd36a;background:rgba(237,145,36,.11)}.ucf-priority.is-urgent{color:#ff868b;background:rgba(237,72,79,.11)}.ucf-inline-select{min-width:125px;padding:7px 28px 7px 9px;font-size:11px}.ucf-completion-ready{display:inline-flex;align-items:center;padding:9px 12px;border-radius:9px;border:1px solid rgba(237,145,36,.27);background:rgba(237,145,36,.08);color:#ffd28a;font-size:11px;font-weight:800;white-space:nowrap}.ucf-completion-ready.is-done{border-color:rgba(41,196,117,.3);background:rgba(41,196,117,.09);color:#73dfa4}.ucf-completion-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:rgba(41,196,117,.15);color:var(--ucf-green);font-size:16px;font-weight:900;flex:0 0 auto}.ucf-project-card-button{width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit}.ucf-project-card-button:hover{border-color:rgba(99,78,255,.45);transform:translateY(-1px)}
.ucf-kanban{display:grid;grid-template-columns:repeat(5,minmax(230px,1fr));gap:10px;overflow:auto;padding-bottom:8px}.ucf-kanban-col{min-height:520px;border:1px solid var(--ucf-border-soft);border-radius:12px;background:rgba(17,18,23,.72);padding:10px}.ucf-kanban-head{display:flex;align-items:center;justify-content:space-between;padding:3px 4px 10px}.ucf-kanban-head b{font-size:13px}.ucf-kanban-head span{display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;border-radius:999px;background:#292a32;color:#c8c9d0;font-size:10px}.ucf-kanban-stack{display:grid;gap:9px}.ucf-task-card{padding:12px;border:1px solid var(--ucf-border-soft);border-radius:10px;background:var(--ucf-panel);box-shadow:0 7px 18px rgba(0,0,0,.13)}.ucf-task-card-top,.ucf-task-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.ucf-task-card h3{font-size:13px;margin:12px 0 5px}.ucf-task-card p{font-size:10px;color:var(--ucf-muted);margin:0 0 14px}.ucf-task-footer small{color:var(--ucf-muted);font-size:9px}.ucf-kanban-empty{padding:30px 12px;text-align:center;color:var(--ucf-muted);font-size:11px;border:1px dashed var(--ucf-border);border-radius:9px}.ucf-stage-planning{color:#c6bdff;background:rgba(99,78,255,.1);border-color:rgba(99,78,255,.24)}.ucf-stage-active,.ucf-stage-in-progress{color:#8fc2ff;background:rgba(62,131,255,.1);border-color:rgba(62,131,255,.22)}.ucf-stage-on-hold,.ucf-stage-review{color:#ffd36a;background:rgba(237,145,36,.1);border-color:rgba(237,145,36,.24)}.ucf-stage-completed{color:#67df9c;background:rgba(41,196,117,.1);border-color:rgba(41,196,117,.24)}.ucf-stage-cancelled,.ucf-stage-blocked{color:#ff858b;background:rgba(237,72,79,.1);border-color:rgba(237,72,79,.24)}.ucf-stage-to-do{color:#c6c8cf;background:#24252b;border-color:#383942}
@media (max-width:1180px){.ucf-project-detail-grid{grid-template-columns:1fr}.ucf-kanban{grid-template-columns:repeat(5,260px)}}
@media (max-width:760px){.ucf-project-table{min-width:980px}.ucf-project-task-table{min-width:760px}.ucf-kanban{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.ucf-completion-ready{white-space:normal}.ucf-project-detail-grid{gap:10px}}

/* v1.5.0 — Team, Employee Workspace, Attendance, Workload & Delivery Operations */
.ucf-member-cell{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--ucf-text);padding:0;cursor:pointer;text-align:left}.ucf-member-cell small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:3px}.ucf-utilization{min-width:150px}.ucf-utilization .ucf-progress{height:7px;margin-bottom:5px}.ucf-utilization small{color:var(--ucf-muted);font-size:10px}.ucf-team-detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.72fr);gap:12px;margin-top:12px}.ucf-workspace-grid{display:grid;grid-template-columns:minmax(260px,.62fr) minmax(0,1.55fr);gap:12px;margin-top:12px}.ucf-workload-ring{width:132px;height:132px;border-radius:50%;margin:18px auto 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,var(--ucf-panel) 58%,transparent 59%),conic-gradient(var(--ucf-purple) 0 72%,#2a2b33 72% 100%);border:1px solid var(--ucf-border)}.ucf-workload-ring b{font-size:27px}.ucf-workload-ring small{font-size:10px;color:var(--ucf-muted);margin-top:3px}.ucf-month-input{max-width:190px}.ucf-attendance-present,.ucf-attendance-remote{color:#68dfa0;background:rgba(41,196,117,.1);border-color:rgba(41,196,117,.25)}.ucf-attendance-late{color:#ffd16e;background:rgba(237,145,36,.1);border-color:rgba(237,145,36,.27)}.ucf-attendance-leave{color:#9ac7ff;background:rgba(62,131,255,.1);border-color:rgba(62,131,255,.24)}.ucf-attendance-absent{color:#ff858b;background:rgba(237,72,79,.1);border-color:rgba(237,72,79,.24)}.ucf-attendance-not-marked{color:#b9bbc4;background:#24252b;border-color:#393a42}.ucf-workload-overloaded{color:#ff858b;background:rgba(237,72,79,.1);border-color:rgba(237,72,79,.24)}.ucf-workload-optimal{color:#68dfa0;background:rgba(41,196,117,.1);border-color:rgba(41,196,117,.25)}.ucf-workload-available{color:#9ac7ff;background:rgba(62,131,255,.1);border-color:rgba(62,131,255,.24)}.ucf-progress .is-overloaded{background:var(--ucf-red)}.ucf-progress .is-optimal{background:var(--ucf-green)}.ucf-progress .is-available{background:var(--ucf-blue)}.ucf-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.ucf-delivery-list{display:grid;gap:8px}.ucf-delivery-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border:0;border-top:1px solid var(--ucf-border-soft);background:transparent;color:var(--ucf-text);text-align:left;font:inherit}.ucf-delivery-row:first-child{border-top:0}.ucf-delivery-row[role],button.ucf-delivery-row{cursor:pointer}.ucf-delivery-row b{display:block;font-size:12px}.ucf-delivery-row small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:3px}.ucf-stage-inactive{color:#b7b9c2;background:#24252b;border-color:#373942}.ucf-button-small{padding:6px 9px;font-size:11px}
@media (max-width:980px){.ucf-team-detail-grid,.ucf-workspace-grid{grid-template-columns:1fr}.ucf-delivery-grid{grid-template-columns:1fr}}
@media (max-width:760px){.ucf-member-cell{min-width:180px}.ucf-utilization{min-width:130px}.ucf-delivery-grid{gap:10px}.ucf-workload-ring{width:116px;height:116px}}


/* v1.6.0 — Offerings, Services, Products & Pricing Catalogue */
.ucf-offering-table{min-width:1080px}.ucf-catalog-featured{color:#c7bdff!important}.ucf-catalogue-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ucf-catalogue-picker .ucf-select{min-width:310px}.ucf-catalogue-badge{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;background:rgba(99,78,255,.13);border:1px solid rgba(99,78,255,.28);color:#c7bdff;font-size:9px;font-weight:800;vertical-align:middle}.ucf-check{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid var(--ucf-border-soft);border-radius:10px;background:rgba(24,25,31,.65);font-size:12px;color:var(--ucf-text)}.ucf-check input{width:16px;height:16px;accent-color:var(--ucf-purple)}
@media (max-width:760px){.ucf-offering-table{min-width:900px}.ucf-catalogue-picker{width:100%}.ucf-catalogue-picker .ucf-select{min-width:100%;width:100%}.ucf-catalogue-picker .ucf-button{flex:1}}


/* v1.7.0 — Marketing, Social Inbox, Lead Forms & Lead Sync */
.ucf-marketing-table{min-width:980px}.ucf-channel-pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;border:1px solid var(--ucf-border);background:#24252b;color:#d5d6dd}.ucf-channel-pill.is-instagram{color:#ff9bd5;border-color:rgba(255,87,174,.25);background:rgba(255,87,174,.08)}.ucf-channel-pill.is-facebook{color:#8fc2ff;border-color:rgba(62,131,255,.25);background:rgba(62,131,255,.08)}.ucf-channel-pill.is-linkedin{color:#8fd6ff;border-color:rgba(43,193,196,.25);background:rgba(43,193,196,.08)}.ucf-analytics-list{display:grid;gap:14px}.ucf-analytics-row{display:grid;grid-template-columns:150px minmax(0,1fr) 70px;align-items:center;gap:12px}.ucf-analytics-row b{font-size:12px}.ucf-analytics-row small{display:block;color:var(--ucf-muted);font-size:9px;margin-top:3px}.ucf-analytics-row strong{text-align:right;font-size:12px}.ucf-analytics-bar{height:8px;border-radius:999px;background:#262730;overflow:hidden}.ucf-analytics-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--ucf-purple),var(--ucf-blue));border-radius:999px}.ucf-inbox-shell{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.6fr);gap:12px;min-height:570px}.ucf-inbox-list{overflow:hidden;padding:8px}.ucf-inbox-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:7px;padding:4px 4px 10px}.ucf-inbox-item{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 9px;border:0;border-top:1px solid var(--ucf-border-soft);background:transparent;color:var(--ucf-text);text-align:left;cursor:pointer;border-radius:9px}.ucf-inbox-item:hover,.ucf-inbox-item.is-active{background:var(--ucf-purple-soft)}.ucf-inbox-item .ucf-person-avatar{width:36px;height:36px}.ucf-inbox-copy{min-width:0}.ucf-inbox-copy b{display:block;font-size:12px}.ucf-inbox-copy small{display:block;color:var(--ucf-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.ucf-unread-badge{min-width:20px;height:20px;border-radius:999px;background:var(--ucf-purple);color:white;display:grid;place-items:center;font-size:9px;font-weight:800}.ucf-inbox-chat{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.ucf-inbox-chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid var(--ucf-border-soft)}.ucf-inbox-chat-head b{display:block;font-size:13px}.ucf-inbox-chat-head small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:3px}.ucf-chat-scroll{overflow:auto;padding:18px;display:flex;flex-direction:column;gap:9px}.ucf-chat-message{max-width:72%;padding:10px 12px;border-radius:13px;background:#24252d;border:1px solid var(--ucf-border-soft);font-size:12px;line-height:1.45}.ucf-chat-message.is-out{align-self:flex-end;background:rgba(101,80,255,.15);border-color:rgba(101,80,255,.28)}.ucf-chat-message small{display:block;color:var(--ucf-muted);font-size:8px;margin-top:5px}.ucf-social-reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border-top:1px solid var(--ucf-border-soft)}.ucf-inbox-empty{display:grid;place-items:center;color:var(--ucf-muted);min-height:240px}.ucf-lead-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ucf-lead-form-card{padding:16px}.ucf-lead-form-card p{color:var(--ucf-muted);font-size:11px;min-height:32px}.ucf-lead-form-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.ucf-lead-form-stats span{padding:9px;background:rgba(255,255,255,.02);border:1px solid var(--ucf-border-soft);border-radius:9px;text-align:center}.ucf-lead-form-stats b{display:block;font-size:16px}.ucf-lead-form-stats small{display:block;color:var(--ucf-muted);font-size:8px;margin-top:3px}.ucf-card-actions{display:flex;gap:7px;flex-wrap:wrap}.ucf-builder-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}.ucf-form-builder{display:grid;gap:7px}.ucf-form-builder-row{display:grid;grid-template-columns:1fr 1.4fr 100px 105px 34px;gap:7px;align-items:center}.ucf-check-compact{padding:8px}.ucf-public-form-preview{display:grid;gap:10px}.ucf-sync-small{font-size:14px!important}.ucf-sync-note{margin-top:12px;padding:11px;border:1px solid rgba(237,145,36,.25);background:rgba(237,145,36,.07);border-radius:9px;color:#ffd09a;font-size:10px;line-height:1.5}.ucf-mapping-list{display:grid;gap:8px}.ucf-mapping-list div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:9px;border-bottom:1px solid var(--ucf-border-soft);font-size:11px}.ucf-mapping-list code{color:#c7bdff}.ucf-mapping-list span{color:var(--ucf-muted)}.ucf-stage-created{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.22)}.ucf-stage-duplicate{color:#ffd36a;background:rgba(237,145,36,.11);border-color:rgba(237,145,36,.24)}.ucf-stage-published{color:#63dc96;background:rgba(41,196,117,.11);border-color:rgba(41,196,117,.22)}.ucf-stage-scheduled{color:#c6bdff;background:rgba(99,78,255,.1);border-color:rgba(99,78,255,.24)}
@media(max-width:1050px){.ucf-lead-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-inbox-shell{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:760px){.ucf-marketing-table{min-width:820px}.ucf-inbox-shell{grid-template-columns:1fr;min-height:0}.ucf-inbox-list{max-height:330px;overflow:auto}.ucf-inbox-chat{min-height:520px}.ucf-chat-message{max-width:86%}.ucf-lead-form-grid{grid-template-columns:1fr}.ucf-analytics-row{grid-template-columns:105px minmax(0,1fr) 52px}.ucf-form-builder-row{grid-template-columns:1fr 1fr}.ucf-form-builder-row .ucf-check,.ucf-form-builder-row .ucf-mini-button{justify-self:start}.ucf-mapping-list div{grid-template-columns:1fr}.ucf-social-reply{padding-bottom:calc(12px + var(--ucf-safe-bottom))}}


/* v1.8.0 — Mobile/PWA, Responsive Acceptance, Navigation & Performance */
:root{
    --ucf-safe-top:env(safe-area-inset-top,0px);
    --ucf-safe-right:env(safe-area-inset-right,0px);
    --ucf-safe-left:env(safe-area-inset-left,0px);
    --ucf-vh:100dvh;
    --ucf-touch:44px;
}
html{background:var(--ucf-bg);overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.ucf-app-page{min-height:100dvh;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}
.ucf-shell{height:var(--ucf-vh);min-height:0}
.ucf-main{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-gutter:stable}
.ucf-nav,.ucf-table-wrap,.ucf-stage-tabs,.ucf-tabs,.ucf-client-tabs,.ucf-client-actions,.ucf-quick-actions,.ucf-kanban{scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.ucf-button,.ucf-icon-button,.ucf-mini-button,.ucf-nav-item,.ucf-module-button,.ucf-tab,.ucf-client-tab,.ucf-mobile-nav button{touch-action:manipulation}
.ucf-input,.ucf-select,.ucf-textarea{font-size:16px;min-height:42px}
.ucf-sr-only{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}
.ucf-mobile-menu-trigger{display:none}
.ucf-network-badge{display:none;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--ucf-border);border-radius:999px;color:var(--ucf-muted);font-size:9px;background:rgba(20,21,26,.88)}
.ucf-network-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ucf-green)}
body.ucf-offline .ucf-network-badge{display:inline-flex;color:#ffd09a;border-color:rgba(237,145,36,.35)}
body.ucf-offline .ucf-network-badge:before{background:var(--ucf-orange)}

/* Mobile navigation sheet */
.ucf-mobile-sheet-layer{display:none;position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.62);backdrop-filter:blur(4px);padding-top:calc(32px + var(--ucf-safe-top));align-items:flex-end}
.ucf-mobile-sheet-layer.is-open{display:flex}
.ucf-mobile-sheet{width:100%;max-height:min(82dvh,720px);overflow:auto;background:#15161b;border:1px solid var(--ucf-border);border-bottom:0;border-radius:20px 20px 0 0;padding:14px 14px calc(18px + var(--ucf-safe-bottom));box-shadow:0 -24px 70px rgba(0,0,0,.45)}
.ucf-mobile-sheet-handle{width:42px;height:4px;background:#3b3c44;border-radius:999px;margin:0 auto 12px}
.ucf-mobile-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.ucf-mobile-sheet-head h2{font-size:16px;margin:0}.ucf-mobile-sheet-head small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:3px}
.ucf-mobile-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ucf-mobile-module{min-height:72px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel-2);color:var(--ucf-text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:700}
.ucf-mobile-module span:first-child{font-size:20px;color:#b8afff}
.ucf-mobile-route-title{margin:16px 2px 8px;color:var(--ucf-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.ucf-mobile-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ucf-mobile-route{min-height:var(--ucf-touch);border:1px solid var(--ucf-border-soft);border-radius:10px;background:#1c1d23;color:#d9dae0;padding:9px 11px;text-align:left;font-size:11px;display:flex;align-items:center;gap:8px}
.ucf-mobile-route.is-active{border-color:rgba(101,80,255,.45);background:var(--ucf-purple-soft);color:white}
.ucf-mobile-sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--ucf-border-soft)}
.ucf-pwa-install[hidden]{display:none!important}

/* Device/PWA diagnostics */
.ucf-diagnostics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ucf-diagnostic-card{padding:14px}.ucf-diagnostic-card small{display:block;color:var(--ucf-muted);font-size:10px;margin-bottom:5px}.ucf-diagnostic-card b{display:block;font-size:14px;overflow-wrap:anywhere}.ucf-diagnostic-card span{display:block;color:var(--ucf-muted);font-size:9px;margin-top:5px;line-height:1.5}
.ucf-checklist{display:grid;gap:7px}.ucf-checklist-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 0;border-top:1px solid var(--ucf-border-soft)}.ucf-checklist-row:first-child{border-top:0}.ucf-checklist-icon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(41,196,117,.12);color:#62df9b;font-size:11px}.ucf-checklist-row.is-warn .ucf-checklist-icon{background:rgba(237,145,36,.12);color:#ffd16e}.ucf-checklist-row b{font-size:11px}.ucf-checklist-row small{color:var(--ucf-muted);font-size:9px}.ucf-checklist-state{font-size:9px;font-weight:800;color:#75e5a8;text-transform:uppercase}.ucf-checklist-row.is-warn .ucf-checklist-state{color:#ffd16e}

/* Responsive tables become readable cards on narrow phones instead of clipped desktop tables. */
@media(max-width:600px){
    .ucf-responsive-table{min-width:0!important;width:100%}
    .ucf-responsive-table thead{display:none}
    .ucf-responsive-table,.ucf-responsive-table tbody,.ucf-responsive-table tr,.ucf-responsive-table td{display:block;width:100%}
    .ucf-responsive-table tbody{display:grid;gap:9px;padding:9px}
    .ucf-responsive-table tr{border:1px solid var(--ucf-border-soft);border-radius:12px;background:rgba(26,27,33,.78);overflow:hidden}
    .ucf-responsive-table td{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;border-bottom:1px solid var(--ucf-border-soft)!important;min-height:38px;overflow-wrap:anywhere}
    .ucf-responsive-table td:last-child{border-bottom:0!important}
    .ucf-responsive-table td:before{content:attr(data-label);color:var(--ucf-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
    .ucf-responsive-table td.ucf-empty-cell{display:block;text-align:center;padding:18px}.ucf-responsive-table td.ucf-empty-cell:before{display:none}
    .ucf-responsive-table .ucf-row-actions{justify-content:flex-start;flex-wrap:wrap}
    .ucf-responsive-table .ucf-member-cell{min-width:0}
    .ucf-table-wrap{overflow:visible}
}

@media(max-width:760px){
    body.ucf-app-page{overflow:hidden;padding:0!important}
    .ucf-shell{height:var(--ucf-vh);grid-template-rows:calc(56px + var(--ucf-safe-top)) minmax(0,1fr) calc(62px + var(--ucf-safe-bottom));padding-left:var(--ucf-safe-left);padding-right:var(--ucf-safe-right)}
    .ucf-topbar{height:calc(56px + var(--ucf-safe-top));padding-top:var(--ucf-safe-top);grid-template-columns:minmax(0,1fr) auto}
    .ucf-brand{min-width:0;padding-left:14px}.ucf-brand>span:last-child{overflow:hidden;text-overflow:ellipsis}
    .ucf-top-actions{gap:3px}.ucf-mobile-menu-trigger{display:grid;place-items:center;width:var(--ucf-touch);height:var(--ucf-touch);border:0;background:transparent;color:#d9dae1;border-radius:10px;font-size:19px}
    .ucf-top-actions .ucf-user{display:none}
    .ucf-main{min-height:0;padding-bottom:0;scroll-padding-bottom:calc(92px + var(--ucf-safe-bottom));scroll-padding-top:12px}
    .ucf-page{padding:14px 12px calc(24px + var(--ucf-safe-bottom))}
    .ucf-page-head{align-items:flex-start;gap:10px}.ucf-page-head>div:first-child{min-width:0}.ucf-page-head h1{font-size:20px}.ucf-page-head p{font-size:11px;line-height:1.45}
    .ucf-page-actions{justify-content:flex-end}.ucf-page-actions .ucf-button{min-height:var(--ucf-touch)}
    .ucf-button{min-height:var(--ucf-touch);padding:9px 12px}.ucf-icon-button,.ucf-mini-button{min-width:var(--ucf-touch);min-height:var(--ucf-touch)}
    .ucf-input,.ucf-select{min-height:var(--ucf-touch)}.ucf-textarea{min-height:110px}
    .ucf-toolbar,.ucf-client-toolbar{margin-left:-12px;margin-right:-12px;padding:0 12px 5px;scroll-snap-type:x proximity}.ucf-toolbar>*,.ucf-client-toolbar>*{scroll-snap-align:start}
    .ucf-stage-tabs,.ucf-tabs,.ucf-client-tabs,.ucf-client-actions,.ucf-quotation-actions{scroll-snap-type:x proximity}.ucf-stage-tab,.ucf-tab,.ucf-client-tab,.ucf-client-actions .ucf-button,.ucf-quotation-actions .ucf-button{scroll-snap-align:start}
    .ucf-mobile-nav{position:relative;grid-row:3;height:calc(62px + var(--ucf-safe-bottom));padding:0 4px var(--ucf-safe-bottom);background:rgba(12,13,17,.97);backdrop-filter:blur(18px);border-top:1px solid var(--ucf-border-soft)}
    .ucf-mobile-nav button{min-height:58px;border-radius:10px}.ucf-mobile-nav button span:last-child{font-size:9px;font-weight:650}
    .ucf-modal-layer{padding-top:calc(20px + var(--ucf-safe-top));padding-left:var(--ucf-safe-left);padding-right:var(--ucf-safe-right)}
    .ucf-modal{max-height:calc(var(--ucf-vh) - 28px - var(--ucf-safe-top));padding-bottom:var(--ucf-safe-bottom);overscroll-behavior:contain}
    .ucf-modal-head{position:sticky;top:0;z-index:3;background:rgba(23,24,29,.98);padding-top:14px}.ucf-modal-foot{position:sticky;bottom:0;z-index:3;background:rgba(23,24,29,.98);padding-bottom:calc(12px + var(--ucf-safe-bottom))}
    .ucf-form-grid{gap:11px}
    .ucf-inbox-chat{min-height:min(520px,calc(var(--ucf-vh) - 170px))}
    .ucf-chat-scroll{overscroll-behavior:contain}
    .ucf-diagnostics-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:430px){
    .ucf-page{padding-left:10px;padding-right:10px}.ucf-toolbar,.ucf-client-toolbar,.ucf-client-tabs,.ucf-quotation-actions{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
    .ucf-page-head{display:grid;grid-template-columns:minmax(0,1fr) auto}.ucf-page-actions{align-self:start}
    .ucf-page-actions .ucf-button.ucf-button-primary{font-size:11px;padding-inline:10px}
    .ucf-mobile-module-grid{grid-template-columns:repeat(3,1fr)}.ucf-mobile-route-grid{grid-template-columns:1fr 1fr}
    .ucf-diagnostics-grid{grid-template-columns:1fr}
    .ucf-metric{min-height:76px}.ucf-metric-value{font-size:16px}.ucf-metric-label{font-size:10px}
}

body.ucf-keyboard-open .ucf-mobile-nav{visibility:hidden}
body.ucf-keyboard-open .ucf-shell{grid-template-rows:calc(56px + var(--ucf-safe-top)) minmax(0,1fr) 0px}
body.ucf-keyboard-open .ucf-modal{max-height:calc(var(--ucf-vh) - 8px - var(--ucf-safe-top))}
body.ucf-pwa-standalone .ucf-topbar{background:rgba(8,9,12,.98)}


/* v2.0.1 — live module recovery, expense workspace and data-integrity UI */
.ucf-expense-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,190px) minmax(150px,190px) minmax(140px,180px);gap:9px;margin:12px 0}
.ucf-expense-table td:nth-child(7){white-space:nowrap}.ucf-money-danger{color:var(--ucf-red)}
.ucf-mini-danger{color:#ff767b!important;border-color:rgba(237,72,79,.35)!important}.ucf-mini-warning{color:#ffbe63!important;border-color:rgba(237,145,36,.38)!important;background:rgba(237,145,36,.06)!important}
.ucf-data-warning{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;border:1px solid rgba(237,145,36,.35);background:rgba(237,145,36,.08);color:#f3b15c;font-size:10px;font-weight:750;white-space:nowrap}
.ucf-data-integrity-note{display:flex;flex-direction:column;gap:6px;padding:12px 13px;border:1px solid rgba(237,145,36,.34);background:rgba(237,145,36,.06);border-radius:11px;margin-bottom:14px}.ucf-data-integrity-note>b{font-size:11px;color:#f0b05a}.ucf-data-integrity-note>span{font-weight:800}.ucf-data-integrity-note>small{color:var(--ucf-muted);line-height:1.45}
.ucf-modulebar .ucf-module-button:focus-visible,.ucf-nav-item:focus-visible{outline:2px solid #9f91ff;outline-offset:2px}
@media(max-width:1220px){.ucf-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}.ucf-module-button{min-width:56px;padding-inline:8px}.ucf-module-button>small{display:none}}
@media(max-width:980px){.ucf-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-expense-toolbar{grid-template-columns:1fr 1fr}.ucf-topbar{grid-template-columns:var(--ucf-sidebar) minmax(0,1fr) auto}.ucf-top-actions .ucf-subscribe{display:none}}
@media(max-width:760px){.ucf-modulebar{display:none}.ucf-expense-toolbar{display:flex;overflow:auto;margin-left:-12px;margin-right:-12px;padding:0 12px 6px}.ucf-expense-toolbar>*{flex:0 0 min(76vw,260px)}.ucf-grid-5{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.ucf-grid-5{grid-template-columns:1fr 1fr}}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
@media(hover:hover) and (pointer:fine){.ucf-button:hover,.ucf-nav-item:hover,.ucf-module-button:hover{will-change:background-color,color}}

/* v1.9 production/auth refinements */
.ucf-signout{color:var(--ucf-muted,#8f94a3);text-decoration:none}.ucf-signout:hover{color:var(--ucf-text,#fff);text-decoration:underline}
body.ucf-mode-staging .ucf-brand::after,body.ucf-mode-production .ucf-brand::after{font-size:10px;line-height:1;padding:4px 6px;border-radius:999px;margin-left:8px;text-transform:uppercase;letter-spacing:.05em;border:1px solid rgba(255,255,255,.12)}
body.ucf-mode-staging .ucf-brand::after{content:'Staging';color:#f6c76a;background:rgba(246,199,106,.08)}
body.ucf-mode-production .ucf-brand::after{content:'Live';color:#69d798;background:rgba(105,215,152,.08)}


/* v1.9.1 — Premium A4 quotation / receipt / invoice visual system */
.ucf-premium-document-page{max-width:1320px}.ucf-document-stage{overflow:auto;padding:18px 4px 24px;border-radius:18px;background:radial-gradient(circle at 50% 0,rgba(30,55,100,.12),transparent 45%)}
.ucf-document-set{display:grid;gap:24px}.ucf-a4-sheet{--doc-navy:#00255b;--doc-navy2:#00183d;--doc-orange:#ff6b00;--doc-blue:#0b53ce;--doc-green:#11a83a;width:min(100%,794px);min-height:1123px;margin:0 auto;background:#fff;color:#102653;border:1px solid #cbd4e2;box-shadow:0 20px 60px rgba(0,0,0,.35);position:relative;padding:28px 24px 44px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow:hidden}
.ucf-a4-sheet *{box-sizing:border-box}.ucf-doc-hero{display:grid;grid-template-columns:1fr 1.05fr;align-items:start;min-height:98px;margin:-28px -24px 16px;padding:24px 26px 0;position:relative}.ucf-doc-hero:after{content:"";position:absolute;right:0;top:0;width:53%;height:100%;background:linear-gradient(135deg,var(--doc-navy),var(--doc-navy2));clip-path:polygon(18% 0,100% 0,100% 100%,33% 100%);z-index:0}.ucf-doc-hero:before{content:"";position:absolute;right:0;bottom:-10px;border-top:36px solid var(--doc-orange);border-left:14px solid transparent;z-index:1}.ucf-doc-logo,.ucf-doc-title{position:relative;z-index:2}.ucf-doc-logo{display:flex;align-items:center;gap:10px}.ucf-doc-logo-mark{width:58px;height:58px;border-radius:14px;background:linear-gradient(145deg,#082d69,#00153a);color:#fff;font-size:43px;font-weight:900;display:grid;place-items:center;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}.ucf-doc-logo-mark i{position:absolute;right:-4px;top:4px;width:25px;height:7px;background:var(--doc-orange);transform:rotate(-38deg);border-radius:6px}.ucf-doc-logo-copy b{font-size:27px;line-height:1;color:#0a2b65;letter-spacing:-.04em}.ucf-doc-logo-copy em{font-style:normal;background:var(--doc-orange);color:#fff;border-radius:4px;padding:2px 4px;font-size:13px;vertical-align:middle}.ucf-doc-logo-copy small{display:block;font-size:8px;letter-spacing:.13em;margin-top:8px;color:#466699}.ucf-doc-title{justify-self:end;color:#fff;text-align:left;min-width:310px;padding:1px 0 0 76px}.ucf-doc-title>b{font-size:25px;line-height:1.1;display:block}.ucf-doc-title>small{font-size:10px;color:#ff8a24;display:block;margin-top:6px}.ucf-doc-title>span{position:absolute;right:0;top:0;width:72px;height:72px;border:2px solid var(--doc-orange);clip-path:polygon(50% 0,92% 22%,92% 78%,50% 100%,8% 78%,8% 22%);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--doc-orange);font-weight:900}.ucf-doc-title>span em{font-size:8px;font-style:normal;color:#fff;text-align:center;line-height:1.1;margin-top:2px}.ucf-doc-hero-scope .ucf-doc-title{min-width:340px;padding-left:34px}.ucf-doc-hero-scope .ucf-doc-title>span{display:none}.ucf-doc-meta-row{display:grid;grid-template-columns:1.15fr 1fr 1fr .85fr;border:1px solid #dce4ef;border-radius:10px;margin:6px 0 18px;overflow:hidden}.ucf-doc-meta-short{grid-template-columns:1fr 1fr;max-width:62%}.ucf-doc-meta-cell{padding:11px 13px;border-right:1px solid #e1e7f0}.ucf-doc-meta-cell:last-child{border-right:0}.ucf-doc-meta-cell small{display:block;font-size:8px;font-weight:800;color:#36558a;margin-bottom:5px}.ucf-doc-meta-cell b{font-size:12px;color:#122c60}.ucf-doc-meta-cell b.is-accent{color:#ff5a00;font-size:14px}.ucf-doc-party-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:8px 10px 15px}.ucf-doc-party-grid>div+div{border-left:1px solid #dfe6ef;padding-left:28px}.ucf-doc-party-grid small{font-size:8px;font-weight:900;color:#214b8f}.ucf-doc-party-grid h3{font-size:14px;margin:5px 0 6px;color:#102a61}.ucf-doc-party-grid p{font-size:9px;line-height:1.35;margin:4px 0;color:#233f72}.ucf-doc-client-strip{display:flex;align-items:center;gap:18px;border:1px solid #dce4ef;border-radius:10px;padding:9px 12px;margin:0 0 12px;font-size:8px}.ucf-doc-client-strip>b{color:#214d93}.ucf-doc-client-strip>strong{font-size:11px}.ucf-doc-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dbe3ee;border-radius:8px;overflow:hidden;font-size:8.5px}.ucf-doc-table thead th{background:linear-gradient(90deg,#05295f,#001d4d);color:#fff;padding:9px 7px;text-align:center;font-size:8px}.ucf-doc-table thead th:nth-child(2){text-align:left}.ucf-doc-table td{padding:8px 7px;border-top:1px solid #e3e9f1;border-right:1px solid #e3e9f1;text-align:center;color:#18366b}.ucf-doc-table td:last-child{border-right:0}.ucf-doc-table td:nth-child(2){text-align:left}.ucf-doc-table td small{display:block;font-size:7px;color:#55709a;margin-top:2px}.ucf-doc-total-area{display:grid;grid-template-columns:1.2fr .85fr;gap:18px;margin:12px 0}.ucf-doc-words{padding:3px 4px}.ucf-doc-words>small{font-size:7px;font-weight:800;color:#214b8f}.ucf-doc-words>b{font-size:8px;display:block;margin-top:5px}.ucf-doc-thanks{display:flex;align-items:center;gap:12px;border:1px solid #e0e7f0;border-radius:10px;padding:8px;margin-top:10px}.ucf-doc-thanks p{font-size:8px;line-height:1.45;margin:0}.ucf-doc-thanks em,.ucf-receipt-thanks em{font-style:normal;color:#ff6b00}.ucf-doc-stamp{width:68px;height:68px;flex:0 0 68px;border:3px double #173c76;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-7deg);color:#153d7b;text-align:center}.ucf-doc-stamp span,.ucf-doc-stamp small{font-size:6px;font-weight:900;letter-spacing:.06em}.ucf-doc-stamp b{font-size:19px}.ucf-doc-totals{border:1px solid #e0e7ef;border-radius:9px;overflow:hidden;align-self:start}.ucf-doc-totals>div,.ucf-doc-summary-card>div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-top:1px solid #e5eaf1;font-size:9px}.ucf-doc-totals>div:first-child{border-top:0}.ucf-doc-totals .is-grand,.ucf-doc-summary-card .is-grand{background:linear-gradient(90deg,#06275a,#001a46);color:#fff;padding:11px 10px}.ucf-doc-totals .is-grand b,.ucf-doc-summary-card .is-grand b{color:#ff7b0b;font-size:19px}.ucf-doc-trust-strip{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #dde5ef;border-radius:9px;margin:12px 0 10px;padding:8px 5px}.ucf-doc-trust-strip>div{padding:0 8px;border-left:1px solid #dfe6ef}.ucf-doc-trust-strip>div:first-child{border-left:0}.ucf-doc-trust-strip b{display:block;font-size:6.5px;color:#17498d}.ucf-doc-trust-strip small{font-size:5.8px;line-height:1.35;color:#516c95;display:block;margin-top:3px}.ucf-doc-contact-footer{position:absolute;left:0;right:0;bottom:31px;min-height:34px;background:linear-gradient(90deg,#05285d,#001a45);color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 20px;font-size:7px}.ucf-doc-contact-footer i{width:1px;height:14px;background:rgba(255,255,255,.35)}.ucf-doc-page-number{position:absolute;bottom:0;left:50%;transform:translateX(-50%);background:linear-gradient(90deg,#05265a,#001b48);color:#fff;font-size:7px;font-weight:900;padding:7px 42px;border-radius:8px 8px 0 0;box-shadow:5px 0 0 #ff6b00}.ucf-doc-scope-list{display:grid;gap:10px}.ucf-doc-scope-card{display:grid;grid-template-columns:58px minmax(0,1.5fr) minmax(160px,.9fr) 102px;gap:12px;align-items:start;border:1px solid #dce5ef;border-radius:12px;padding:12px}.ucf-doc-service-icon{width:48px;height:48px;border-radius:13px;background:linear-gradient(145deg,#0b53ce,#6635d8);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:900}.ucf-doc-service-copy h3{margin:0 0 7px;font-size:11px;color:#102d64}.ucf-doc-service-copy ul{margin:0;padding-left:14px}.ucf-doc-service-copy li{font-size:7.5px;line-height:1.5;margin:2px 0;color:#234578}.ucf-doc-deliver,.ucf-doc-timeline{border-left:1px solid #e2e8f0;padding-left:12px}.ucf-doc-deliver>b,.ucf-doc-timeline>b{display:block;font-size:6.5px;color:#0a69c8;margin-bottom:7px}.ucf-doc-deliver span{display:block;font-size:7px;color:#1b4b7c;margin:4px 0}.ucf-doc-deliver span::first-letter{color:#11a83a}.ucf-doc-timeline span{display:block;font-size:8px;font-weight:800;color:#204781}.ucf-doc-timeline small{font-size:6.5px;color:#60789b}.ucf-doc-growth{display:grid;grid-template-columns:1.7fr repeat(4,.65fr);gap:7px;align-items:center;border:1px solid #dbe4ef;border-radius:10px;padding:9px 10px;margin-top:12px}.ucf-doc-growth>div b{font-size:7px}.ucf-doc-growth>div small{display:block;font-size:6px;margin-top:3px}.ucf-doc-growth>span{font-size:7px;font-weight:900;text-align:center}.ucf-doc-growth>span small{display:block;font-size:5.5px;font-weight:500;margin-top:2px}.ucf-doc-dark-strip{position:absolute;left:0;right:0;bottom:28px;display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(90deg,#05265a,#00183d);color:#fff;min-height:48px;padding:7px 20px}.ucf-doc-dark-strip span{text-align:center;font-size:7px;font-weight:900;border-left:1px solid rgba(255,255,255,.25)}.ucf-doc-dark-strip span:first-child{border-left:0}.ucf-doc-dark-strip small{display:block;font-size:5.8px;font-weight:500;margin-top:3px}.ucf-invoice-sheet .ucf-doc-table{margin-top:4px}.ucf-invoice-summary-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px;margin-top:14px}.ucf-doc-summary-card{border:1px solid #dce4ef;border-radius:10px;overflow:hidden;position:relative;padding-bottom:4px}.ucf-doc-summary-card h4,.ucf-invoice-notes-sign h4{font-size:8px;color:#173f80;margin:0;padding:10px}.ucf-doc-summary-card p{display:grid;grid-template-columns:105px 1fr;gap:10px;font-size:7.5px;margin:7px 10px}.ucf-doc-summary-card p b{color:#274d85}.ucf-doc-qr{position:absolute;right:12px;top:38px;width:70px;height:70px;object-fit:contain}.ucf-doc-muted{color:#60789b!important;display:block!important;line-height:1.5}.ucf-invoice-notes-sign{display:grid;grid-template-columns:1.2fr .8fr;gap:25px;border:1px solid #dce4ef;border-radius:10px;padding:8px 12px;margin-top:12px}.ucf-invoice-notes-sign p{font-size:8px;line-height:1.55;margin:0 10px}.ucf-doc-signature{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:end}.ucf-doc-signature img{max-width:130px;max-height:48px;object-fit:contain}.ucf-doc-signature-script{font-family:"Brush Script MT",cursive;font-size:24px;color:#1f3870;transform:rotate(-6deg);margin-bottom:2px}.ucf-doc-signature i{width:150px;border-top:1px solid #65758d}.ucf-doc-signature b{font-size:6.5px;color:#234a88;margin-top:6px}.ucf-doc-signature>span:not(.ucf-doc-signature-script){font-size:8px;font-weight:800;margin-top:3px}.ucf-doc-signature small{font-size:6.5px}.ucf-receipt-sheet{padding-top:28px}.ucf-receipt-info{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dae3ef;border-radius:10px;margin:15px 0 0}.ucf-receipt-info>div{padding:12px;border-left:1px solid #e0e7ef}.ucf-receipt-info>div:first-child{border-left:0}.ucf-receipt-info small,.ucf-receipt-bottom small,.ucf-receipt-amount small{display:block;font-size:7px;font-weight:900;color:#214b8e;margin-bottom:6px}.ucf-receipt-info b{font-size:9px}.ucf-receipt-amount{display:grid;grid-template-columns:.75fr 1.4fr;background:linear-gradient(90deg,#05295f,#001a45);color:#fff;margin:0;border-radius:0;padding:14px 22px}.ucf-receipt-amount small{color:#fff}.ucf-receipt-amount b{font-size:26px;color:#ff7a0a}.ucf-receipt-amount strong{font-size:13px}.ucf-receipt-bottom{display:grid;grid-template-columns:.7fr 1.5fr;border:1px solid #dce4ef;border-top:0;border-radius:0 0 10px 10px}.ucf-receipt-bottom>div{padding:12px 20px;border-left:1px solid #e0e7ef}.ucf-receipt-bottom>div:first-child{border-left:0}.ucf-receipt-bottom b{font-size:9px}.ucf-receipt-thanks{display:grid;grid-template-columns:78px 1fr 210px;gap:18px;align-items:center;margin:22px 0;padding:9px 14px;border:1px solid #dce4ef;border-radius:10px}.ucf-receipt-thanks p{font-size:9px;line-height:1.6}.ucf-premium-receipt-modal{padding:0!important}.ucf-premium-receipt-modal .ucf-document-stage{padding:14px}.ucf-receipt-stage .ucf-a4-sheet{box-shadow:none}.ucf-quote-item-row-premium{grid-template-columns:1.25fr 1.4fr 1.35fr .85fr .45fr .65fr 34px}.ucf-textarea-compact{min-height:42px;resize:vertical;padding-block:8px}.ucf-document-workflow-panel{max-width:794px;margin-left:auto;margin-right:auto}
@media(max-width:980px){.ucf-a4-sheet{min-height:auto;aspect-ratio:auto}.ucf-doc-title{min-width:260px}.ucf-doc-scope-card{grid-template-columns:45px 1.4fr 1fr 90px}.ucf-quote-item-row-premium{grid-template-columns:1fr 1fr}.ucf-quote-item-row-premium .ucf-remove-item{align-self:end}}
@media(max-width:600px){.ucf-document-stage{margin-left:-10px;margin-right:-10px;padding:8px 0}.ucf-a4-sheet{width:100%;padding:16px 12px 40px;border-radius:0;box-shadow:none}.ucf-doc-hero{margin:-16px -12px 10px;padding:15px 14px 0;min-height:82px}.ucf-doc-logo-mark{width:42px;height:42px;font-size:31px}.ucf-doc-logo-copy b{font-size:20px}.ucf-doc-logo-copy small{font-size:5.8px;margin-top:5px}.ucf-doc-title{min-width:190px;padding-left:34px}.ucf-doc-title>b{font-size:16px}.ucf-doc-title>span{width:54px;height:54px}.ucf-doc-meta-row{grid-template-columns:1fr 1fr}.ucf-doc-meta-cell{padding:8px}.ucf-doc-party-grid{grid-template-columns:1fr;gap:10px;margin-inline:2px}.ucf-doc-party-grid>div+div{border-left:0;border-top:1px solid #dfe6ef;padding:9px 0 0}.ucf-doc-client-strip{display:grid;grid-template-columns:1fr 1fr;gap:5px}.ucf-doc-table{font-size:6.8px}.ucf-doc-table td,.ucf-doc-table th{padding:6px 3px!important}.ucf-doc-total-area,.ucf-invoice-summary-grid,.ucf-invoice-notes-sign{grid-template-columns:1fr}.ucf-doc-trust-strip{grid-template-columns:1fr 1fr}.ucf-doc-trust-strip>div{border:0;padding:5px}.ucf-doc-scope-card{grid-template-columns:34px 1fr}.ucf-doc-service-icon{width:32px;height:32px;font-size:13px}.ucf-doc-deliver,.ucf-doc-timeline{grid-column:2;border-left:0;padding-left:0}.ucf-doc-growth{grid-template-columns:1fr 1fr}.ucf-doc-dark-strip{position:relative;bottom:auto;left:auto;right:auto;margin:12px -12px -12px;grid-template-columns:1fr 1fr}.ucf-doc-contact-footer{position:relative;left:auto;right:auto;bottom:auto;margin:12px -12px -9px;flex-wrap:wrap}.ucf-doc-page-number{position:relative;bottom:auto;margin:9px auto -40px;width:max-content}.ucf-receipt-info{grid-template-columns:1fr 1fr}.ucf-receipt-amount{grid-template-columns:1fr;padding:12px}.ucf-receipt-bottom{grid-template-columns:1fr}.ucf-receipt-bottom>div{border-left:0;border-top:1px solid #e0e7ef}.ucf-receipt-thanks{grid-template-columns:65px 1fr}.ucf-receipt-thanks .ucf-doc-signature{grid-column:1/-1}.ucf-quote-item-row-premium{grid-template-columns:1fr}.ucf-document-toolbar{scroll-snap-type:x proximity}}
@page{size:A4;margin:0}
@media print{
    body.ucf-print-document{background:#fff!important;overflow:visible!important}
    body.ucf-print-document *{visibility:hidden!important}
    body.ucf-print-document .is-print-target,body.ucf-print-document .is-print-target *{visibility:visible!important}
    body.ucf-print-document .is-print-target{position:absolute!important;left:0!important;top:0!important;width:210mm!important;display:block!important}
    body.ucf-print-document .ucf-document-stage{padding:0!important;background:#fff!important;overflow:visible!important}
    body.ucf-print-document .ucf-a4-sheet{width:210mm!important;min-height:297mm!important;height:297mm!important;margin:0!important;border:0!important;box-shadow:none!important;padding:10mm 9mm 13mm!important;break-after:page;page-break-after:always;overflow:hidden!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
    body.ucf-print-document .ucf-a4-sheet:last-child{break-after:auto;page-break-after:auto}
    body.ucf-print-document .ucf-doc-hero{margin:-10mm -9mm 5mm!important;padding:8mm 9mm 0!important}
    body.ucf-print-document .ucf-doc-contact-footer{bottom:8mm!important}
    body.ucf-print-document .ucf-doc-dark-strip{bottom:8mm!important}
    body.ucf-print-document .ucf-doc-page-number{bottom:0!important}
}

.ucf-doc-service-icon{position:relative;background:#f7faff;border:1px solid #dfe7f2}.ucf-doc-service-icon>i{position:absolute;right:-5px;top:-5px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#1f6be0;color:white;font-size:8px;font-style:normal}.ucf-service-logo{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#fff;font-size:18px;font-weight:900}.ucf-service-logo.is-whatsapp{background:#12b94b}.ucf-service-logo.is-instagram{background:linear-gradient(135deg,#ff7a00,#df1f82,#6f3bce)}.ucf-service-logo.is-google{background:#fff;color:#4285f4;border:1px solid #d9e2ef}.ucf-service-logo.is-meta{background:#fff;color:#0866ff;border:1px solid #d9e2ef;font-size:28px}.ucf-service-logo.is-canva{background:linear-gradient(135deg,#00c4cc,#7d2ae8)}.ucf-service-logo.is-web{background:linear-gradient(135deg,#0b53ce,#00a0e8)}.ucf-service-logo.is-seo{background:linear-gradient(135deg,#0a7b5a,#28b27b)}.ucf-service-logo.is-brand{background:linear-gradient(135deg,#ff6b00,#f0a300)}.ucf-service-logo.is-default{background:linear-gradient(135deg,#0b53ce,#6635d8)}
.ucf-invoice-sheet .ucf-doc-contact-footer{bottom:79px}.ucf-invoice-sheet .ucf-doc-dark-strip{bottom:31px}
@media print{body.ucf-print-document .ucf-invoice-sheet .ucf-doc-contact-footer{bottom:21mm!important}body.ucf-print-document .ucf-invoice-sheet .ucf-doc-dark-strip{bottom:8mm!important}}


/* v1.9.2 — Official Udyojak logo + brand-identity + A4 accuracy refinements */
.ucf-doc-logo-official{width:300px;min-height:72px;align-items:center;justify-content:flex-start;overflow:visible}
.ucf-doc-logo-image{display:block;width:286px;max-width:100%;height:auto;max-height:82px;object-fit:contain;object-position:left center}
.ucf-doc-logo-fallback{display:none;flex-direction:column;gap:3px;color:#082b67}
.ucf-doc-logo-fallback.is-visible{display:flex}.ucf-doc-logo-fallback b{font-size:27px;line-height:1}.ucf-doc-logo-fallback small{font-size:9px;letter-spacing:.04em;color:#535a68}
.ucf-doc-business-address{max-width:265px;font-size:7.4px!important;line-height:1.32!important;color:#496588!important}
.ucf-doc-hero{grid-template-columns:minmax(270px,.95fr) minmax(330px,1.05fr)}
.ucf-doc-hero-scope{grid-template-columns:minmax(270px,.95fr) minmax(350px,1.05fr)}
.ucf-doc-title{min-width:325px}.ucf-doc-hero-scope .ucf-doc-title{min-width:365px}
.ucf-doc-contact-footer{white-space:nowrap}.ucf-doc-contact-footer span{min-width:0}.ucf-doc-contact-footer b{flex:0 0 auto}
.ucf-doc-party-grid{min-height:118px}.ucf-invoice-sheet .ucf-doc-party-grid{min-height:118px}
.ucf-doc-page-1 .ucf-doc-table tbody tr,.ucf-invoice-sheet .ucf-doc-table tbody tr{break-inside:avoid;page-break-inside:avoid}
.ucf-doc-scope-card{break-inside:avoid;page-break-inside:avoid}
@media(max-width:980px){.ucf-doc-logo-official{width:255px;min-height:64px}.ucf-doc-logo-image{width:245px;max-height:70px}.ucf-doc-hero,.ucf-doc-hero-scope{grid-template-columns:minmax(225px,.92fr) minmax(300px,1.08fr)}}
@media(max-width:600px){.ucf-doc-logo-official{width:165px;min-height:48px}.ucf-doc-logo-image{width:158px;max-height:54px}.ucf-doc-hero,.ucf-doc-hero-scope{grid-template-columns:minmax(150px,.85fr) minmax(175px,1.15fr)}.ucf-doc-business-address{max-width:none}.ucf-doc-contact-footer{white-space:normal}}
@media print{
  body.ucf-print-document .ucf-doc-logo-official{width:78mm!important;min-height:20mm!important}
  body.ucf-print-document .ucf-doc-logo-image{width:74mm!important;max-height:21mm!important}
  body.ucf-print-document .ucf-doc-hero{grid-template-columns:78mm 1fr!important;min-height:27mm!important}
  body.ucf-print-document .ucf-doc-business-address{max-width:68mm!important}
  body.ucf-print-document .ucf-doc-contact-footer{font-size:6.5pt!important;white-space:nowrap!important}
}

/* v1.9.3 — live acceptance, document sharing and stale-cache recovery */
.ucf-document-toolbar{flex-wrap:wrap;gap:8px}
.ucf-document-toolbar .ucf-button{white-space:nowrap}
.ucf-readiness-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.ucf-readiness-grid>div{border:1px solid var(--ucf-border,#2a2c35);border-radius:10px;padding:12px;background:rgba(255,255,255,.025);min-width:0}
.ucf-readiness-grid b{display:block;font-size:12px;margin-bottom:5px}
.ucf-readiness-grid span{display:block;color:var(--ucf-muted,#a6a8b3);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.ucf-version-alert{border:1px solid rgba(255,107,0,.5);background:rgba(255,107,0,.08);padding:10px 12px;border-radius:10px}
@media(max-width:900px){.ucf-readiness-grid{grid-template-columns:1fr 1fr}.ucf-document-toolbar .ucf-button{min-height:44px}}
@media(max-width:600px){.ucf-readiness-grid{grid-template-columns:1fr}.ucf-premium-document-page>.ucf-quotation-actions.ucf-document-toolbar{display:grid;grid-template-columns:1fr 1fr}.ucf-premium-document-page>.ucf-quotation-actions.ucf-document-toolbar .ucf-button-primary{grid-column:1/-1}.ucf-premium-receipt-modal+.ucf-modal-foot.ucf-document-toolbar{display:grid;grid-template-columns:1fr 1fr}}
@media print{.ucf-document-toolbar,.ucf-version-alert{display:none!important}}

/* v2.0 — production authentication, role isolation and launch certification */
.ucf-login-screen{min-height:100dvh;display:grid;place-items:center;padding:clamp(20px,4vw,54px);background:radial-gradient(circle at 20% 10%,rgba(92,52,210,.19),transparent 32%),radial-gradient(circle at 82% 88%,rgba(255,107,0,.08),transparent 28%),#08090d;color:#f7f7fb;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ucf-login-panel{width:min(100%,480px);border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(20,21,27,.96);box-shadow:0 28px 90px rgba(0,0,0,.48);padding:30px;backdrop-filter:blur(18px)}
.ucf-login-logo{display:flex;justify-content:flex-start;align-items:center;min-height:64px;margin-bottom:18px}.ucf-login-logo img{display:block;width:min(100%,310px);height:auto;max-height:82px;object-fit:contain;object-position:left center;filter:drop-shadow(0 8px 20px rgba(0,0,0,.24))}
.ucf-login-kicker{display:inline-flex;padding:6px 9px;border-radius:999px;border:1px solid rgba(136,91,255,.32);background:rgba(118,74,255,.11);color:#bda9ff;font-size:9px;font-weight:850;letter-spacing:.08em}.ucf-login-copy h1{font-size:28px;line-height:1.08;letter-spacing:-.035em;margin:12px 0 8px}.ucf-login-copy p{margin:0;color:#a8aab4;font-size:13px;line-height:1.55}
.ucf-login-error{margin:18px 0 -2px;border:1px solid rgba(255,92,92,.35);background:rgba(255,70,70,.09);color:#ffc4c4;border-radius:11px;padding:10px 12px;font-size:12px;line-height:1.45}
.ucf-login-form{display:grid;gap:14px;margin-top:22px}.ucf-login-form>label:not(.ucf-login-remember){display:grid;gap:7px}.ucf-login-form label>span{font-size:11px;font-weight:700;color:#d9dae1}.ucf-login-form input[type=text],.ucf-login-form input[type=password]{width:100%;min-height:48px;border:1px solid #30323b;border-radius:11px;background:#101116;color:#fff;padding:11px 13px;outline:0;transition:border-color .18s,box-shadow .18s}.ucf-login-form input:focus{border-color:#7555e8;box-shadow:0 0 0 3px rgba(117,85,232,.14)}
.ucf-login-remember{display:flex;align-items:center;gap:9px;color:#c5c7d0}.ucf-login-remember input{width:17px;height:17px}.ucf-login-remember span{font-weight:500!important;color:#aeb0bb!important}.ucf-login-submit{width:100%;justify-content:center;min-height:48px;margin-top:2px}.ucf-login-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ucf-login-security{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.07);color:#777b88;font-size:9px}.ucf-login-security span{display:inline-flex;align-items:center;gap:4px}
body.ucf-mode-production .ucf-topbar{box-shadow:inset 0 -1px rgba(96,211,145,.08)}
body.ucf-mode-production .ucf-brand::after{content:'Production';font-weight:800}
@media(max-width:600px){.ucf-login-screen{padding:14px}.ucf-login-panel{padding:22px 18px;border-radius:18px}.ucf-login-copy h1{font-size:24px}.ucf-login-logo img{width:260px;max-width:100%}.ucf-login-security{display:grid;grid-template-columns:1fr 1fr}}


/* v2.0.2 — frontend-only Admin/User Panel, no WordPress chrome */
html{margin-top:0!important}
body.ucf-app-page,body.ucf-standalone{margin:0!important;padding:0!important;min-height:100dvh!important}
body.ucf-app-page #wpadminbar,body.ucf-standalone #wpadminbar{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}
body.ucf-app-page.admin-bar,body.ucf-standalone.admin-bar{margin-top:0!important;padding-top:0!important}
.ucf-shell{height:100dvh;max-height:100dvh}
.ucf-brand-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;line-height:1.05}
.ucf-brand-copy strong{font-size:15px;white-space:nowrap}
.ucf-panel-mode{display:block;margin-top:4px;color:#8f929d;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.ucf-panel-mode.is-admin{color:#a99fff}
.ucf-panel-mode.is-user{color:#6fdca0}
@media(max-width:760px){.ucf-brand-copy strong{font-size:14px}.ucf-panel-mode{font-size:7px;margin-top:3px}.ucf-shell{height:var(--ucf-vh);max-height:none}}


/* v2.0.3 — website-backed catalogue */
.ucf-catalogue-source-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:10px 14px;border:1px solid var(--ucf-border);border-radius:12px;background:rgba(102,78,255,.07);font-size:12px;color:var(--ucf-muted)}
.ucf-catalogue-source-note b{color:var(--ucf-text)}
.ucf-source-badge{color:#9c8cff!important}
@media(max-width:760px){.ucf-catalogue-source-note{align-items:flex-start;flex-direction:column}.ucf-client-toolbar .ucf-select{min-width:0;width:100%}}

/* v2.0.4 — isolated A4 PDF/print engine and quotation density accuracy */
.ucf-isolated-print-frame{position:fixed!important;left:-10000px!important;top:0!important;width:1200px!important;height:1600px!important;border:0!important;opacity:0!important;pointer-events:none!important;z-index:-2147483647!important;background:#fff!important}
.ucf-doc-commercial-terms{display:grid;grid-template-columns:1.1fr .8fr 1.15fr;gap:8px;margin-top:10px;border:1px solid #dbe4ef;border-radius:10px;padding:9px 10px;background:#fbfdff}
.ucf-doc-commercial-terms>div{padding:0 9px;border-left:1px solid #e1e8f1;min-width:0}.ucf-doc-commercial-terms>div:first-child{border-left:0;padding-left:0}.ucf-doc-commercial-terms small{display:block;font-size:6.2px;font-weight:900;color:#17498d;margin-bottom:4px}.ucf-doc-commercial-terms b{display:block;font-size:6.8px;line-height:1.42;color:#284a79;font-weight:700}
.ucf-doc-additional-scope{border:1px dashed #b9c9dc;border-radius:9px;padding:8px 10px;background:#f7faff;color:#284a79}.ucf-doc-additional-scope b{font-size:8px;color:#16458c}.ucf-doc-additional-scope span{display:block;font-size:6.8px;margin-top:3px}
.ucf-doc-density-light.ucf-doc-page-1 .ucf-doc-table td{padding-top:11px;padding-bottom:11px}.ucf-doc-density-light.ucf-doc-page-1 .ucf-doc-total-area{margin-top:16px}.ucf-doc-density-light.ucf-doc-page-2 .ucf-doc-scope-card{padding-top:14px;padding-bottom:14px}.ucf-doc-density-dense .ucf-doc-party-grid{min-height:100px}.ucf-doc-density-dense .ucf-doc-table td{padding-top:5px;padding-bottom:5px}.ucf-doc-density-dense .ucf-doc-scope-list{gap:6px}.ucf-doc-density-dense .ucf-doc-scope-card{padding:8px;gap:8px}.ucf-doc-density-dense .ucf-doc-service-copy li,.ucf-doc-density-dense .ucf-doc-deliver span{font-size:6.5px;line-height:1.35}
.ucf-doc-hero-scope .ucf-doc-title>b{font-size:18px;white-space:nowrap;letter-spacing:-.02em}
@media(max-width:600px){.ucf-doc-commercial-terms{grid-template-columns:1fr}.ucf-doc-commercial-terms>div{border-left:0;border-top:1px solid #e1e8f1;padding:7px 0}.ucf-doc-commercial-terms>div:first-child{border-top:0}.ucf-doc-hero-scope .ucf-doc-title>b{font-size:14px;white-space:normal}}
@media(min-width:601px){.ucf-doc-hero .ucf-doc-title{padding-left:170px}.ucf-doc-hero-scope .ucf-doc-title{padding-left:164px}}

/* v2.0.5 — official app logo + authorized stamp/signature + payment details/QR */
.ucf-brand{padding:0 12px;justify-content:center;background:#0b0c10}
.ucf-shell-brand-logo{display:block;width:145px;max-width:calc(var(--ucf-sidebar) - 20px);height:44px;object-fit:contain;background:#fff;border-radius:7px;padding:2px 5px}
.ucf-doc-stamp-image{width:82px;height:82px;flex:0 0 82px;border:0!important;border-radius:0!important;transform:none!important;background:transparent!important}
.ucf-doc-stamp-image img{display:block;width:100%;height:100%;object-fit:contain}
.ucf-doc-signature img{max-width:155px;max-height:58px;object-fit:contain}
.ucf-doc-payment-details,.ucf-doc-payment-qr{border:1px solid #dce4ef;border-radius:10px;padding:10px 12px;background:#fff;min-height:116px}
.ucf-doc-payment-details h4,.ucf-doc-payment-qr h4{font-size:8px;color:#173f80;margin:0 0 8px}
.ucf-doc-payment-details>div{display:grid;grid-template-columns:115px 1fr;gap:9px;padding:3px 0;border-top:1px solid #edf1f6;font-size:7.5px}
.ucf-doc-payment-details>div:first-of-type{border-top:0}
.ucf-doc-payment-details b{color:#274d85}.ucf-doc-payment-details span{color:#18366b;font-weight:650}
.ucf-doc-payment-details.is-empty p{font-size:7.5px;line-height:1.5;color:#60789b;margin:0}
.ucf-doc-payment-qr{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.ucf-doc-payment-qr img{display:block;width:88px;height:88px;object-fit:contain;margin:auto}
.ucf-doc-qr-placeholder{min-height:78px;width:100%;display:grid;place-items:center;border:1px dashed #b8c5d8;border-radius:8px;color:#647895;font-size:7px;line-height:1.45;padding:8px}
.ucf-invoice-summary-grid{grid-template-columns:.9fr .78fr}
.ucf-invoice-payment-auth{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;margin-top:10px}
.ucf-doc-auth-panel{border:1px solid #dce4ef;border-radius:10px;display:grid;grid-template-columns:92px 1fr;gap:10px;align-items:center;padding:8px 12px;min-height:116px}
.ucf-doc-auth-panel .ucf-doc-signature{justify-content:center}
.ucf-invoice-notes-sign{display:block;margin-top:9px;padding:7px 10px}.ucf-invoice-notes-sign h4{padding:4px 8px}.ucf-invoice-notes-sign p{line-height:1.35}
.ucf-receipt-payment-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin:10px 0}
.ucf-receipt-thanks{grid-template-columns:1fr 1.15fr;margin:10px 0;padding:8px 12px}
.ucf-receipt-thanks>.ucf-doc-auth-panel{min-height:104px}
@media(max-width:760px){.ucf-shell-brand-logo{width:118px;height:38px}.ucf-brand{justify-content:flex-start}.ucf-invoice-payment-auth,.ucf-receipt-payment-grid{grid-template-columns:1fr}.ucf-doc-auth-panel{grid-template-columns:80px 1fr}.ucf-receipt-thanks{grid-template-columns:1fr}.ucf-doc-payment-details>div{grid-template-columns:105px 1fr}}

/* v2.0.6 finance reconciliation */
.ucf-finance-reconcile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ucf-finance-reconcile>div{background:var(--ucf-panel,#17181e);border:1px solid var(--ucf-border,#292b34);border-radius:14px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.ucf-finance-reconcile small{color:var(--ucf-muted);font-size:12px}
.ucf-finance-reconcile b{font-size:18px}
@media(max-width:900px){.ucf-finance-reconcile{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ucf-finance-reconcile{grid-template-columns:1fr}}

/* v2.0.6 — frontend billing/document settings */
.ucf-billing-form{display:grid;gap:14px;margin-top:14px}.ucf-billing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.ucf-billing-field{display:grid;gap:7px;min-width:0}.ucf-billing-field>span{font-size:12px;color:var(--ucf-muted,#9da2b2);font-weight:700}.ucf-billing-assets{display:grid;grid-template-columns:2fr 1fr 1.35fr 1fr;gap:12px}.ucf-billing-asset{min-height:120px;border:1px solid var(--ucf-border,#292b35);border-radius:14px;background:var(--ucf-panel,#17181e);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;overflow:hidden}.ucf-billing-asset small{align-self:flex-start;color:var(--ucf-muted,#9da2b2);font-weight:700}.ucf-billing-asset img{display:block;max-width:100%;max-height:90px;object-fit:contain}.ucf-billing-asset.is-empty b{font-size:12px;color:var(--ucf-muted,#9da2b2);text-align:center}.ucf-billing-actions{display:flex;justify-content:flex-end;padding-bottom:6px}
@media(max-width:1100px){.ucf-billing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-billing-assets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ucf-billing-grid,.ucf-billing-assets{grid-template-columns:1fr}.ucf-billing-actions{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.ucf-billing-asset{min-height:105px}}

/* v2.1 Automation, follow-up and notification workspaces */
.ucf-notification-button{position:relative}.ucf-notification-dot{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:50%;background:#7d63ff;box-shadow:0 0 0 2px #0b0c10}.ucf-row-sub{display:block;color:var(--ucf-muted);margin-top:4px}.ucf-empty-cell{padding:36px!important;text-align:center;color:var(--ucf-muted)}.ucf-status.is-overdue{color:#ff7b85;border-color:rgba(255,103,116,.28);background:rgba(255,103,116,.1)}
.ucf-notice-list{display:grid;gap:10px}.ucf-notice-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-left:3px solid rgba(125,99,255,.55)}.ucf-notice-card.is-overdue{border-left-color:#ff6b76}.ucf-notice-card.is-today{border-left-color:#f5a344}.ucf-notice-card.is-read{opacity:.72}.ucf-notice-main{display:flex;align-items:flex-start;gap:13px;min-width:0}.ucf-notice-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(125,99,255,.13);color:#b5a8ff;flex:0 0 auto}.ucf-notice-title{font-weight:750;color:var(--ucf-text)}.ucf-notice-detail{color:var(--ucf-muted);margin-top:4px}.ucf-notice-main small{display:block;color:var(--ucf-muted);margin-top:5px}.ucf-notice-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ucf-toggle-stack{display:grid;gap:12px}.ucf-toggle-row{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--ucf-border);border-radius:12px;background:rgba(255,255,255,.015)}.ucf-toggle-row input{margin-top:3px}.ucf-toggle-row span{display:grid;gap:3px}.ucf-toggle-row small{color:var(--ucf-muted);font-weight:400}.ucf-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ucf-template-field{display:grid;gap:7px}.ucf-template-field label{font-weight:650}.ucf-template-field textarea{min-height:96px}
.ucf-automation-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ucf-automation-strip button{border:1px solid var(--ucf-border);border-radius:13px;background:var(--ucf-panel);color:var(--ucf-text);padding:13px 15px;text-align:left;cursor:pointer;transition:.18s ease}.ucf-automation-strip button:hover{border-color:rgba(125,99,255,.48);transform:translateY(-1px)}.ucf-automation-strip small{display:block;color:var(--ucf-muted);margin-bottom:5px}.ucf-automation-strip b{font-size:20px}
@media(max-width:900px){.ucf-template-grid,.ucf-automation-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-notice-card{align-items:flex-start;flex-direction:column}.ucf-notice-actions{width:100%;justify-content:flex-start}}
@media(max-width:600px){.ucf-template-grid,.ucf-automation-strip{grid-template-columns:1fr}.ucf-notice-actions .ucf-button{flex:1}}

/* v2.2.0 — reports, revenue intelligence, forecasting and business performance */
.ucf-report-page{padding-bottom:80px}.ucf-report-filterbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0 14px;padding:12px 14px;border:1px solid var(--ucf-border);border-radius:14px;background:var(--ucf-panel)}.ucf-report-filterbar>div{display:grid;gap:2px;margin-right:auto}.ucf-report-filterbar small{font-size:11px;color:var(--ucf-muted)}.ucf-report-filterbar b{font-size:13px}.ucf-report-filterbar .ucf-input,.ucf-report-filterbar .ucf-select{min-width:150px;width:auto}.ucf-report-rule{margin:0 0 14px;padding:9px 12px;border:1px solid rgba(125,99,255,.24);border-radius:10px;background:rgba(125,99,255,.07);color:#b9b0ff;font-size:12px}.ucf-report-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.ucf-report-metric{appearance:none;text-align:left;padding:16px;border:1px solid var(--ucf-border);color:var(--ucf-text);cursor:default}.ucf-report-metric[data-report-go]{cursor:pointer}.ucf-report-metric:hover[data-report-go]{transform:translateY(-1px);border-color:#5147a7}.ucf-report-metric small,.ucf-report-kpi small{display:block;color:var(--ucf-muted);font-size:11px;margin-bottom:8px}.ucf-report-metric b,.ucf-report-kpi b{display:block;font-size:21px;line-height:1.1}.ucf-report-metric span{display:block;color:var(--ucf-muted);font-size:10px;margin-top:8px}.ucf-report-kpi{padding:16px}.ucf-report-bars{display:grid;gap:12px;margin-top:12px}.ucf-report-bar-row{display:grid;gap:6px}.ucf-report-bar-row>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.ucf-report-bar-row b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ucf-report-bar-row span{font-size:11px;color:var(--ucf-muted)}.ucf-report-bar-row i{height:7px;display:block;border-radius:999px;background:#252731;overflow:hidden}.ucf-report-bar-row em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5e49ff,#8d7cff)}.ucf-report-forecast{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.ucf-report-forecast>div{border:1px solid var(--ucf-border);border-radius:12px;padding:14px;background:rgba(255,255,255,.015)}.ucf-report-forecast small{display:block;color:var(--ucf-muted);font-size:10px}.ucf-report-forecast b{display:block;font-size:20px;margin:5px 0}.ucf-report-forecast span{font-size:9px;color:#7f8494}.ucf-report-copy{color:var(--ucf-muted);font-size:12px;line-height:1.7}.ucf-report-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.ucf-big-number{font-size:48px;font-weight:900;color:#8d7cff;margin:16px 0}.ucf-table-sub{display:block;margin-top:3px;color:var(--ucf-muted);font-size:10px}
@media(max-width:1280px){.ucf-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.ucf-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-report-filterbar{align-items:stretch}.ucf-report-filterbar>div{width:100%}.ucf-report-filterbar .ucf-input,.ucf-report-filterbar .ucf-select{min-width:0;flex:1}.ucf-report-forecast{grid-template-columns:1fr}}
@media(max-width:600px){.ucf-report-metrics{grid-template-columns:1fr}.ucf-report-filterbar{display:grid;grid-template-columns:1fr 1fr}.ucf-report-filterbar>div,.ucf-report-filterbar [data-report-preset]{grid-column:1/-1}.ucf-report-filterbar .ucf-input,.ucf-report-filterbar .ucf-select,.ucf-report-filterbar .ucf-button{width:100%}.ucf-report-kpi b,.ucf-report-metric b{font-size:19px}}
@media print{body:not(.ucf-print-isolated) .ucf-topbar,body:not(.ucf-print-isolated) .ucf-sidebar,body:not(.ucf-print-isolated) .ucf-mobile-nav,body:not(.ucf-print-isolated) .ucf-report-filterbar,body:not(.ucf-print-isolated) .ucf-page-actions{display:none!important}body:not(.ucf-print-isolated) .ucf-main{margin:0!important;width:100%!important;overflow:visible!important}body:not(.ucf-print-isolated) .ucf-content{padding:0!important;overflow:visible!important}.ucf-report-page{background:#fff!important;color:#111!important}.ucf-report-page .ucf-card{background:#fff!important;color:#111!important;border-color:#d8d8dc!important;break-inside:avoid}.ucf-report-page small,.ucf-report-page .ucf-muted-copy,.ucf-report-page .ucf-report-copy{color:#555!important}.ucf-report-rule{color:#332c82!important;background:#f4f2ff!important}.ucf-report-bar-row i{background:#eee!important}.ucf-report-bar-row em{background:#5645d8!important}}

/* v2.3.2 — Simple Theme Switcher: one complete preset, no stacked customisation */
:root{
    --ucf-topbar-bg:#0a0b0f;
    --ucf-nav-text:#c5c7cf;
    --ucf-card-top:#191a20;
    --ucf-card-bottom:#14151a;
    --ucf-avatar-bg:#252730;
    --ucf-avatar-border:#393b45;
    --ucf-brand-secondary:#ed9124;
    --ucf-accent-shadow:rgba(101,80,255,.24);
    --ucf-accent-focus:rgba(101,80,255,.16);
    --ucf-accent-soft-text:#6550ff;
    --ucf-control-radius:10px;
    --ucf-font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
html,body.ucf-standalone{font-family:var(--ucf-font-family)!important}
.ucf-app{font-family:var(--ucf-font-family);background:radial-gradient(circle at 70% -20%,var(--ucf-purple-soft),transparent 32%),var(--ucf-bg)}
.ucf-topbar,.ucf-brand{background:var(--ucf-topbar-bg)}
.ucf-card{background:linear-gradient(180deg,var(--ucf-card-top),var(--ucf-card-bottom))}
.ucf-avatar{background:var(--ucf-avatar-bg);border-color:var(--ucf-avatar-border);color:var(--ucf-text)}
.ucf-nav-item{color:var(--ucf-nav-text);border-radius:var(--ucf-control-radius)}
.ucf-nav-item:hover{background:var(--ucf-panel);color:var(--ucf-text)}
.ucf-nav-item.is-active{background:linear-gradient(135deg,var(--ucf-purple),var(--ucf-purple-2));color:#fff;box-shadow:0 8px 24px var(--ucf-accent-shadow)}
.ucf-module-button{border-radius:var(--ucf-control-radius)}
.ucf-module-button.is-active{background:linear-gradient(145deg,var(--ucf-purple),var(--ucf-purple-2));box-shadow:0 10px 28px var(--ucf-accent-shadow)}
.ucf-button,.ucf-input,.ucf-select,.ucf-textarea,.ucf-mini-button,.ucf-icon-button{border-radius:var(--ucf-control-radius)}
.ucf-input:focus,.ucf-select:focus,.ucf-textarea:focus{border-color:var(--ucf-purple)!important;box-shadow:0 0 0 3px var(--ucf-accent-focus)!important}
.ucf-mobile-nav{background:var(--ucf-shell)!important}
.ucf-mobile-nav button.is-active{color:var(--ucf-purple)!important}
.ucf-notification-dot{background:var(--ucf-purple);box-shadow:0 0 0 2px var(--ucf-topbar-bg)}
.ucf-quick-action span:first-child{color:var(--ucf-purple)}
.ucf-activity-icon,.ucf-notice-icon{background:var(--ucf-purple-soft);color:var(--ucf-purple)}
.ucf-report-rule{border-color:var(--ucf-accent-focus);background:var(--ucf-purple-soft);color:var(--ucf-purple)}
.ucf-report-bar-row em{background:linear-gradient(90deg,var(--ucf-purple),var(--ucf-purple-2))}
.ucf-big-number,.ucf-source-badge{color:var(--ucf-purple)!important}
.ucf-report-metric:hover[data-report-go]{border-color:var(--ucf-purple)}
.ucf-catalogue-source-note{background:var(--ucf-purple-soft)}

/* Complete light preset corrections. Geometry stays identical to Original Dark. */
.ucf-theme-mode-light .ucf-topbar{box-shadow:0 1px 18px rgba(15,35,65,.08)}
.ucf-theme-mode-light .ucf-module-button:hover,.ucf-theme-mode-light .ucf-nav-item:hover{color:var(--ucf-text)}
.ucf-theme-mode-light .ucf-sidebar{box-shadow:1px 0 18px rgba(15,35,65,.05)}
.ucf-theme-mode-light .ucf-shell-brand-logo{box-shadow:0 0 0 1px var(--ucf-border-soft)}
.ucf-theme-mode-light .ucf-toggle-row,.ucf-theme-mode-light .ucf-report-forecast>div{background:var(--ucf-panel-2)}
.ucf-theme-mode-light .ucf-modal{box-shadow:0 24px 70px rgba(15,35,65,.20)}
.ucf-theme-mode-light .ucf-table tbody tr:hover{background:var(--ucf-panel-2)}
.ucf-theme-mode-light .ucf-placeholder,.ucf-theme-mode-light .ucf-skeleton{background-color:var(--ucf-panel)}
.ucf-theme-mode-light .ucf-panel-mode.is-admin{color:var(--ucf-purple)}
.ucf-theme-mode-light .ucf-panel-mode.is-user{color:#168a55}
.ucf-theme-mode-light .ucf-quick-action:hover{background:var(--ucf-panel-3)}
.ucf-theme-mode-light .ucf-responsive-table tr{background:var(--ucf-panel-2)}
.ucf-theme-mode-light .ucf-mobile-route{background:var(--ucf-panel-2);color:var(--ucf-text)}
.ucf-theme-mode-light .ucf-mobile-route.is-active{color:#fff}
.ucf-theme-mode-light .ucf-mobile-menu-trigger{color:var(--ucf-text)}
.ucf-theme-mode-light .ucf-modal-head,.ucf-theme-mode-light .ucf-modal-foot{background:rgba(255,255,255,.98)}
.ucf-theme-mode-light.ucf-pwa-standalone .ucf-topbar{background:rgba(255,255,255,.98)}
.ucf-theme-mode-light .ucf-mobile-sheet{background:var(--ucf-panel)}
.ucf-theme-mode-light .ucf-mobile-sheet-handle{background:var(--ucf-border)}
.ucf-theme-mode-light .ucf-mobile-module{background:var(--ucf-panel-2)}

/* Original geometry is deliberately fixed for every theme. */
.ucf-logo-standard .ucf-shell-brand-logo{width:145px;height:44px}
@media(max-width:760px){.ucf-logo-standard .ucf-shell-brand-logo{width:118px;height:38px}}

/* Appearance — intentionally simple. */
.ucf-appearance-page{padding-bottom:100px}
.ucf-appearance-status{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 15px;border:1px solid var(--ucf-accent-focus);border-radius:14px;background:var(--ucf-purple-soft);margin-bottom:14px}
.ucf-appearance-status>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--ucf-purple);color:#fff;font-weight:900}
.ucf-appearance-status b{display:block;font-size:13px}.ucf-appearance-status p{margin:3px 0 0;color:var(--ucf-muted);font-size:11px;line-height:1.55}.ucf-appearance-status strong{font-size:11px;color:var(--ucf-purple);white-space:nowrap}
.ucf-appearance-form{display:grid;gap:14px}
.ucf-appearance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}
.ucf-appearance-card{position:relative;appearance:none;text-align:left;min-height:190px;padding:16px;border:1px solid var(--ucf-border);border-radius:14px;background:var(--ucf-panel-2);color:var(--ucf-text);cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.ucf-appearance-card:hover{border-color:var(--ucf-purple);transform:translateY(-1px)}
.ucf-appearance-card.is-selected{border-color:var(--ucf-purple);box-shadow:0 0 0 2px var(--ucf-accent-focus)}
.ucf-appearance-check{position:absolute;right:13px;top:12px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--ucf-border);font-size:12px;color:var(--ucf-purple);background:var(--ucf-panel)}
.ucf-appearance-swatches{display:flex;gap:5px;padding-right:34px}.ucf-appearance-swatches i{display:block;width:30px;height:23px;border-radius:6px;border:1px solid rgba(127,127,127,.22)}
.ucf-appearance-card>b{display:block;font-size:15px;margin:14px 0 2px}.ucf-appearance-card>small{display:block;color:var(--ucf-purple);font-size:10px;font-weight:800}.ucf-appearance-card>p{margin:9px 0 22px;color:var(--ucf-muted);font-size:11px;line-height:1.55}.ucf-appearance-card>em{position:absolute;left:16px;bottom:13px;font-style:normal;font-size:8px;font-weight:900;letter-spacing:.07em;color:var(--ucf-muted)}
.ucf-appearance-help{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ucf-appearance-help>div{display:grid;gap:7px}.ucf-appearance-help b{font-size:12px}.ucf-appearance-help span{font-size:10px;color:var(--ucf-muted)}.ucf-appearance-help span:before{content:'✓ ';color:var(--ucf-green)}
.ucf-theme-preview-bar{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:2147483000;width:min(760px,calc(100vw - 24px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px 11px 15px;border:1px solid var(--ucf-purple);border-radius:14px;background:var(--ucf-panel);color:var(--ucf-text);box-shadow:0 18px 60px rgba(0,0,0,.35)}
.ucf-theme-preview-bar>div{display:flex;align-items:center;gap:9px}.ucf-theme-preview-bar b{font-size:12px;color:var(--ucf-purple)}.ucf-theme-preview-bar span{font-size:10px;color:var(--ucf-muted)}
@media(max-width:900px){.ucf-appearance-grid{grid-template-columns:1fr}.ucf-appearance-card{min-height:150px}.ucf-appearance-help{grid-template-columns:1fr}}
@media(max-width:720px){.ucf-appearance-status{grid-template-columns:34px 1fr}.ucf-appearance-status strong{grid-column:1/-1}.ucf-theme-preview-bar{align-items:flex-start;flex-direction:column}.ucf-theme-preview-bar>div:last-child{width:100%}.ucf-theme-preview-bar .ucf-button{flex:1}}



/* v2.3.6 — compact receipt reconciliation summary. */
.ucf-receipt-reconciliation{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #dce4ef;border-top:0;background:#f9fbfe}
.ucf-receipt-reconciliation>div{padding:9px 10px;border-left:1px solid #e0e7ef;min-width:0}
.ucf-receipt-reconciliation>div:first-child{border-left:0}
.ucf-receipt-reconciliation small{display:block;font-size:6px;font-weight:900;color:#214b8e;margin-bottom:4px;line-height:1.15}
.ucf-receipt-reconciliation b{display:block;font-size:8px;color:#102653;white-space:nowrap}
.ucf-receipt-bottom-notes{grid-template-columns:1fr!important;border-top:0}
.ucf-receipt-bottom-notes>div{border-left:0!important}
@media(max-width:600px){.ucf-receipt-reconciliation{grid-template-columns:1fr 1fr}.ucf-receipt-reconciliation>div{border-top:1px solid #e0e7ef}.ucf-receipt-reconciliation>div:nth-child(odd){border-left:0}}


/* v2.3.7 — premium document header cleanup, border polish and exact receipt reconciliation. */
.ucf-a4-sheet{box-shadow:0 20px 60px rgba(0,0,0,.35),inset 0 0 0 1px #d7e0eb}
.ucf-doc-hero-clean:after{width:52%;background:linear-gradient(90deg,#05295f,#001a45);clip-path:polygon(14% 0,100% 0,100% 100%,8% 100%)}
.ucf-doc-hero-clean:before{content:"";position:absolute;left:52%;right:0;bottom:0;height:3px;background:#ff6b00;border:0;z-index:1}
.ucf-doc-hero-clean .ucf-doc-title{display:flex;flex-direction:column;justify-content:center;min-height:68px;padding-left:110px;padding-right:8px}
.ucf-doc-hero-clean .ucf-doc-title>b{letter-spacing:.02em}
.ucf-doc-hero-clean .ucf-doc-title>small{margin-top:7px;color:#ff8a24;font-weight:700}
.ucf-doc-hero-clean .ucf-doc-title>span{display:none!important}
.ucf-doc-hero-receipt .ucf-doc-title>b{font-size:24px}
.ucf-doc-signature b{display:none!important}
.ucf-doc-signature>span:not(.ucf-doc-signature-script){font-size:8.5px;font-weight:850;margin-top:5px;color:#153d73}
.ucf-doc-signature small{font-size:6.5px;color:#526987;margin-top:2px}
.ucf-receipt-reconciliation .is-overpayment{background:#fff8ec}
.ucf-receipt-reconciliation .is-overpayment small,.ucf-receipt-reconciliation .is-overpayment b{color:#b25b00}
.ucf-receipt-reconcile-warning{display:block;margin-top:5px;font-style:normal;font-size:6.5px;line-height:1.35;color:#a55700;font-weight:700}
@media(max-width:600px){.ucf-doc-hero-clean .ucf-doc-title{padding-left:40px;min-height:58px}.ucf-doc-hero-receipt .ucf-doc-title>b{font-size:16px}}

/* v2.3.8 — A4 Typography v1, stronger color hierarchy and premium readability. */
.ucf-a4-sheet{
  --doc-text-primary:#13233f;
  --doc-text-secondary:#43546b;
  --doc-text-muted:#66768c;
  --doc-label:#214b8e;
  --doc-border:#d6e0eb;
  --doc-soft:#f7f9fc;
  --doc-success:#168a4b;
  --doc-danger:#c43c44;
  color:var(--doc-text-primary);
  font-synthesis:none;
  font-kerning:normal;
  text-rendering:geometricPrecision;
}
.ucf-doc-title>b{font-size:27px;line-height:1.08;font-weight:800;letter-spacing:.012em}
.ucf-doc-title>small{font-size:11px;line-height:1.3;font-weight:700;color:#f77a16}
.ucf-doc-meta-cell small{font-size:8.5px;line-height:1.2;font-weight:800;letter-spacing:.035em;color:var(--doc-label)}
.ucf-doc-meta-cell b{font-size:12.5px;line-height:1.25;font-weight:750;color:var(--doc-text-primary)}
.ucf-doc-meta-cell b.is-accent{font-size:14.5px;color:#f45f00}
.ucf-doc-meta-cell b.is-status{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:20px;padding:3px 8px;border-radius:999px;border:1px solid #d8e1ec;background:#f2f5f9;color:#425168;font-size:10px;font-weight:800;text-transform:capitalize}
.ucf-doc-meta-cell b.is-status-approved,.ucf-doc-meta-cell b.is-status-paid,.ucf-doc-meta-cell b.is-status-completed{color:#147a43;background:#edf9f2;border-color:#bfe8cf}
.ucf-doc-meta-cell b.is-status-sent,.ucf-doc-meta-cell b.is-status-open{color:#1f5ca8;background:#eef5ff;border-color:#c7daf4}
.ucf-doc-meta-cell b.is-status-unpaid,.ucf-doc-meta-cell b.is-status-overdue,.ucf-doc-meta-cell b.is-status-rejected{color:#b9353f;background:#fff0f1;border-color:#f0c8cc}
.ucf-doc-meta-cell b.is-status-draft,.ucf-doc-meta-cell b.is-status-partially-paid{color:#9a5c10;background:#fff7e9;border-color:#efd9b1}
.ucf-doc-party-grid small{font-size:8.5px;line-height:1.2;font-weight:850;letter-spacing:.035em;color:var(--doc-label)}
.ucf-doc-party-grid h3{font-size:15px;line-height:1.2;font-weight:800;color:var(--doc-text-primary)}
.ucf-doc-party-grid p{font-size:9.6px;line-height:1.45;color:var(--doc-text-secondary)}
.ucf-doc-party-grid p b{color:var(--doc-text-primary);font-weight:700}
.ucf-doc-business-address{font-size:8.3px!important;line-height:1.4!important;color:var(--doc-text-secondary)!important}
.ucf-doc-client-strip{font-size:8.7px;line-height:1.35;color:var(--doc-text-secondary);border-color:var(--doc-border)}
.ucf-doc-client-strip>b{font-size:8.2px;font-weight:850;letter-spacing:.035em;color:var(--doc-label)}
.ucf-doc-client-strip>strong{font-size:11.7px;color:var(--doc-text-primary)}
.ucf-doc-table{font-size:9px;color:var(--doc-text-primary);border-color:var(--doc-border)}
.ucf-doc-table thead th{font-size:8.6px;font-weight:800;letter-spacing:.035em}
.ucf-doc-table td{font-size:9px;line-height:1.35;color:var(--doc-text-primary)}
.ucf-doc-table td b{font-weight:750;color:var(--doc-text-primary)}
.ucf-doc-table td small{font-size:7.8px;line-height:1.4;color:var(--doc-text-muted)}
.ucf-doc-words>small{font-size:7.8px;letter-spacing:.035em;color:var(--doc-label)}
.ucf-doc-words>b{font-size:8.8px;line-height:1.45;color:var(--doc-text-primary)}
.ucf-doc-thanks p,.ucf-receipt-thanks p{font-size:8.8px;line-height:1.5;color:var(--doc-text-secondary)}
.ucf-doc-thanks p b,.ucf-receipt-thanks p b{color:var(--doc-text-primary)}
.ucf-doc-totals>div,.ucf-doc-summary-card>div{font-size:9.5px;line-height:1.25;color:var(--doc-text-secondary)}
.ucf-doc-totals>div b,.ucf-doc-summary-card>div b{font-weight:800;color:var(--doc-text-primary)}
.ucf-doc-totals .is-grand b,.ucf-doc-summary-card .is-grand b{font-size:20px;color:#f4770b}
.ucf-doc-summary-card .is-grand.is-paid-balance{background:linear-gradient(90deg,#075c39,#0b7348)}
.ucf-doc-summary-card .is-grand.is-paid-balance b{color:#fff}
.ucf-doc-trust-strip b{font-size:7.1px;line-height:1.15;font-weight:850;letter-spacing:.02em;color:#17498d}
.ucf-doc-trust-strip small{font-size:6.5px;line-height:1.4;color:#5d6f86}
.ucf-doc-contact-footer{font-size:7.6px;line-height:1.2;font-weight:550}
.ucf-doc-page-number{font-size:7.8px;letter-spacing:.035em}
.ucf-doc-service-copy h3{font-size:11.8px;line-height:1.25;font-weight:800;color:var(--doc-text-primary)}
.ucf-doc-service-copy li{font-size:8.3px;line-height:1.5;color:var(--doc-text-secondary)}
.ucf-doc-deliver>b,.ucf-doc-timeline>b{font-size:7.2px;line-height:1.2;font-weight:850;letter-spacing:.035em;color:#1163af}
.ucf-doc-deliver span{font-size:8px;line-height:1.42;color:var(--doc-text-secondary)}
.ucf-doc-timeline span{font-size:8.8px;color:var(--doc-text-primary)}
.ucf-doc-timeline small{font-size:7.2px;line-height:1.35;color:var(--doc-text-muted)}
.ucf-doc-growth>div b{font-size:7.5px;color:var(--doc-text-primary)}
.ucf-doc-growth>div small{font-size:6.6px;line-height:1.4;color:var(--doc-text-muted)}
.ucf-doc-growth>span{font-size:7.5px;color:var(--doc-text-primary)}
.ucf-doc-growth>span small{font-size:6.2px;line-height:1.3;color:var(--doc-text-muted)}
.ucf-doc-commercial-terms small{font-size:7px;letter-spacing:.025em;color:var(--doc-label)}
.ucf-doc-commercial-terms b{font-size:7.7px;line-height:1.5;color:var(--doc-text-secondary)}
.ucf-doc-dark-strip span{font-size:7.6px;line-height:1.25}
.ucf-doc-dark-strip small{font-size:6.3px;line-height:1.3;color:#d9e5f5}
.ucf-doc-summary-card h4,.ucf-invoice-notes-sign h4,.ucf-doc-payment-details h4,.ucf-doc-payment-qr h4{font-size:8.5px;line-height:1.2;font-weight:850;letter-spacing:.035em;color:var(--doc-label)}
.ucf-doc-payment-details>div{font-size:8px;line-height:1.3}
.ucf-doc-payment-details b{font-size:7.6px;font-weight:850;color:var(--doc-label)}
.ucf-doc-payment-details span{font-size:8.2px;font-weight:650;color:var(--doc-text-primary)}
.ucf-invoice-notes-sign p{font-size:8.4px;line-height:1.5;color:var(--doc-text-secondary)}
.ucf-doc-signature>span:not(.ucf-doc-signature-script){font-size:9.3px;font-weight:800;color:var(--doc-text-primary)}
.ucf-doc-signature small{font-size:7.3px;color:var(--doc-text-muted)}
.ucf-receipt-info small,.ucf-receipt-amount small,.ucf-receipt-bottom small{font-size:7.8px;font-weight:850;letter-spacing:.025em;color:var(--doc-label)}
.ucf-receipt-info b,.ucf-receipt-bottom b{font-size:9.2px;color:var(--doc-text-primary)}
.ucf-receipt-amount>div:first-child>b{font-size:23px;line-height:1.1;color:#f4770b}
.ucf-receipt-amount strong{font-size:10.5px;line-height:1.4;color:#fff}
.ucf-receipt-reconciliation small{font-size:7px;line-height:1.2;color:var(--doc-label)}
.ucf-receipt-reconciliation b{font-size:9px;line-height:1.25;color:var(--doc-text-primary)}
.ucf-receipt-amount small{color:#eef4fc!important}
.ucf-receipt-reconciliation .is-zero-balance{background:#eef9f2}
.ucf-receipt-reconciliation .is-zero-balance small,.ucf-receipt-reconciliation .is-zero-balance b{color:#147a43}

/* v2.3.9 — safe data governance & user access management */
.ucf-danger-box{padding:14px 16px;border:1px solid rgba(237,72,79,.35);background:rgba(237,72,79,.08);border-radius:12px;margin-bottom:16px}.ucf-danger-box b{color:#ff8a8f;font-size:14px}.ucf-danger-box p{margin:6px 0 0;color:var(--ucf-muted);line-height:1.55}.ucf-form-notice{margin-top:14px;padding:12px 14px;border:1px solid var(--ucf-border);border-radius:10px;background:var(--ucf-panel-2);color:var(--ucf-muted);font-size:12px;line-height:1.55}.ucf-form-notice b{color:var(--ucf-text)}

/* v2.4.0 — Data Safety Center */
.ucf-data-stack{display:grid;gap:16px}.ucf-data-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ucf-help{margin:10px 0 0;color:var(--ucf-text-muted,#8f98aa);font-size:12px;line-height:1.55}.ucf-import-mapping-empty{margin-top:14px;padding:22px;border:1px dashed var(--ucf-border,#303746);border-radius:12px;text-align:center;color:var(--ucf-text-muted,#8f98aa)}.ucf-data-map-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin:18px 0 10px}.ucf-data-map-head b{font-size:14px}.ucf-data-map-head small{color:var(--ucf-text-muted,#8f98aa)}.ucf-data-mapping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.ucf-data-mapping label,.ucf-form-grid label{display:grid;gap:6px}.ucf-data-mapping label>span,.ucf-form-grid label>span{font-size:11px;font-weight:700;color:var(--ucf-text-muted,#8f98aa);text-transform:uppercase;letter-spacing:.04em}.ucf-span-2{grid-column:1/-1}.ucf-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ucf-export-grid article{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:180px}.ucf-export-grid h3{margin:0;font-size:16px}.ucf-export-grid p{margin:0 0 auto;color:var(--ucf-text-muted,#8f98aa);font-size:12px;line-height:1.5}.ucf-export-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--ucf-accent-soft,rgba(126,87,255,.14));color:var(--ucf-accent,#8e72ff);font-size:20px;font-weight:800}
@media(max-width:900px){.ucf-data-mapping,.ucf-export-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.ucf-data-mapping,.ucf-export-grid{grid-template-columns:1fr}.ucf-data-map-head{align-items:flex-start;flex-direction:column}.ucf-data-actions .ucf-button{width:100%;justify-content:center}}

/* v2.5.0 — Transaction-Safe Data Core & Production Runtime Consolidation */
.ucf-app :focus-visible{outline:2px solid var(--ucf-purple);outline-offset:2px}
.ucf-app button:focus:not(:focus-visible),.ucf-app a:focus:not(:focus-visible){outline:none}
body.ucf-modal-open .ucf-main{overflow:hidden!important;overscroll-behavior:none}
body.ucf-modal-open .ucf-mobile-nav{pointer-events:none}
.ucf-modal-layer.is-open{overscroll-behavior:contain}
.ucf-modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ucf-skeleton,.ucf-boot{will-change:auto}
.ucf-page,.ucf-card,.ucf-table-card{min-width:0}
.ucf-table-wrap{max-width:100%}
.ucf-row-actions{max-width:100%}
.ucf-export-grid>.ucf-card,.ucf-lead-form-grid>.ucf-card,.ucf-appearance-card{content-visibility:auto;contain-intrinsic-size:180px}
@supports (height:100svh){.ucf-shell{max-height:100dvh}.ucf-mobile-sheet{max-height:min(82dvh,720px)}}
@media(max-width:760px){
  .ucf-modal-layer{padding-left:var(--ucf-safe-left);padding-right:var(--ucf-safe-right)}
  .ucf-modal{padding-bottom:var(--ucf-safe-bottom);max-height:calc(var(--ucf-vh) - 12px)}
  .ucf-modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  body.ucf-keyboard-open .ucf-modal{max-height:calc(var(--ucf-vh) - 4px)}
  .ucf-page-actions .ucf-button,.ucf-row-actions .ucf-button,.ucf-row-actions .ucf-icon-button{min-height:44px}
  .ucf-toolbar{scroll-snap-type:x proximity}.ucf-toolbar>*{scroll-snap-align:start}
}
@media(max-width:600px){
  .ucf-responsive-table td[data-label="Actions"]{grid-template-columns:1fr}
  .ucf-responsive-table td[data-label="Actions"]:before{margin-bottom:4px}
  .ucf-responsive-table .ucf-row-actions{width:100%}
  .ucf-responsive-table .ucf-row-actions>*{flex:0 0 auto}
}
@media(hover:none){.ucf-module-button:hover,.ucf-icon-button:hover,.ucf-nav-item:hover{background:inherit}}

/* v2.5.1 — Live production acceptance, recovery and mobile diagnostics */
.ucf-callout{margin:12px 0;padding:12px 14px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel-2);font-size:12px;line-height:1.5}
.ucf-callout b{display:block;margin-bottom:4px}.ucf-callout p{margin:0;color:var(--ucf-muted)}
.ucf-callout-danger{border-color:rgba(237,72,79,.42);background:rgba(237,72,79,.09)}.ucf-callout-danger b{color:#ff8a8f}
@media(max-width:760px){.ucf-data-stack .ucf-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.ucf-data-stack .ucf-card{min-width:0}.ucf-data-stack .ucf-readiness-grid>div{padding:10px}.ucf-data-actions{position:relative;z-index:1}}

/* v2.5.2 — Service-Aware Multilingual Communication Center */
.ucf-communication-page{max-width:1680px}
.ucf-comm-path{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel-2);font-size:11px;color:var(--ucf-muted)}
.ucf-comm-path span,.ucf-comm-path b{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:var(--ucf-panel-3);color:var(--ucf-text)}
.ucf-comm-path b{background:var(--ucf-purple-soft);color:var(--ucf-accent-soft-text)}.ucf-comm-path i{font-style:normal;opacity:.55}
.ucf-comm-setup{margin-bottom:12px}.ucf-comm-setup-grid{display:grid;grid-template-columns:minmax(300px,1.4fr) repeat(3,minmax(150px,.8fr));gap:10px;align-items:end}
.ucf-comm-service small{display:block;margin-top:5px;color:var(--ucf-muted);font-size:10px;line-height:1.35}
.ucf-comm-language{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.ucf-comm-language>span{margin-right:3px;color:var(--ucf-muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.ucf-language-button{min-height:36px;padding:0 14px;border:1px solid var(--ucf-border);border-radius:10px;background:var(--ucf-panel-2);color:var(--ucf-text);font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.ucf-language-button.is-active{border-color:var(--ucf-purple);background:var(--ucf-purple-soft);color:var(--ucf-accent-soft-text);box-shadow:0 0 0 1px var(--ucf-accent-focus)}
.ucf-communication-layout{display:grid;grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:12px;align-items:start}
.ucf-comm-library{position:sticky;top:10px;max-height:calc(100dvh - 150px);overflow:auto;overscroll-behavior:contain}.ucf-comm-group{margin-top:14px}.ucf-comm-group h4{margin:0 0 7px;color:var(--ucf-muted);font-size:10px;letter-spacing:.07em;text-transform:uppercase}
.ucf-comm-context{display:flex;width:100%;align-items:center;gap:9px;padding:9px 10px;margin:0 0 5px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ucf-text);text-align:left;cursor:pointer}
.ucf-comm-context>span{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--ucf-panel-3);font-weight:850}.ucf-comm-context>div{min-width:0;display:grid;gap:2px}.ucf-comm-context b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ucf-comm-context small{font-size:9.5px;color:var(--ucf-muted)}
.ucf-comm-context:hover,.ucf-comm-context.is-active{border-color:var(--ucf-border);background:var(--ucf-panel-2)}.ucf-comm-context.is-active{border-color:var(--ucf-purple);background:var(--ucf-purple-soft)}.ucf-comm-context.is-active>span{background:var(--ucf-purple);color:#fff}
.ucf-comm-editor{min-width:0}.ucf-comm-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.ucf-comm-editor-head small{color:var(--ucf-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.ucf-comm-editor-head h2{margin:4px 0 0;font-size:20px;line-height:1.25}
.ucf-communication-textarea{display:block;width:100%;min-height:320px;resize:vertical;padding:16px;font-size:14px;line-height:1.75;white-space:pre-wrap;background:var(--ucf-panel-2)}
.ucf-comm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ucf-comm-safety{margin:9px 0 0;color:var(--ucf-muted);font-size:10.5px;line-height:1.45}
.ucf-comm-coach{margin-top:16px;padding-top:15px;border-top:1px solid var(--ucf-border)}.ucf-comm-coach ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin:11px 0 0;padding-left:22px}.ucf-comm-coach li{padding-left:2px;color:var(--ucf-text);font-size:12px;line-height:1.5}
.ucf-comm-coach-rule{margin-top:12px;padding:10px 12px;border:1px solid var(--ucf-border);border-radius:10px;background:var(--ucf-panel-2);color:var(--ucf-muted);font-size:11px;line-height:1.5}.ucf-comm-coach-rule b{color:var(--ucf-text)}
@media(max-width:1120px){.ucf-comm-setup-grid{grid-template-columns:1fr 1fr}.ucf-communication-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:760px){.ucf-comm-path{overflow:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.ucf-comm-path>*{flex:0 0 auto}.ucf-comm-setup-grid{grid-template-columns:1fr}.ucf-communication-layout{display:block}.ucf-comm-library{position:static;max-height:none;margin-bottom:10px;padding:10px}.ucf-comm-library>.ucf-card-title{margin-bottom:8px}.ucf-comm-group{margin:8px 0}.ucf-comm-group h4{margin-bottom:5px}.ucf-comm-group{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:3px}.ucf-comm-group h4{position:sticky;left:0;flex:0 0 72px;display:flex;align-items:center;background:var(--ucf-panel);z-index:1}.ucf-comm-context{flex:0 0 auto;width:auto;min-width:150px;margin:0}.ucf-communication-textarea{min-height:360px;font-size:14px}.ucf-comm-actions{display:grid;grid-template-columns:1fr 1fr}.ucf-comm-actions .ucf-button{width:100%;justify-content:center;min-height:44px}.ucf-comm-coach ol{grid-template-columns:1fr}.ucf-language-button{min-height:42px}.ucf-comm-editor-head h2{font-size:18px}}
@media(max-width:420px){.ucf-comm-actions{grid-template-columns:1fr}.ucf-communication-textarea{min-height:400px}.ucf-comm-context{min-width:142px}}

/* v2.5.3 — quotation payment instructions + final paid invoice role separation */
.ucf-quote-payment-panel{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:12px;align-items:stretch;border:1px solid #dce4ef;border-radius:10px;padding:9px 10px;margin:10px 0 8px;background:#fbfdff;break-inside:avoid;page-break-inside:avoid}
.ucf-quote-payment-panel.is-single{grid-template-columns:.72fr 1fr}
.ucf-quote-payment-head{padding:5px 8px;border-right:1px solid #e1e8f1;display:flex;flex-direction:column;justify-content:center}
.ucf-quote-payment-head small{font-size:6.5px;font-weight:900;color:#17498d;letter-spacing:.04em}
.ucf-quote-payment-head b{font-size:10px;line-height:1.25;color:#102d64;margin-top:4px}
.ucf-quote-payment-head span{font-size:7.5px;font-weight:700;color:#365b8d;margin-top:3px}
.ucf-quote-payment-head p{font-size:6.6px;line-height:1.35;color:#5b708e;margin:6px 0 0}
.ucf-quote-payment-body{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:10px;align-items:stretch}
.ucf-quote-payment-body>.ucf-doc-payment-details:only-child{grid-column:1/-1}
.ucf-quote-payment-body>.ucf-doc-payment-qr:only-child{grid-column:1/-1;max-width:125px;justify-self:center}
.ucf-quote-payment-panel .ucf-doc-payment-details,.ucf-quote-payment-panel .ucf-doc-payment-qr{min-height:88px;padding:7px 9px;border-radius:8px}
.ucf-quote-payment-panel .ucf-doc-payment-details h4,.ucf-quote-payment-panel .ucf-doc-payment-qr h4{margin-bottom:5px}
.ucf-quote-payment-panel .ucf-doc-payment-details>div{grid-template-columns:92px 1fr;gap:6px;padding:2px 0;font-size:6.8px}
.ucf-quote-payment-panel .ucf-doc-payment-qr img{width:68px;height:68px}
.ucf-doc-paid-confirmation{border:1px solid #bfe8cf;border-radius:10px;padding:11px 12px;background:#f3fbf6;display:flex;flex-direction:column;justify-content:center;min-height:160px}
.ucf-doc-paid-confirmation>small{font-size:7px;font-weight:900;letter-spacing:.08em;color:#147a43}
.ucf-doc-paid-confirmation>b{font-size:19px;line-height:1.05;color:#147a43;margin:4px 0 8px}
.ucf-doc-paid-confirmation>div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-top:1px solid #d7eee0;font-size:7.5px;color:#456a57}
.ucf-doc-paid-confirmation>div strong{color:#183b27;text-align:right}
.ucf-doc-paid-confirmation p{font-size:6.6px;line-height:1.35;color:#577564;margin:7px 0 0}
.ucf-doc-paid-confirmation.is-legacy-pending{border-color:#efd9b1;background:#fff9ee}
.ucf-doc-paid-confirmation.is-legacy-pending>small,.ucf-doc-paid-confirmation.is-legacy-pending>b{color:#92570d}
.ucf-invoice-final-auth{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:10px;align-items:stretch}
.ucf-invoice-final-auth>div:first-child{border:1px solid #dce4ef;border-radius:10px;padding:11px 13px;display:flex;flex-direction:column;justify-content:center}
.ucf-invoice-final-auth>div:first-child small{font-size:7px;font-weight:900;letter-spacing:.05em;color:#17498d}
.ucf-invoice-final-auth>div:first-child b{font-size:9px;line-height:1.35;color:#17345f;margin-top:5px}
.ucf-invoice-final-auth>div:first-child span{font-size:7px;line-height:1.4;color:#5b708e;margin-top:5px}
@media(max-width:760px){.ucf-quote-payment-panel,.ucf-quote-payment-panel.is-single,.ucf-invoice-final-auth{grid-template-columns:1fr}.ucf-quote-payment-head{border-right:0;border-bottom:1px solid #e1e8f1;padding-bottom:10px}.ucf-quote-payment-body{grid-template-columns:1fr}.ucf-quote-payment-body>.ucf-doc-payment-qr{max-width:none}.ucf-doc-paid-confirmation{min-height:0}}

/* v2.6.0 — CEO Business Dashboard, Revenue Intelligence & Export Center */
.ucf-ceo-dashboard{max-width:1760px}
.ucf-ceo-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 12px}
.ucf-ceo-summary>div{padding:10px 12px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel-2);display:grid;gap:3px;min-width:0}
.ucf-ceo-summary small{color:var(--ucf-muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ucf-ceo-summary b{font-size:20px;line-height:1.15;color:var(--ucf-text)}
.ucf-ceo-metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.ucf-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 10px}
.ucf-section-heading h2{margin:0;font-size:18px;line-height:1.25}.ucf-section-heading p{margin:3px 0 0;color:var(--ucf-muted);font-size:11px}
.ucf-ceo-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ucf-ceo-action-card{padding:12px;min-width:0}.ucf-ceo-action-list{display:grid;gap:6px;margin-top:9px}
.ucf-ceo-action-row{width:100%;display:grid;gap:2px;padding:8px 9px;border:1px solid var(--ucf-border);border-radius:9px;background:var(--ucf-panel-2);color:var(--ucf-text);text-align:left;cursor:pointer}
.ucf-ceo-action-row:hover{border-color:var(--ucf-purple);background:var(--ucf-purple-soft)}.ucf-ceo-action-row.is-overdue{border-color:rgba(237,72,79,.4);background:rgba(237,72,79,.07)}
.ucf-ceo-action-row b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ucf-ceo-action-row span{font-size:9.5px;color:var(--ucf-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucf-export-filter-panel{margin-bottom:12px}.ucf-export-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:9px;margin-top:10px}
.ucf-export-filter-grid label{display:grid;gap:5px}.ucf-export-filter-grid label>span{font-size:10px;font-weight:750;color:var(--ucf-muted)}
.ucf-export-filter-actions,.ucf-export-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:11px}.ucf-export-card-actions{margin-top:auto}
.ucf-export-card{display:flex;flex-direction:column;min-height:172px}.ucf-export-card h3{margin:7px 0 4px}.ucf-export-card p{margin:0;color:var(--ucf-muted);font-size:11px;line-height:1.5}.ucf-export-icon{font-size:24px;line-height:1;color:var(--ucf-purple)}
.ucf-report-kpi>span{display:block;margin-top:4px;color:var(--ucf-muted);font-size:9.5px;line-height:1.35}
@media(max-width:1280px){.ucf-ceo-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ucf-export-filter-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}}
@media(max-width:980px){.ucf-ceo-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.ucf-ceo-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ucf-ceo-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ucf-ceo-summary{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:7px;padding-bottom:2px}.ucf-ceo-summary>div{flex:0 0 142px}.ucf-ceo-metric-grid{grid-template-columns:1fr 1fr}.ucf-ceo-action-grid{grid-template-columns:1fr}.ucf-section-heading{align-items:flex-start}.ucf-export-filter-grid{grid-template-columns:1fr 1fr}.ucf-export-filter-actions>.ucf-button{min-height:42px}.ucf-export-card-actions .ucf-button{flex:1;justify-content:center}}
@media(max-width:480px){.ucf-ceo-metric-grid{grid-template-columns:1fr}.ucf-export-filter-grid{grid-template-columns:1fr}.ucf-section-heading{display:grid}.ucf-section-heading>.ucf-button{width:100%;justify-content:center}.ucf-export-filter-actions{display:grid;grid-template-columns:1fr}.ucf-export-filter-actions>.ucf-button{width:100%;justify-content:center}}

/* v2.7.0 — Smart Follow-up Automation & Lead Conversion Intelligence */
.ucf-sales-worklist{max-width:1760px}
.ucf-sales-filter-panel{margin:12px 0}.ucf-sales-filter-row{display:flex;align-items:center;gap:7px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:3px}
.ucf-sales-filter{flex:0 0 auto;min-height:34px;padding:0 11px;border:1px solid var(--ucf-border);border-radius:999px;background:var(--ucf-panel-2);color:var(--ucf-muted);font:inherit;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.ucf-sales-filter b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:999px;background:var(--ucf-panel-3);color:var(--ucf-text);font-size:9px}
.ucf-sales-filter:hover,.ucf-sales-filter.is-active{border-color:var(--ucf-purple);background:var(--ucf-purple-soft);color:var(--ucf-accent-soft-text)}
.ucf-sales-search-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,240px);gap:8px;margin-top:10px}
.ucf-sales-score{display:flex;align-items:center;gap:7px}.ucf-sales-score>b{font-size:18px;line-height:1}.ucf-sales-score>span,.ucf-sales-temp-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid var(--ucf-border);border-radius:999px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.ucf-sales-temp-hot{background:rgba(237,72,79,.11)!important;border-color:rgba(237,72,79,.35)!important;color:#ff8a8f!important}.ucf-sales-temp-warm{background:rgba(242,166,54,.11)!important;border-color:rgba(242,166,54,.35)!important;color:#f2b45c!important}.ucf-sales-temp-cold{background:rgba(76,151,255,.10)!important;border-color:rgba(76,151,255,.30)!important;color:#7db2ff!important}.ucf-sales-temp-dormant{background:var(--ucf-panel-3)!important;color:var(--ucf-muted)!important}
.ucf-sales-next-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 15px;margin:0 0 12px;border:1px solid var(--ucf-purple);border-radius:13px;background:var(--ucf-purple-soft)}
.ucf-sales-next-banner small{display:block;color:var(--ucf-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.ucf-sales-next-banner b{display:block;margin-top:3px;font-size:15px}.ucf-sales-next-banner p{margin:4px 0 0;color:var(--ucf-muted);font-size:11px;line-height:1.45}
.ucf-sales-next-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.ucf-sales-next-preview{padding:11px 12px;margin-bottom:13px;border:1px solid var(--ucf-border);border-radius:11px;background:var(--ucf-panel-2)}.ucf-sales-next-preview small{display:block;color:var(--ucf-muted);font-size:9px;text-transform:uppercase;letter-spacing:.05em}.ucf-sales-next-preview b{display:block;margin-top:3px}.ucf-sales-next-preview p{margin:4px 0 0;color:var(--ucf-muted);font-size:11px;line-height:1.45}
.ucf-sales-timeline{display:grid;gap:8px}.ucf-sales-timeline-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:start;padding:9px 0;border-bottom:1px solid var(--ucf-border)}.ucf-sales-timeline-item:last-child{border-bottom:0}.ucf-sales-timeline-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--ucf-purple)}.ucf-sales-timeline-item b{display:block;font-size:11px}.ucf-sales-timeline-item p{margin:2px 0 0;color:var(--ucf-muted);font-size:10px;line-height:1.45}.ucf-sales-timeline-item time{color:var(--ucf-muted);font-size:9px;white-space:nowrap}
.ucf-sales-table td:nth-child(5){min-width:240px}
@media(max-width:900px){.ucf-sales-search-row{grid-template-columns:1fr 180px}.ucf-sales-next-banner{grid-template-columns:1fr}.ucf-sales-next-actions{justify-content:flex-start}}
@media(max-width:760px){.ucf-sales-search-row{grid-template-columns:1fr}.ucf-sales-filter-row{margin-left:-2px;margin-right:-2px}.ucf-sales-filter{min-height:40px}.ucf-sales-next-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.ucf-sales-next-actions .ucf-button{width:100%;justify-content:center;min-height:44px}.ucf-sales-table td:nth-child(5){min-width:0}.ucf-sales-timeline-item{grid-template-columns:10px minmax(0,1fr)}.ucf-sales-timeline-item time{grid-column:2}}
@media(max-width:430px){.ucf-sales-next-actions{grid-template-columns:1fr}}
.ucf-sales-commercial-table td:nth-child(3){min-width:260px}.ucf-sales-commercial-table td:nth-child(4){min-width:130px}
@media(max-width:760px){.ucf-sales-commercial-table td:nth-child(3),.ucf-sales-commercial-table td:nth-child(4){min-width:0}}

/* v2.8.0 — Omnichannel Intake Center */
.ucf-omni-page .ucf-omni-provider{display:grid;align-content:start;gap:10px;min-height:210px}.ucf-omni-provider p{margin:0;color:var(--ucf-muted);font-size:10px;line-height:1.55}.ucf-omni-checks{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}.ucf-omni-checks span{display:inline-flex;align-items:center;min-height:27px;padding:5px 8px;border:1px solid var(--ucf-border-soft);border-radius:999px;background:rgba(255,255,255,.025);font-size:9px;color:var(--ucf-muted)}.ucf-omni-health{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border:1px solid var(--ucf-border);border-radius:999px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.ucf-omni-health.is-ready{color:var(--ucf-green);background:rgba(41,196,117,.08);border-color:rgba(41,196,117,.22)}.ucf-omni-health.is-needs-config{color:#ffd36a;background:rgba(237,145,36,.08);border-color:rgba(237,145,36,.24)}.ucf-omni-health.is-off{color:var(--ucf-muted);background:rgba(255,255,255,.025)}.ucf-omni-page details summary{cursor:pointer;padding:2px 0}.ucf-omni-page .ucf-table td{vertical-align:top}.ucf-omni-page .ucf-field input[readonly]{font-size:10px}
@media(max-width:760px){.ucf-omni-page .ucf-grid-3{grid-template-columns:1fr}.ucf-omni-page .ucf-omni-provider{min-height:0}.ucf-omni-checks span{min-height:30px}}

/* v2.9.0 — Team Workspace, Employee Task Operations, Attendance & Delivery Management */
.ucf-stage-paused{color:#b9bdc9;background:rgba(130,136,154,.10);border-color:rgba(130,136,154,.26)}
.ucf-kanban-ops{grid-template-columns:repeat(6,minmax(250px,1fr))}
.ucf-task-meta{display:grid;gap:3px;margin:10px 0;color:var(--ucf-muted)}
.ucf-task-meta small{font-size:9px;line-height:1.35}
.ucf-task-card-actions,.ucf-task-action-wrap{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ucf-task-card-actions{margin-top:9px;padding-top:9px;border-top:1px solid var(--ucf-border-soft)}
.ucf-task-action-wrap .ucf-mini-button{min-width:30px;min-height:30px;padding:4px 7px;white-space:nowrap}
.ucf-task-action-wrap .ucf-button-success{border-color:rgba(41,196,117,.35);background:rgba(41,196,117,.12);color:var(--ucf-green)}
.ucf-workload-table td{vertical-align:middle}.ucf-workload-table td:nth-child(3),.ucf-workload-table td:nth-child(4),.ucf-workload-table td:nth-child(5){min-width:130px}
.ucf-workspace-grid .ucf-detail-stack b{font-size:12px}.ucf-workspace-grid .ucf-card{min-height:100%}
.ucf-delivery-grid{align-items:start}.ucf-delivery-row .ucf-task-action-wrap{justify-content:flex-end;max-width:340px}
.ucf-delivery-row .ucf-mini-button{white-space:nowrap}
@media(max-width:1180px){.ucf-kanban-ops{grid-template-columns:repeat(6,270px)}.ucf-workload-table{min-width:1040px}}
@media(max-width:760px){.ucf-task-card-actions{display:grid;grid-template-columns:1fr 1fr}.ucf-task-card-actions .ucf-button{width:100%;justify-content:center;min-height:42px}.ucf-task-action-wrap{gap:6px}.ucf-task-action-wrap .ucf-mini-button{min-height:38px;min-width:38px}.ucf-workspace-grid{grid-template-columns:1fr}.ucf-delivery-row{align-items:flex-start}.ucf-delivery-row .ucf-task-action-wrap{max-width:none;justify-content:flex-start}.ucf-kanban-ops{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}}
@media(max-width:430px){.ucf-task-card-actions{grid-template-columns:1fr}.ucf-task-action-wrap .ucf-mini-button{flex:1 1 auto}}
.ucf-delivery-grid-v29{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.ucf-delivery-grid-v29{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ucf-delivery-grid-v29{grid-template-columns:1fr}}
/* v3.1 Retention, renewals and SLA operations */
.ucf-stage-renewal-due,.ucf-stage-changes-requested{color:#ffd16e;background:rgba(237,145,36,.10);border-color:rgba(237,145,36,.27)}.ucf-stage-renewal-approved,.ucf-stage-renewed{color:#68dfa0;background:rgba(41,196,117,.10);border-color:rgba(41,196,117,.25)}.ucf-stage-expired,.ucf-stage-declined,.ucf-stage-at-risk,.ucf-stage-overdue{color:#ff858b;background:rgba(237,72,79,.10);border-color:rgba(237,72,79,.24)}

/* v3.5.0 — Workflow Automation Builder */
.ucf-workflow-row{display:grid;grid-template-columns:minmax(170px,1.15fr) minmax(150px,.8fr) minmax(160px,1fr);gap:8px;margin-top:8px;align-items:center}
.ucf-workflow-row:first-of-type{margin-top:0}
.ucf-workflow-row .ucf-input,.ucf-workflow-row .ucf-select{min-width:0}
.ucf-workflow-safe{border:1px solid rgba(41,196,117,.24);background:rgba(41,196,117,.06)}
@media(max-width:760px){.ucf-workflow-row{grid-template-columns:1fr}.ucf-workflow-row .ucf-input,.ucf-workflow-row .ucf-select{min-height:44px}}

/* v3.6.2 Audit Log clarity */
.ucf-audit-toolbar{align-items:center;gap:8px;flex-wrap:wrap}.ucf-audit-toolbar .ucf-select{min-width:140px}.ucf-audit-tech{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 10px;border:1px solid var(--ucf-border);border-radius:8px;white-space:nowrap}.ucf-audit-record{appearance:none;border:0;background:transparent;color:var(--ucf-accent);font:inherit;font-weight:700;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.ucf-audit-record:hover{opacity:.82}@media(max-width:700px){.ucf-audit-toolbar>*{flex:1 1 145px}.ucf-audit-toolbar .ucf-search-wrap{flex-basis:100%}.ucf-audit-tech{justify-content:center}}

/* v3.6.4 — 10K performance recovery, lazy finance widgets & route isolation */
.ucf-finance-lazy-card{min-height:132px}.ucf-finance-widget-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:84px;color:var(--ucf-muted);text-align:center}.ucf-finance-widget-loading p{margin:0;font-size:11px}.ucf-inline-spinner{width:18px;height:18px;border:2px solid var(--ucf-border);border-top-color:var(--ucf-purple);border-radius:50%;animation:ucf-spin .8s linear infinite;flex:0 0 auto}.ucf-finance-widget-error{border-color:rgba(237,72,79,.35);background:rgba(237,72,79,.055)}.ucf-finance-widget-error p{color:var(--ucf-muted);font-size:11px;line-height:1.5}.ucf-accounting-page [id^="ucf-finance-widget-"]{min-width:0}.ucf-accounting-page .ucf-grid-5 .ucf-metric{min-width:0}
@keyframes ucf-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.ucf-finance-widget-loading{min-height:70px}.ucf-accounting-page .ucf-grid-3,.ucf-accounting-page .ucf-grid-2{grid-template-columns:1fr!important}.ucf-accounting-page .ucf-table-card[style*="grid-column"]{grid-column:auto!important}}


/* v3.6.10 — iPhone keyboard-safe forms, dynamic viewport and modal action-bar recovery */
.ucf-modal{display:flex;flex-direction:column;overflow:hidden}
.ucf-modal>form{display:flex;flex:1 1 auto;min-height:0;max-height:inherit;flex-direction:column;overflow:hidden}
.ucf-modal-head{flex:0 0 auto}
.ucf-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.ucf-modal-foot{position:relative!important;bottom:auto!important;flex:0 0 auto;background:rgba(23,24,29,.99);box-shadow:0 -10px 26px rgba(0,0,0,.16)}
.ucf-modal .ucf-field,.ucf-modal input,.ucf-modal select,.ucf-modal textarea{scroll-margin-top:18px;scroll-margin-bottom:120px}

@media(max-width:760px){
  .ucf-modal-layer{align-items:flex-end;justify-content:center;height:var(--ucf-vh,100dvh);max-height:var(--ucf-vh,100dvh);padding:0 var(--ucf-safe-right) 0 var(--ucf-safe-left);overflow:hidden}
  .ucf-modal{width:100%;height:min(92dvh,calc(var(--ucf-vh,100dvh) - 6px));max-height:calc(var(--ucf-vh,100dvh) - 6px);padding-bottom:0;border-radius:18px 18px 0 0;border-bottom:0}
  .ucf-modal.ucf-modal-wide{width:100%;max-width:none}
  .ucf-modal-head{position:relative!important;top:auto!important;z-index:5;padding:13px 14px 11px;background:rgba(23,24,29,.99);box-shadow:0 8px 20px rgba(0,0,0,.10)}
  .ucf-modal-head h2{font-size:19px;line-height:1.2}.ucf-modal-head small{font-size:11px;line-height:1.35}
  .ucf-modal-body{padding:14px;scroll-padding-top:18px;scroll-padding-bottom:90px}
  .ucf-modal-foot{z-index:8;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 12px calc(10px + var(--ucf-safe-bottom));border-top:1px solid var(--ucf-border-soft)}
  .ucf-modal-foot .ucf-button{min-height:46px;min-width:0;padding:9px 14px;white-space:normal;text-align:center;justify-content:center}
  .ucf-modal input.ucf-input,.ucf-modal select.ucf-select,.ucf-modal textarea.ucf-textarea,.ucf-modal input:not([type="checkbox"]):not([type="radio"]),.ucf-modal select,.ucf-modal textarea{font-size:16px!important}
  .ucf-modal .ucf-field,.ucf-modal input,.ucf-modal select,.ucf-modal textarea{scroll-margin-top:20px;scroll-margin-bottom:150px}
  .ucf-quote-builder-head{display:block;margin-top:16px}
  .ucf-quote-builder-head h3{margin-bottom:9px}
  .ucf-catalogue-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;gap:8px}
  .ucf-catalogue-picker .ucf-select{grid-column:1/-1;width:100%;min-width:0}
  .ucf-catalogue-picker .ucf-button{width:100%;min-width:0;min-height:48px;padding:9px 8px}
  .ucf-quote-item-row-premium{grid-template-columns:1fr!important;gap:10px;padding:12px}
  .ucf-quote-item-row-premium .ucf-remove-item{justify-self:end;margin:0}
}

@media(max-width:430px){
  .ucf-modal{height:calc(var(--ucf-vh,100dvh) - 2px);max-height:calc(var(--ucf-vh,100dvh) - 2px)}
  .ucf-modal-body{padding:13px 12px;scroll-padding-bottom:96px}
  .ucf-modal>form>.ucf-modal-foot{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding-left:12px;padding-right:12px}
}

body.ucf-keyboard-open .ucf-modal-layer{height:var(--ucf-vh,100dvh);max-height:var(--ucf-vh,100dvh)}
body.ucf-keyboard-open .ucf-modal{height:calc(var(--ucf-vh,100dvh) - 2px);max-height:calc(var(--ucf-vh,100dvh) - 2px);border-radius:14px 14px 0 0}
body.ucf-keyboard-open .ucf-modal-head{padding-top:9px;padding-bottom:8px}
body.ucf-keyboard-open .ucf-modal-head small{display:none}
body.ucf-keyboard-open .ucf-modal-body{padding-bottom:14px;scroll-padding-bottom:72px}
body.ucf-keyboard-open .ucf-modal-foot{padding-top:7px;padding-bottom:calc(7px + var(--ucf-safe-bottom));gap:7px}
body.ucf-keyboard-open .ucf-modal-foot .ucf-button{min-height:42px;padding-top:7px;padding-bottom:7px}


/* v3.6.11 — iPhone isolated A4 preview: never reflow the A4 design inside the CRM mobile shell. */
.ucf-mobile-a4-preview{position:relative;width:100%;overflow:hidden;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 12px 36px rgba(0,0,0,.26)}
.ucf-mobile-a4-preview-frame{display:block;border:0;background:#fff;pointer-events:none;max-width:none!important;margin:0!important}
.ucf-document-stage.is-mobile-a4-preview{overflow:hidden!important;padding:0!important;background:#fff!important;border-radius:10px!important}
@media(max-width:760px){
  .ucf-premium-document-page{max-width:100%!important}
  .ucf-premium-document-page>.ucf-document-stage{margin:10px 0 18px!important}
  .ucf-premium-document-page>.ucf-quotation-actions.ucf-document-toolbar{position:relative;z-index:3}
  .ucf-document-workflow-panel{margin-top:14px!important}
}


/* v3.6.12 — Page-2 Service Scope header recovery and A4 visual polish. */
.ucf-doc-hero-scope{grid-template-columns:minmax(250px,.9fr) minmax(390px,1.1fr);overflow:hidden}
.ucf-doc-hero-scope:after{width:55%;clip-path:polygon(13% 0,100% 0,100% 100%,5% 100%)}
.ucf-doc-hero-scope:before{right:0;bottom:-8px;border-top-width:28px;border-left-width:11px}
.ucf-doc-scope-heading{position:relative;z-index:3;align-self:center;justify-self:stretch;min-width:0;padding:5px 14px 0 72px;color:#fff;text-align:left;overflow:visible}
.ucf-doc-scope-heading>b{display:block;max-width:100%;font-size:20px;line-height:1.08;font-weight:850;letter-spacing:-.015em;white-space:normal;overflow-wrap:normal;word-break:normal}
.ucf-doc-scope-heading>small{display:block;margin-top:7px;font-size:10px;line-height:1.25;font-weight:750;color:#ff8a24;white-space:normal}
.ucf-doc-page-2 .ucf-doc-scope-list{margin-top:2px}
.ucf-doc-page-2 .ucf-doc-scope-card{grid-template-columns:58px minmax(0,1.45fr) minmax(165px,.95fr) 108px;gap:13px;padding:13px 14px}
.ucf-doc-page-2 .ucf-doc-service-copy h3{font-size:11.5px;line-height:1.25}
.ucf-doc-page-2 .ucf-doc-service-copy li,.ucf-doc-page-2 .ucf-doc-deliver span{line-height:1.45}
@media(max-width:980px){.ucf-doc-hero-scope{grid-template-columns:minmax(230px,.88fr) minmax(350px,1.12fr)}.ucf-doc-scope-heading{padding-left:58px}.ucf-doc-scope-heading>b{font-size:18px}}
@media(max-width:600px){.ucf-doc-scope-heading{padding-left:26px;padding-right:8px}.ucf-doc-scope-heading>b{font-size:14px;line-height:1.12}.ucf-doc-scope-heading>small{font-size:7px;margin-top:4px}}

/* v3.8.0 offline draft recovery */
.ucf-offline-draft-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:11px 12px;border:1px solid rgba(37,99,235,.28);border-radius:12px;background:rgba(37,99,235,.08)}
.ucf-offline-draft-banner>div:first-child{display:grid;gap:2px}.ucf-offline-draft-banner small{opacity:.78}.ucf-offline-draft-banner>div:last-child{display:flex;gap:8px}.ucf-offline-draft-banner button{border:1px solid currentColor;border-radius:8px;padding:7px 10px;background:transparent;color:inherit;cursor:pointer}.ucf-is-offline .ucf-offline-draft-banner{border-style:dashed}
@media(max-width:560px){.ucf-offline-draft-banner{align-items:flex-start;flex-direction:column}.ucf-offline-draft-banner>div:last-child{width:100%}.ucf-offline-draft-banner button{flex:1}}

/* v5.5.2 — Quotation document typography, color hierarchy and adaptive scope layout. */
.ucf-document-print-target{
  --doc-text-primary:#172033;
  --doc-text-secondary:#5B6474;
  --doc-text-muted:#7A8495;
  --doc-label:#234A82;
  --doc-border:#D9E0EA;
  --doc-surface:#F7F9FC;
  --doc-orange:#F47B20;
  --doc-navy:#0B2E63;
}
.ucf-quote-sheet .ucf-doc-meta-cell small{font-size:8px;color:var(--doc-label);letter-spacing:.03em}
.ucf-quote-sheet .ucf-doc-meta-cell b{font-size:11px;color:var(--doc-text-primary)}
.ucf-quote-sheet .ucf-doc-party-grid p{font-size:9.2px;line-height:1.42;color:var(--doc-text-secondary)}
.ucf-quote-sheet .ucf-doc-client-strip{font-size:8.6px;color:var(--doc-text-secondary)}
.ucf-quote-sheet .ucf-doc-table{font-size:9px;color:var(--doc-text-primary)}
.ucf-quote-sheet .ucf-doc-table td{color:var(--doc-text-primary)}
.ucf-quote-sheet .ucf-doc-table td small{font-size:8px;line-height:1.4;color:var(--doc-text-secondary)}
.ucf-quote-sheet .ucf-doc-words>small{font-size:7.6px}.ucf-quote-sheet .ucf-doc-words>b{font-size:8.8px;line-height:1.4;color:var(--doc-text-primary)}
.ucf-quote-sheet .ucf-doc-thanks p{font-size:8.6px;line-height:1.45;color:var(--doc-text-secondary)}
.ucf-quote-payment-head small{font-size:7.6px;color:var(--doc-label)}
.ucf-quote-payment-head b{font-size:11px;line-height:1.3;color:var(--doc-text-primary)}
.ucf-quote-payment-head span{font-size:8.7px;color:var(--doc-text-secondary)}
.ucf-quote-payment-head p{font-size:7.8px;line-height:1.45;color:var(--doc-text-secondary)}
.ucf-quote-payment-panel .ucf-doc-payment-details>div{font-size:7.8px}.ucf-quote-payment-panel .ucf-doc-payment-details b{font-size:7.4px}.ucf-quote-payment-panel .ucf-doc-payment-details span{font-size:8px}
.ucf-doc-scope-heading>b{font-size:21px!important;line-height:1.08}.ucf-doc-scope-heading>small{font-size:9.5px!important;color:#FFD4B5!important;font-weight:600!important}
.ucf-doc-scope-card-v552{grid-template-columns:58px minmax(0,1.55fr) minmax(170px,1fr) minmax(135px,.8fr)!important;padding:15px!important;gap:14px!important;background:#fff}
.ucf-doc-scope-card-v552 .ucf-doc-service-copy h3{font-size:12px!important;color:var(--doc-text-primary)!important}
.ucf-doc-objective{margin:0 0 9px;font-size:9px;line-height:1.45;color:var(--doc-text-secondary)}
.ucf-doc-subsection-label{display:block;margin:0 0 5px;font-size:7.4px;letter-spacing:.035em;color:var(--doc-label)}
.ucf-doc-scope-card-v552 .ucf-doc-service-copy li{font-size:9px!important;line-height:1.48!important;color:var(--doc-text-secondary)!important}
.ucf-doc-scope-card-v552 .ucf-doc-deliver>b,.ucf-doc-scope-card-v552 .ucf-doc-timeline>b{font-size:7.5px!important;color:var(--doc-label)!important}
.ucf-doc-scope-card-v552 .ucf-doc-deliver span{font-size:8.8px!important;line-height:1.45!important;color:var(--doc-text-secondary)!important}
.ucf-doc-scope-card-v552 .ucf-doc-timeline span{font-size:9px!important;line-height:1.35!important;color:var(--doc-text-primary)!important}
.ucf-doc-scope-mini{margin-top:10px;padding-top:8px;border-top:1px solid var(--doc-border)}
.ucf-doc-scope-mini small{display:block;font-size:7px;font-weight:800;letter-spacing:.03em;color:var(--doc-label)}
.ucf-doc-scope-mini strong{display:block;margin-top:4px;font-size:8px;line-height:1.42;font-weight:500;color:var(--doc-text-secondary)}
.ucf-doc-scope-assurance{position:absolute;left:24px;right:24px;bottom:46px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--doc-border);padding-top:10px;color:var(--doc-label)}
.ucf-doc-scope-assurance span{text-align:center;font-size:7.8px;font-weight:750;border-left:1px solid var(--doc-border)}.ucf-doc-scope-assurance span:first-child{border-left:0}
.ucf-doc-inline-scope{margin:10px 0 8px;padding:10px 12px;border:1px solid var(--doc-border);border-radius:10px;background:var(--doc-surface);break-inside:avoid;page-break-inside:avoid}
.ucf-doc-inline-scope-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:5px}.ucf-doc-inline-scope-head small{display:block;font-size:7px;font-weight:850;letter-spacing:.035em;color:var(--doc-label)}.ucf-doc-inline-scope-head b{display:block;margin-top:2px;font-size:10.5px;color:var(--doc-text-primary)}.ucf-doc-inline-scope-head>span{font-size:8px;font-weight:700;color:var(--doc-label);text-align:right}
.ucf-doc-inline-scope>p{margin:0 0 7px;font-size:8.2px;line-height:1.4;color:var(--doc-text-secondary)}
.ucf-doc-inline-scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ucf-doc-inline-scope-grid>div{min-width:0}.ucf-doc-inline-scope-grid small{display:block;margin-bottom:4px;font-size:6.8px;font-weight:850;color:var(--doc-label)}.ucf-doc-inline-scope-grid span{display:block;font-size:7.8px;line-height:1.4;color:var(--doc-text-secondary);margin:2px 0}
.ucf-doc-commercial-terms-v552{background:#fff;border-color:var(--doc-border)}.ucf-doc-commercial-terms-v552 small{font-size:7px!important;color:var(--doc-label)!important}.ucf-doc-commercial-terms-v552 b{font-size:7.8px!important;color:var(--doc-text-secondary)!important;line-height:1.45!important}
.ucf-quotation-one-page .ucf-doc-commercial-terms-v552{margin-top:7px;padding:7px 9px}
@media(max-width:600px){.ucf-doc-scope-card-v552{grid-template-columns:40px 1fr!important}.ucf-doc-scope-card-v552 .ucf-doc-deliver,.ucf-doc-scope-card-v552 .ucf-doc-timeline{grid-column:2}.ucf-doc-inline-scope-grid{grid-template-columns:1fr}.ucf-doc-scope-assurance{position:relative;left:auto;right:auto;bottom:auto;margin-top:12px;grid-template-columns:1fr 1fr}}


/* ---- source: design-system.css ---- */
/* Udyojak CRM v4.2.0 — Unified Design System
   Pure presentation layer. Business workflow selectors remain in app.css/app.js. */
:root{
  --ucf-ds-space-1:4px;--ucf-ds-space-2:8px;--ucf-ds-space-3:12px;--ucf-ds-space-4:16px;--ucf-ds-space-5:20px;--ucf-ds-space-6:24px;--ucf-ds-space-8:32px;--ucf-ds-space-12:48px;
  --ucf-ds-radius-xs:6px;--ucf-ds-radius-sm:8px;--ucf-ds-radius-md:10px;--ucf-ds-radius-lg:12px;--ucf-ds-radius-xl:16px;
  --ucf-ds-font-xs:12px;--ucf-ds-font-sm:13px;--ucf-ds-font-md:14px;--ucf-ds-font-lg:18px;--ucf-ds-font-xl:26px;
  --ucf-ds-control:42px;--ucf-ds-row:46px;--ucf-ds-row-compact:40px;
  --ucf-ds-sidebar:224px;--ucf-ds-sidebar-collapsed:72px;--ucf-ds-topbar:60px;--ucf-ds-page-max:1600px;
  --ucf-ds-focus:0 0 0 3px color-mix(in srgb,var(--ucf-purple) 24%,transparent);
  --ucf-ds-shadow-sm:0 1px 2px rgba(0,0,0,.18);--ucf-ds-shadow-md:0 12px 36px rgba(0,0,0,.18)
}
body.ucf-app-page{font-size:var(--ucf-ds-font-md);line-height:1.45}
.ucf-shell{--ucf-sidebar:var(--ucf-ds-sidebar);--ucf-topbar:var(--ucf-ds-topbar)}
body.ucf-ui-sidebar-collapsed .ucf-shell{--ucf-sidebar:var(--ucf-ds-sidebar-collapsed)}
.ucf-topbar{background:color-mix(in srgb,var(--ucf-shell) 94%,transparent);box-shadow:0 1px 0 rgba(255,255,255,.02)}
.ucf-brand{padding:0 var(--ucf-ds-space-3);gap:var(--ucf-ds-space-2);justify-content:space-between}
.ucf-shell-brand-logo{max-width:142px;object-fit:contain;transition:max-width .18s ease,opacity .18s ease}
.ucf-shell-collapse{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border:1px solid var(--ucf-border-soft);border-radius:var(--ucf-ds-radius-sm);background:transparent;color:var(--ucf-muted);cursor:pointer}
.ucf-shell-collapse:hover{color:var(--ucf-text);background:var(--ucf-panel)}
body.ucf-ui-sidebar-collapsed .ucf-shell-brand-logo{max-width:0;opacity:0;overflow:hidden}
body.ucf-ui-sidebar-collapsed .ucf-brand{justify-content:center;padding:0}
.ucf-modulebar{gap:var(--ucf-ds-space-1);padding:0 var(--ucf-ds-space-3)}
.ucf-module-button{height:36px;min-width:68px;border-radius:var(--ucf-ds-radius-sm);padding:0 9px}
.ucf-module-button.is-active{box-shadow:none;background:color-mix(in srgb,var(--ucf-orange) 86%,#000 14%);color:#fff}
.ucf-top-actions{gap:var(--ucf-ds-space-2);padding-right:var(--ucf-ds-space-3)}
.ucf-page-search-trigger{height:36px;min-width:132px;display:flex;align-items:center;gap:7px;padding:0 8px 0 10px;border:1px solid var(--ucf-border);border-radius:var(--ucf-ds-radius-sm);background:var(--ucf-panel);color:var(--ucf-muted);cursor:pointer}
.ucf-page-search-trigger:hover{border-color:#4b4d59;color:var(--ucf-text)}
.ucf-page-search-trigger b{font-size:12px;font-weight:600}.ucf-page-search-trigger kbd{margin-left:auto;padding:2px 5px;border:1px solid var(--ucf-border);border-radius:5px;background:var(--ucf-shell);font-size:9px;color:var(--ucf-muted);font-family:inherit}
.ucf-subscribe{height:38px;padding:0 13px;border-radius:var(--ucf-ds-radius-sm);box-shadow:none}
.ucf-icon-button{width:36px;height:36px;border-radius:var(--ucf-ds-radius-sm)}
.ucf-sidebar{padding:var(--ucf-ds-space-3) var(--ucf-ds-space-2) calc(var(--ucf-ds-space-3) + var(--ucf-safe-bottom));transition:width .18s ease}
.ucf-sidebar-context{padding:2px 10px 12px;margin-bottom:4px;border-bottom:1px solid var(--ucf-border-soft);white-space:nowrap;overflow:hidden}.ucf-sidebar-context small{display:block;color:var(--ucf-muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.ucf-sidebar-context b{display:block;margin-top:2px;font-size:13px}
.ucf-nav{gap:2px}.ucf-nav-item{min-height:40px;padding:8px 10px;border-radius:var(--ucf-ds-radius-sm);font-size:13px}.ucf-nav-item.is-active{background:color-mix(in srgb,var(--ucf-orange) 88%,#000 12%);box-shadow:none}.ucf-nav-icon{width:20px;flex:0 0 20px}
.ucf-sidebar-user{padding:12px 9px}.ucf-sidebar-user .ucf-avatar{width:34px;height:34px;flex:0 0 34px}
body.ucf-ui-sidebar-collapsed .ucf-sidebar-context,body.ucf-ui-sidebar-collapsed .ucf-nav-item>span:last-child,body.ucf-ui-sidebar-collapsed .ucf-sidebar-user .ucf-user-meta{display:none}
body.ucf-ui-sidebar-collapsed .ucf-nav-item{justify-content:center;padding-inline:0}body.ucf-ui-sidebar-collapsed .ucf-nav-icon{width:30px;font-size:15px}body.ucf-ui-sidebar-collapsed .ucf-sidebar-user{justify-content:center}
.ucf-page{max-width:var(--ucf-ds-page-max);padding:var(--ucf-ds-space-6) var(--ucf-ds-space-6) var(--ucf-ds-space-8)}
.ucf-page-head{gap:var(--ucf-ds-space-4);margin-bottom:var(--ucf-ds-space-4)}.ucf-page-head h1{font-size:var(--ucf-ds-font-xl);letter-spacing:-.025em;margin-bottom:4px}.ucf-page-head p{font-size:var(--ucf-ds-font-sm);max-width:760px}.ucf-page-actions{gap:var(--ucf-ds-space-2)}
.ucf-grid{gap:var(--ucf-ds-space-3)}.ucf-section{margin-top:var(--ucf-ds-space-4)}
.ucf-card{border-radius:var(--ucf-ds-radius-lg);box-shadow:var(--ucf-ds-shadow-sm)}.ucf-card-pad{padding:var(--ucf-ds-space-4)}.ucf-card-title{font-size:var(--ucf-ds-font-sm);margin-bottom:var(--ucf-ds-space-3)}
.ucf-metric{min-height:94px;padding:13px 14px;gap:12px}.ucf-metric-icon{width:38px;height:38px;border-radius:10px;font-size:16px}.ucf-metric-label{font-size:11px;margin-bottom:3px}.ucf-metric-value{font-size:24px;line-height:1.1}.ucf-metric-delta{font-size:10px;margin-top:4px}
.ucf-button,.ucf-input,.ucf-select{min-height:var(--ucf-ds-control)}.ucf-button{padding:0 13px;border-radius:var(--ucf-ds-radius-sm);font-size:12px}.ucf-button-primary{background:var(--ucf-orange);border-color:color-mix(in srgb,var(--ucf-orange) 76%,#fff 24%);color:#fff;box-shadow:none}.ucf-button-primary:hover{background:color-mix(in srgb,var(--ucf-orange) 90%,#fff 10%)}
.ucf-input,.ucf-select,.ucf-textarea{border-radius:var(--ucf-ds-radius-sm);padding:9px 11px;font-size:var(--ucf-ds-font-sm)}.ucf-textarea{min-height:96px}.ucf-input:focus,.ucf-select:focus,.ucf-textarea:focus,.ucf-button:focus-visible,.ucf-nav-item:focus-visible,.ucf-module-button:focus-visible{outline:none;box-shadow:var(--ucf-ds-focus)}
.ucf-toolbar,.ucf-client-toolbar{gap:var(--ucf-ds-space-2);margin-bottom:var(--ucf-ds-space-3)}
.ucf-table-card{overflow:hidden}.ucf-table-wrap{scrollbar-width:thin;scrollbar-color:var(--ucf-border) transparent}.ucf-table{font-size:12px}.ucf-table th{height:38px;padding:8px 10px;color:#b6b9c4;font-size:10px;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}.ucf-table td{min-height:var(--ucf-ds-row);padding:10px;border-top-color:var(--ucf-border-soft);vertical-align:middle}.ucf-table tbody tr{transition:background .12s}.ucf-table tbody tr:hover{background:rgba(255,255,255,.025)}.ucf-row-actions{gap:5px;justify-content:flex-end}.ucf-mini-button{width:32px;height:32px;min-width:32px;border-radius:7px}.ucf-cell-sub{font-size:10px;margin-top:3px;color:var(--ucf-muted)}
body.ucf-ui-density-compact .ucf-table td{padding:7px 9px;min-height:var(--ucf-ds-row-compact)}body.ucf-ui-density-compact .ucf-table th{height:34px;padding:6px 9px}body.ucf-ui-density-compact .ucf-metric{min-height:84px}body.ucf-ui-density-compact .ucf-card-pad{padding:13px}
.ucf-stage-pill,.ucf-payment-pill,.ucf-channel-pill{border-radius:999px;font-size:10px;line-height:1.2;padding:4px 7px;font-weight:700}
.ucf-form-grid,.ucf-lead-form-grid{gap:var(--ucf-ds-space-3)}.ucf-field label,.ucf-form-grid label>span{font-size:11px;font-weight:650;color:#c5c8d1}.ucf-modal{border-radius:var(--ucf-ds-radius-xl);box-shadow:var(--ucf-ds-shadow-md)}.ucf-modal-head{padding:15px 16px}.ucf-modal-body{padding:16px}.ucf-modal-actions{position:sticky;bottom:0;padding:12px 16px;background:color-mix(in srgb,var(--ucf-panel) 94%,transparent);backdrop-filter:blur(12px);border-top:1px solid var(--ucf-border-soft);z-index:3}
.ucf-pagination{min-height:48px;padding:9px 12px;font-size:11px}.ucf-page-button{min-width:32px;height:32px;border-radius:7px}
.ucf-empty-cell{height:150px!important;text-align:center!important;color:var(--ucf-muted)!important}.ucf-empty-state{min-height:124px;display:grid;place-items:center;text-align:center;padding:22px}.ucf-empty-state-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--ucf-panel-2);border:1px solid var(--ucf-border);margin:0 auto 8px;color:var(--ucf-orange);font-size:18px}.ucf-empty-state b{display:block;color:var(--ucf-text);font-size:13px}.ucf-empty-state small{display:block;max-width:420px;margin:5px auto 0;font-size:11px;line-height:1.45;color:var(--ucf-muted)}
/* Unified chart surfaces */
.ucf-report-chart,.ucf-chart-card,.ucf-report-forecast,.ucf-report-bars{border-radius:var(--ucf-ds-radius-lg)}.ucf-report-bar-row{gap:10px}.ucf-report-bar-row i,.ucf-analytics-bar{height:7px;border-radius:999px}.ucf-report-bar-row em,.ucf-analytics-bar span{border-radius:999px}
/* Search/command palette */
.ucf-ui-search-layer{position:fixed;inset:0;display:grid;place-items:start center;padding-top:min(14vh,120px);background:rgba(0,0,0,.58);backdrop-filter:blur(8px);z-index:10020}.ucf-ui-search{width:min(680px,calc(100vw - 24px));border:1px solid var(--ucf-border);border-radius:16px;background:var(--ucf-panel);box-shadow:0 28px 80px rgba(0,0,0,.48);overflow:hidden}.ucf-ui-search-head{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--ucf-border-soft)}.ucf-ui-search-head input{flex:1;border:0;background:transparent;color:var(--ucf-text);outline:0;font-size:15px}.ucf-ui-search-head kbd{font-size:10px;color:var(--ucf-muted)}.ucf-ui-search-results{max-height:min(58vh,480px);overflow:auto;padding:7px}.ucf-ui-search-result{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px;border:0;border-radius:9px;background:transparent;color:var(--ucf-text);text-align:left;cursor:pointer}.ucf-ui-search-result:hover,.ucf-ui-search-result.is-selected{background:var(--ucf-panel-2)}.ucf-ui-search-result>span:first-child{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--ucf-border-soft);border-radius:8px;color:var(--ucf-orange)}.ucf-ui-search-result b{display:block;font-size:12px}.ucf-ui-search-result small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:2px}.ucf-ui-search-result em{font-size:9px;color:var(--ucf-muted);font-style:normal}
@media(max-width:1220px){.ucf-page-search-trigger{min-width:36px;width:36px;padding:0;justify-content:center}.ucf-page-search-trigger b,.ucf-page-search-trigger kbd{display:none}.ucf-module-button{min-width:52px}.ucf-user-meta{display:none}}
@media(max-width:980px){:root{--ucf-ds-sidebar:188px}.ucf-page{padding:20px 16px 28px}.ucf-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  :root{--ucf-ds-control:44px}.ucf-shell{grid-template-columns:1fr;grid-template-rows:56px minmax(0,1fr) calc(62px + var(--ucf-safe-bottom))}.ucf-topbar{grid-template-columns:minmax(0,1fr) auto}.ucf-shell-collapse,.ucf-modulebar,.ucf-page-search-trigger,.ucf-top-actions>[data-ui-density-toggle]{display:none!important}.ucf-brand{justify-content:flex-start;padding:0 12px}.ucf-shell-brand-logo{max-width:126px}.ucf-page{padding:14px 12px calc(24px + var(--ucf-safe-bottom));max-width:none}.ucf-page-head{align-items:flex-start;margin-bottom:12px}.ucf-page-head h1{font-size:21px}.ucf-page-head p{font-size:12px;line-height:1.4}.ucf-page-actions{justify-content:flex-end}.ucf-page-actions .ucf-button{min-height:40px}.ucf-grid-4,.ucf-grid-3,.ucf-grid-2{grid-template-columns:1fr 1fr;gap:8px}.ucf-metric{min-height:78px;padding:10px}.ucf-metric-icon{width:32px;height:32px}.ucf-metric-value{font-size:18px}.ucf-card{border-radius:10px}.ucf-card-pad{padding:12px}.ucf-toolbar,.ucf-client-toolbar{margin-left:-12px;margin-right:-12px;padding:0 12px 5px;display:flex;overflow:auto;scroll-snap-type:x proximity}.ucf-toolbar>*,.ucf-client-toolbar>*{scroll-snap-align:start;flex:0 0 auto}.ucf-toolbar>.ucf-search-wrap,.ucf-client-toolbar>.ucf-search-wrap{min-width:min(78vw,310px)}
  .ucf-mobile-nav{height:calc(62px + var(--ucf-safe-bottom));padding-bottom:var(--ucf-safe-bottom);background:color-mix(in srgb,var(--ucf-shell) 97%,transparent);backdrop-filter:blur(16px)}.ucf-mobile-nav button{position:relative;min-height:54px;font-size:9px}.ucf-mobile-nav button.is-active:before{content:"";position:absolute;top:0;left:28%;right:28%;height:2px;border-radius:0 0 4px 4px;background:var(--ucf-orange)}.ucf-mobile-nav button.is-active{color:var(--ucf-orange)}
  /* Generic compact tables become native mobile cards only when structurally safe. */
  .ucf-table.ucf-responsive-cards{min-width:0!important;width:100%;display:block}.ucf-table.ucf-responsive-cards thead{display:none}.ucf-table.ucf-responsive-cards tbody{display:grid;gap:8px;padding:8px}.ucf-table.ucf-responsive-cards tr{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--ucf-border);border-radius:10px;background:var(--ucf-panel);overflow:hidden}.ucf-table.ucf-responsive-cards td{display:grid;grid-template-columns:minmax(84px,.7fr) minmax(0,1.3fr);align-items:start;gap:8px;padding:8px 10px!important;border-top:1px solid var(--ucf-border-soft);min-height:0!important;word-break:break-word}.ucf-table.ucf-responsive-cards td:first-child{grid-column:1/-1;border-top:0;background:rgba(255,255,255,.018)}.ucf-table.ucf-responsive-cards td:before{content:attr(data-label);color:var(--ucf-muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.035em}.ucf-table.ucf-responsive-cards td:first-child:before{display:none}.ucf-table.ucf-responsive-cards td:last-child{grid-column:1/-1}.ucf-table.ucf-responsive-cards td:last-child .ucf-row-actions{justify-content:flex-start}.ucf-table.ucf-responsive-cards .ucf-empty-cell{display:block!important;grid-column:1/-1;padding:0!important;border:0!important}.ucf-table.ucf-responsive-cards .ucf-empty-cell:before{display:none}
  .ucf-pagination{align-items:center;gap:8px}.ucf-pagination>span{font-size:10px}.ucf-modal-actions{padding-bottom:calc(12px + var(--ucf-safe-bottom))}
}
@media(max-width:480px){.ucf-grid-4,.ucf-grid-3,.ucf-grid-2{grid-template-columns:1fr 1fr}.ucf-page-actions .ucf-button:not(.ucf-button-primary){display:none}.ucf-metric{display:block}.ucf-metric-icon{float:left;margin-right:8px}.ucf-metric-delta{clear:both;padding-top:3px}.ucf-table.ucf-responsive-cards tr{grid-template-columns:1fr}.ucf-table.ucf-responsive-cards td{grid-template-columns:92px minmax(0,1fr)}.ucf-page-head{display:grid;grid-template-columns:1fr auto}.ucf-page-actions{align-self:start}}
@media(prefers-reduced-motion:reduce){.ucf-shell-brand-logo,.ucf-sidebar,.ucf-table tbody tr{transition:none!important}}


/* ---- source: productivity.css ---- */
/* Udyojak CRM v4.3.0 — productivity/accessibility layer */
.ucf-sr-only{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}
.ucf-skip-link{position:fixed;left:12px;top:-60px;z-index:100000;background:#fff;color:#06162b;padding:10px 14px;border-radius:8px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:top .16s ease}.ucf-skip-link:focus{top:12px}

.ucf-productivity-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 14px;min-height:42px}.ucf-productivity-views{display:flex;gap:7px;align-items:center;overflow-x:auto;scrollbar-width:none;padding:2px 1px}.ucf-productivity-views::-webkit-scrollbar{display:none}.ucf-productivity-actions{display:flex;gap:7px;flex:0 0 auto}.ucf-view-chip,.ucf-saved-chip{flex:0 0 auto}.ucf-view-chip{border:1px solid var(--ucf-border);background:color-mix(in srgb,var(--ucf-card) 92%,transparent);color:var(--ucf-text);height:32px;border-radius:999px;padding:0 12px;font-size:12px;font-weight:750;cursor:pointer}.ucf-view-chip:hover,.ucf-view-chip.is-active{border-color:color-mix(in srgb,var(--ucf-accent) 70%,var(--ucf-border));background:color-mix(in srgb,var(--ucf-accent) 14%,var(--ucf-card));color:var(--ucf-accent)}
.ucf-saved-chip{display:inline-flex;align-items:center;border:1px solid var(--ucf-border);border-radius:999px;overflow:hidden;background:var(--ucf-card)}.ucf-saved-chip>button{border:0;background:transparent;color:var(--ucf-text);height:30px;padding:0 10px;font-size:12px;font-weight:750;cursor:pointer}.ucf-saved-chip.is-active{border-color:var(--ucf-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ucf-accent) 25%,transparent)}.ucf-saved-chip.is-active>button:first-child{color:var(--ucf-accent)}.ucf-saved-chip .ucf-saved-chip-delete{width:28px;padding:0;border-left:1px solid var(--ucf-border);color:var(--ucf-muted)}.ucf-saved-chip .ucf-saved-chip-delete:hover{color:var(--ucf-red);background:color-mix(in srgb,var(--ucf-red) 9%,transparent)}

.ucf-global-search-layer,.ucf-productivity-layer,.ucf-peek-layer,.ucf-shortcuts-layer{position:fixed;inset:0;z-index:99990;background:rgba(0,10,24,.66);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:flex-start;justify-content:center;padding:9vh 16px 24px}.ucf-global-search{width:min(760px,calc(100vw - 28px));max-height:min(720px,82vh);background:var(--ucf-card);border:1px solid color-mix(in srgb,var(--ucf-border) 80%,#fff 10%);border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.42);overflow:hidden;display:flex;flex-direction:column}.ucf-global-search-head{height:62px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:0 16px;border-bottom:1px solid var(--ucf-border)}.ucf-global-search-head>span{font-size:24px;color:var(--ucf-accent)}.ucf-global-search-head input{border:0!important;outline:0!important;background:transparent!important;color:var(--ucf-text)!important;font-size:17px;font-weight:650;width:100%;box-shadow:none!important}.ucf-global-search-head kbd,.ucf-global-search-foot span,.ucf-shortcut-grid kbd{font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid var(--ucf-border);border-bottom-width:2px;border-radius:6px;padding:4px 7px;color:var(--ucf-muted);background:color-mix(in srgb,var(--ucf-card) 82%,#fff 5%)}.ucf-global-search-body{min-height:220px;overflow:auto;padding:8px}.ucf-global-search-foot{display:flex;gap:12px;align-items:center;padding:10px 14px;border-top:1px solid var(--ucf-border);color:var(--ucf-muted);font-size:11px}.ucf-global-search-foot span{border:0;background:transparent;padding:0}.ucf-search-start,.ucf-search-loading{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--ucf-muted);padding:30px}.ucf-search-start b{color:var(--ucf-text);font-size:17px}.ucf-search-start p{max-width:460px;margin:6px 0}.ucf-recent-searches{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin-top:12px}.ucf-recent-searches button{border:1px solid var(--ucf-border);border-radius:999px;background:transparent;color:var(--ucf-muted);padding:6px 10px;cursor:pointer}
.ucf-global-result{display:grid;grid-template-columns:1fr 42px;align-items:stretch;border:1px solid transparent;border-radius:10px;margin:2px 0;overflow:hidden}.ucf-global-result.is-active,.ucf-global-result:hover{background:color-mix(in srgb,var(--ucf-accent) 8%,var(--ucf-card));border-color:color-mix(in srgb,var(--ucf-accent) 28%,var(--ucf-border))}.ucf-global-result-main{border:0;background:transparent;color:var(--ucf-text);display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;text-align:left;padding:10px 12px;cursor:pointer;min-width:0}.ucf-global-result-main>span:nth-child(2){min-width:0}.ucf-global-result-main b,.ucf-global-result-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ucf-global-result-main small{color:var(--ucf-muted);margin-top:2px}.ucf-global-result-main em{font-style:normal;font-size:11px;font-weight:750;color:var(--ucf-muted);border:1px solid var(--ucf-border);padding:4px 7px;border-radius:999px}.ucf-global-result-icon{width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--ucf-accent) 12%,transparent);color:var(--ucf-accent);display:grid;place-items:center;font-size:17px}.ucf-global-result-peek{border:0;border-left:1px solid transparent;background:transparent;color:var(--ucf-muted);cursor:pointer;font-size:15px}.ucf-global-result:hover .ucf-global-result-peek{border-left-color:var(--ucf-border)}.ucf-global-result-peek:hover{color:var(--ucf-accent);background:color-mix(in srgb,var(--ucf-accent) 8%,transparent)}

.ucf-productivity-sheet,.ucf-shortcuts-card{width:min(520px,calc(100vw - 28px));background:var(--ucf-card);border:1px solid var(--ucf-border);border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.42);overflow:hidden}.ucf-productivity-sheet-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:18px;border-bottom:1px solid var(--ucf-border)}.ucf-productivity-sheet-head h2{margin:0;color:var(--ucf-text);font-size:19px}.ucf-productivity-sheet-head p{margin:4px 0 0;color:var(--ucf-muted);font-size:12px}.ucf-productivity-sheet-head>button{width:34px;height:34px;border:1px solid var(--ucf-border);border-radius:9px;background:transparent;color:var(--ucf-muted);cursor:pointer;font-size:18px}.ucf-productivity-sheet-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;border-top:1px solid var(--ucf-border)}.ucf-column-list{padding:10px 18px 18px;max-height:56vh;overflow:auto}.ucf-column-list label{display:flex;align-items:center;gap:10px;min-height:42px;border-bottom:1px solid color-mix(in srgb,var(--ucf-border) 70%,transparent);color:var(--ucf-text);font-weight:650}.ucf-column-list input{width:17px;height:17px;accent-color:var(--ucf-accent)}

.ucf-select-col{width:38px!important;min-width:38px!important;max-width:38px!important;text-align:center!important;padding-left:8px!important;padding-right:8px!important}.ucf-select-col input{width:16px;height:16px;accent-color:var(--ucf-accent);cursor:pointer}.ucf-table tbody tr.is-bulk-selected{background:color-mix(in srgb,var(--ucf-accent) 10%,transparent)!important;box-shadow:inset 3px 0 0 var(--ucf-accent)}.ucf-table tbody tr[data-productivity-id]{cursor:default}.ucf-table tbody tr[data-productivity-id]:focus{outline:2px solid var(--ucf-accent);outline-offset:-2px}
.ucf-bulk-bar{position:fixed;z-index:99970;left:50%;bottom:22px;transform:translateX(-50%);min-width:min(760px,calc(100vw - 32px));max-width:920px;min-height:54px;border:1px solid color-mix(in srgb,var(--ucf-accent) 38%,var(--ucf-border));background:color-mix(in srgb,var(--ucf-card) 94%,#000 2%);box-shadow:0 18px 55px rgba(0,0,0,.36);border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 8px 16px}.ucf-bulk-bar>div{display:flex;align-items:center;gap:7px}.ucf-bulk-bar button{height:36px;border:1px solid var(--ucf-border);background:transparent;color:var(--ucf-text);border-radius:9px;padding:0 11px;font-weight:700;cursor:pointer}.ucf-bulk-bar button:hover{border-color:var(--ucf-accent);color:var(--ucf-accent)}.ucf-bulk-bar [data-bulk-clear]{width:36px;padding:0;font-size:17px}.ucf-task-select{position:absolute;top:8px;right:8px;z-index:3;width:26px;height:26px;border-radius:8px;background:color-mix(in srgb,var(--ucf-card) 90%,transparent);border:1px solid var(--ucf-border);display:grid;place-items:center}.ucf-task-select input{width:15px;height:15px;accent-color:var(--ucf-accent)}.ucf-task-card{position:relative}.ucf-task-card.is-bulk-selected{box-shadow:inset 0 0 0 2px var(--ucf-accent)}

.ucf-peek-layer{justify-content:flex-end;padding:0;background:rgba(0,10,24,.42)}.ucf-peek-drawer{width:min(430px,92vw);height:100%;background:var(--ucf-card);border-left:1px solid var(--ucf-border);box-shadow:-20px 0 60px rgba(0,0,0,.32);display:flex;flex-direction:column;animation:ucfPeekIn .18s ease-out}.ucf-peek-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px;border-bottom:1px solid var(--ucf-border)}.ucf-peek-head small{color:var(--ucf-accent);font-weight:800;text-transform:uppercase;letter-spacing:.06em}.ucf-peek-head h2{margin:4px 0 0;color:var(--ucf-text);font-size:21px;line-height:1.25}.ucf-peek-head>button{width:36px;height:36px;border-radius:9px;border:1px solid var(--ucf-border);background:transparent;color:var(--ucf-muted);font-size:19px;cursor:pointer}.ucf-peek-body{padding:16px 20px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ucf-peek-field{min-height:70px;border:1px solid var(--ucf-border);border-radius:10px;padding:10px;background:color-mix(in srgb,var(--ucf-card) 92%,#fff 2%)}.ucf-peek-field small{display:block;color:var(--ucf-muted);font-size:11px;margin-bottom:5px}.ucf-peek-field b{color:var(--ucf-text);font-size:13px;overflow-wrap:anywhere}.ucf-peek-foot{margin-top:auto;padding:14px 20px;border-top:1px solid var(--ucf-border);display:flex;justify-content:flex-end;gap:8px}.ucf-peek-loading{margin:auto;color:var(--ucf-muted)}@keyframes ucfPeekIn{from{transform:translateX(30px);opacity:.7}to{transform:none;opacity:1}}

.ucf-shortcuts-layer{align-items:center}.ucf-shortcuts-card{width:min(620px,calc(100vw - 28px))}.ucf-shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--ucf-border)}.ucf-shortcut-grid>span{background:var(--ucf-card);min-height:58px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.ucf-shortcut-grid b{color:var(--ucf-text);font-size:13px}.ucf-shortcut-grid kbd{white-space:nowrap}

.ucf-notification-dot.has-count::after{content:attr(data-count);position:absolute;right:-6px;top:-7px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--ucf-red);color:#fff;font-size:9px;font-weight:900;line-height:16px;text-align:center}.ucf-notification-button{position:relative}

/* Accessibility and zoom resilience */
.ucf-app button:focus-visible,.ucf-app a:focus-visible,.ucf-app input:focus-visible,.ucf-app select:focus-visible,.ucf-app textarea:focus-visible,[class^="ucf-"]:focus-visible{outline:2px solid color-mix(in srgb,var(--ucf-accent) 86%,#fff 10%)!important;outline-offset:2px!important}.ucf-reduced-motion *,.ucf-reduced-motion *::before,.ucf-reduced-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.ucf-peek-drawer{animation:none!important}}

@media (max-width:900px){.ucf-productivity-bar{align-items:flex-start;flex-direction:column}.ucf-productivity-views{width:100%;max-width:100%}.ucf-productivity-actions{width:100%;justify-content:flex-end}.ucf-bulk-bar{bottom:calc(76px + env(safe-area-inset-bottom));min-width:calc(100vw - 20px);max-width:calc(100vw - 20px);overflow-x:auto;justify-content:flex-start}.ucf-bulk-bar>div:last-child{margin-left:auto;white-space:nowrap}.ucf-global-search-layer{padding:0;align-items:stretch}.ucf-global-search{width:100%;height:100%;max-height:none;border-radius:0;border:0}.ucf-global-search-head{padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top))}.ucf-global-search-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom));overflow-x:auto;white-space:nowrap}.ucf-peek-layer{align-items:flex-end}.ucf-peek-drawer{width:100%;height:min(76vh,720px);border-left:0;border-top:1px solid var(--ucf-border);border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:ucfPeekUp .18s ease-out}.ucf-peek-body{grid-template-columns:1fr 1fr}.ucf-shortcut-grid{grid-template-columns:1fr}.ucf-productivity-layer,.ucf-shortcuts-layer{align-items:flex-end;padding:10px}.ucf-productivity-sheet,.ucf-shortcuts-card{width:100%;border-radius:16px 16px 8px 8px}@keyframes ucfPeekUp{from{transform:translateY(30px);opacity:.7}to{transform:none;opacity:1}}}
@media (max-width:620px){.ucf-productivity-actions .ucf-button{flex:1}.ucf-peek-body{grid-template-columns:1fr}.ucf-global-search-head{grid-template-columns:28px 1fr}.ucf-global-search-head kbd{display:none}.ucf-global-result-main{grid-template-columns:32px minmax(0,1fr)}.ucf-global-result-main em{display:none}.ucf-bulk-bar{flex-direction:column;align-items:stretch}.ucf-bulk-bar>div{justify-content:space-between;overflow-x:auto}.ucf-shortcut-grid>span{min-height:52px}}
@media (min-resolution:1dppx){@supports (zoom:2){.ucf-productivity-bar,.ucf-bulk-bar,.ucf-global-search,.ucf-peek-drawer{max-width:100%}}}

/* v4.3 Smart Filters */
.ucf-productivity-actions .ucf-button.is-filtered{border-color:color-mix(in srgb,var(--ucf-accent) 48%,var(--ucf-border));color:var(--ucf-accent);background:color-mix(in srgb,var(--ucf-accent) 7%,transparent)}
.ucf-filter-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:3px;border-radius:999px;background:var(--ucf-accent);color:#fff;font-size:10px;font-weight:900;line-height:1}
.ucf-smart-filter-sheet{width:min(620px,calc(100vw - 28px))}.ucf-smart-filter-grid{padding:16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.ucf-smart-filter-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ucf-smart-filter-field>span{font-size:12px;font-weight:750;color:var(--ucf-muted)}.ucf-smart-filter-field .ucf-input,.ucf-smart-filter-field .ucf-select{width:100%;min-width:0}
@media (max-width:620px){.ucf-smart-filter-grid{grid-template-columns:1fr;max-height:58vh;overflow:auto;padding-bottom:20px}.ucf-smart-filter-sheet{width:100%}}


/* ---- source: appearance-engine.css ---- */
/* Udyojak CRM v4.4.0 — Appearance Engine + Adaptive Dashboard */
:root{--ucf-font-scale:1;--ucf-page-cap:1600px;--ucf-appearance-shadow:0 10px 32px rgba(8,20,40,.12)}
body.ucf-app-page{font-size:calc(14px * var(--ucf-font-scale));background:var(--ucf-bg);color:var(--ucf-text)}
.ucf-page{max-width:var(--ucf-page-cap)}

/* Workspace width */
body.ucf-workspace-fluid{--ucf-page-cap:1600px}
body.ucf-workspace-focused{--ucf-page-cap:1400px}
body.ucf-workspace-wide{--ucf-page-cap:1920px}

/* Sidebar sizes. Auto behaves like standard on wide screens and compact on laptop widths. */
body.ucf-sidebar-size-standard .ucf-shell{--ucf-sidebar:224px}
body.ucf-sidebar-size-compact .ucf-shell{--ucf-sidebar:176px}
body.ucf-sidebar-size-icons .ucf-shell{--ucf-sidebar:72px}
body.ucf-sidebar-size-icons .ucf-sidebar-context,body.ucf-sidebar-size-icons .ucf-nav-item>span:last-child,body.ucf-sidebar-size-icons .ucf-sidebar-user .ucf-user-meta{display:none}
body.ucf-sidebar-size-icons .ucf-nav-item{justify-content:center;padding-inline:0}
body.ucf-sidebar-size-icons .ucf-nav-icon{width:32px;font-size:16px}
body.ucf-sidebar-size-icons .ucf-sidebar-user{justify-content:center}
body.ucf-sidebar-size-auto .ucf-shell{--ucf-sidebar:224px}
@media(max-width:1280px) and (min-width:761px){body.ucf-sidebar-size-auto .ucf-shell{--ucf-sidebar:176px}}

/* Sidebar visual variants */
body.ucf-sidebar-color-dark .ucf-sidebar{background:#081526;color:#e8eef7}
body.ucf-sidebar-color-dark .ucf-nav-item{color:#b9c6d8}
body.ucf-sidebar-color-dark .ucf-nav-item:hover{background:rgba(255,255,255,.06);color:#fff}
body.ucf-sidebar-color-light .ucf-sidebar{background:#fff;color:#172033;border-right-color:#dfe6ee}
body.ucf-sidebar-color-light .ucf-nav-item{color:#53627a}
body.ucf-sidebar-color-light .ucf-nav-item:hover{background:#f2f5f9;color:#172033}
body.ucf-sidebar-color-brand .ucf-sidebar{background:color-mix(in srgb,var(--ucf-purple) 18%,#071525);color:#fff}
body.ucf-sidebar-color-brand .ucf-nav-item{color:rgba(255,255,255,.78)}
body.ucf-sidebar-color-brand .ucf-nav-item:hover{background:rgba(255,255,255,.08);color:#fff}

/* Header layouts */
body.ucf-header-standard .ucf-topbar{min-height:64px}
body.ucf-header-compact .ucf-topbar{min-height:58px;--ucf-topbar:58px}
body.ucf-header-compact .ucf-module-button{padding-block:7px}
body.ucf-header-minimal .ucf-modulebar{display:none!important}
body.ucf-header-minimal .ucf-topbar{grid-template-columns:var(--ucf-sidebar) minmax(0,1fr);min-height:56px;--ucf-topbar:56px}
body.ucf-header-minimal .ucf-top-actions{grid-column:2;justify-self:end}

/* Topbar variants */
body.ucf-topbar-light .ucf-topbar,body.ucf-topbar-light .ucf-brand{background:#fff;color:#172033}
body.ucf-topbar-light .ucf-page-search-trigger,body.ucf-topbar-light .ucf-icon-button{color:#53627a}
body.ucf-topbar-dark .ucf-topbar,body.ucf-topbar-dark .ucf-brand{background:#081526;color:#fff}
body.ucf-topbar-brand .ucf-topbar,body.ucf-topbar-brand .ucf-brand{background:color-mix(in srgb,var(--ucf-purple) 16%,#081526);color:#fff}

/* Density */
body.ucf-density-comfortable{--ucf-ds-control:46px}
body.ucf-density-comfortable .ucf-table th,body.ucf-density-comfortable .ucf-table td{padding-top:13px;padding-bottom:13px}
body.ucf-density-compact{--ucf-ds-control:42px}
body.ucf-density-compact .ucf-table th,body.ucf-density-compact .ucf-table td{padding-top:9px;padding-bottom:9px}
body.ucf-density-ultra{--ucf-ds-control:38px}
body.ucf-density-ultra .ucf-table{font-size:12px}
body.ucf-density-ultra .ucf-table th,body.ucf-density-ultra .ucf-table td{padding-top:6px;padding-bottom:6px}
body.ucf-density-ultra .ucf-card-pad{padding:10px}
body.ucf-density-ultra .ucf-metric{min-height:72px;padding:9px 10px}

/* Card styles */
body.ucf-card-style-bordered .ucf-card{border:1px solid var(--ucf-border);box-shadow:none}
body.ucf-card-style-elevated .ucf-card{border-color:var(--ucf-border-soft);box-shadow:var(--ucf-appearance-shadow)}
body.ucf-card-style-flat .ucf-card{border-color:transparent;box-shadow:none;background:var(--ucf-panel)}
body.ucf-radius-8 .ucf-card,body.ucf-radius-8 .ucf-modal,body.ucf-radius-8 .ucf-button{border-radius:8px}
body.ucf-radius-10 .ucf-card,body.ucf-radius-10 .ucf-modal{border-radius:10px}
body.ucf-radius-14 .ucf-card,body.ucf-radius-14 .ucf-modal{border-radius:14px}

/* Status styles */
body.ucf-status-style-outline .ucf-stage-pill,body.ucf-status-style-outline .ucf-payment-pill,body.ucf-status-style-outline .ucf-client-status{background:transparent!important;border:1px solid currentColor}
body.ucf-status-style-filled .ucf-stage-pill,body.ucf-status-style-filled .ucf-payment-pill,body.ucf-status-style-filled .ucf-client-status{border-color:transparent;filter:saturate(1.08)}

/* Sticky behavior */
body.ucf-header-sticky .ucf-topbar{position:sticky;top:0}
body.ucf-sidebar-sticky .ucf-sidebar{position:sticky;top:0;align-self:start;height:100%}
body.ucf-header-static .ucf-topbar{position:relative}

/* Motion */
body.ucf-motion-reduced *,body.ucf-motion-off *{scroll-behavior:auto!important}
body.ucf-motion-reduced .ucf-card,body.ucf-motion-reduced .ucf-sidebar,body.ucf-motion-reduced .ucf-button{transition-duration:.08s!important}
body.ucf-motion-off *,body.ucf-motion-off *:before,body.ucf-motion-off *:after{animation:none!important;transition:none!important}

/* Appearance Studio */
.ucf-appearance-v44{display:grid;gap:14px}
.ucf-appearance-v44 .ucf-appearance-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;background:linear-gradient(135deg,color-mix(in srgb,var(--ucf-purple) 12%,var(--ucf-panel)),var(--ucf-panel));border:1px solid var(--ucf-border);border-radius:var(--ucf-radius)}
.ucf-appearance-hero h2{margin:0 0 4px;font-size:18px}.ucf-appearance-hero p{margin:0;color:var(--ucf-muted);font-size:12px}
.ucf-appearance-live-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:var(--ucf-purple-soft);color:var(--ucf-purple);font-size:11px;font-weight:800}
.ucf-appearance-section{display:grid;gap:12px}.ucf-appearance-section-head{display:flex;justify-content:space-between;gap:12px;align-items:end}.ucf-appearance-section-head h3{margin:0;font-size:15px}.ucf-appearance-section-head p{margin:3px 0 0;color:var(--ucf-muted);font-size:11px}
.ucf-appearance-preset-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ucf-appearance-card-v44{position:relative;text-align:left;padding:12px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel);color:var(--ucf-text);cursor:pointer;min-height:118px}
.ucf-appearance-card-v44:hover,.ucf-appearance-card-v44.is-selected{border-color:var(--ucf-purple);box-shadow:0 0 0 2px var(--ucf-accent-focus)}
.ucf-appearance-card-v44 b{display:block;font-size:12px;margin-top:8px}.ucf-appearance-card-v44 small{display:block;color:var(--ucf-muted);font-size:10px;margin-top:2px}.ucf-appearance-card-v44 p{margin:7px 0 0;color:var(--ucf-muted);font-size:10px;line-height:1.35}.ucf-appearance-swatches{display:flex;gap:4px}.ucf-appearance-swatches i{width:24px;height:18px;border-radius:5px;border:1px solid rgba(127,127,127,.22)}
.ucf-appearance-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ucf-appearance-field{display:grid;gap:6px;padding:11px;border:1px solid var(--ucf-border-soft);border-radius:10px;background:var(--ucf-panel2)}.ucf-appearance-field>span{font-size:10px;color:var(--ucf-muted);font-weight:800;text-transform:uppercase;letter-spacing:.04em}.ucf-appearance-field select,.ucf-appearance-field input[type="text"],.ucf-appearance-field input[type="color"]{width:100%}.ucf-appearance-field input[type="color"]{height:38px;padding:3px;border:1px solid var(--ucf-border);background:var(--ucf-panel);border-radius:8px}
.ucf-appearance-toggle-row{display:flex;gap:10px;flex-wrap:wrap}.ucf-appearance-check-v44{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--ucf-border-soft);border-radius:10px;background:var(--ucf-panel2);font-size:12px}.ucf-appearance-check-v44 input{accent-color:var(--ucf-purple)}
.ucf-appearance-preview{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:230px;border:1px solid var(--ucf-border);border-radius:12px;overflow:hidden;background:var(--ucf-bg)}.ucf-appearance-preview aside{background:color-mix(in srgb,var(--ucf-shell) 96%,transparent);padding:10px}.ucf-appearance-preview aside b{font-size:11px}.ucf-appearance-preview nav{display:grid;gap:5px;margin-top:14px}.ucf-appearance-preview nav i{display:block;height:20px;border-radius:6px;background:var(--ucf-panel2)}.ucf-appearance-preview nav i:first-child{background:var(--ucf-purple)}.ucf-appearance-preview main{padding:12px}.ucf-appearance-preview header{height:32px;border-bottom:1px solid var(--ucf-border-soft);margin:-12px -12px 12px;padding:0 12px;display:flex;align-items:center;justify-content:space-between}.ucf-appearance-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ucf-appearance-preview-grid i{height:58px;background:var(--ucf-panel);border:1px solid var(--ucf-border);border-radius:9px}.ucf-appearance-preview-table{height:74px;margin-top:8px;background:linear-gradient(var(--ucf-panel2) 0 0) 0 0/100% 22px no-repeat,var(--ucf-panel);border:1px solid var(--ucf-border);border-radius:9px}

/* Velzon-inspired operational dashboard language, adapted for Udyojak data. */
.ucf-adaptive-dashboard{display:grid;gap:14px}.ucf-adaptive-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ucf-adaptive-kpi{display:flex;align-items:center;gap:12px;padding:14px}.ucf-adaptive-kpi-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--ucf-purple-soft);color:var(--ucf-purple);font-weight:900}.ucf-adaptive-kpi small{display:block;color:var(--ucf-muted);font-size:10px}.ucf-adaptive-kpi b{display:block;margin-top:2px;font-size:21px}.ucf-adaptive-kpi em{display:block;margin-top:3px;color:var(--ucf-muted);font-size:9px;font-style:normal}
.ucf-adaptive-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:12px}.ucf-adaptive-overview{min-height:260px}.ucf-adaptive-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.ucf-adaptive-card-head h3{margin:0;font-size:15px}.ucf-adaptive-card-head small{color:var(--ucf-muted)}.ucf-range-tabs{display:flex;gap:4px}.ucf-range-tabs button,.ucf-range-tabs span{border:0;background:transparent;color:var(--ucf-muted);font-size:9px;font-weight:800;padding:5px 7px;border-radius:6px}.ucf-range-tabs button.is-active,.ucf-range-tabs span.is-active{background:var(--ucf-purple-soft);color:var(--ucf-purple)}
.ucf-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ucf-overview-stats div{padding:9px;background:var(--ucf-panel2);border-radius:8px}.ucf-overview-stats small{display:block;color:var(--ucf-muted);font-size:9px}.ucf-overview-stats b{font-size:15px}.ucf-overview-bars{display:flex;align-items:flex-end;gap:8px;height:125px;margin-top:18px;padding:8px 4px 0;border-bottom:1px solid var(--ucf-border-soft)}.ucf-overview-bars i{flex:1;min-width:8px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,var(--ucf-purple),color-mix(in srgb,var(--ucf-purple) 35%,transparent));opacity:.88}
.ucf-schedule-list{display:grid;gap:8px}.ucf-schedule-row{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;padding:8px 0;border-bottom:1px solid var(--ucf-border-soft)}.ucf-schedule-row:last-child{border-bottom:0}.ucf-schedule-date{width:36px;height:38px;border-radius:8px;background:var(--ucf-panel2);display:grid;place-items:center;font-size:9px;color:var(--ucf-muted)}.ucf-schedule-date b{font-size:13px;color:var(--ucf-text)}.ucf-schedule-row strong{display:block;font-size:11px}.ucf-schedule-row small{display:block;margin-top:2px;color:var(--ucf-muted);font-size:9px}
.ucf-adaptive-bottom{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:12px}.ucf-mini-task-list,.ucf-team-workload-list{display:grid;gap:7px}.ucf-mini-task,.ucf-team-workload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--ucf-border-soft)}.ucf-mini-task:last-child,.ucf-team-workload-row:last-child{border-bottom:0}.ucf-mini-task b,.ucf-team-workload-row b{display:block;font-size:11px}.ucf-mini-task small,.ucf-team-workload-row small{display:block;margin-top:2px;color:var(--ucf-muted);font-size:9px}.ucf-team-load{width:90px}.ucf-team-load .ucf-progress{height:5px;margin-bottom:3px}

@media(max-width:1180px){.ucf-appearance-preset-grid{grid-template-columns:repeat(3,1fr)}.ucf-appearance-control-grid{grid-template-columns:repeat(2,1fr)}.ucf-adaptive-grid,.ucf-adaptive-bottom{grid-template-columns:1fr}.ucf-adaptive-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){body.ucf-sidebar-size-standard .ucf-shell,body.ucf-sidebar-size-compact .ucf-shell,body.ucf-sidebar-size-icons .ucf-shell,body.ucf-sidebar-size-auto .ucf-shell{--ucf-sidebar:0px}.ucf-appearance-v44 .ucf-appearance-hero{grid-template-columns:1fr}.ucf-appearance-preset-grid,.ucf-appearance-control-grid{grid-template-columns:1fr 1fr}.ucf-appearance-preview{grid-template-columns:74px 1fr}.ucf-adaptive-kpis{grid-template-columns:1fr 1fr}.ucf-overview-stats{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.ucf-appearance-preset-grid,.ucf-appearance-control-grid{grid-template-columns:1fr}.ucf-adaptive-kpis{grid-template-columns:1fr 1fr}.ucf-adaptive-kpi{padding:10px}.ucf-adaptive-kpi-icon{width:34px;height:34px}.ucf-adaptive-kpi b{font-size:17px}}

/* Dashboard presentation presets apply to existing live CEO widgets without changing data contracts. */
body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-summary>div{border:1px solid var(--ucf-border-soft);background:var(--ucf-panel);border-radius:10px;padding:10px 12px}
body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.ucf-dashboard-compact .ucf-ceo-dashboard .ucf-ceo-summary{gap:6px}.ucf-dashboard-compact .ucf-ceo-dashboard .ucf-metric{min-height:70px;padding:8px 10px}.ucf-dashboard-compact .ucf-ceo-dashboard .ucf-section{margin-top:10px}
@media(max-width:1100px){body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-summary{grid-template-columns:repeat(3,1fr)}body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-action-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-summary{grid-template-columns:1fr 1fr}body.ucf-dashboard-adaptive .ucf-ceo-dashboard .ucf-ceo-action-grid{grid-template-columns:1fr}}
/* Cross-scheme contrast guards for intentionally mixed light/dark chrome. */
body.ucf-sidebar-color-light .ucf-sidebar-context,body.ucf-sidebar-color-light .ucf-sidebar-user,body.ucf-sidebar-color-light .ucf-sidebar-user small{color:#64748b;border-color:#e2e8f0}
body.ucf-sidebar-color-light .ucf-sidebar-context b,body.ucf-sidebar-color-light .ucf-sidebar-user .ucf-user-meta{color:#172033}
body.ucf-sidebar-color-dark .ucf-sidebar-context,body.ucf-sidebar-color-dark .ucf-sidebar-user,body.ucf-sidebar-color-dark .ucf-sidebar-user small{color:#9fb0c5;border-color:rgba(255,255,255,.08)}
body.ucf-sidebar-color-dark .ucf-sidebar-context b,body.ucf-sidebar-color-dark .ucf-sidebar-user .ucf-user-meta{color:#f5f8fc}
body.ucf-topbar-light .ucf-user-meta,body.ucf-topbar-light .ucf-brand{color:#172033}body.ucf-topbar-light .ucf-user-meta small{color:#64748b}
body.ucf-topbar-dark .ucf-user-meta,body.ucf-topbar-dark .ucf-brand,body.ucf-topbar-brand .ucf-user-meta,body.ucf-topbar-brand .ucf-brand{color:#fff}body.ucf-topbar-dark .ucf-user-meta small,body.ucf-topbar-brand .ucf-user-meta small{color:#b9c6d8}
body.ucf-dashboard-compact .ucf-adaptive-dashboard{gap:9px}body.ucf-dashboard-compact .ucf-adaptive-kpis{gap:7px}body.ucf-dashboard-compact .ucf-adaptive-kpi{padding:9px 10px}body.ucf-dashboard-compact .ucf-adaptive-overview{min-height:220px}body.ucf-dashboard-compact .ucf-overview-bars{height:92px;margin-top:10px}

/* Udyojak CRM v4.6.0 — Advanced Appearance Studio (original implementation) */
:root{--ucf-custom-bg:#f3f6fb;--ucf-gradient-start:#f3f6fb;--ucf-gradient-end:#eaf0f8;--ucf-gradient-direction:135deg;--ucf-bg-image:none;--ucf-bg-overlay:0;--ucf-bg-blur:0px}
body.ucf-app-page,.ucf-app{font-family:var(--ucf-font-family)}
body.ucf-heading-scale-compact .ucf-page-head h1{font-size:23px}body.ucf-heading-scale-large .ucf-page-head h1{font-size:30px}
body.ucf-heading-scale-compact h2,body.ucf-heading-scale-compact h3{letter-spacing:-.01em}body.ucf-heading-scale-large h2,body.ucf-heading-scale-large h3{font-size:1.12em}

/* Background editor. Readable surfaces stay opaque and documents remain isolated. */
body.ucf-background-theme .ucf-app{background:radial-gradient(circle at 70% -20%,var(--ucf-purple-soft),transparent 32%),var(--ucf-bg)}
body.ucf-background-solid .ucf-app{background:var(--ucf-custom-bg)}
body.ucf-background-gradient .ucf-app{background:linear-gradient(var(--ucf-gradient-direction),var(--ucf-gradient-start),var(--ucf-gradient-end))}
body.ucf-background-image .ucf-app{background-image:linear-gradient(rgba(0,0,0,var(--ucf-bg-overlay)),rgba(0,0,0,var(--ucf-bg-overlay))),var(--ucf-bg-image);background-size:cover;background-position:center;background-attachment:fixed}
body.ucf-background-image .ucf-main{backdrop-filter:blur(var(--ucf-bg-blur))}
body.ucf-reduce-transparency .ucf-topbar,body.ucf-reduce-transparency .ucf-modal,body.ucf-reduce-transparency .ucf-card{backdrop-filter:none!important}

/* Sidebar visual editor */
.ucf-sidebar-menu-search{display:none;align-items:center;gap:6px;margin:4px 4px 8px;padding:7px 9px;border:1px solid var(--ucf-border-soft);border-radius:9px;background:var(--ucf-panel);color:var(--ucf-muted)}
.ucf-sidebar-menu-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:11px}
body.ucf-sidebar-menu-search-enabled .ucf-sidebar-menu-search{display:flex}
body:not(.ucf-sidebar-user-card) .ucf-sidebar-user{display:none!important}
body.ucf-sidebar-menu-filled .ucf-nav-item.is-active{background:var(--ucf-purple);color:#fff}
body.ucf-sidebar-menu-outline .ucf-nav-item.is-active{background:transparent;color:var(--ucf-purple);box-shadow:inset 0 0 0 1px var(--ucf-purple)}
body.ucf-sidebar-menu-minimal .ucf-nav-item.is-active{background:transparent;color:var(--ucf-purple);box-shadow:inset 3px 0 0 var(--ucf-purple);border-radius:4px}
body.ucf-sidebar-size-hover .ucf-shell{--ucf-sidebar:72px}
body.ucf-sidebar-size-hover .ucf-sidebar-context,body.ucf-sidebar-size-hover .ucf-nav-item>span:last-child,body.ucf-sidebar-size-hover .ucf-sidebar-user .ucf-user-meta,body.ucf-sidebar-size-hover .ucf-sidebar-menu-search{display:none}
body.ucf-sidebar-size-hover .ucf-nav-item{justify-content:center;padding-inline:0}
@media(min-width:761px){body.ucf-sidebar-size-hover .ucf-sidebar:hover{width:224px;position:relative;z-index:40;box-shadow:18px 0 40px rgba(0,0,0,.18)}body.ucf-sidebar-size-hover .ucf-sidebar:hover .ucf-sidebar-context,body.ucf-sidebar-size-hover .ucf-sidebar:hover .ucf-nav-item>span:last-child,body.ucf-sidebar-size-hover.ucf-sidebar-user-card .ucf-sidebar:hover .ucf-sidebar-user .ucf-user-meta,body.ucf-sidebar-size-hover.ucf-sidebar-menu-search-enabled .ucf-sidebar:hover .ucf-sidebar-menu-search{display:flex}body.ucf-sidebar-size-hover .ucf-sidebar:hover .ucf-sidebar-context{display:block}body.ucf-sidebar-size-hover .ucf-sidebar:hover .ucf-nav-item{justify-content:flex-start;padding-inline:11px}}

/* Header visibility controls */
body:not(.ucf-header-search-enabled) .ucf-page-search-trigger{display:none!important}
body:not(.ucf-header-quick-enabled) .ucf-subscribe{display:none!important}
body:not(.ucf-header-notifications-enabled) .ucf-notification-button{display:none!important}
body:not(.ucf-header-appearance-enabled) [data-route="theme"][title="Appearance"]{display:none!important}

/* White-label light/dark/compact shell logos */
.ucf-shell-brand-logo-compact{display:none;width:38px;height:38px;object-fit:contain;border-radius:8px}
body.ucf-sidebar-size-icons .ucf-shell-brand-logo-main,body.ucf-sidebar-size-hover .ucf-shell-brand-logo-main{display:none}
body.ucf-sidebar-size-icons .ucf-shell-brand-logo-compact,body.ucf-sidebar-size-hover .ucf-shell-brand-logo-compact{display:block}

/* Table style editor */
body.ucf-table-style-soft .ucf-table th{background:var(--ucf-panel-2)}
body.ucf-table-style-filled .ucf-table th{background:color-mix(in srgb,var(--ucf-purple) 14%,var(--ucf-panel));color:var(--ucf-text)}
body.ucf-table-style-minimal .ucf-table th{background:transparent}
body.ucf-table-grid-none .ucf-table th,body.ucf-table-grid-none .ucf-table td{border-bottom-color:transparent}
body.ucf-table-grid-full .ucf-table th,body.ucf-table-grid-full .ucf-table td{border:1px solid var(--ucf-border-soft)}
body.ucf-table-zebra .ucf-table tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--ucf-panel-2) 58%,transparent)}
body.ucf-table-sticky-header .ucf-table thead th{position:sticky;top:0;z-index:4}
body.ucf-table-sticky-first .ucf-table th:first-child,body.ucf-table-sticky-first .ucf-table td:first-child{position:sticky;left:0;z-index:3;background:var(--ucf-panel)}
body.ucf-table-sticky-first .ucf-table thead th:first-child{z-index:5;background:var(--ucf-panel-2)}

/* Form visual editor */
body.ucf-form-style-soft .ucf-input,body.ucf-form-style-soft .ucf-select,body.ucf-form-style-soft .ucf-textarea{background:var(--ucf-panel-2);border-color:transparent}
body.ucf-form-style-filled .ucf-input,body.ucf-form-style-filled .ucf-select,body.ucf-form-style-filled .ucf-textarea{background:color-mix(in srgb,var(--ucf-panel-3) 76%,var(--ucf-panel));border-color:var(--ucf-border-soft)}
body.ucf-form-size-compact .ucf-input,body.ucf-form-size-compact .ucf-select,body.ucf-form-size-compact .ucf-textarea{padding:7px 9px;min-height:36px}
body.ucf-form-size-large .ucf-input,body.ucf-form-size-large .ucf-select{padding:12px 14px;min-height:48px}
body.ucf-strong-focus :focus-visible{outline:2px solid var(--ucf-purple)!important;outline-offset:2px!important;box-shadow:0 0 0 4px var(--ucf-accent-focus)!important}

/* Dashboard visual editor */
body.ucf-dashboard-gap-compact .ucf-ceo-dashboard,body.ucf-dashboard-gap-compact .ucf-adaptive-dashboard{gap:8px}body.ucf-dashboard-gap-spacious .ucf-ceo-dashboard,body.ucf-dashboard-gap-spacious .ucf-adaptive-dashboard{gap:20px}
body.ucf-widget-style-flat .ucf-ceo-dashboard .ucf-card,body.ucf-widget-style-flat .ucf-adaptive-dashboard .ucf-card{box-shadow:none;border-color:transparent}
body.ucf-widget-style-elevated .ucf-ceo-dashboard .ucf-card,body.ucf-widget-style-elevated .ucf-adaptive-dashboard .ucf-card{box-shadow:var(--ucf-appearance-shadow);border-color:var(--ucf-border-soft)}
body.ucf-chart-style-contrast .ucf-overview-bars i,body.ucf-chart-style-contrast .ucf-report-bar-row em{filter:saturate(1.35) contrast(1.18)}
body.ucf-chart-style-minimal .ucf-overview-bars{border-bottom-color:transparent}

/* Appearance Studio */
.ucf-appearance-v46{padding-bottom:110px}.ucf-appearance-eyebrow{display:block;color:var(--ucf-purple);font-size:9px;font-weight:900;letter-spacing:.12em;margin-bottom:7px}
.ucf-appearance-studio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.ucf-appearance-studio-toolbar>label{display:flex;align-items:center;gap:8px;min-width:min(520px,100%);padding:0 11px;border:1px solid var(--ucf-border);border-radius:10px;background:var(--ucf-panel)}.ucf-appearance-studio-toolbar>label .ucf-input{border:0;box-shadow:none;background:transparent;padding-inline:0}.ucf-appearance-studio-toolbar small{color:var(--ucf-muted)}
.ucf-appearance-studio-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;align-items:start}.ucf-appearance-studio-nav{position:sticky;top:76px;display:grid;gap:3px;padding:8px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel)}.ucf-appearance-studio-nav button{border:0;background:transparent;color:var(--ucf-muted);padding:9px 10px;border-radius:8px;text-align:left;font-size:11px;font-weight:750;cursor:pointer}.ucf-appearance-studio-nav button:hover{background:var(--ucf-panel-2);color:var(--ucf-text)}
.ucf-appearance-studio-content{display:grid;gap:12px;min-width:0}.ucf-appearance-studio-section{scroll-margin-top:78px}.ucf-appearance-studio-section[hidden]{display:none!important}.ucf-appearance-field small{display:block;color:var(--ucf-muted);font-size:9px;line-height:1.4}.ucf-appearance-field input[type=time],.ucf-appearance-field input[type=range]{width:100%}.ucf-appearance-check-v44>span{display:grid;gap:2px}.ucf-appearance-check-v44 b{font-size:11px}.ucf-appearance-check-v44 small{color:var(--ucf-muted);font-size:9px}
.ucf-appearance-brand-preview{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;border:1px dashed var(--ucf-border);border-radius:10px;background:var(--ucf-panel-2)}.ucf-appearance-brand-preview>div{min-width:0;flex:1}.ucf-appearance-brand-preview small,.ucf-appearance-brand-preview span{color:var(--ucf-muted);font-size:9px}.ucf-appearance-brand-preview b{display:block;font-size:13px;margin-top:2px}.ucf-appearance-note{margin:10px 0 0;color:var(--ucf-muted);font-size:10px;line-height:1.6}.ucf-appearance-import-label{cursor:pointer}

@media(max-width:980px){.ucf-appearance-studio-shell{grid-template-columns:1fr}.ucf-appearance-studio-nav{position:static;display:flex;overflow:auto;white-space:nowrap}.ucf-appearance-studio-nav button{flex:0 0 auto}.ucf-appearance-studio-toolbar{align-items:flex-start;flex-direction:column}.ucf-appearance-studio-toolbar>label{min-width:100%}}
@media(max-width:760px){body.ucf-sidebar-size-hover .ucf-shell{--ucf-sidebar:0px}.ucf-appearance-brand-preview{align-items:flex-start;flex-wrap:wrap}.ucf-appearance-brand-preview .ucf-button{width:100%}.ucf-shell-brand-logo-compact{display:none!important}.ucf-shell-brand-logo-main{display:block!important}}


/* ---- source: workspace-personalization.css ---- */
/* Udyojak CRM v4.5.0 — Personalized Workspace, Role Layouts, Focus Mode & Profile Management */
body.ucf-focus-mode{--ucf-sidebar:0px}
body.ucf-focus-mode .ucf-main{max-width:none;width:100%}
body.ucf-focus-hide-sidebar .ucf-sidebar{display:none!important}
body.ucf-focus-hide-sidebar .ucf-shell{grid-template-columns:minmax(0,1fr)!important}
body.ucf-focus-hide-sidebar .ucf-topbar{grid-template-columns:minmax(0,1fr)!important}
body.ucf-focus-hide-sidebar .ucf-brand{display:none!important}
body.ucf-focus-hide-sidebar .ucf-modulebar{grid-column:1}
body.ucf-focus-hide-sidebar .ucf-top-actions{grid-column:1}
body.ucf-focus-hide-header .ucf-topbar{display:none!important}
body.ucf-focus-hide-header .ucf-shell{grid-template-rows:minmax(0,1fr)!important}
body.ucf-focus-hide-header .ucf-main{grid-row:1!important}
body.ucf-focus-mode .ucf-mobile-nav{display:none!important}
body.ucf-focus-wide .ucf-page{max-width:none!important}
.ucf-focus-exit{position:fixed;z-index:100090;right:16px;top:12px;border:1px solid var(--ucf-border);border-radius:999px;background:var(--ucf-panel);color:var(--ucf-text);box-shadow:0 10px 28px rgba(0,0,0,.18);padding:8px 12px;font:700 11px/1 var(--ucf-font-family);cursor:pointer}.ucf-focus-exit kbd{margin-left:7px;color:var(--ucf-muted);font:inherit;font-size:9px}.ucf-workspace-focus-button.is-active{background:var(--ucf-purple-soft)!important;color:var(--ucf-purple)!important}

/* Role-aware emphasis is visual only; permissions remain canonical. */
body.ucf-workspace-profile-sales .ucf-ceo-dashboard .ucf-ceo-action-grid,
body.ucf-workspace-profile-finance .ucf-ceo-dashboard .ucf-section,
body.ucf-workspace-profile-projects .ucf-adaptive-dashboard .ucf-workspace-widget{scroll-margin-top:84px}

/* Personalized dashboard ordering/editing */
.ucf-personalized-dashboard{display:flex!important;flex-direction:column;align-items:stretch;gap:14px}
.ucf-personalized-dashboard>.ucf-page-head{order:-100!important}
.ucf-workspace-widget{position:relative;min-width:0}.ucf-workspace-widget[hidden]{display:none!important}
.ucf-workspace-project-table-group{display:grid;gap:10px}.ucf-workspace-project-table-group>.ucf-client-toolbar{margin:0}.ucf-workspace-project-table-group>.ucf-table-card{margin:0}
.ucf-widget-editbar{display:flex;align-items:center;gap:8px;min-height:34px;margin:-1px -1px 9px;padding:6px 8px;border:1px dashed color-mix(in srgb,var(--ucf-purple) 54%,var(--ucf-border));border-radius:9px;background:color-mix(in srgb,var(--ucf-purple) 7%,var(--ucf-panel));color:var(--ucf-muted);user-select:none}.ucf-widget-editbar b{font-size:10px;color:var(--ucf-text);letter-spacing:.02em}.ucf-widget-drag{cursor:grab;font-size:15px;color:var(--ucf-purple)}.ucf-widget-edit-actions{margin-left:auto;display:flex;gap:4px}.ucf-widget-edit-actions button{border:1px solid var(--ucf-border);background:var(--ucf-panel);color:var(--ucf-muted);border-radius:6px;padding:4px 7px;font:800 9px/1 var(--ucf-font-family);cursor:pointer}.ucf-widget-edit-actions button:hover{border-color:var(--ucf-purple);color:var(--ucf-purple)}.ucf-workspace-widget.is-dragging{opacity:.58}.ucf-workspace-widget.is-drag-target{outline:2px dashed var(--ucf-purple);outline-offset:4px}
.ucf-workspace-widget[data-widget-size="compact"]{max-width:860px}.ucf-workspace-widget[data-widget-size="wide"]{max-width:1600px}.ucf-workspace-widget[data-widget-size="full"]{max-width:none}

/* Drawer */
.ucf-workspace-layer{position:fixed;inset:0;z-index:100080;background:rgba(3,8,18,.56);backdrop-filter:blur(5px);display:flex;justify-content:flex-end}
.ucf-workspace-drawer{width:min(620px,96vw);height:100%;background:var(--ucf-bg);color:var(--ucf-text);border-left:1px solid var(--ucf-border);box-shadow:-20px 0 50px rgba(0,0,0,.22);display:grid;grid-template-rows:auto minmax(0,1fr) auto;animation:ucfWorkspaceIn .16s ease-out}
@keyframes ucfWorkspaceIn{from{transform:translateX(28px);opacity:.7}to{transform:none;opacity:1}}
body.ucf-motion-off .ucf-workspace-drawer,body.ucf-motion-reduced .ucf-workspace-drawer{animation:none}
.ucf-workspace-drawer-head{display:flex;gap:18px;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--ucf-border);background:var(--ucf-panel)}.ucf-workspace-drawer-head small{display:block;color:var(--ucf-purple);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.ucf-workspace-drawer-head h2{margin:3px 0 2px;font-size:20px}.ucf-workspace-drawer-head p{margin:0;color:var(--ucf-muted);font-size:11px;line-height:1.45}.ucf-workspace-drawer-head>button{align-self:start;width:34px;height:34px;border:1px solid var(--ucf-border);border-radius:9px;background:var(--ucf-panel2);color:var(--ucf-text);font-size:20px;cursor:pointer}
.ucf-workspace-drawer-body{overflow:auto;padding:14px 18px 24px}.ucf-workspace-drawer-body form{display:grid;gap:12px}.ucf-workspace-drawer-body section{border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel);padding:13px}.ucf-workspace-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.ucf-workspace-section-head h3{margin:0;font-size:13px}.ucf-workspace-section-head p{margin:3px 0 0;color:var(--ucf-muted);font-size:10px;line-height:1.45}.ucf-workspace-section-head>div:last-child{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.ucf-workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ucf-workspace-field{display:grid;gap:5px}.ucf-workspace-field>span{font-size:9px;font-weight:800;color:var(--ucf-muted);text-transform:uppercase;letter-spacing:.04em}.ucf-workspace-field select{width:100%;height:38px;border:1px solid var(--ucf-border);border-radius:8px;background:var(--ucf-panel2);color:var(--ucf-text);padding:0 9px;font:600 11px var(--ucf-font-family)}
.ucf-workspace-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.ucf-workspace-check-grid label,.ucf-workspace-check,.ucf-workspace-switch{display:flex;align-items:center;gap:7px;border:1px solid var(--ucf-border-soft);background:var(--ucf-panel2);border-radius:8px;padding:9px 10px;color:var(--ucf-text);font-size:10px;font-weight:650}.ucf-workspace-check-grid input,.ucf-workspace-check input,.ucf-workspace-switch input{accent-color:var(--ucf-purple)}
.ucf-personal-appearance-fields{transition:opacity .12s ease}.ucf-personal-appearance-fields.is-disabled{opacity:.38;pointer-events:none;filter:grayscale(.4)}
.ucf-workspace-widget-groups{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ucf-workspace-widget-list{display:grid;gap:5px;border:1px solid var(--ucf-border-soft);border-radius:9px;padding:9px;background:var(--ucf-panel2)}.ucf-workspace-widget-list>b{font-size:10px;margin-bottom:2px}.ucf-workspace-widget-list label{display:flex;align-items:center;gap:7px;font-size:10px;text-transform:capitalize;color:var(--ucf-muted)}.ucf-workspace-widget-list input{accent-color:var(--ucf-purple)}
.ucf-workspace-profile-list{display:grid;gap:6px}.ucf-workspace-profile-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid var(--ucf-border-soft);border-radius:8px;background:var(--ucf-panel2)}.ucf-workspace-profile-row b{display:block;font-size:10px}.ucf-workspace-profile-row small{display:block;color:var(--ucf-muted);font-size:8px;margin-top:2px}.ucf-workspace-profile-row>span:last-child{display:flex;gap:4px}.ucf-workspace-profile-row button{border:1px solid var(--ucf-border);background:var(--ucf-panel);color:var(--ucf-muted);border-radius:6px;padding:5px 7px;font:800 8px/1 var(--ucf-font-family);cursor:pointer}.ucf-workspace-profile-row button:hover{border-color:var(--ucf-purple);color:var(--ucf-purple)}.ucf-workspace-profile-row button.is-danger:hover{border-color:var(--ucf-red);color:var(--ucf-red)}
.ucf-workspace-drawer-foot{display:flex;gap:8px;justify-content:flex-end;padding:12px 18px;border-top:1px solid var(--ucf-border);background:var(--ucf-panel)}.ucf-workspace-drawer-foot>[data-workspace-reset]{margin-right:auto}

/* Compact mobile navigation personalization */
body.ucf-mobile-nav-style-compact .ucf-mobile-nav{height:58px;padding-top:4px}.ucf-mobile-nav-style-compact .ucf-mobile-nav button span:last-child{font-size:8px}.ucf-mobile-nav-style-compact .ucf-mobile-nav button span:first-child{font-size:16px}.ucf-mobile-nav-style-compact .ucf-main{padding-bottom:72px}

@media(max-width:760px){
  .ucf-workspace-layer{align-items:flex-end}.ucf-workspace-drawer{width:100%;height:min(88dvh,820px);border-left:0;border-top:1px solid var(--ucf-border);border-radius:18px 18px 0 0;animation:ucfWorkspaceUp .16s ease-out}.ucf-workspace-drawer:before{content:"";position:absolute;top:7px;left:50%;width:42px;height:4px;border-radius:99px;background:var(--ucf-border);transform:translateX(-50%)}@keyframes ucfWorkspaceUp{from{transform:translateY(30px);opacity:.7}to{transform:none;opacity:1}}
  .ucf-workspace-drawer-head{padding-top:20px}.ucf-workspace-grid,.ucf-workspace-check-grid,.ucf-workspace-widget-groups{grid-template-columns:1fr}.ucf-workspace-profile-row{align-items:flex-start;flex-direction:column}.ucf-workspace-profile-row>span:last-child{width:100%}.ucf-workspace-profile-row button{flex:1;min-height:32px}.ucf-widget-drag{display:none}.ucf-widget-editbar{position:relative;margin:0 0 8px}.ucf-focus-exit{top:max(8px,env(safe-area-inset-top));right:8px}.ucf-focus-hide-header .ucf-main{padding-top:max(12px,env(safe-area-inset-top))}
}
@media(max-width:480px){.ucf-workspace-drawer-body{padding-inline:10px}.ucf-workspace-drawer-head,.ucf-workspace-drawer-foot{padding-inline:12px}.ucf-workspace-drawer-foot{flex-wrap:wrap}.ucf-workspace-drawer-foot .ucf-button{flex:1}.ucf-workspace-drawer-foot>[data-workspace-reset]{flex-basis:100%;margin-right:0}}


/* ---- source: visual-workspace-builder.css ---- */
/* Udyojak CRM v4.7.0 — Visual Workspace Builder & Design Governance */
:root{--ucf-composer-gap:14px}
body[data-ucf-component-cards="compact"] .ucf-card{padding:10px!important}body[data-ucf-component-cards="minimal"] .ucf-card{box-shadow:none!important;background:var(--ucf-panel)!important}body[data-ucf-component-cards="executive"] .ucf-card{padding:18px!important}
body[data-ucf-component-tables="compact"] .ucf-table td,body[data-ucf-component-tables="compact"] .ucf-table th{padding-block:7px!important}body[data-ucf-component-tables="minimal"] .ucf-table-card{box-shadow:none!important;border-color:var(--ucf-border-soft)!important}
body[data-ucf-component-forms="compact"] input,body[data-ucf-component-forms="compact"] select,body[data-ucf-component-forms="compact"] textarea{min-height:36px!important}body[data-ucf-component-buttons="compact"] .ucf-button{min-height:34px!important;padding:7px 10px!important}
body[data-ucf-component-badges="minimal"] .ucf-badge,body[data-ucf-component-badges="minimal"] .ucf-status{background:transparent!important;box-shadow:none!important}
body[data-ucf-component-modals="executive"] .ucf-modal{border-radius:18px!important;box-shadow:0 24px 70px rgba(0,0,0,.28)!important}
body[data-ucf-component-charts="minimal"] .ucf-chart-grid,body[data-ucf-component-charts="minimal"] .ucf-chart-legend{opacity:.72}

.ucf-personalized-dashboard.ucf-v470-grid{display:grid!important;grid-template-columns:repeat(var(--ucf-v470-cols,12),minmax(0,1fr));gap:var(--ucf-composer-gap)!important;align-items:start}.ucf-personalized-dashboard.ucf-v470-grid>.ucf-page-head{grid-column:1/-1!important}.ucf-personalized-dashboard.ucf-v470-grid>.ucf-workspace-widget{grid-column:span min(var(--ucf-v470-span,12),var(--ucf-v470-cols,12));width:auto!important;max-width:none!important;min-width:0}.ucf-v470-hidden{display:none!important}

.ucf-v470-builder-button{position:relative}.ucf-v470-builder-button:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;right:4px;top:4px;background:var(--ucf-purple)}
.ucf-v470-layer{position:fixed;inset:0;z-index:100120;background:rgba(3,8,18,.58);backdrop-filter:blur(6px);display:flex;justify-content:flex-end}.ucf-v470-drawer{width:min(760px,98vw);height:100%;background:var(--ucf-bg);color:var(--ucf-text);border-left:1px solid var(--ucf-border);box-shadow:-24px 0 60px rgba(0,0,0,.25);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.ucf-v470-head{display:flex;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--ucf-border);background:var(--ucf-panel)}.ucf-v470-head small{display:block;color:var(--ucf-purple);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.ucf-v470-head h2{margin:3px 0 2px;font-size:20px}.ucf-v470-head p{margin:0;color:var(--ucf-muted);font-size:11px;line-height:1.4}.ucf-v470-head button{width:36px;height:36px;border:1px solid var(--ucf-border);border-radius:9px;background:var(--ucf-panel2);color:var(--ucf-text);font-size:20px;cursor:pointer}.ucf-v470-tabs{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid var(--ucf-border);overflow:auto;background:var(--ucf-panel2)}.ucf-v470-tabs button{white-space:nowrap;border:1px solid var(--ucf-border);background:var(--ucf-panel);color:var(--ucf-muted);border-radius:999px;padding:7px 10px;font:800 9px var(--ucf-font-family);cursor:pointer}.ucf-v470-tabs button.is-active{border-color:var(--ucf-purple);color:var(--ucf-purple);background:var(--ucf-purple-soft)}.ucf-v470-body{overflow:auto;padding:14px 18px 24px;display:grid;gap:12px}.ucf-v470-section{border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel);padding:13px}.ucf-v470-section h3{margin:0 0 4px;font-size:13px}.ucf-v470-section>p{margin:0 0 10px;color:var(--ucf-muted);font-size:10px;line-height:1.45}.ucf-v470-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ucf-v470-field{display:grid;gap:5px}.ucf-v470-field>span{font-size:9px;font-weight:900;color:var(--ucf-muted);text-transform:uppercase;letter-spacing:.04em}.ucf-v470-field select,.ucf-v470-field input{height:38px;border:1px solid var(--ucf-border);border-radius:8px;background:var(--ucf-panel2);color:var(--ucf-text);padding:0 9px;font:600 11px var(--ucf-font-family)}.ucf-v470-check{display:flex;align-items:center;gap:7px;padding:8px 9px;border:1px solid var(--ucf-border-soft);border-radius:8px;background:var(--ucf-panel2);font-size:10px}.ucf-v470-check input{accent-color:var(--ucf-purple)}.ucf-v470-widget-row{display:grid;grid-template-columns:minmax(130px,1fr) 80px 80px;gap:7px;align-items:center;padding:7px 0;border-top:1px solid var(--ucf-border-soft)}.ucf-v470-widget-row:first-of-type{border-top:0}.ucf-v470-widget-row b{font-size:10px}.ucf-v470-widget-row select{height:32px}.ucf-v470-foot{display:flex;gap:8px;justify-content:flex-end;padding:12px 18px;border-top:1px solid var(--ucf-border);background:var(--ucf-panel)}.ucf-v470-foot .ucf-button:first-child{margin-right:auto}.ucf-v470-note{font-size:9px;color:var(--ucf-muted);line-height:1.5}.ucf-v470-history{display:grid;gap:6px}.ucf-v470-history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid var(--ucf-border-soft);border-radius:8px;background:var(--ucf-panel2)}.ucf-v470-history-row b{font-size:10px}.ucf-v470-history-row small{display:block;color:var(--ucf-muted);font-size:8px;margin-top:2px}.ucf-v470-history-row button{border:1px solid var(--ucf-border);border-radius:6px;background:var(--ucf-panel);color:var(--ucf-text);padding:5px 8px;font:800 8px var(--ucf-font-family);cursor:pointer}

@media(max-width:1199px){.ucf-personalized-dashboard.ucf-v470-grid{--ucf-v470-cols:6}}
@media(max-width:767px){.ucf-personalized-dashboard.ucf-v470-grid{--ucf-v470-cols:1;display:grid!important}.ucf-personalized-dashboard.ucf-v470-grid>.ucf-workspace-widget{grid-column:1/-1!important}.ucf-v470-layer{align-items:flex-end}.ucf-v470-drawer{width:100%;height:min(92dvh,900px);border-left:0;border-top:1px solid var(--ucf-border);border-radius:18px 18px 0 0}.ucf-v470-grid2{grid-template-columns:1fr}.ucf-v470-widget-row{grid-template-columns:1fr 70px 70px}.ucf-v470-head{padding-top:20px}}
.ucf-v470-order-tools{display:inline-flex;gap:3px;margin-left:7px}.ucf-v470-order-tools button{width:24px;height:24px;border:1px solid var(--ucf-border);border-radius:6px;background:var(--ucf-panel2);color:var(--ucf-muted);font:800 9px var(--ucf-font-family);cursor:pointer}.ucf-v470-order-tools button:hover{border-color:var(--ucf-purple);color:var(--ucf-purple)}


/* ---- source: ui-quality.css ---- */
/* Udyojak CRM v4.8.0 — Visual Quality Assurance & Production UI Polish
   Presentation-only: canonical feedback, responsive, accessibility and micro-interaction layer. */
:root{
  --ucf-q-transition-fast:120ms;
  --ucf-q-transition:180ms;
  --ucf-q-ease:cubic-bezier(.2,.7,.2,1);
  --ucf-q-touch:44px;
  --ucf-q-modal-sm:440px;
  --ucf-q-modal-md:640px;
  --ucf-q-modal-lg:880px;
  --ucf-q-modal-xl:1120px;
  --ucf-q-skeleton-a:color-mix(in srgb,var(--ucf-panel-2) 88%,var(--ucf-text) 12%);
  --ucf-q-skeleton-b:color-mix(in srgb,var(--ucf-panel-2) 70%,var(--ucf-text) 30%);
}

/* Canonical interactive feedback */
.ucf-button,.ucf-mini-button,.ucf-icon-button,.ucf-nav-item,.ucf-module-button,
.ucf-page-button,[role="button"]{
  transition:background var(--ucf-q-transition-fast) var(--ucf-q-ease),border-color var(--ucf-q-transition-fast) var(--ucf-q-ease),color var(--ucf-q-transition-fast) var(--ucf-q-ease),transform var(--ucf-q-transition-fast) var(--ucf-q-ease),box-shadow var(--ucf-q-transition-fast) var(--ucf-q-ease),opacity var(--ucf-q-transition-fast) var(--ucf-q-ease);
}
.ucf-button:not(:disabled):active,.ucf-mini-button:not(:disabled):active,.ucf-icon-button:not(:disabled):active{transform:translateY(1px)}
.ucf-button:disabled,.ucf-mini-button:disabled,.ucf-icon-button:disabled,[aria-disabled="true"]{cursor:not-allowed!important;opacity:.52!important;pointer-events:none}
.ucf-button.is-loading,.ucf-mini-button.is-loading,[aria-busy="true"].ucf-button{position:relative;cursor:progress;pointer-events:none}
.ucf-button.is-loading::after,.ucf-mini-button.is-loading::after,[aria-busy="true"].ucf-button::after{content:"";width:14px;height:14px;margin-left:8px;display:inline-block;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ucf-q-spin .65s linear infinite}
@keyframes ucf-q-spin{to{transform:rotate(360deg)}}

/* Strong, predictable keyboard focus */
:where(.ucf-app) :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid color-mix(in srgb,var(--ucf-orange) 82%,#fff 18%);outline-offset:2px;box-shadow:0 0 0 4px color-mix(in srgb,var(--ucf-orange) 20%,transparent)}
:where(.ucf-app) :where(a,button,input,select,textarea,[tabindex]):focus:not(:focus-visible){outline:0}

/* Consistent cards / sections / tables */
.ucf-card,.ucf-table-card,.ucf-modal,.ucf-drawer,.ucf-quick-peek{isolation:isolate}
.ucf-card,.ucf-table-card{min-width:0}
.ucf-table-wrap{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.ucf-table thead th{position:relative}
body:not(.ucf-table-sticky-off) .ucf-table-wrap .ucf-table thead th{position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--ucf-panel) 96%,transparent);backdrop-filter:blur(8px)}
.ucf-table tbody tr:focus-within{background:color-mix(in srgb,var(--ucf-orange) 6%,var(--ucf-panel))}
.ucf-table td,.ucf-table th{overflow-wrap:anywhere}
.ucf-table td[data-ucf-no-wrap],.ucf-table th[data-ucf-no-wrap]{white-space:nowrap;overflow-wrap:normal}

/* Unified empty-state actions */
.ucf-empty-state{border-radius:var(--ucf-ds-radius-lg)}
.ucf-empty-state .ucf-button{margin-top:12px}
.ucf-empty-cell .ucf-empty-state{min-height:118px}

/* Skeleton system */
.ucf-skeleton,[data-ucf-skeleton]{position:relative;overflow:hidden;background:var(--ucf-q-skeleton-a)!important;color:transparent!important;border-color:transparent!important;user-select:none;pointer-events:none}
.ucf-skeleton::after,[data-ucf-skeleton]::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,var(--ucf-q-skeleton-b),transparent);animation:ucf-q-shimmer 1.25s ease-in-out infinite}
.ucf-skeleton-line{height:12px;border-radius:999px}.ucf-skeleton-line.is-short{width:42%}.ucf-skeleton-line.is-medium{width:68%}
.ucf-skeleton-card{min-height:94px;border-radius:var(--ucf-ds-radius-lg)}
@keyframes ucf-q-shimmer{100%{transform:translateX(100%)}}

/* Toast governance + duplicate stack */
.ucf-toast-stack{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,calc(env(safe-area-inset-bottom) + 18px));z-index:10080;display:grid;gap:8px;width:min(380px,calc(100vw - 24px));pointer-events:none}
.ucf-toast,.ucf-q-toast{min-height:48px;padding:11px 14px;border:1px solid var(--ucf-border);border-radius:10px;background:color-mix(in srgb,var(--ucf-panel) 96%,transparent);box-shadow:0 16px 44px rgba(0,0,0,.26);backdrop-filter:blur(14px);color:var(--ucf-text);pointer-events:auto;animation:ucf-q-toast-in var(--ucf-q-transition) var(--ucf-q-ease) both}
.ucf-q-toast strong{display:block;font-size:12px}.ucf-q-toast small{display:block;margin-top:2px;color:var(--ucf-muted);font-size:11px}
.ucf-q-toast[data-tone="success"]{border-inline-start:3px solid #22c55e}.ucf-q-toast[data-tone="warning"]{border-inline-start:3px solid #f59e0b}.ucf-q-toast[data-tone="error"]{border-inline-start:3px solid #ef4444}.ucf-q-toast[data-tone="info"]{border-inline-start:3px solid #3b82f6}
@keyframes ucf-q-toast-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}

/* Modal / drawer standard */
.ucf-modal{width:min(var(--ucf-q-modal-md),calc(100vw - 24px));max-height:min(88dvh,920px);display:flex;flex-direction:column;overflow:hidden}
.ucf-modal[data-size="sm"],.ucf-modal.ucf-modal-sm{width:min(var(--ucf-q-modal-sm),calc(100vw - 24px))}
.ucf-modal[data-size="lg"],.ucf-modal.ucf-modal-lg{width:min(var(--ucf-q-modal-lg),calc(100vw - 24px))}
.ucf-modal[data-size="xl"],.ucf-modal.ucf-modal-xl{width:min(var(--ucf-q-modal-xl),calc(100vw - 24px))}
.ucf-modal-head{position:sticky;top:0;z-index:4;flex:0 0 auto;background:color-mix(in srgb,var(--ucf-panel) 96%,transparent);backdrop-filter:blur(12px)}
.ucf-modal-body{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ucf-modal-actions{flex:0 0 auto}

/* Icon consistency */
.ucf-icon-button,.ucf-mini-button,.ucf-nav-icon,[data-ucf-icon]{line-height:1;display:inline-grid;place-items:center}
.ucf-icon-button svg,.ucf-mini-button svg,[data-ucf-icon] svg{width:18px;height:18px;stroke-width:1.8}

/* Route/layout stability */
.ucf-page,.ucf-page-head,.ucf-grid,.ucf-form-grid,.ucf-lead-form-grid{min-width:0}
.ucf-page>*{max-width:100%}
img,svg,canvas{max-width:100%}
.ucf-chart-card canvas,.ucf-report-chart canvas{width:100%!important;height:auto!important}
[data-ucf-overflow="true"]{outline:1px dashed color-mix(in srgb,#f59e0b 50%,transparent);outline-offset:-1px}

/* Dark mode contrast hardening */
body.ucf-theme-dark .ucf-input,body.ucf-theme-dark .ucf-select,body.ucf-theme-dark .ucf-textarea,
[data-ucf-scheme="dark"] .ucf-input,[data-ucf-scheme="dark"] .ucf-select,[data-ucf-scheme="dark"] .ucf-textarea{color-scheme:dark}
body.ucf-theme-light .ucf-input,body.ucf-theme-light .ucf-select,body.ucf-theme-light .ucf-textarea,
[data-ucf-scheme="light"] .ucf-input,[data-ucf-scheme="light"] .ucf-select,[data-ucf-scheme="light"] .ucf-textarea{color-scheme:light}
.ucf-input::placeholder,.ucf-textarea::placeholder{color:var(--ucf-muted);opacity:.78}

/* Responsive certification guardrails */
@media (max-width:1199px){
  .ucf-page{padding-inline:16px}
  .ucf-page-head{align-items:flex-start}
  .ucf-page-actions{flex-wrap:wrap}
  .ucf-toolbar,.ucf-client-toolbar{overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:2px;scrollbar-width:thin}
}
@media (max-width:767px){
  :root{--ucf-ds-control:44px;--ucf-ds-row:48px}
  .ucf-page{padding:14px 12px calc(84px + env(safe-area-inset-bottom))}
  .ucf-page-head{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:12px}
  .ucf-page-head h1{font-size:22px;line-height:1.18}
  .ucf-page-actions{width:100%}
  .ucf-page-actions>.ucf-button{min-height:var(--ucf-q-touch)}
  .ucf-form-grid,.ucf-lead-form-grid{grid-template-columns:minmax(0,1fr)!important}
  .ucf-modal-layer,.ucf-dialog-layer{align-items:end!important;padding:0!important}
  .ucf-modal{width:100%!important;max-width:none!important;max-height:min(92dvh,920px);border-radius:16px 16px 0 0!important;padding-bottom:env(safe-area-inset-bottom)}
  .ucf-modal-head{min-height:52px}.ucf-modal-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .ucf-toast-stack{right:12px;left:12px;bottom:calc(76px + env(safe-area-inset-bottom));width:auto}
  .ucf-icon-button,.ucf-mini-button{min-width:var(--ucf-q-touch);min-height:var(--ucf-q-touch)}
  .ucf-table.ucf-responsive-cards tbody tr{scroll-margin-top:72px}
}
@media (max-width:430px){
  .ucf-card-pad{padding:12px}.ucf-grid{gap:10px}.ucf-page{padding-inline:10px}
  .ucf-metric{min-height:78px;padding:11px}.ucf-metric-value{font-size:21px}
}
@media (max-width:375px){
  .ucf-page-head h1{font-size:20px}.ucf-page-head p{font-size:12px}
  .ucf-button{padding-inline:10px}.ucf-card-pad{padding:10px}
}
@media (max-width:320px){
  .ucf-page{padding-inline:8px}.ucf-grid{gap:8px}.ucf-page-actions{gap:6px}
  .ucf-page-actions>.ucf-button{flex:1 1 auto}
}

/* 200% zoom / narrow desktop resilience */
@media (max-width:900px){
  .ucf-modulebar{overflow-x:auto;scrollbar-width:none}.ucf-modulebar::-webkit-scrollbar{display:none}
  .ucf-top-actions{min-width:max-content}
}

/* Motion and accessibility */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .ucf-skeleton::after,[data-ucf-skeleton]::after{display:none}
}
body.ucf-motion-off *,body.ucf-motion-off *::before,body.ucf-motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (prefers-contrast:more){
  :root{--ucf-border:color-mix(in srgb,currentColor 34%,transparent);--ucf-border-soft:color-mix(in srgb,currentColor 24%,transparent)}
  :where(.ucf-app) :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline-width:3px;outline-offset:3px}
}
@media print{
  .ucf-toast-stack,[data-ucf-quality-debug]{display:none!important}
}


/* ---- source: visual-hierarchy.css ---- */
/* Udyojak CRM v4.9.0 — Premium Typography, Brand Color & Visual Hierarchy
 * Presentation-only layer. No CRM workflow, finance state, REST behavior or document rendering changes.
 */
:root{
  --ucf-v49-font-ui:"Inter Variable","Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --ucf-v49-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  --ucf-v49-success:#16855b;--ucf-v49-success-soft:rgba(22,133,91,.12);
  --ucf-v49-warning:#c66a12;--ucf-v49-warning-soft:rgba(198,106,18,.13);
  --ucf-v49-danger:#c93c46;--ucf-v49-danger-soft:rgba(201,60,70,.12);
  --ucf-v49-info:#2869c7;--ucf-v49-info-soft:rgba(40,105,199,.12);
  --ucf-v49-neutral:#667085;--ucf-v49-neutral-soft:rgba(102,112,133,.12);
  --ucf-v49-drawer-width:456px;
  --ucf-v49-shadow-drawer:-14px 0 44px rgba(0,0,0,.24);
}
body.ucf-theme-mode-dark{
  --ucf-v49-success:#5ee0a4;--ucf-v49-success-soft:rgba(94,224,164,.12);
  --ucf-v49-warning:#fdba74;--ucf-v49-warning-soft:rgba(253,186,116,.12);
  --ucf-v49-danger:#ff7c83;--ucf-v49-danger-soft:rgba(255,124,131,.12);
  --ucf-v49-info:#71a7ff;--ucf-v49-info-soft:rgba(113,167,255,.13);
  --ucf-v49-neutral:#a7b4c2;--ucf-v49-neutral-soft:rgba(167,180,194,.11);
}

/* Typography hierarchy */
body.ucf-app-page,.ucf-app{font-family:var(--ucf-v49-font-ui);font-feature-settings:"kern" 1,"liga" 1,"calt" 1;text-rendering:optimizeLegibility}
.ucf-page-head h1,.ucf-peek-title,.ucf-card-title,.ucf-modal-head h2,.ucf-modal-head h3{letter-spacing:-.018em}
.ucf-page-head h1{font-weight:700}.ucf-card-title{font-weight:700}.ucf-field label,.ucf-form-grid label>span{font-weight:600}
.ucf-metric-value,.ucf-money,.ucf-financial,.ucf-peek-money,.ucf-table td[data-ucf-financial="1"]{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1}
.ucf-doc-id,.ucf-table td[data-ucf-doc-id="1"],.ucf-peek-code{font-family:var(--ucf-v49-font-mono);font-variant-numeric:tabular-nums;font-size:.94em;letter-spacing:-.01em}
.ucf-table td{font-size:13.5px;font-weight:500}.ucf-table th{font-size:10.5px;font-weight:700;letter-spacing:.045em}
.ucf-table td:first-child,.ucf-table .ucf-cell-primary{font-weight:600}.ucf-cell-sub{font-size:11px;line-height:1.35}
.ucf-table th[data-ucf-financial="1"],.ucf-table td[data-ucf-financial="1"]{text-align:right}

/* Brand/navigation polish — soft active state is the default professional treatment. */
body.ucf-sidebar-menu-soft .ucf-nav-item{position:relative;color:var(--ucf-nav-text);transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}
body.ucf-sidebar-menu-soft .ucf-nav-item:hover{background:color-mix(in srgb,var(--ucf-panel) 84%,transparent);color:var(--ucf-text)}
body.ucf-sidebar-menu-soft .ucf-nav-item.is-active{background:color-mix(in srgb,var(--ucf-orange) 13%,var(--ucf-shell));color:color-mix(in srgb,var(--ucf-orange) 88%,#fff 12%);box-shadow:inset 3px 0 0 var(--ucf-orange)}
body.ucf-sidebar-menu-soft .ucf-nav-item.is-active .ucf-nav-icon{color:var(--ucf-orange);opacity:1}
body.ucf-theme-mode-light.ucf-sidebar-menu-soft .ucf-nav-item.is-active{background:color-mix(in srgb,var(--ucf-orange) 10%,#fff);color:color-mix(in srgb,var(--ucf-orange) 82%,#5a2a00 18%)}

/* Semantic status system */
[data-ucf-semantic]{border:1px solid transparent!important;font-weight:700!important}
[data-ucf-semantic="success"]{color:var(--ucf-v49-success)!important;background:var(--ucf-v49-success-soft)!important;border-color:color-mix(in srgb,var(--ucf-v49-success) 24%,transparent)!important}
[data-ucf-semantic="warning"]{color:var(--ucf-v49-warning)!important;background:var(--ucf-v49-warning-soft)!important;border-color:color-mix(in srgb,var(--ucf-v49-warning) 24%,transparent)!important}
[data-ucf-semantic="danger"]{color:var(--ucf-v49-danger)!important;background:var(--ucf-v49-danger-soft)!important;border-color:color-mix(in srgb,var(--ucf-v49-danger) 24%,transparent)!important}
[data-ucf-semantic="info"]{color:var(--ucf-v49-info)!important;background:var(--ucf-v49-info-soft)!important;border-color:color-mix(in srgb,var(--ucf-v49-info) 24%,transparent)!important}
[data-ucf-semantic="neutral"]{color:var(--ucf-v49-neutral)!important;background:var(--ucf-v49-neutral-soft)!important;border-color:color-mix(in srgb,var(--ucf-v49-neutral) 22%,transparent)!important}
body.ucf-status-style-filled [data-ucf-semantic="success"]{background:var(--ucf-v49-success)!important;color:#fff!important}
body.ucf-status-style-filled [data-ucf-semantic="warning"]{background:var(--ucf-v49-warning)!important;color:#fff!important}
body.ucf-status-style-filled [data-ucf-semantic="danger"]{background:var(--ucf-v49-danger)!important;color:#fff!important}
body.ucf-status-style-filled [data-ucf-semantic="info"]{background:var(--ucf-v49-info)!important;color:#fff!important}
body.ucf-status-style-filled [data-ucf-semantic="neutral"]{background:var(--ucf-v49-neutral)!important;color:#fff!important}
body.ucf-status-style-outline [data-ucf-semantic]{background:transparent!important}

/* Finance meaning: neutral by default, semantic only when the value itself carries state. */
.ucf-financial-positive{color:var(--ucf-v49-success)!important}.ucf-financial-warning{color:var(--ucf-v49-warning)!important}.ucf-financial-danger{color:var(--ucf-v49-danger)!important}.ucf-financial-zero{color:var(--ucf-v49-success)!important}


body.ucf-theme-professional .ucf-button-primary{color:#172033!important;font-weight:700}
body.ucf-theme-professional .ucf-button-primary:hover{color:#172033!important}
\n/* Refined borders and focus hierarchy. */
.ucf-card,.ucf-table-card,.ucf-modal,.ucf-drawer{border-color:color-mix(in srgb,var(--ucf-border) 82%,transparent)}
.ucf-input:focus,.ucf-select:focus,.ucf-textarea:focus{border-color:var(--ucf-orange)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ucf-orange) 16%,transparent)!important}

/* Quick Peek 2.0 */
.ucf-peek-layer{background:rgba(7,21,34,.42)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important}
body.ucf-theme-mode-light .ucf-peek-layer{background:rgba(17,32,51,.28)!important}
.ucf-peek-drawer{width:min(var(--ucf-v49-drawer-width),94vw)!important;background:var(--ucf-panel)!important;border-left:1px solid color-mix(in srgb,var(--ucf-border) 78%,transparent)!important;box-shadow:var(--ucf-v49-shadow-drawer)!important}
.ucf-peek-head{align-items:center!important;padding:18px 20px 16px!important;background:var(--ucf-panel)!important;border-bottom-color:var(--ucf-border-soft)!important}
.ucf-peek-identity{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.ucf-peek-avatar{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--ucf-orange) 12%,var(--ucf-panel-2));border:1px solid color-mix(in srgb,var(--ucf-orange) 24%,var(--ucf-border));color:var(--ucf-orange);font-weight:800;font-size:13px;letter-spacing:.02em}
.ucf-peek-eyebrow{display:block;color:var(--ucf-muted)!important;font-size:10px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.1em!important;line-height:1.2}
.ucf-peek-title{margin:4px 0 0!important;color:var(--ucf-text)!important;font-size:21px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucf-peek-subline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:6px;color:var(--ucf-muted);font-size:11px}
.ucf-peek-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:700}
.ucf-peek-close{width:34px!important;height:34px!important;border-radius:10px!important;border-color:var(--ucf-border-soft)!important;background:var(--ucf-panel-2)!important;color:var(--ucf-muted)!important;display:grid;place-items:center;line-height:1}
.ucf-peek-close:hover{color:var(--ucf-text)!important;border-color:color-mix(in srgb,var(--ucf-orange) 34%,var(--ucf-border))!important;background:color-mix(in srgb,var(--ucf-orange) 7%,var(--ucf-panel-2))!important}
.ucf-peek-body{display:block!important;padding:8px 20px 20px!important;background:var(--ucf-panel)!important}
.ucf-peek-section{padding:16px 0;border-bottom:1px solid var(--ucf-border-soft)}.ucf-peek-section:last-child{border-bottom:0}
.ucf-peek-section-title{margin:0 0 9px;color:var(--ucf-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.ucf-peek-list{display:grid;gap:0}.ucf-peek-row{display:grid;grid-template-columns:minmax(112px,.8fr) minmax(0,1.2fr);align-items:start;gap:14px;padding:7px 0}
.ucf-peek-row-label{color:var(--ucf-muted);font-size:11px;line-height:1.4}.ucf-peek-row-value{color:var(--ucf-text);font-size:13.5px;font-weight:600;line-height:1.4;text-align:right;overflow-wrap:anywhere}
.ucf-peek-row-value a{color:inherit;text-decoration:none}.ucf-peek-row-value a:hover{color:var(--ucf-orange)}
.ucf-peek-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.ucf-peek-quick-actions a,.ucf-peek-quick-actions button{min-height:38px;border:1px solid var(--ucf-border-soft);border-radius:9px;background:var(--ucf-panel-2);color:var(--ucf-text);display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;font-size:11px;font-weight:650;cursor:pointer}.ucf-peek-quick-actions a:hover,.ucf-peek-quick-actions button:hover{border-color:color-mix(in srgb,var(--ucf-orange) 38%,var(--ucf-border));background:color-mix(in srgb,var(--ucf-orange) 7%,var(--ucf-panel-2));color:var(--ucf-orange)}
.ucf-peek-foot{padding:12px 20px 14px!important;background:var(--ucf-panel)!important;border-top-color:var(--ucf-border-soft)!important}.ucf-peek-foot .ucf-button{min-height:40px}.ucf-peek-foot .ucf-button-primary{padding-inline:16px}
.ucf-peek-loading{color:var(--ucf-muted)}

/* Light and dark drawer surfaces are intentionally opaque. */
body.ucf-theme-professional.ucf-theme-mode-dark .ucf-peek-drawer{background:#10263a!important;--ucf-panel:#10263a;--ucf-panel-2:#163047;--ucf-border:#27445d;--ucf-border-soft:#1f3a50;--ucf-text:#f4f7fa;--ucf-muted:#91a5b8}
body.ucf-theme-professional.ucf-theme-mode-light .ucf-peek-drawer{background:#fff!important;--ucf-panel:#fff;--ucf-panel-2:#f8fafc;--ucf-border:#dde4ec;--ucf-border-soft:#edf1f5;--ucf-text:#172033;--ucf-muted:#667085}

@media(max-width:900px){
  .ucf-peek-drawer{width:100%!important;height:min(80dvh,760px)!important;border-left:0!important;border-top:1px solid var(--ucf-border)!important;border-radius:18px 18px 0 0!important;box-shadow:0 -18px 54px rgba(0,0,0,.24)!important}
  .ucf-peek-head{padding:15px 16px 13px!important}.ucf-peek-body{padding:4px 16px 18px!important}.ucf-peek-foot{padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important}
}
@media(max-width:520px){
  .ucf-peek-avatar{width:40px;height:40px;border-radius:11px}.ucf-peek-identity{grid-template-columns:40px minmax(0,1fr);gap:10px}.ucf-peek-title{font-size:19px!important}
  .ucf-peek-row{grid-template-columns:1fr;gap:2px;padding:7px 0}.ucf-peek-row-value{text-align:left}.ucf-peek-quick-actions{grid-template-columns:1fr 1fr}.ucf-peek-foot{display:grid!important;grid-template-columns:1fr 1.35fr}.ucf-peek-foot .ucf-button{width:100%}
}
@media(prefers-reduced-motion:reduce){.ucf-peek-drawer,.ucf-nav-item{transition:none!important;animation:none!important}}


/* ---- source: light-mode-contrast-hotfix.css ---- */
/* Udyojak CRM v4.9.1 — Light Mode Contrast & Mobile Data Card Readability Hotfix
 * Presentation-only successor layer loaded after v4.9.0 visual hierarchy.
 * No CRM workflow, finance-state, REST, PDF or document-rendering logic is changed here.
 */
:root{
  --ucf-v491-light-primary:#1f2937;
  --ucf-v491-light-secondary:#475467;
  --ucf-v491-light-muted:#667085;
  --ucf-v491-light-placeholder:#667085;
  --ucf-v491-light-success:#16855b;
  --ucf-v491-light-warning:#b45309;
  --ucf-v491-light-danger:#c4323b;
  --ucf-v491-light-info:#2869c7;
}

/* Prevent legacy dark-table literals (#dedfe4/#f4f4f6) from washing out against light surfaces. */
body.ucf-theme-mode-light .ucf-table td{
  color:var(--ucf-v491-light-secondary)!important;
  opacity:1!important;
}
body.ucf-theme-mode-light .ucf-table .ucf-person-name,
body.ucf-theme-mode-light .ucf-table .ucf-cell-primary,
body.ucf-theme-mode-light .ucf-table td>strong,
body.ucf-theme-mode-light .ucf-table td>b{
  color:var(--ucf-v491-light-primary)!important;
  opacity:1!important;
}
body.ucf-theme-mode-light .ucf-table .ucf-person-email,
body.ucf-theme-mode-light .ucf-table .ucf-cell-sub,
body.ucf-theme-mode-light .ucf-table .ucf-table-sub{
  color:var(--ucf-v491-light-muted)!important;
  opacity:1!important;
}
body.ucf-theme-mode-light .ucf-person-avatar{
  background:#e9eef5!important;
  border:1px solid #d7e0ea!important;
  color:#344054!important;
}

/* Business data values are always full-opacity in light mode. */
body.ucf-theme-mode-light .ucf-responsive-table td,
body.ucf-theme-mode-light .ucf-responsive-table td>div,
body.ucf-theme-mode-light .ucf-responsive-table .ucf-person,
body.ucf-theme-mode-light .ucf-responsive-table .ucf-person-name,
body.ucf-theme-mode-light .ucf-responsive-table .ucf-person-email{
  opacity:1!important;
}
body.ucf-theme-mode-light .ucf-responsive-table td:before{
  color:var(--ucf-v491-light-muted)!important;
  opacity:1!important;
}

/* Financial hierarchy: neutral totals, semantic balances/dues. */
body.ucf-theme-mode-light .ucf-table td[data-ucf-financial="1"]{
  color:var(--ucf-v491-light-primary)!important;
  font-weight:700!important;
}
body.ucf-theme-mode-light .ucf-table td[data-ucf-financial-tone="success"],
body.ucf-theme-mode-light .ucf-money-positive,
body.ucf-theme-mode-light .ucf-financial-zero,
body.ucf-theme-mode-light .ucf-financial-positive{
  color:var(--ucf-v491-light-success)!important;
}
body.ucf-theme-mode-light .ucf-table td[data-ucf-financial-tone="warning"],
body.ucf-theme-mode-light .ucf-financial-warning{
  color:var(--ucf-v491-light-warning)!important;
}
body.ucf-theme-mode-light .ucf-table td[data-ucf-financial-tone="danger"],
body.ucf-theme-mode-light .ucf-money-danger,
body.ucf-theme-mode-light .ucf-financial-danger{
  color:var(--ucf-v491-light-danger)!important;
}

/* Client-status colors are explicitly light-mode safe instead of inheriting legacy dark colors. */
body.ucf-theme-mode-light .ucf-client-status.is-active{
  color:#175cd3!important;background:#eff8ff!important;border-color:#b2ddff!important;
}
body.ucf-theme-mode-light .ucf-client-status.is-pending{
  color:#a95508!important;background:#fff5e8!important;border-color:#f1c893!important;
}
body.ucf-theme-mode-light .ucf-client-status.is-inactive{
  color:#667085!important;background:#f2f4f7!important;border-color:#d0d5dd!important;
}

/* Inputs/search: typed data and placeholders must remain readable in bright iPhone/light conditions. */
body.ucf-theme-mode-light .ucf-input,
body.ucf-theme-mode-light .ucf-select,
body.ucf-theme-mode-light .ucf-textarea{
  color:var(--ucf-v491-light-primary)!important;
}
body.ucf-theme-mode-light .ucf-input::placeholder,
body.ucf-theme-mode-light .ucf-textarea::placeholder{
  color:var(--ucf-v491-light-placeholder)!important;
  opacity:1!important;
}

/* Mobile bottom navigation: inactive is slate, active remains restrained Udyojak orange. */
@media(max-width:760px){
  body.ucf-theme-mode-light .ucf-mobile-nav button{color:var(--ucf-v491-light-muted)!important;opacity:1!important}
  body.ucf-theme-mode-light .ucf-mobile-nav button.is-active{color:#b45309!important}
  body.ucf-theme-mode-light .ucf-mobile-nav{border-top-color:#dde4ec!important}
}

/* Phone-card readability: stack the label above the value on narrow phones. */
@media(max-width:430px){
  .ucf-responsive-table td{
    grid-template-columns:1fr!important;
    align-items:start!important;
    gap:4px!important;
    padding:11px 12px!important;
  }
  .ucf-responsive-table td:before{margin:0 0 1px!important;font-size:10px!important;line-height:1.2!important;letter-spacing:.055em!important}
  .ucf-responsive-table td[data-ucf-financial="1"]{text-align:left!important}
  .ucf-responsive-table .ucf-row-actions{justify-content:flex-start!important}
  .ucf-responsive-table .ucf-person{width:100%;min-width:0}
  .ucf-responsive-table .ucf-person-name{font-size:15px!important;font-weight:700!important;line-height:1.3}
  .ucf-responsive-table .ucf-person-email{font-size:11px!important}
  .ucf-responsive-table .ucf-client-status{min-width:0;max-width:100%;padding-inline:12px}
  body.ucf-theme-mode-light .ucf-responsive-table tr{background:#fff!important}
  body.ucf-theme-mode-light .ucf-responsive-table td{border-bottom-color:#e7edf3!important}
}

/* Slightly wider phones retain a compact two-column card but strengthen values. */
@media(min-width:431px) and (max-width:600px){
  body.ucf-theme-mode-light .ucf-responsive-table td{color:var(--ucf-v491-light-secondary)!important}
  body.ucf-theme-mode-light .ucf-responsive-table td[data-label="Client"] .ucf-person-name{color:var(--ucf-v491-light-primary)!important}
}

@media(prefers-contrast:more){
  body.ucf-theme-mode-light .ucf-table td{color:#27364a!important}
  body.ucf-theme-mode-light .ucf-table .ucf-person-name{color:#111827!important}
  body.ucf-theme-mode-light .ucf-responsive-table td:before{color:#475467!important}
}


/* ---- source: semantic-typography-contract.css ---- */
/* Udyojak CRM v4.9.2 — Semantic Token & Typography Contract
 * Final presentation-layer contract for semantic colors, accessible accent text,
 * typography scale governance and light/dark consistency.
 * No CRM workflow, finance calculation, REST mutation or document rendering logic.
 */
:root{
  /* Typography scale: workspace UI only. */
  --ucf-type-micro:11px;
  --ucf-type-label:12px;
  --ucf-type-table:13.5px;
  --ucf-type-body:14px;
  --ucf-type-value:15px;
  --ucf-type-section:18px;
  --ucf-type-page:26px;
  --ucf-type-kpi:28px;

  /* Canonical brand/accent layer. --ucf-purple remains a backward-compatible source alias. */
  --ucf-accent:var(--ucf-purple,#f58220);
  --ucf-accent-hover:#d96c0f;
  --ucf-accent-soft:rgba(245,130,32,.12);
  --ucf-accent-text:#b45309;
  --ucf-on-accent:#172033;

  /* Categorical pipeline colors: separate from semantic business state. */
  --ucf-pipeline-new-fg:#175cd3;--ucf-pipeline-new-bg:#eff8ff;--ucf-pipeline-new-border:#b2ddff;
  --ucf-pipeline-connected-fg:#087e8b;--ucf-pipeline-connected-bg:#ecfdff;--ucf-pipeline-connected-border:#a5f0f5;
  --ucf-pipeline-interested-fg:#4338ca;--ucf-pipeline-interested-bg:#eef2ff;--ucf-pipeline-interested-border:#c7d2fe;
  --ucf-pipeline-proposal-fg:#6941c6;--ucf-pipeline-proposal-bg:#f4f3ff;--ucf-pipeline-proposal-border:#d9d6fe;
  --ucf-pipeline-negotiation-fg:#a95508;--ucf-pipeline-negotiation-bg:#fff5e8;--ucf-pipeline-negotiation-border:#f1c893;

  /* Canonical light semantic foreground / soft / border / solid / on-solid tokens. */
  --ucf-status-success-fg:#147a4f;
  --ucf-status-success-bg:#e8f7ef;
  --ucf-status-success-border:#a7e3c3;
  --ucf-status-success-solid:#147a4f;
  --ucf-status-success-on-solid:#ffffff;

  --ucf-status-warning-fg:#a95508;
  --ucf-status-warning-bg:#fff5e8;
  --ucf-status-warning-border:#f1c893;
  --ucf-status-warning-solid:#a95508;
  --ucf-status-warning-on-solid:#ffffff;

  --ucf-status-danger-fg:#b42318;
  --ucf-status-danger-bg:#fef3f2;
  --ucf-status-danger-border:#f4b8b3;
  --ucf-status-danger-solid:#b42318;
  --ucf-status-danger-on-solid:#ffffff;

  --ucf-status-info-fg:#175cd3;
  --ucf-status-info-bg:#eff8ff;
  --ucf-status-info-border:#b2ddff;
  --ucf-status-info-solid:#175cd3;
  --ucf-status-info-on-solid:#ffffff;

  --ucf-status-neutral-fg:#475467;
  --ucf-status-neutral-bg:#f2f4f7;
  --ucf-status-neutral-border:#d0d5dd;
  --ucf-status-neutral-solid:#475467;
  --ucf-status-neutral-on-solid:#ffffff;

  /* Compatibility bridge: older v4.9 consumers inherit the canonical system. */
  --ucf-v49-success:var(--ucf-status-success-fg);
  --ucf-v49-success-soft:var(--ucf-status-success-bg);
  --ucf-v49-warning:var(--ucf-status-warning-fg);
  --ucf-v49-warning-soft:var(--ucf-status-warning-bg);
  --ucf-v49-danger:var(--ucf-status-danger-fg);
  --ucf-v49-danger-soft:var(--ucf-status-danger-bg);
  --ucf-v49-info:var(--ucf-status-info-fg);
  --ucf-v49-info-soft:var(--ucf-status-info-bg);
  --ucf-v49-neutral:var(--ucf-status-neutral-fg);
  --ucf-v49-neutral-soft:var(--ucf-status-neutral-bg);

  /* Legacy semantic aliases only; brand orange remains an accent, never a warning token. */
  --ucf-green:var(--ucf-status-success-fg);
  --ucf-red:var(--ucf-status-danger-fg);
  --ucf-blue:var(--ucf-status-info-fg);
}

body.ucf-theme-mode-dark{
  --ucf-pipeline-new-fg:#71a7ff;--ucf-pipeline-new-bg:rgba(113,167,255,.13);--ucf-pipeline-new-border:rgba(113,167,255,.31);
  --ucf-pipeline-connected-fg:#67e8f9;--ucf-pipeline-connected-bg:rgba(103,232,249,.11);--ucf-pipeline-connected-border:rgba(103,232,249,.28);
  --ucf-pipeline-interested-fg:#a5b4fc;--ucf-pipeline-interested-bg:rgba(165,180,252,.11);--ucf-pipeline-interested-border:rgba(165,180,252,.28);
  --ucf-pipeline-proposal-fg:#c4b5fd;--ucf-pipeline-proposal-bg:rgba(196,181,253,.11);--ucf-pipeline-proposal-border:rgba(196,181,253,.28);
  --ucf-pipeline-negotiation-fg:#fdba74;--ucf-pipeline-negotiation-bg:rgba(253,186,116,.12);--ucf-pipeline-negotiation-border:rgba(253,186,116,.30);

  --ucf-status-success-fg:#5ee0a4;
  --ucf-status-success-bg:rgba(94,224,164,.12);
  --ucf-status-success-border:rgba(94,224,164,.30);
  --ucf-status-success-solid:#147a4f;
  --ucf-status-success-on-solid:#ffffff;

  --ucf-status-warning-fg:#fdba74;
  --ucf-status-warning-bg:rgba(253,186,116,.12);
  --ucf-status-warning-border:rgba(253,186,116,.30);
  --ucf-status-warning-solid:#9a4c05;
  --ucf-status-warning-on-solid:#ffffff;

  --ucf-status-danger-fg:#ff7c83;
  --ucf-status-danger-bg:rgba(255,124,131,.12);
  --ucf-status-danger-border:rgba(255,124,131,.30);
  --ucf-status-danger-solid:#a91d28;
  --ucf-status-danger-on-solid:#ffffff;

  --ucf-status-info-fg:#71a7ff;
  --ucf-status-info-bg:rgba(113,167,255,.13);
  --ucf-status-info-border:rgba(113,167,255,.31);
  --ucf-status-info-solid:#1e5eb8;
  --ucf-status-info-on-solid:#ffffff;

  --ucf-status-neutral-fg:#a7b4c2;
  --ucf-status-neutral-bg:rgba(167,180,194,.11);
  --ucf-status-neutral-border:rgba(167,180,194,.28);
  --ucf-status-neutral-solid:#4d5b69;
  --ucf-status-neutral-on-solid:#ffffff;
}

/* Explicit semantic badges. Pipeline/channel classes intentionally stay outside this contract. */
[data-ucf-semantic]{
  font-size:var(--ucf-type-micro)!important;
  font-weight:700!important;
  line-height:1.25!important;
  border:1px solid transparent!important;
}
[data-ucf-semantic="success"]{color:var(--ucf-status-success-fg)!important;background:var(--ucf-status-success-bg)!important;border-color:var(--ucf-status-success-border)!important}
[data-ucf-semantic="warning"]{color:var(--ucf-status-warning-fg)!important;background:var(--ucf-status-warning-bg)!important;border-color:var(--ucf-status-warning-border)!important}
[data-ucf-semantic="danger"]{color:var(--ucf-status-danger-fg)!important;background:var(--ucf-status-danger-bg)!important;border-color:var(--ucf-status-danger-border)!important}
[data-ucf-semantic="info"]{color:var(--ucf-status-info-fg)!important;background:var(--ucf-status-info-bg)!important;border-color:var(--ucf-status-info-border)!important}
[data-ucf-semantic="neutral"]{color:var(--ucf-status-neutral-fg)!important;background:var(--ucf-status-neutral-bg)!important;border-color:var(--ucf-status-neutral-border)!important}

body.ucf-status-style-filled [data-ucf-semantic="success"]{color:var(--ucf-status-success-on-solid)!important;background:var(--ucf-status-success-solid)!important;border-color:var(--ucf-status-success-solid)!important}
body.ucf-status-style-filled [data-ucf-semantic="warning"]{color:var(--ucf-status-warning-on-solid)!important;background:var(--ucf-status-warning-solid)!important;border-color:var(--ucf-status-warning-solid)!important}
body.ucf-status-style-filled [data-ucf-semantic="danger"]{color:var(--ucf-status-danger-on-solid)!important;background:var(--ucf-status-danger-solid)!important;border-color:var(--ucf-status-danger-solid)!important}
body.ucf-status-style-filled [data-ucf-semantic="info"]{color:var(--ucf-status-info-on-solid)!important;background:var(--ucf-status-info-solid)!important;border-color:var(--ucf-status-info-solid)!important}
body.ucf-status-style-filled [data-ucf-semantic="neutral"]{color:var(--ucf-status-neutral-on-solid)!important;background:var(--ucf-status-neutral-solid)!important;border-color:var(--ucf-status-neutral-solid)!important}
body.ucf-status-style-outline [data-ucf-semantic]{background:transparent!important}

/* Lead pipeline/category colors stay independent from semantic status colors. */
.ucf-stage-new{color:var(--ucf-pipeline-new-fg)!important;background:var(--ucf-pipeline-new-bg)!important;border-color:var(--ucf-pipeline-new-border)!important}
.ucf-stage-connected,.ucf-stage-contacted{color:var(--ucf-pipeline-connected-fg)!important;background:var(--ucf-pipeline-connected-bg)!important;border-color:var(--ucf-pipeline-connected-border)!important}
.ucf-stage-interested,.ucf-stage-qualified,.ucf-status-interest{color:var(--ucf-pipeline-interested-fg)!important;background:var(--ucf-pipeline-interested-bg)!important;border-color:var(--ucf-pipeline-interested-border)!important}
.ucf-stage-proposal,.ucf-stage-proposal-sent{color:var(--ucf-pipeline-proposal-fg)!important;background:var(--ucf-pipeline-proposal-bg)!important;border-color:var(--ucf-pipeline-proposal-border)!important}
.ucf-stage-negotiation{color:var(--ucf-pipeline-negotiation-fg)!important;background:var(--ucf-pipeline-negotiation-bg)!important;border-color:var(--ucf-pipeline-negotiation-border)!important}
.ucf-stage-won{color:var(--ucf-status-success-fg)!important;background:var(--ucf-status-success-bg)!important;border-color:var(--ucf-status-success-border)!important}
.ucf-stage-lost{color:var(--ucf-status-danger-fg)!important;background:var(--ucf-status-danger-bg)!important;border-color:var(--ucf-status-danger-border)!important}

/* Explicit status class alignment: active is informational, inactive is neutral. */
.ucf-client-status.is-active{color:var(--ucf-status-info-fg)!important;background:var(--ucf-status-info-bg)!important;border-color:var(--ucf-status-info-border)!important}
.ucf-client-status.is-pending{color:var(--ucf-status-warning-fg)!important;background:var(--ucf-status-warning-bg)!important;border-color:var(--ucf-status-warning-border)!important}
.ucf-client-status.is-inactive{color:var(--ucf-status-neutral-fg)!important;background:var(--ucf-status-neutral-bg)!important;border-color:var(--ucf-status-neutral-border)!important}
.ucf-payment-pill.is-paid{color:var(--ucf-status-success-fg)!important;background:var(--ucf-status-success-bg)!important;border-color:var(--ucf-status-success-border)!important}
.ucf-payment-pill.is-partially-paid,.ucf-payment-pill.is-unpaid{color:var(--ucf-status-warning-fg)!important;background:var(--ucf-status-warning-bg)!important;border-color:var(--ucf-status-warning-border)!important}

/* Typography governance — no ordinary workspace copy below 11px. */
.ucf-app{font-size:var(--ucf-type-body)}
.ucf-page-head h1{font-size:var(--ucf-type-page);font-weight:700}
.ucf-card-title,.ucf-modal-head h2,.ucf-modal-head h3{font-weight:700}
.ucf-table{font-size:var(--ucf-type-table)}
.ucf-table td{font-size:var(--ucf-type-table)!important;font-weight:500}
.ucf-table th{font-size:var(--ucf-type-label)!important;font-weight:700!important;letter-spacing:.035em}
.ucf-table td:first-child,.ucf-table .ucf-cell-primary,.ucf-person-name{font-weight:600}
.ucf-cell-sub,.ucf-table-sub,.ucf-person-email{font-size:var(--ucf-type-label)!important}
.ucf-stage-pill,.ucf-payment-pill,.ucf-channel-pill,.ucf-client-status,.ucf-badge{font-size:var(--ucf-type-micro)!important;font-weight:700}
.ucf-field label,.ucf-form-grid label>span,.ucf-lead-form-grid label>span{font-size:var(--ucf-type-label)!important;font-weight:600!important}
.ucf-metric-label,.ucf-metric-delta,.ucf-empty-state small,.ucf-pagination,.ucf-sidebar-context small{font-size:var(--ucf-type-micro)!important}
.ucf-metric-value{font-size:clamp(22px,var(--ucf-type-kpi),30px);font-weight:700}
.ucf-doc-id,.ucf-table td[data-ucf-doc-id="1"],.ucf-peek-code{font-size:12px!important;font-weight:600}
.ucf-button{font-weight:600}
.ucf-mobile-nav button{font-size:11px!important;font-weight:600!important}
.ucf-mobile-nav button.is-active{font-weight:700!important}

/* Light-mode global text contract: headers/labels must not inherit old dark-oriented literals. */
body.ucf-theme-mode-light .ucf-table th,
body.ucf-theme-mode-light .ucf-field label,
body.ucf-theme-mode-light .ucf-form-grid label>span,
body.ucf-theme-mode-light .ucf-lead-form-grid label>span,
body.ucf-theme-mode-light .ucf-responsive-table td:before{
  color:#475467!important;
  opacity:1!important;
}
body.ucf-theme-mode-light .ucf-table td,
body.ucf-theme-mode-light .ucf-input,
body.ucf-theme-mode-light .ucf-select,
body.ucf-theme-mode-light .ucf-textarea{
  color:#1f2937;
  opacity:1!important;
}
body.ucf-theme-mode-light .ucf-cell-sub,
body.ucf-theme-mode-light .ucf-table-sub,
body.ucf-theme-mode-light .ucf-person-email,
body.ucf-theme-mode-light .ucf-muted-copy{
  color:#667085!important;
  opacity:1!important;
}

/* Dark labels remain visibly subordinate without falling below readable contrast. */
body.ucf-theme-mode-dark .ucf-table th,
body.ucf-theme-mode-dark .ucf-field label,
body.ucf-theme-mode-dark .ucf-form-grid label>span,
body.ucf-theme-mode-dark .ucf-lead-form-grid label>span,
body.ucf-theme-mode-dark .ucf-responsive-table td:before{
  color:#afc0cf!important;
}

/* Finance meaning, not sign, owns color. */
.ucf-list-amount.is-positive,.ucf-list-amount.is-negative{color:var(--ucf-text)!important}
.ucf-financial-positive,.ucf-money-positive,[data-ucf-financial-tone="success"]{color:var(--ucf-status-success-fg)!important}
.ucf-financial-warning,[data-ucf-financial-tone="warning"]{color:var(--ucf-status-warning-fg)!important}
.ucf-financial-danger,.ucf-money-danger,[data-ucf-financial-tone="danger"]{color:var(--ucf-status-danger-fg)!important}
.ucf-financial-zero{color:var(--ucf-status-success-fg)!important}
[data-ucf-financial-tone="neutral"]{color:var(--ucf-text)!important}

/* Accent contract. Small text uses --ucf-accent-text; filled surfaces use --ucf-on-accent. */
.ucf-link-button,.ucf-appearance-live-chip,.ucf-appearance-status strong{color:var(--ucf-accent-text)!important}
.ucf-button-primary,.ucf-subscribe,.ucf-module-button.is-active{
  background:var(--ucf-accent)!important;
  border-color:var(--ucf-accent)!important;
  color:var(--ucf-on-accent)!important;
}
.ucf-button-primary:hover,.ucf-subscribe:hover{background:var(--ucf-accent-hover)!important;border-color:var(--ucf-accent-hover)!important}
.ucf-app :focus-visible{outline-color:var(--ucf-accent)!important}
body.ucf-sidebar-menu-soft .ucf-nav-item.is-active{box-shadow:inset 3px 0 0 var(--ucf-accent)!important}
body.ucf-theme-mode-light .ucf-mobile-nav button.is-active{color:var(--ucf-accent-text)!important}

/* Narrow phones: labels minimum 11px, values 14px+, aligned left. */
@media(max-width:430px){
  .ucf-responsive-table td:before{font-size:var(--ucf-type-micro)!important;font-weight:700!important}
  .ucf-responsive-table td{font-size:14px!important;text-align:left!important}
  .ucf-responsive-table .ucf-person-name{font-size:15px!important;font-weight:700!important}
  .ucf-responsive-table .ucf-person-email{font-size:12px!important}
}

/* Appearance / workspace builder microcopy governance. */
.ucf-workspace-profile-row b,.ucf-workspace-profile-row small,.ucf-workspace-profile-row button,
.ucf-widget-editbar b,.ucf-widget-edit-actions button,.ucf-focus-exit kbd,
.ucf-module-button>small,.ucf-omni-checks span,.ucf-omni-health,.ucf-sales-timeline-item time,
.ucf-appearance-card-v44 small,.ucf-appearance-card-v44 p{
  font-size:var(--ucf-type-micro)!important;
}

/* v4.7 builder microcopy. */
.ucf-v470-head small,.ucf-v470-head p,.ucf-v470-tabs button,.ucf-v470-section>p,
.ucf-v470-field>span,.ucf-v470-check,.ucf-v470-widget-row b,.ucf-v470-note,
.ucf-v470-history-row b,.ucf-v470-history-row small,.ucf-v470-history-row button,
.ucf-v470-order-tools button,
.ucf-appearance-card>small,.ucf-appearance-card>em,.ucf-appearance-help span,
.ucf-page-search-trigger kbd,.ucf-ui-search-head kbd,.ucf-ui-search-result small,.ucf-ui-search-result em{
  font-size:var(--ucf-type-micro)!important;
}

@media(prefers-contrast:more){
  :root{
    --ucf-status-neutral-fg:#344054;
  }
  body.ucf-theme-mode-dark{--ucf-status-neutral-fg:#c8d2dc}
}


/* ---- source: cross-component-consistency.css ---- */
/* Udyojak CRM v4.9.3 — Cross-Component Visual Consistency Hotfix
 * Presentation-only repair layer. Keeps the v4.9.2 semantic/typography contract
 * authoritative while fixing components that still inherited legacy dark colors,
 * stretch rules, narrow columns or overly dense desktop header styling.
 */
:root{
  --ucf-v493-modal-width:720px;
  --ucf-v493-expense-id:132px;
  --ucf-v493-nav-inactive:#afc0cf;
}

/* 1) Modal theme inheritance: no dark body inside a light workspace. */
.ucf-modal{
  width:min(var(--ucf-v493-modal-width),calc(100vw - 24px));
  background:var(--ucf-panel)!important;
  color:var(--ucf-text)!important;
  border-color:var(--ucf-border)!important;
}
.ucf-modal-head,.ucf-modal-body,.ucf-modal-foot,.ucf-modal-actions{
  color:var(--ucf-text)!important;
  border-color:var(--ucf-border-soft)!important;
}
.ucf-modal-head,.ucf-modal-foot,.ucf-modal-actions{background:var(--ucf-panel)!important}
.ucf-modal-body{background:var(--ucf-panel)!important}
.ucf-modal .ucf-field>span,.ucf-modal .ucf-field>label,
.ucf-modal .ucf-form-grid label>span,.ucf-modal label>span{
  color:var(--ucf-text-secondary,var(--ucf-muted))!important;
  font-size:var(--ucf-type-label,12px)!important;
  font-weight:600!important;
  letter-spacing:.025em!important;
}
body.ucf-theme-mode-light .ucf-modal{
  --ucf-panel:#ffffff;
  --ucf-panel-2:#f8fafc;
  --ucf-panel-3:#f2f4f7;
  --ucf-text:#1f2937;
  --ucf-muted:#667085;
  --ucf-border:#d0d5dd;
  --ucf-border-soft:#e4e7ec;
  background:#fff!important;
  color:#1f2937!important;
  box-shadow:0 24px 70px rgba(16,24,40,.22)!important;
}
body.ucf-theme-mode-light .ucf-modal .ucf-input,
body.ucf-theme-mode-light .ucf-modal .ucf-select,
body.ucf-theme-mode-light .ucf-modal .ucf-textarea{
  background:#fff!important;color:#1f2937!important;border-color:#d0d5dd!important;opacity:1!important;
}
body.ucf-theme-mode-light .ucf-modal .ucf-input::placeholder,
body.ucf-theme-mode-light .ucf-modal .ucf-textarea::placeholder{color:#667085!important;opacity:1!important}
body.ucf-theme-mode-light .ucf-modal .ucf-select option{background:#fff!important;color:#1f2937!important}
body.ucf-theme-mode-dark .ucf-modal .ucf-input,
body.ucf-theme-mode-dark .ucf-modal .ucf-select,
body.ucf-theme-mode-dark .ucf-modal .ucf-textarea{
  background:#132b41!important;color:#f4f7fa!important;border-color:#344e63!important;
}
body.ucf-theme-mode-dark .ucf-modal .ucf-select option{background:#132b41!important;color:#f4f7fa!important}

/* 2) Expense table governance. IDs/dates must never become vertical letter stacks. */
.ucf-expense-table{min-width:1100px!important;table-layout:auto!important}
.ucf-expense-table th:nth-child(1),.ucf-expense-table td:nth-child(1){min-width:var(--ucf-v493-expense-id);width:var(--ucf-v493-expense-id);white-space:nowrap!important;word-break:normal!important}
.ucf-expense-table th:nth-child(2),.ucf-expense-table td:nth-child(2){min-width:190px}
.ucf-expense-table th:nth-child(3),.ucf-expense-table td:nth-child(3){min-width:120px}
.ucf-expense-table th:nth-child(4),.ucf-expense-table td:nth-child(4){min-width:160px}
.ucf-expense-table th:nth-child(5),.ucf-expense-table td:nth-child(5){min-width:150px}
.ucf-expense-table th:nth-child(6),.ucf-expense-table td:nth-child(6){min-width:100px}
.ucf-expense-table th:nth-child(7),.ucf-expense-table td:nth-child(7){min-width:100px;text-align:right!important;white-space:nowrap!important}
.ucf-expense-table th:nth-child(8),.ucf-expense-table td:nth-child(8){min-width:132px}
.ucf-expense-table tbody tr{height:auto!important}
.ucf-expense-table td{vertical-align:middle!important;word-break:normal}
.ucf-expense-table td:first-child>b,.ucf-expense-table td:first-child>.ucf-cell-sub{white-space:nowrap!important}
.ucf-expense-table .ucf-cell-sub{line-height:1.25!important}

/* 3) Pills never wrap in desktop tables; recurring is informational. */
.ucf-source-pill,.ucf-stage-pill,.ucf-status-pill,.ucf-payment-pill,.ucf-channel-pill,.ucf-client-status{
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;max-width:none!important;line-height:1.2!important;
}
.ucf-expense-table .ucf-stage-active{color:var(--ucf-status-info-fg)!important;background:var(--ucf-status-info-bg)!important;border-color:var(--ucf-status-info-border)!important}
.ucf-source-pill{display:inline-flex!important;width:max-content!important;max-width:100%!important}

/* 4) Lead list should size to content instead of stretching to the insights rail. */
.ucf-leads-layout{align-items:start!important}
.ucf-leads-layout>.ucf-table-card{align-self:start!important;height:auto!important;min-height:0!important}
.ucf-leads-layout>.ucf-insights{align-self:start!important}

/* 5) Stage tabs: inactive means readable neutral, selected means soft stage/accent. */
body.ucf-theme-mode-light .ucf-stage-tab:not(.is-active){color:#475467!important;background:#fff!important;border-color:#d0d5dd!important}
body.ucf-theme-mode-dark .ucf-stage-tab:not(.is-active){color:#c4ced8!important;background:var(--ucf-panel)!important;border-color:var(--ucf-border)!important}
.ucf-stage-tab.is-active{background:var(--ucf-accent-soft)!important;border-color:color-mix(in srgb,var(--ucf-accent) 55%,var(--ucf-border))!important;color:var(--ucf-accent-text)!important}
.ucf-stage-tab b{white-space:nowrap}

/* 6) CEO helpers are descriptions, not success states. */
.ucf-ceo-dashboard .ucf-metric-delta{color:var(--ucf-muted)!important}
.ucf-ceo-dashboard .ucf-metric-delta[data-ucf-semantic="success"]{color:var(--ucf-status-success-fg)!important}

/* Zero-state semantic suppression. Warning/danger labels with a numeric zero are neutral. */
[data-ucf-zero-semantic="neutral"],
.ucf-money-danger[data-ucf-zero-semantic="neutral"],
.ucf-money-positive[data-ucf-zero-semantic="neutral"]{color:var(--ucf-status-neutral-fg)!important}
[data-ucf-zero-semantic="success"]{color:var(--ucf-status-success-fg)!important}
[data-ucf-metric-tone="warning"]{color:var(--ucf-status-warning-fg)!important}
[data-ucf-metric-tone="danger"]{color:var(--ucf-status-danger-fg)!important}
[data-ucf-metric-tone="success"]{color:var(--ucf-status-success-fg)!important}
[data-ucf-metric-tone="neutral"]{color:var(--ucf-text)!important}

/* 7) Sidebar contrast and a calmer default active item. */
body.ucf-sidebar-color-dark .ucf-nav-item{color:var(--ucf-v493-nav-inactive)!important}
body.ucf-sidebar-color-dark .ucf-nav-icon{opacity:1!important;color:#91a5b8}
body.ucf-sidebar-color-dark .ucf-nav-item:hover{color:#f4f7fa!important;background:rgba(255,255,255,.06)!important}
body.ucf-sidebar-menu-soft .ucf-nav-item.is-active{
  color:var(--ucf-accent-text)!important;background:var(--ucf-accent-soft)!important;box-shadow:inset 3px 0 0 var(--ucf-accent)!important;
}
body.ucf-sidebar-color-dark.ucf-sidebar-menu-soft .ucf-nav-item.is-active{color:#ffb16a!important;background:rgba(245,130,32,.12)!important}
body.ucf-sidebar-color-dark.ucf-sidebar-menu-soft .ucf-nav-item.is-active .ucf-nav-icon{color:#ff9a44!important}

/* 8) Header cleanup: reserve solid orange for Quick Create, not module state. */
.ucf-module-button.is-active{background:var(--ucf-accent-soft)!important;color:var(--ucf-accent-text)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ucf-accent) 42%,transparent)!important}
body.ucf-topbar-dark .ucf-module-button.is-active,body.ucf-topbar-brand .ucf-module-button.is-active{color:#ffb16a!important;background:rgba(245,130,32,.12)!important}
.ucf-subscribe{background:var(--ucf-accent)!important;color:var(--ucf-on-accent)!important;box-shadow:none!important}
.ucf-top-actions{gap:7px!important}

@media(max-width:1780px) and (min-width:761px){
  .ucf-modulebar{gap:4px!important;padding-inline:8px!important}
  .ucf-module-button{min-width:38px!important;width:38px!important;padding-inline:0!important;gap:0!important}
  .ucf-module-button:not(.is-active)>small{display:none!important}
  .ucf-module-button.is-active{width:auto!important;min-width:78px!important;padding-inline:10px!important;gap:6px!important}
  .ucf-top-actions{padding-right:10px!important}
}
@media(max-width:1420px) and (min-width:761px){
  .ucf-module-button.is-active>small{display:none!important}
  .ucf-module-button.is-active{width:38px!important;min-width:38px!important;padding-inline:0!important}
  .ucf-top-actions>[data-ui-density-toggle],.ucf-top-actions>[data-route="theme"]{display:none!important}
}

/* 9) Empty month filter gets a real readable label after JS normalizes its input type. */
.ucf-expense-toolbar [data-expense-filter="month"]::placeholder{color:var(--ucf-muted)!important;opacity:1!important}
.ucf-expense-toolbar [data-expense-filter="month"]{min-width:168px}

/* 10) Mobile modal remains full-width and theme-consistent. */
@media(max-width:760px){
  .ucf-modal{width:100%!important;max-width:none!important;border-radius:16px 16px 0 0!important}
  .ucf-modal .ucf-form-grid{grid-template-columns:1fr!important}
}


/* ---- source: executive-ui-refinement.css ---- */
/* Udyojak CRM v4.9.4 — Executive UI Refinement
 * Presentation-only layer. Simplifies global navigation, disciplines brand color,
 * declutters executive dashboards and normalizes iconography without touching CRM data.
 */
:root{
  --ucf-v494-header-h:60px;
  --ucf-v494-header-gap:8px;
  --ucf-v494-toolbar-h:40px;
  --ucf-v494-menu-shadow:0 18px 48px rgba(15,23,42,.16);
  --ucf-v494-neutral-hover:color-mix(in srgb,var(--ucf-text) 5%,transparent);
  --ucf-v494-neutral-border:color-mix(in srgb,var(--ucf-border) 84%,transparent);
}

/* 1) Global header is navigation context + global actions only. */
@media(min-width:761px){
  .ucf-topbar{
    min-height:var(--ucf-v494-header-h)!important;
    height:var(--ucf-v494-header-h)!important;
    --ucf-topbar:var(--ucf-v494-header-h)!important;
    grid-template-columns:var(--ucf-sidebar) minmax(150px,220px) minmax(0,1fr)!important;
  }
  .ucf-brand{position:relative;min-width:0;padding:0 12px!important;border-right:1px solid var(--ucf-border-soft)!important}
  .ucf-brand::after{display:none!important}
  .ucf-modulebar{display:none!important}
  .ucf-top-actions{grid-column:3;justify-self:stretch;justify-content:flex-end;gap:var(--ucf-v494-header-gap)!important;padding:0 14px 0 8px!important;min-width:0!important}
  .ucf-top-actions .ucf-page-search-trigger{margin-right:auto;min-width:230px;max-width:320px;height:var(--ucf-v494-toolbar-h)!important}
  .ucf-top-actions .ucf-subscribe{height:var(--ucf-v494-toolbar-h)!important;display:inline-flex!important;align-items:center;gap:7px;border-radius:9px!important;padding:0 14px!important;white-space:nowrap}
  .ucf-top-actions .ucf-icon-button,.ucf-top-actions .ucf-mobile-menu-trigger{width:var(--ucf-v494-toolbar-h)!important;height:var(--ucf-v494-toolbar-h)!important;border-radius:9px!important}
  .ucf-top-actions .ucf-user{min-width:0;padding-left:4px!important}
  .ucf-top-actions .ucf-user-meta{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ucf-top-actions .ucf-user-meta small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* 2) Workspace Switcher replaces the horizontal module ribbon. */
.ucf-exec-workspace{position:relative;grid-column:2;align-self:center;justify-self:start;min-width:0;padding-left:10px;z-index:36}
.ucf-exec-workspace-button{
  height:40px;max-width:210px;display:inline-flex;align-items:center;gap:9px;padding:0 10px 0 9px;
  border:1px solid var(--ucf-v494-neutral-border);border-radius:10px;background:var(--ucf-panel);color:var(--ucf-text);
  cursor:pointer;font:inherit;font-weight:650;box-shadow:0 1px 2px rgba(15,23,42,.03);white-space:nowrap;
}
.ucf-exec-workspace-button:hover{background:var(--ucf-v494-neutral-hover);border-color:color-mix(in srgb,var(--ucf-border) 62%,var(--ucf-accent) 38%)}
.ucf-exec-workspace-button:focus-visible{outline:2px solid var(--ucf-accent);outline-offset:2px}
.ucf-exec-workspace-icon{width:20px;height:20px;display:grid;place-items:center;color:var(--ucf-accent-text);flex:0 0 20px}
.ucf-exec-workspace-copy{display:flex;align-items:center;gap:7px;min-width:0}
.ucf-exec-workspace-copy strong{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis}
.ucf-exec-env{font-size:9px;line-height:1;padding:4px 6px;border-radius:999px;text-transform:uppercase;letter-spacing:.05em;background:#fff8e7;color:#8a4b00;border:1px solid #f6d999;font-weight:750}
body.ucf-mode-production .ucf-exec-env{background:#ecfdf3;color:#067647;border-color:#abefc6}
.ucf-exec-workspace-chevron{width:16px;height:16px;margin-left:auto;color:var(--ucf-muted);transition:transform .16s ease}
.ucf-exec-workspace-button[aria-expanded="true"] .ucf-exec-workspace-chevron{transform:rotate(180deg)}
.ucf-exec-workspace-menu{
  position:absolute;top:46px;left:10px;width:min(290px,calc(100vw - 28px));padding:8px;border:1px solid var(--ucf-border);
  border-radius:12px;background:var(--ucf-panel);box-shadow:var(--ucf-v494-menu-shadow);display:none;z-index:100;
}
.ucf-exec-workspace.is-open .ucf-exec-workspace-menu{display:block}
.ucf-exec-workspace-menu::before{content:'Switch workspace';display:block;padding:6px 9px 8px;color:var(--ucf-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.ucf-exec-workspace-option{width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:7px 9px;border:0;border-radius:9px;background:transparent;color:var(--ucf-text);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.ucf-exec-workspace-option:hover{background:var(--ucf-v494-neutral-hover)}
.ucf-exec-workspace-option.is-active{background:var(--ucf-accent-soft);color:var(--ucf-accent-text);font-weight:700}
.ucf-exec-workspace-option svg{width:18px;height:18px;flex:0 0 18px}
.ucf-exec-workspace-option small{margin-left:auto;color:var(--ucf-muted);font-size:10px}

/* 3) Secondary header tools are hidden from the main line and exposed in one More menu. */
@media(min-width:761px){
  .ucf-top-actions>[data-ui-density-toggle],
  .ucf-top-actions>[data-route="theme"],
  .ucf-top-actions>[data-workspace-focus],
  .ucf-top-actions>[data-workspace-open],
  .ucf-top-actions>[data-v470-builder]{display:none!important}
  .ucf-top-actions>.ucf-network-badge:not(.is-offline){display:none!important}
}
.ucf-exec-tools{position:relative;display:inline-flex;align-items:center}
.ucf-exec-tools-button{border:0;background:transparent;color:var(--ucf-muted);width:40px;height:40px;border-radius:9px;display:grid;place-items:center;cursor:pointer}
.ucf-exec-tools-button:hover{background:var(--ucf-v494-neutral-hover);color:var(--ucf-text)}
.ucf-exec-tools-button:focus-visible{outline:2px solid var(--ucf-accent);outline-offset:2px}
.ucf-exec-tools-menu{position:absolute;right:0;top:45px;width:220px;padding:7px;border:1px solid var(--ucf-border);border-radius:12px;background:var(--ucf-panel);box-shadow:var(--ucf-v494-menu-shadow);display:none;z-index:100}
.ucf-exec-tools.is-open .ucf-exec-tools-menu{display:block}
.ucf-exec-tools-menu button{width:100%;min-height:38px;display:flex;align-items:center;gap:10px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--ucf-text);font:inherit;font-size:12.5px;text-align:left;cursor:pointer}
.ucf-exec-tools-menu button:hover{background:var(--ucf-v494-neutral-hover)}
.ucf-exec-tools-menu svg{width:17px;height:17px;color:var(--ucf-muted)}

/* 4) Brand orange is reserved for CTA / indicator, not generic navigation surfaces. */
.ucf-subscribe,.ucf-button-primary{background:var(--ucf-accent)!important;color:var(--ucf-on-accent)!important}
.ucf-nav-item.is-active{background:var(--ucf-accent-soft)!important;color:var(--ucf-accent-text)!important;box-shadow:inset 3px 0 0 var(--ucf-accent)!important}
body.ucf-sidebar-color-dark .ucf-nav-item.is-active{background:rgba(245,130,32,.11)!important;color:#ffb16a!important}
.ucf-nav-item:hover:not(.is-active){background:var(--ucf-v494-neutral-hover)!important}

/* 5) Unified inline SVG iconography. */
.ucf-exec-svg{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ucf-nav-icon .ucf-exec-svg,.ucf-module-button>span .ucf-exec-svg{width:18px;height:18px}
.ucf-mobile-nav button>span:first-child .ucf-exec-svg{width:21px;height:21px}
.ucf-quick-action>span:first-child .ucf-exec-svg{width:20px;height:20px}
.ucf-mini-button .ucf-exec-svg{width:16px;height:16px;margin:auto}
.ucf-page-search-trigger>span .ucf-exec-svg,.ucf-subscribe .ucf-exec-svg,.ucf-notification-button .ucf-exec-svg,.ucf-shell-collapse .ucf-exec-svg,.ucf-mobile-menu-trigger .ucf-exec-svg{width:18px;height:18px}

/* 6) CEO dashboard default: five business summary cards + five primary metrics, extras on demand. */
.ucf-ceo-dashboard .ucf-ceo-summary{gap:10px!important;margin-bottom:14px!important}
.ucf-ceo-dashboard .ucf-ceo-summary>div{box-shadow:none!important;background:var(--ucf-panel)!important}
.ucf-ceo-dashboard .ucf-ceo-metric-grid{gap:10px!important}
.ucf-ceo-dashboard .ucf-ceo-metric-grid.is-exec-collapsed>.ucf-metric:nth-child(n+6){display:none!important}
.ucf-exec-metric-controls{display:flex;justify-content:flex-end;align-items:center;min-height:34px;margin:-3px 0 8px}
.ucf-exec-metric-toggle{border:0;background:transparent;color:var(--ucf-muted);font:inherit;font-size:12px;font-weight:650;cursor:pointer;padding:7px 9px;border-radius:8px;display:inline-flex;align-items:center;gap:6px}
.ucf-exec-metric-toggle:hover{background:var(--ucf-v494-neutral-hover);color:var(--ucf-text)}
.ucf-ceo-dashboard .ucf-metric{box-shadow:none!important}
.ucf-ceo-dashboard .ucf-metric-icon{background:color-mix(in srgb,var(--ucf-text) 6%,transparent)!important;color:var(--ucf-muted)!important}
.ucf-ceo-dashboard .ucf-metric[data-exec-tone="info"] .ucf-metric-icon{background:var(--ucf-status-info-bg)!important;color:var(--ucf-status-info-fg)!important}
.ucf-ceo-dashboard .ucf-metric[data-exec-tone="success"] .ucf-metric-icon{background:var(--ucf-status-success-bg)!important;color:var(--ucf-status-success-fg)!important}
.ucf-ceo-dashboard .ucf-metric[data-exec-tone="warning"] .ucf-metric-icon{background:var(--ucf-status-warning-bg)!important;color:var(--ucf-status-warning-fg)!important}
.ucf-ceo-dashboard .ucf-metric[data-exec-tone="danger"] .ucf-metric-icon{background:var(--ucf-status-danger-bg)!important;color:var(--ucf-status-danger-fg)!important}
.ucf-ceo-dashboard .ucf-section{margin-top:22px!important}
.ucf-ceo-dashboard .ucf-section-heading{margin-bottom:10px!important}
.ucf-ceo-dashboard .ucf-section-heading p{color:var(--ucf-muted)!important;max-width:720px}

/* 7) Quick Actions and common action icons are neutral until action semantics require color. */
.ucf-quick-action>span:first-child{color:var(--ucf-muted)!important}
.ucf-quick-action:hover>span:first-child{color:var(--ucf-accent-text)!important}
.ucf-quick-action{min-height:78px!important;box-shadow:none!important}

/* 8) Header / sidebar layering. */
body.ucf-theme-mode-light .ucf-topbar{background:#fff!important}
body.ucf-theme-mode-light .ucf-exec-workspace-button,body.ucf-theme-mode-light .ucf-exec-workspace-menu,body.ucf-theme-mode-light .ucf-exec-tools-menu{background:#fff}
body.ucf-theme-mode-dark .ucf-topbar{background:#0b2236!important}
body.ucf-theme-mode-dark .ucf-sidebar{background:#071827!important}
body.ucf-theme-mode-dark .ucf-exec-workspace-button,body.ucf-theme-mode-dark .ucf-exec-workspace-menu,body.ucf-theme-mode-dark .ucf-exec-tools-menu{background:#10263a}

/* 9) Laptop compaction never truncates module labels because the ribbon is gone. */
@media(max-width:1280px) and (min-width:761px){
  .ucf-topbar{grid-template-columns:var(--ucf-sidebar) minmax(135px,190px) minmax(0,1fr)!important}
  .ucf-top-actions .ucf-page-search-trigger{min-width:180px;max-width:240px}
  .ucf-top-actions .ucf-user-meta small{display:none}
  .ucf-exec-workspace-button{max-width:180px}
}
@media(max-width:1040px) and (min-width:761px){
  .ucf-top-actions .ucf-page-search-trigger{min-width:40px;width:40px;max-width:40px;padding:0!important;justify-content:center}
  .ucf-page-search-trigger>b,.ucf-page-search-trigger>kbd{display:none!important}
  .ucf-top-actions .ucf-user-meta{display:none!important}
  .ucf-exec-workspace-copy strong{max-width:90px}
}

/* 10) Mobile remains bottom-nav first; no desktop workspace switcher clutter. */
@media(max-width:760px){
  .ucf-exec-workspace,.ucf-exec-tools{display:none!important}
  .ucf-mobile-nav button{font-size:11px!important;font-weight:600}
  .ucf-mobile-nav button>span:first-child{font-size:0!important}
}

@media(prefers-reduced-motion:reduce){
  .ucf-exec-workspace-chevron{transition:none}
}


/* ---- source: business-workspace.css ---- */
/* Udyojak CRM v5.0.0 — Unified Business Workspace, Executive Dashboard & Command Center. */
:root{
  --ucf-v5-gap:14px;
  --ucf-v5-card-radius:12px;
  --ucf-v5-card-shadow:0 1px 2px rgba(15,23,42,.045);
}

/* Unified page rhythm. */
.ucf-v5-page-head{margin-bottom:14px!important;gap:16px!important}
.ucf-v5-page-head h1{letter-spacing:-.025em}
.ucf-v5-page-head p{max-width:760px}
.ucf-v5-toolbar{gap:10px!important;margin-bottom:12px!important}
.ucf-v5-card-title{min-height:34px}
.ucf-card{border-radius:var(--ucf-v5-card-radius)!important;box-shadow:var(--ucf-v5-card-shadow)}

/* Executive intelligence composition. */
.ucf-v5-executive-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.9fr);gap:var(--ucf-v5-gap);align-items:stretch}
.ucf-v5-card{padding:16px;min-width:0}
.ucf-v5-cashflow{grid-row:span 2}
.ucf-v5-activity{grid-column:2}
.ucf-v5-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ucf-v5-card-head>div{min-width:0}
.ucf-v5-card-head small{display:block;color:var(--ucf-muted);font-size:11px;font-weight:700;letter-spacing:.06em;margin-bottom:3px}
.ucf-v5-card-head h2{margin:0;color:var(--ucf-text);font-size:17px;line-height:1.2;letter-spacing:-.015em}
.ucf-v5-kpi-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}
.ucf-v5-kpi-row>div{padding:10px 11px;border:1px solid var(--ucf-border-soft,var(--ucf-border));border-radius:10px;background:color-mix(in srgb,var(--ucf-panel2) 72%,transparent)}
.ucf-v5-kpi-row small{display:block;color:var(--ucf-muted);font-size:11px;margin-bottom:4px}
.ucf-v5-kpi-row b{display:block;color:var(--ucf-text);font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}

.ucf-v5-chart{min-height:185px;padding-top:3px}
.ucf-v5-chart svg{display:block;width:100%;height:132px;overflow:visible}
.ucf-v5-chart svg polyline{fill:none;stroke-width:3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.ucf-v5-chart svg .received{stroke:var(--ucf-status-success-fg,#147a4f)}
.ucf-v5-chart svg .expenses{stroke:var(--ucf-accent,#f58220)}
.ucf-v5-chart svg .grid{stroke:var(--ucf-border-soft,var(--ucf-border));stroke-width:1;vector-effect:non-scaling-stroke}
.ucf-v5-chart-labels{display:flex;justify-content:space-between;color:var(--ucf-muted);font-size:11px;margin-top:2px}
.ucf-v5-legend{display:flex;gap:16px;align-items:center;margin-top:9px;color:var(--ucf-muted);font-size:11px}
.ucf-v5-legend span::before{content:'';display:inline-block;width:8px;height:8px;border-radius:99px;margin-right:6px;vertical-align:1px;background:currentColor}
.ucf-v5-legend .is-received{color:var(--ucf-status-success-fg,#147a4f)}
.ucf-v5-legend .is-expense{color:var(--ucf-accent-text,#b45309)}

.ucf-v5-aging{display:grid;gap:10px}
.ucf-v5-aging>div>span{display:flex;justify-content:space-between;gap:12px;font-size:11.5px;margin-bottom:5px}
.ucf-v5-aging b{color:var(--ucf-text);font-weight:600}
.ucf-v5-aging em{color:var(--ucf-muted);font-style:normal;font-variant-numeric:tabular-nums}
.ucf-v5-aging i{display:block;height:7px;border-radius:99px;background:var(--ucf-panel3);overflow:hidden}
.ucf-v5-aging u{display:block;height:100%;min-width:2px;border-radius:inherit;background:var(--ucf-status-info-fg,#175cd3);text-decoration:none}

.ucf-v5-activity-list{display:grid;gap:1px}
.ucf-v5-activity-list button{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:start;width:100%;padding:9px 5px;border:0;border-bottom:1px solid var(--ucf-border-soft,var(--ucf-border));background:transparent;color:var(--ucf-text);font:inherit;text-align:left;cursor:pointer}
.ucf-v5-activity-list button:last-child{border-bottom:0}
.ucf-v5-activity-list button:hover{background:color-mix(in srgb,var(--ucf-text) 3%,transparent);border-radius:8px}
.ucf-v5-activity-list b{display:block;font-size:12px;font-weight:650;margin-bottom:2px}
.ucf-v5-activity-list small{display:block;color:var(--ucf-muted);font-size:11px;line-height:1.35}
.ucf-v5-activity-list time{color:var(--ucf-muted);font-size:11px;white-space:nowrap}
.ucf-v5-activity-dot{width:7px;height:7px;margin-top:4px;border-radius:99px;background:var(--ucf-status-neutral-fg,#667085)}
.ucf-v5-activity-dot.is-success{background:var(--ucf-status-success-fg,#147a4f)}
.ucf-v5-activity-dot.is-info{background:var(--ucf-status-info-fg,#175cd3)}
.ucf-v5-activity-dot.is-warning{background:var(--ucf-status-warning-fg,#a95508)}
.ucf-v5-activity-dot.is-danger{background:var(--ucf-status-danger-fg,#b42318)}
.ucf-v5-empty{display:grid;place-items:center;min-height:110px;text-align:center;color:var(--ucf-muted);font-size:12px}

/* Command Center replaces separate command/search experiences while reusing the canonical CRM search API. */
.ucf-v5-command-layer{position:fixed;inset:0;z-index:100000;background:rgba(7,21,34,.42);backdrop-filter:blur(3px);display:flex;align-items:flex-start;justify-content:center;padding:10vh 18px 24px}
.ucf-v5-command{width:min(720px,100%);max-height:min(78vh,720px);display:flex;flex-direction:column;border:1px solid var(--ucf-border);border-radius:16px;background:var(--ucf-panel);box-shadow:0 28px 80px rgba(2,12,27,.25);overflow:hidden}
.ucf-v5-command-head{min-height:62px;display:flex;align-items:center;gap:11px;padding:0 16px;border-bottom:1px solid var(--ucf-border-soft,var(--ucf-border))}
.ucf-v5-command-head>span{width:20px;height:20px;color:var(--ucf-muted);display:grid;place-items:center}
.ucf-v5-command-head svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ucf-v5-command-head input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ucf-text);font:inherit;font-size:16px;font-weight:500}
.ucf-v5-command-head input::placeholder{color:var(--ucf-muted)}
.ucf-v5-command-head kbd{border:1px solid var(--ucf-border);border-radius:7px;padding:4px 7px;background:var(--ucf-panel2);color:var(--ucf-muted);font:inherit;font-size:11px}
.ucf-v5-command-body{padding:10px;overflow:auto;min-height:240px}
.ucf-v5-command-section>h3{margin:5px 8px 7px;color:var(--ucf-muted);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.ucf-v5-command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ucf-v5-command-grid button{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:10px;border:1px solid var(--ucf-border-soft,var(--ucf-border));border-radius:10px;background:var(--ucf-panel2);color:var(--ucf-text);font:inherit;text-align:left;cursor:pointer}
.ucf-v5-command-grid button:hover{border-color:color-mix(in srgb,var(--ucf-accent) 40%,var(--ucf-border));background:var(--ucf-accent-soft)}
.ucf-v5-command-grid button>span{grid-row:1/3;width:32px;height:32px;border-radius:8px;background:var(--ucf-panel);display:grid;place-items:center;color:var(--ucf-muted)}
.ucf-v5-command-grid svg,.ucf-v5-command-result svg{width:17px;height:17px}
.ucf-v5-command-grid b{font-size:12.5px}.ucf-v5-command-grid small{color:var(--ucf-muted);font-size:11px;line-height:1.3}
.ucf-v5-command-result{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 10px;border:0;border-radius:9px;background:transparent;color:var(--ucf-text);font:inherit;text-align:left;cursor:pointer}
.ucf-v5-command-result:hover,.ucf-v5-command-result.is-active{background:var(--ucf-accent-soft)}
.ucf-v5-command-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--ucf-border-soft,var(--ucf-border));border-radius:8px;color:var(--ucf-muted);background:var(--ucf-panel2)}
.ucf-v5-command-result b{display:block;font-size:12.5px}.ucf-v5-command-result small{display:block;color:var(--ucf-muted);font-size:11px;margin-top:1px}.ucf-v5-command-result em{color:var(--ucf-muted);font-style:normal;font-size:11px;text-transform:capitalize}
.ucf-v5-command-hint,.ucf-v5-command-empty,.ucf-v5-command-loading{padding:22px 12px;color:var(--ucf-muted);font-size:11.5px;text-align:center}
.ucf-v5-command-empty b{display:block;color:var(--ucf-text);font-size:14px;margin-bottom:4px}.ucf-v5-command-empty small{display:block}
.ucf-v5-command footer{display:flex;gap:14px;padding:10px 16px;border-top:1px solid var(--ucf-border-soft,var(--ucf-border));color:var(--ucf-muted);font-size:11px}

/* Dashboard de-cluttering: v5 intelligence is primary, legacy detail remains available below. */
.ucf-ceo-dashboard>.ucf-v5-executive-grid+.ucf-exec-metric-controls{margin-top:6px}
.ucf-ceo-dashboard .ucf-section-heading h2{font-size:17px}
.ucf-ceo-dashboard .ucf-ceo-action-grid{gap:10px!important}

@media(max-width:1180px){.ucf-v5-executive-grid{grid-template-columns:1fr}.ucf-v5-cashflow{grid-row:auto}.ucf-v5-activity{grid-column:auto}.ucf-v5-activity-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}}
@media(max-width:760px){
  .ucf-v5-executive-grid{gap:10px}.ucf-v5-card{padding:13px}.ucf-v5-kpi-row{grid-template-columns:1fr 1fr}.ucf-v5-kpi-row>div:last-child{grid-column:1/-1}
  .ucf-v5-activity-list{grid-template-columns:1fr}.ucf-v5-activity-list time{display:none}
  .ucf-v5-command-layer{padding:0;align-items:flex-end;background:rgba(7,21,34,.36)}.ucf-v5-command{width:100%;max-height:88dvh;border-radius:18px 18px 0 0;border-bottom:0}.ucf-v5-command-head{min-height:58px}.ucf-v5-command-grid{grid-template-columns:1fr}.ucf-v5-command footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.ucf-v5-command-layer{backdrop-filter:none}}


/* ---- source: premium-executive-workspace.css ---- */
/*
 * Udyojak CRM v5.1.0 — Complete UI/UX Rebuild
 * Premium Executive Workspace · Compact Navigation · Modern Tables
 * Professional Forms · Mobile-First Experience
 *
 * This is the canonical final presentation layer. It intentionally loads after
 * all historical compatibility styles so one visual contract wins without
 * mutating CRM routes, payloads, database logic, or document templates.
 */
:root{
  --ucf-v51-sidebar:232px;
  --ucf-v51-sidebar-compact:76px;
  --ucf-v51-topbar:64px;
  --ucf-v51-page-max:1600px;
  --ucf-v51-page-x:24px;
  --ucf-v51-page-y:22px;
  --ucf-v51-gap:14px;
  --ucf-v51-radius:12px;
  --ucf-v51-radius-sm:9px;
  --ucf-v51-control:40px;
  --ucf-v51-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.05);
  --ucf-v51-shadow-menu:0 14px 34px rgba(15,23,42,.14),0 2px 8px rgba(15,23,42,.06);
  --ucf-v51-sidebar-bg:#0b1f33;
  --ucf-v51-sidebar-bg-2:#102a44;
  --ucf-v51-sidebar-text:#c9d6e3;
  --ucf-v51-sidebar-muted:#8397aa;
  --ucf-v51-sidebar-border:rgba(255,255,255,.075);
  --ucf-v51-sidebar-active:rgba(245,130,32,.13);
  --ucf-v51-sidebar-active-text:#ffb26f;
  --ucf-v51-canvas:#f6f8fb;
  --ucf-v51-surface:#ffffff;
  --ucf-v51-surface-2:#f9fafb;
  --ucf-v51-surface-3:#f2f4f7;
  --ucf-v51-border:#e4e7ec;
  --ucf-v51-border-strong:#d0d5dd;
  --ucf-v51-text:#101828;
  --ucf-v51-muted:#667085;
  --ucf-v51-subtle:#98a2b3;
  --ucf-v51-accent:#f58220;
  --ucf-v51-accent-hover:#db6c12;
  --ucf-v51-accent-soft:#fff4e8;
  --ucf-v51-accent-text:#a84d08;
  --ucf-v51-focus:rgba(245,130,32,.18);
  --ucf-v51-success:#067647;
  --ucf-v51-success-bg:#ecfdf3;
  --ucf-v51-warning:#b54708;
  --ucf-v51-warning-bg:#fffaeb;
  --ucf-v51-danger:#b42318;
  --ucf-v51-danger-bg:#fef3f2;
  --ucf-v51-info:#175cd3;
  --ucf-v51-info-bg:#eff8ff;
}

/* === Foundation: light-first executive workspace === */
html,body.ucf-standalone,body.ucf-app-page{background:var(--ucf-v51-canvas)!important;color:var(--ucf-v51-text)!important}
body.ucf-theme-mode-light,
body:not(.ucf-theme-mode-dark){
  --ucf-bg:var(--ucf-v51-canvas)!important;
  --ucf-shell:var(--ucf-v51-sidebar-bg)!important;
  --ucf-panel:var(--ucf-v51-surface)!important;
  --ucf-panel-2:var(--ucf-v51-surface-2)!important;
  --ucf-panel-3:var(--ucf-v51-surface-3)!important;
  --ucf-border:var(--ucf-v51-border)!important;
  --ucf-border-soft:#eef1f4!important;
  --ucf-text:var(--ucf-v51-text)!important;
  --ucf-muted:var(--ucf-v51-muted)!important;
  --ucf-purple:var(--ucf-v51-accent)!important;
  --ucf-purple-2:var(--ucf-v51-accent)!important;
  --ucf-purple-soft:var(--ucf-v51-accent-soft)!important;
  --ucf-topbar-bg:#fff!important;
  --ucf-nav-text:var(--ucf-v51-sidebar-text)!important;
  --ucf-card-top:#fff!important;
  --ucf-card-bottom:#fff!important;
  --ucf-radius:var(--ucf-v51-radius)!important;
}
body.ucf-theme-mode-dark{
  --ucf-v51-canvas:#07111d;
  --ucf-v51-surface:#0d1b2a;
  --ucf-v51-surface-2:#112337;
  --ucf-v51-surface-3:#162b42;
  --ucf-v51-border:#24384e;
  --ucf-v51-border-strong:#36506b;
  --ucf-v51-text:#f2f4f7;
  --ucf-v51-muted:#9aabc0;
  --ucf-v51-subtle:#71869b;
  --ucf-v51-accent-soft:rgba(245,130,32,.12);
  --ucf-v51-accent-text:#ffb16a;
  --ucf-v51-focus:rgba(245,130,32,.23);
  --ucf-v51-success-bg:rgba(18,183,106,.12);
  --ucf-v51-warning-bg:rgba(247,144,9,.12);
  --ucf-v51-danger-bg:rgba(240,68,56,.12);
  --ucf-v51-info-bg:rgba(46,144,250,.12);
}
body.ucf-v510-ui{font-feature-settings:"cv02","cv03","cv04","cv11";text-rendering:optimizeLegibility}
body.ucf-v510-ui .ucf-app{background:var(--ucf-v51-canvas)!important}

/* === Application shell === */
body.ucf-v510-ui .ucf-shell{
  --ucf-sidebar:var(--ucf-v51-sidebar)!important;
  --ucf-topbar:var(--ucf-v51-topbar)!important;
  height:100dvh!important;max-height:100dvh!important;
  grid-template-columns:var(--ucf-v51-sidebar) minmax(0,1fr)!important;
  grid-template-rows:var(--ucf-v51-topbar) minmax(0,1fr)!important;
  background:var(--ucf-v51-canvas)!important;
}
body.ucf-v510-ui .ucf-topbar{
  grid-template-columns:var(--ucf-v51-sidebar) minmax(180px,260px) minmax(0,1fr)!important;
  min-height:var(--ucf-v51-topbar)!important;
  border-bottom:1px solid var(--ucf-v51-border)!important;
  background:var(--ucf-v51-surface)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.025)!important;
  backdrop-filter:none!important;
}
body.ucf-v510-ui .ucf-brand{
  padding:0 16px!important;border-right:1px solid var(--ucf-v51-sidebar-border)!important;
  background:var(--ucf-v51-sidebar-bg)!important;gap:10px!important;
}
body.ucf-v510-ui .ucf-shell-brand-logo{
  width:158px!important;max-width:170px!important;height:42px!important;padding:3px 7px!important;
  border-radius:8px!important;box-shadow:none!important;border:1px solid rgba(255,255,255,.08)!important;
  object-fit:contain!important;background:#fff!important;
}
body.ucf-v510-ui .ucf-shell-brand-logo-compact{display:none!important}
body.ucf-v510-ui .ucf-shell-collapse{
  margin-left:auto!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.09)!important;background:rgba(255,255,255,.045)!important;
  border-radius:8px!important;color:#dbe5ee!important;cursor:pointer!important;
}
body.ucf-v510-ui .ucf-shell-collapse:hover{background:rgba(255,255,255,.09)!important}
body.ucf-v510-ui .ucf-modulebar{opacity:0!important;pointer-events:none!important;width:1px!important;min-width:1px!important;padding:0!important;overflow:hidden!important}
body.ucf-v510-ui .ucf-exec-workspace{grid-column:2!important;padding-left:14px!important}
body.ucf-v510-ui .ucf-exec-workspace-button{
  max-width:240px!important;height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0 8px!important;
}
body.ucf-v510-ui .ucf-exec-workspace-button:hover{background:var(--ucf-v51-surface-3)!important}
body.ucf-v510-ui .ucf-exec-workspace-icon{color:var(--ucf-v51-accent)!important}
body.ucf-v510-ui .ucf-exec-workspace-copy strong{font-size:13px!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-exec-workspace-menu,
body.ucf-v510-ui .ucf-exec-tools-menu{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;box-shadow:var(--ucf-v51-shadow-menu)!important}
body.ucf-v510-ui .ucf-top-actions{grid-column:3!important;justify-content:flex-end!important;gap:6px!important;padding:0 14px!important;min-width:0!important}
body.ucf-v510-ui .ucf-page-search-trigger{
  height:38px!important;min-width:210px!important;max-width:320px!important;border:1px solid var(--ucf-v51-border)!important;
  background:var(--ucf-v51-surface-2)!important;border-radius:9px!important;color:var(--ucf-v51-muted)!important;box-shadow:none!important;
}
body.ucf-v510-ui .ucf-page-search-trigger:hover{background:var(--ucf-v51-surface-3)!important;border-color:var(--ucf-v51-border-strong)!important}
body.ucf-v510-ui .ucf-page-search-trigger b{font-weight:500!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-page-search-trigger kbd{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-subtle)!important}
body.ucf-v510-ui .ucf-subscribe{
  min-height:38px!important;padding:0 13px!important;border-radius:9px!important;background:var(--ucf-v51-accent)!important;color:#fff!important;
  box-shadow:0 1px 2px rgba(168,77,8,.18)!important;font-size:12.5px!important;font-weight:700!important;
}
body.ucf-v510-ui .ucf-subscribe:hover{background:var(--ucf-v51-accent-hover)!important}
body.ucf-v510-ui .ucf-icon-button,body.ucf-v510-ui .ucf-exec-tools-button,body.ucf-v510-ui .ucf-mobile-menu-trigger{
  width:38px!important;height:38px!important;border-radius:9px!important;color:var(--ucf-v51-muted)!important;background:transparent!important;
}
body.ucf-v510-ui .ucf-icon-button:hover,body.ucf-v510-ui .ucf-exec-tools-button:hover{background:var(--ucf-v51-surface-3)!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-network-badge{font-size:10px!important;border-radius:999px!important}
body.ucf-v510-ui .ucf-user{margin-left:4px!important;padding:0 0 0 8px!important;border-left:1px solid var(--ucf-v51-border)!important}
body.ucf-v510-ui .ucf-user .ucf-avatar{width:34px!important;height:34px!important;background:#fff4e8!important;color:#a84d08!important;border:1px solid #fed7aa!important}
body.ucf-theme-mode-dark.ucf-v510-ui .ucf-user .ucf-avatar{background:rgba(245,130,32,.12)!important;border-color:rgba(245,130,32,.24)!important;color:#ffb16a!important}
body.ucf-v510-ui .ucf-user-meta{font-size:12.5px!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-user-meta small{font-size:10.5px!important;color:var(--ucf-v51-muted)!important}

/* === Sidebar: persistent, quiet, business-first === */
body.ucf-v510-ui .ucf-sidebar{
  grid-column:1!important;grid-row:2!important;padding:14px 10px calc(12px + var(--ucf-safe-bottom))!important;
  border-right:0!important;background:linear-gradient(180deg,var(--ucf-v51-sidebar-bg),#081a2b)!important;box-shadow:none!important;
}
body.ucf-v510-ui .ucf-sidebar-context{padding:5px 10px 12px!important;border-bottom:1px solid var(--ucf-v51-sidebar-border)!important;margin-bottom:10px!important}
body.ucf-v510-ui .ucf-sidebar-context small{color:var(--ucf-v51-sidebar-muted)!important;font-size:9px!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:700!important}
body.ucf-v510-ui .ucf-sidebar-context b{display:block!important;margin-top:4px!important;color:#f4f7fa!important;font-size:13px!important;font-weight:650!important}
body.ucf-v510-ui .ucf-sidebar-menu-search{margin:0 2px 10px!important;height:36px!important;border:1px solid var(--ucf-v51-sidebar-border)!important;border-radius:8px!important;background:rgba(255,255,255,.035)!important;color:var(--ucf-v51-sidebar-muted)!important}
body.ucf-v510-ui .ucf-sidebar-menu-search input{font-size:11.5px!important;color:#e8eef4!important}
body.ucf-v510-ui .ucf-sidebar-menu-search input::placeholder{color:#7790a6!important}
body.ucf-v510-ui .ucf-nav{gap:3px!important;padding-right:1px!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.14) transparent!important}
body.ucf-v510-ui .ucf-nav-item{
  min-height:40px!important;padding:8px 10px!important;border-radius:8px!important;color:var(--ucf-v51-sidebar-text)!important;
  background:transparent!important;font-size:12.5px!important;font-weight:550!important;box-shadow:none!important;border:1px solid transparent!important;
}
body.ucf-v510-ui .ucf-nav-item .ucf-nav-icon{width:20px!important;height:20px!important;color:#91a6ba!important;opacity:1!important}
body.ucf-v510-ui .ucf-nav-item:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}
body.ucf-v510-ui .ucf-nav-item.is-active{
  background:var(--ucf-v51-sidebar-active)!important;color:var(--ucf-v51-sidebar-active-text)!important;
  box-shadow:inset 3px 0 0 var(--ucf-v51-accent)!important;border-color:rgba(245,130,32,.08)!important;
}
body.ucf-v510-ui .ucf-nav-item.is-active .ucf-nav-icon{color:#ffad66!important}
body.ucf-v510-ui .ucf-sidebar-user{padding:11px 7px 3px!important;border-top:1px solid var(--ucf-v51-sidebar-border)!important;color:#e6edf4!important}
body.ucf-v510-ui .ucf-sidebar-user .ucf-avatar{width:34px!important;height:34px!important;background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.10)!important;color:#fff!important}
body.ucf-v510-ui .ucf-sidebar-user .ucf-user-meta{font-size:11.5px!important;color:#edf3f8!important}
body.ucf-v510-ui .ucf-sidebar-user .ucf-user-meta small{font-size:9.5px!important;color:var(--ucf-v51-sidebar-muted)!important}

/* === Main workspace / typography === */
body.ucf-v510-ui .ucf-main{background:var(--ucf-v51-canvas)!important}
body.ucf-v510-ui .ucf-page{max-width:var(--ucf-v51-page-max)!important;padding:var(--ucf-v51-page-y) var(--ucf-v51-page-x) 44px!important;margin:0 auto!important}
body.ucf-v510-ui .ucf-page-head,body.ucf-v510-ui .ucf-v5-page-head{align-items:center!important;margin-bottom:16px!important;gap:18px!important}
body.ucf-v510-ui .ucf-page-head h1,body.ucf-v510-ui .ucf-client-head h1{font-size:23px!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:720!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-page-head p{max-width:760px!important;font-size:12.5px!important;line-height:1.55!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-page-actions{gap:7px!important;align-items:center!important}
body.ucf-v510-ui .ucf-section{margin-top:16px!important}
body.ucf-v510-ui .ucf-section-heading{margin-bottom:9px!important}
body.ucf-v510-ui .ucf-section-heading h2{font-size:15px!important;font-weight:700!important;letter-spacing:-.01em!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-muted-copy,body.ucf-v510-ui .ucf-cell-sub{color:var(--ucf-v51-muted)!important}

/* === Buttons / controls === */
body.ucf-v510-ui .ucf-button{
  min-height:38px!important;padding:8px 12px!important;border:1px solid var(--ucf-v51-border-strong)!important;border-radius:8px!important;
  background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-text)!important;box-shadow:0 1px 2px rgba(16,24,40,.03)!important;
  font-size:12px!important;font-weight:650!important;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease!important;
}
body.ucf-v510-ui .ucf-button:hover{background:var(--ucf-v51-surface-2)!important;border-color:#98a2b3!important}
body.ucf-v510-ui .ucf-button-primary{border-color:var(--ucf-v51-accent)!important;background:var(--ucf-v51-accent)!important;color:#fff!important;box-shadow:0 1px 2px rgba(168,77,8,.18)!important}
body.ucf-v510-ui .ucf-button-primary:hover{background:var(--ucf-v51-accent-hover)!important;border-color:var(--ucf-v51-accent-hover)!important}
body.ucf-v510-ui .ucf-button-success{background:var(--ucf-v51-success-bg)!important;color:var(--ucf-v51-success)!important;border-color:color-mix(in srgb,var(--ucf-v51-success) 25%,var(--ucf-v51-border))!important}
body.ucf-v510-ui .ucf-button-danger,body.ucf-v510-ui .ucf-mini-danger{background:var(--ucf-v51-danger-bg)!important;color:var(--ucf-v51-danger)!important;border-color:color-mix(in srgb,var(--ucf-v51-danger) 22%,var(--ucf-v51-border))!important}
body.ucf-v510-ui .ucf-button:focus-visible,body.ucf-v510-ui button:focus-visible,body.ucf-v510-ui a:focus-visible{outline:2px solid var(--ucf-v51-accent)!important;outline-offset:2px!important}
body.ucf-v510-ui .ucf-input,body.ucf-v510-ui .ucf-select,body.ucf-v510-ui .ucf-textarea,
body.ucf-v510-ui input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body.ucf-v510-ui select,body.ucf-v510-ui textarea{
  min-height:var(--ucf-v51-control);border:1px solid var(--ucf-v51-border-strong)!important;border-radius:8px!important;
  background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-text)!important;box-shadow:0 1px 2px rgba(16,24,40,.025)!important;
  font-size:12.5px!important;outline:none!important;
}
body.ucf-v510-ui .ucf-input:focus,body.ucf-v510-ui .ucf-select:focus,body.ucf-v510-ui .ucf-textarea:focus,
body.ucf-v510-ui input:focus,body.ucf-v510-ui select:focus,body.ucf-v510-ui textarea:focus{border-color:var(--ucf-v51-accent)!important;box-shadow:0 0 0 3px var(--ucf-v51-focus)!important}
body.ucf-v510-ui input::placeholder,body.ucf-v510-ui textarea::placeholder{color:var(--ucf-v51-subtle)!important}

/* === Cards / KPIs === */
body.ucf-v510-ui .ucf-grid{gap:var(--ucf-v51-gap)!important}
body.ucf-v510-ui .ucf-card{
  border:1px solid var(--ucf-v51-border)!important;border-radius:var(--ucf-v51-radius)!important;
  background:var(--ucf-v51-surface)!important;box-shadow:var(--ucf-v51-shadow)!important;color:var(--ucf-v51-text)!important;
}
body.ucf-v510-ui .ucf-card-pad,body.ucf-v510-ui .ucf-v5-card{padding:15px!important}
body.ucf-v510-ui .ucf-card-title{font-size:12.5px!important;font-weight:700!important;margin-bottom:11px!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-card-title small{font-size:10.5px!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-metric{min-height:88px!important;padding:13px 14px!important;gap:11px!important;background:var(--ucf-v51-surface)!important}
body.ucf-v510-ui .ucf-metric-icon{width:38px!important;height:38px!important;border-radius:9px!important;background:var(--ucf-v51-surface-3)!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-metric-label{font-size:10.5px!important;font-weight:600!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-metric-value{font-size:20px!important;font-weight:730!important;color:var(--ucf-v51-text)!important;font-variant-numeric:tabular-nums!important}
body.ucf-v510-ui .ucf-metric-delta{font-size:9.5px!important}
body.ucf-v510-ui .ucf-ceo-summary>div,body.ucf-v510-ui .ucf-revenue-strip{background:var(--ucf-v51-surface)!important;border-color:var(--ucf-v51-border)!important;box-shadow:var(--ucf-v51-shadow)!important}
body.ucf-v510-ui .ucf-quick-actions{gap:8px!important}
body.ucf-v510-ui .ucf-quick-action{min-height:72px!important;border:1px solid var(--ucf-v51-border)!important;border-radius:10px!important;background:var(--ucf-v51-surface)!important;box-shadow:none!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-quick-action:hover{background:var(--ucf-v51-accent-soft)!important;border-color:color-mix(in srgb,var(--ucf-v51-accent) 35%,var(--ucf-v51-border))!important}
body.ucf-v510-ui .ucf-quick-action strong{font-size:10.5px!important}
body.ucf-v510-ui .ucf-quick-action>span:first-child{color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-quick-action:hover>span:first-child{color:var(--ucf-v51-accent-text)!important}

/* === v5 executive intelligence === */
body.ucf-v510-ui .ucf-v5-executive-grid{gap:14px!important;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr)!important}
body.ucf-v510-ui .ucf-v5-card-head small{font-size:9px!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-v5-card-head h2{font-size:15px!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-v5-kpi-row{gap:8px!important}
body.ucf-v510-ui .ucf-v5-kpi-row>div{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface-2)!important}
body.ucf-v510-ui .ucf-v5-kpi-row small{font-size:10px!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-v5-kpi-row b{font-size:16px!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-v5-chart svg .grid{stroke:var(--ucf-v51-border)!important}
body.ucf-v510-ui .ucf-v5-activity-list button{border-color:var(--ucf-v51-border)!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-v5-activity-list button:hover{background:var(--ucf-v51-surface-2)!important}

/* === Modern toolbars and filters === */
body.ucf-v510-ui .ucf-toolbar,body.ucf-v510-ui .ucf-client-toolbar,body.ucf-v510-ui .ucf-v5-toolbar,body.ucf-v510-ui .ucf-report-filterbar{
  gap:8px!important;margin:0 0 12px!important;padding:10px!important;border:1px solid var(--ucf-v51-border)!important;
  border-radius:10px!important;background:var(--ucf-v51-surface)!important;box-shadow:none!important;
}
body.ucf-v510-ui .ucf-toolbar .ucf-input,body.ucf-v510-ui .ucf-toolbar .ucf-select,body.ucf-v510-ui .ucf-client-toolbar .ucf-input,body.ucf-v510-ui .ucf-client-toolbar .ucf-select{min-height:38px!important}
body.ucf-v510-ui .ucf-search-wrap{min-width:220px!important}

/* === Tables: dense, readable, sticky === */
body.ucf-v510-ui .ucf-table-card{overflow:hidden!important}
body.ucf-v510-ui .ucf-table-wrap{overflow:auto!important;background:var(--ucf-v51-surface)!important;scrollbar-width:thin!important;scrollbar-color:#cbd5e1 transparent!important}
body.ucf-v510-ui .ucf-table{background:var(--ucf-v51-surface)!important;border-collapse:separate!important;border-spacing:0!important}
body.ucf-v510-ui .ucf-table th{
  position:sticky!important;top:0!important;z-index:4!important;padding:9px 11px!important;border-bottom:1px solid var(--ucf-v51-border)!important;
  background:var(--ucf-v51-surface-2)!important;color:#475467!important;font-size:9.5px!important;font-weight:700!important;
  text-transform:uppercase!important;letter-spacing:.035em!important;white-space:nowrap!important;
}
body.ucf-theme-mode-dark.ucf-v510-ui .ucf-table th{color:#aebed0!important}
body.ucf-v510-ui .ucf-table td{
  padding:10px 11px!important;border-bottom:1px solid #eef1f4!important;color:var(--ucf-v51-text)!important;
  font-size:11.5px!important;line-height:1.4!important;background:var(--ucf-v51-surface)!important;vertical-align:middle!important;
}
body.ucf-theme-mode-dark.ucf-v510-ui .ucf-table td{border-bottom-color:var(--ucf-v51-border)!important}
body.ucf-v510-ui .ucf-table tbody tr:last-child td{border-bottom:0!important}
body.ucf-v510-ui .ucf-table tbody tr:hover td{background:var(--ucf-v51-surface-2)!important}
body.ucf-v510-ui .ucf-person-avatar{width:30px!important;height:30px!important;border-radius:8px!important;background:var(--ucf-v51-surface-3)!important;color:var(--ucf-v51-muted)!important;border:1px solid var(--ucf-v51-border)!important}
body.ucf-v510-ui .ucf-person-name{font-size:11.5px!important;color:var(--ucf-v51-text)!important;font-weight:650!important}
body.ucf-v510-ui .ucf-person-email{font-size:9.5px!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-row-actions{gap:5px!important;justify-content:flex-end!important}
body.ucf-v510-ui .ucf-mini-button{width:30px!important;height:30px!important;border:1px solid var(--ucf-v51-border)!important;border-radius:7px!important;background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-mini-button:hover{background:var(--ucf-v51-surface-3)!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-pagination{border-top:1px solid var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-muted)!important;font-size:10.5px!important}
body.ucf-v510-ui .ucf-page-button{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-page-button.is-active{background:var(--ucf-v51-accent-soft)!important;border-color:#fdba74!important;color:var(--ucf-v51-accent-text)!important}

/* === Status semantics: never use accent orange for ordinary state === */
body.ucf-v510-ui .ucf-stage-pill,body.ucf-v510-ui .ucf-source-pill,body.ucf-v510-ui .ucf-status-pill,body.ucf-v510-ui .ucf-client-status,body.ucf-v510-ui .ucf-payment-pill{font-size:9.5px!important;font-weight:700!important;border-radius:999px!important;padding:4px 8px!important;box-shadow:none!important}
body.ucf-v510-ui .ucf-stage-new,body.ucf-v510-ui .ucf-status-info{background:var(--ucf-v51-info-bg)!important;color:var(--ucf-v51-info)!important;border-color:color-mix(in srgb,var(--ucf-v51-info) 18%,transparent)!important}
body.ucf-v510-ui .ucf-stage-qualified,body.ucf-v510-ui .ucf-stage-negotiation,body.ucf-v510-ui .ucf-status-warning{background:var(--ucf-v51-warning-bg)!important;color:var(--ucf-v51-warning)!important;border-color:color-mix(in srgb,var(--ucf-v51-warning) 18%,transparent)!important}
body.ucf-v510-ui .ucf-stage-won,body.ucf-v510-ui .ucf-status-success{background:var(--ucf-v51-success-bg)!important;color:var(--ucf-v51-success)!important;border-color:color-mix(in srgb,var(--ucf-v51-success) 18%,transparent)!important}
body.ucf-v510-ui .ucf-stage-lost,body.ucf-v510-ui .ucf-status-danger{background:var(--ucf-v51-danger-bg)!important;color:var(--ucf-v51-danger)!important;border-color:color-mix(in srgb,var(--ucf-v51-danger) 18%,transparent)!important}

/* === Detail workspaces / tabs === */
body.ucf-v510-ui .ucf-client-head,body.ucf-v510-ui .ucf-lead-head{padding-bottom:12px!important;margin-bottom:10px!important;border-bottom:1px solid var(--ucf-v51-border)!important}
body.ucf-v510-ui .ucf-client-contact-strip,body.ucf-v510-ui .ucf-client-actions{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important}
body.ucf-v510-ui .ucf-client-tabs,body.ucf-v510-ui .ucf-tabs{gap:2px!important;border-bottom:1px solid var(--ucf-v51-border)!important;background:transparent!important}
body.ucf-v510-ui .ucf-client-tab,body.ucf-v510-ui .ucf-tab{min-height:38px!important;padding:0 12px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--ucf-v51-muted)!important;font-size:11px!important;font-weight:650!important}
body.ucf-v510-ui .ucf-client-tab.is-active,body.ucf-v510-ui .ucf-tab.is-active{color:var(--ucf-v51-accent-text)!important;border-bottom-color:var(--ucf-v51-accent)!important;background:transparent!important}
body.ucf-v510-ui .ucf-info-card h3{font-size:12px!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-info-item small{font-size:9.5px!important;color:var(--ucf-v51-muted)!important}
body.ucf-v510-ui .ucf-info-item b{font-size:11.5px!important;color:var(--ucf-v51-text)!important}

/* === Forms and modals === */
body.ucf-v510-ui .ucf-modal-layer{padding:24px!important;background:rgba(15,23,42,.42)!important;backdrop-filter:blur(4px)!important}
body.ucf-v510-ui .ucf-modal{
  width:min(760px,100%)!important;max-height:min(88dvh,900px)!important;border:1px solid var(--ucf-v51-border)!important;
  border-radius:14px!important;background:var(--ucf-v51-surface)!important;box-shadow:0 24px 64px rgba(15,23,42,.22)!important;color:var(--ucf-v51-text)!important;
}
body.ucf-v510-ui .ucf-modal-head{position:sticky!important;top:0!important;z-index:8!important;min-height:58px!important;padding:12px 16px!important;border-bottom:1px solid var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important}
body.ucf-v510-ui .ucf-modal-head h2{font-size:16px!important;font-weight:700!important;color:var(--ucf-v51-text)!important}
body.ucf-v510-ui .ucf-modal-body{padding:16px!important;background:var(--ucf-v51-surface)!important}
body.ucf-v510-ui .ucf-form-grid{gap:13px 14px!important}
body.ucf-v510-ui .ucf-field>span{margin-bottom:5px!important;color:#344054!important;font-size:10.5px!important;font-weight:650!important}
body.ucf-theme-mode-dark.ucf-v510-ui .ucf-field>span{color:#cbd7e3!important}
body.ucf-v510-ui .ucf-field small{color:var(--ucf-v51-muted)!important;font-size:9.5px!important}
body.ucf-v510-ui .ucf-textarea{min-height:96px!important}
body.ucf-v510-ui .ucf-modal-foot{position:sticky!important;bottom:0!important;z-index:8!important;padding:11px 16px!important;border-top:1px solid var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;box-shadow:0 -6px 18px rgba(16,24,40,.025)!important}

/* === Command center === */
body.ucf-v510-ui .ucf-v5-command-layer{background:rgba(15,23,42,.38)!important;backdrop-filter:blur(5px)!important}
body.ucf-v510-ui .ucf-v5-command{border-color:var(--ucf-v51-border)!important;border-radius:14px!important;background:var(--ucf-v51-surface)!important;box-shadow:0 24px 70px rgba(15,23,42,.25)!important}
body.ucf-v510-ui .ucf-v5-command-head,body.ucf-v510-ui .ucf-v5-command footer{border-color:var(--ucf-v51-border)!important}
body.ucf-v510-ui .ucf-v5-command-grid button,body.ucf-v510-ui .ucf-v5-command-icon{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface-2)!important}
body.ucf-v510-ui .ucf-v5-command-grid button:hover,body.ucf-v510-ui .ucf-v5-command-result:hover,body.ucf-v510-ui .ucf-v5-command-result.is-active{background:var(--ucf-v51-accent-soft)!important}

/* === Mobile: app-like, no desktop compression === */
@media(max-width:760px){
  :root{--ucf-v51-page-x:12px;--ucf-v51-page-y:14px}
  body.ucf-v510-ui .ucf-shell{height:100dvh!important;grid-template-columns:1fr!important;grid-template-rows:58px minmax(0,1fr) calc(62px + var(--ucf-safe-bottom))!important}
  body.ucf-v510-ui .ucf-topbar{grid-column:1!important;grid-row:1!important;height:58px!important;grid-template-columns:minmax(0,1fr) auto!important;background:var(--ucf-v51-surface)!important;padding-top:var(--ucf-safe-top,0px)!important}
  body.ucf-v510-ui .ucf-brand{grid-column:1!important;background:var(--ucf-v51-surface)!important;border-right:0!important;padding:0 10px 0 12px!important}
  body.ucf-v510-ui .ucf-shell-brand-logo{width:122px!important;height:36px!important;border-color:var(--ucf-v51-border)!important}
  body.ucf-v510-ui .ucf-shell-collapse{display:none!important}
  body.ucf-v510-ui .ucf-exec-workspace,body.ucf-v510-ui .ucf-modulebar,body.ucf-v510-ui .ucf-page-search-trigger,body.ucf-v510-ui .ucf-network-badge,body.ucf-v510-ui .ucf-exec-tools,body.ucf-v510-ui .ucf-user{display:none!important}
  body.ucf-v510-ui .ucf-top-actions{grid-column:2!important;padding:0 9px 0 0!important;gap:4px!important}
  body.ucf-v510-ui .ucf-top-actions .ucf-subscribe{display:grid!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;place-items:center!important;border-radius:9px!important}
  body.ucf-v510-ui .ucf-top-actions .ucf-subscribe span{display:none!important}
  body.ucf-v510-ui .ucf-notification-button{display:grid!important}
  body.ucf-v510-ui .ucf-mobile-menu-trigger{display:grid!important;place-items:center!important}
  body.ucf-v510-ui .ucf-sidebar{display:none!important}
  body.ucf-v510-ui .ucf-main{grid-column:1!important;grid-row:2!important;overflow:auto!important;padding-bottom:0!important;overscroll-behavior-y:contain!important}
  body.ucf-v510-ui .ucf-page{padding:14px 12px 24px!important}
  body.ucf-v510-ui .ucf-page-head{display:block!important;margin-bottom:12px!important}
  body.ucf-v510-ui .ucf-page-head h1{font-size:20px!important;margin-bottom:4px!important}
  body.ucf-v510-ui .ucf-page-head p{font-size:11px!important;line-height:1.45!important}
  body.ucf-v510-ui .ucf-page-actions{margin-top:10px!important;display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important;scrollbar-width:none!important}
  body.ucf-v510-ui .ucf-page-actions::-webkit-scrollbar{display:none}
  body.ucf-v510-ui .ucf-page-actions .ucf-button{flex:0 0 auto!important;min-height:36px!important}
  body.ucf-v510-ui .ucf-grid-5,body.ucf-v510-ui .ucf-grid-4,body.ucf-v510-ui .ucf-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.ucf-v510-ui .ucf-grid-2{grid-template-columns:1fr!important}
  body.ucf-v510-ui .ucf-metric{min-height:78px!important;padding:10px!important;gap:8px!important}
  body.ucf-v510-ui .ucf-metric-icon{width:32px!important;height:32px!important}
  body.ucf-v510-ui .ucf-metric-value{font-size:16px!important}
  body.ucf-v510-ui .ucf-metric-label{font-size:9px!important}
  body.ucf-v510-ui .ucf-metric-delta{font-size:8.5px!important}
  body.ucf-v510-ui .ucf-quick-actions{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:3px!important;scrollbar-width:none!important}
  body.ucf-v510-ui .ucf-quick-action{flex:0 0 104px!important;min-height:66px!important}
  body.ucf-v510-ui .ucf-v5-executive-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.ucf-v510-ui .ucf-v5-card{padding:12px!important}
  body.ucf-v510-ui .ucf-v5-card-head h2{font-size:14px!important}
  body.ucf-v510-ui .ucf-v5-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ucf-v510-ui .ucf-v5-kpi-row>div:last-child{grid-column:1/-1!important}
  body.ucf-v510-ui .ucf-toolbar,body.ucf-v510-ui .ucf-client-toolbar,body.ucf-v510-ui .ucf-report-filterbar{display:flex!important;overflow-x:auto!important;align-items:center!important;padding:8px!important;gap:7px!important;scrollbar-width:none!important}
  body.ucf-v510-ui .ucf-toolbar>*,body.ucf-v510-ui .ucf-client-toolbar>*{display:block!important;flex:0 0 150px!important;min-width:150px!important}
  body.ucf-v510-ui .ucf-toolbar>.ucf-search-wrap,body.ucf-v510-ui .ucf-client-toolbar>.ucf-search-wrap{flex-basis:230px!important;min-width:230px!important}

  /* Data tables become stacked business cards when labels are available. */
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards .ucf-table-wrap{overflow:visible!important;background:transparent!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards .ucf-table{display:block!important;min-width:0!important;background:transparent!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards thead{display:none!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards tbody{display:grid!important;gap:9px!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards tr{display:block!important;border:1px solid var(--ucf-v51-border)!important;border-radius:11px!important;background:var(--ucf-v51-surface)!important;box-shadow:var(--ucf-v51-shadow)!important;overflow:hidden!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards td{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;min-height:38px!important;padding:8px 10px!important;border-bottom:1px solid var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;word-break:break-word!important;white-space:normal!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards td:last-child{border-bottom:0!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards td::before{content:attr(data-ucf-label);font-size:8.5px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:var(--ucf-v51-muted)!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards td[data-ucf-label=""]::before{display:none!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards td[data-ucf-label=""]{display:block!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards .ucf-row-actions{justify-content:flex-start!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards .ucf-pagination{margin-top:8px!important;border:1px solid var(--ucf-v51-border)!important;border-radius:10px!important;padding:9px!important}

  body.ucf-v510-ui .ucf-client-head,body.ucf-v510-ui .ucf-lead-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important}
  body.ucf-v510-ui .ucf-client-head .ucf-button,body.ucf-v510-ui .ucf-lead-head .ucf-button{min-height:34px!important}
  body.ucf-v510-ui .ucf-client-contact-strip,body.ucf-v510-ui .ucf-client-actions{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:7px!important;scrollbar-width:none!important}
  body.ucf-v510-ui .ucf-client-contact-strip>* ,body.ucf-v510-ui .ucf-client-actions>*{flex:0 0 auto!important}
  body.ucf-v510-ui .ucf-client-tabs,body.ucf-v510-ui .ucf-tabs{display:flex!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important}
  body.ucf-v510-ui .ucf-client-tab,body.ucf-v510-ui .ucf-tab{flex:0 0 auto!important;min-width:auto!important}

  body.ucf-v510-ui .ucf-modal-layer{align-items:flex-end!important;padding:0!important;background:rgba(15,23,42,.42)!important}
  body.ucf-v510-ui .ucf-modal{width:100%!important;max-width:none!important;max-height:92dvh!important;border-radius:16px 16px 0 0!important;border-bottom:0!important}
  body.ucf-v510-ui .ucf-modal-head{min-height:54px!important;padding:10px 12px!important}
  body.ucf-v510-ui .ucf-modal-body{padding:12px!important}
  body.ucf-v510-ui .ucf-form-grid{grid-template-columns:1fr!important;gap:11px!important}
  body.ucf-v510-ui .ucf-field-full{grid-column:auto!important}
  body.ucf-v510-ui .ucf-input,body.ucf-v510-ui .ucf-select,body.ucf-v510-ui .ucf-textarea,body.ucf-v510-ui input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body.ucf-v510-ui select,body.ucf-v510-ui textarea{min-height:44px!important;font-size:16px!important}
  body.ucf-v510-ui .ucf-modal-foot{padding:10px 12px calc(10px + var(--ucf-safe-bottom))!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.ucf-v510-ui .ucf-modal-foot .ucf-button{width:100%!important;min-height:44px!important}

  body.ucf-v510-ui .ucf-mobile-nav{
    grid-column:1!important;grid-row:3!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;
    min-height:62px!important;padding:4px 6px var(--ucf-safe-bottom)!important;border-top:1px solid var(--ucf-v51-border)!important;
    background:color-mix(in srgb,var(--ucf-v51-surface) 97%,transparent)!important;backdrop-filter:blur(16px)!important;box-shadow:0 -6px 18px rgba(16,24,40,.05)!important;
  }
  body.ucf-v510-ui .ucf-mobile-nav button{border-radius:9px!important;color:var(--ucf-v51-muted)!important;font-size:9px!important;font-weight:600!important;gap:2px!important}
  body.ucf-v510-ui .ucf-mobile-nav button.is-active{color:var(--ucf-v51-accent-text)!important;background:var(--ucf-v51-accent-soft)!important}
  body.ucf-v510-ui .ucf-mobile-nav button>span:first-child{font-size:0!important}
  body.ucf-v510-ui .ucf-mobile-nav button>span:first-child svg{width:19px!important;height:19px!important}

  body.ucf-v510-ui .ucf-mobile-sheet-layer{background:rgba(15,23,42,.38)!important}
  body.ucf-v510-ui .ucf-mobile-sheet{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-text)!important}
  body.ucf-v510-ui .ucf-mobile-route,body.ucf-v510-ui .ucf-mobile-module{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface-2)!important;color:var(--ucf-v51-text)!important}
  body.ucf-v510-ui .ucf-mobile-route.is-active{border-color:#fdba74!important;background:var(--ucf-v51-accent-soft)!important;color:var(--ucf-v51-accent-text)!important}
}

/* Tablet: keep navigation useful without squeezing content. */
@media(min-width:761px) and (max-width:1100px){
  body.ucf-v510-ui .ucf-shell{grid-template-columns:196px minmax(0,1fr)!important}
  body.ucf-v510-ui .ucf-topbar{grid-template-columns:196px minmax(150px,190px) minmax(0,1fr)!important}
  body.ucf-v510-ui .ucf-shell-brand-logo{width:138px!important}
  body.ucf-v510-ui .ucf-page-search-trigger{min-width:38px!important;width:38px!important;max-width:38px!important;padding:0!important;justify-content:center!important}
  body.ucf-v510-ui .ucf-page-search-trigger b,body.ucf-v510-ui .ucf-page-search-trigger kbd{display:none!important}
  body.ucf-v510-ui .ucf-user-meta{display:none!important}
  body.ucf-v510-ui .ucf-page{padding-left:18px!important;padding-right:18px!important}
}

/* Very small phones: one KPI per row only when needed. */
@media(max-width:380px){
  body.ucf-v510-ui .ucf-grid-5,body.ucf-v510-ui .ucf-grid-4,body.ucf-v510-ui .ucf-grid-3{grid-template-columns:1fr!important}
  body.ucf-v510-ui .ucf-table-card.ucf-v510-mobile-cards td{grid-template-columns:92px minmax(0,1fr)!important}
}

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


/* ---- source: executive-architecture-v520.css ---- */
/*
 * Udyojak CRM v5.2.0 — Executive Dashboard Reconstruction
 * Unified Workspace Navigation · Full-Width CRM Tables · Finance IA
 * Action Simplification · Responsive Density
 */

/* === Stable structural contract === */
body.ucf-v520-ui{--ucf-v52-row:52px;--ucf-v52-sidebar:220px;--ucf-v52-gap:12px}
body.ucf-v520-ui .ucf-shell{grid-template-columns:var(--ucf-v52-sidebar) minmax(0,1fr)!important}
body.ucf-v520-ui .ucf-topbar{grid-template-columns:var(--ucf-v52-sidebar) minmax(170px,230px) minmax(0,1fr)!important}
body.ucf-v520-ui .ucf-page{max-width:1700px!important;padding-left:24px!important;padding-right:24px!important}
body.ucf-v520-ui .ucf-main{min-width:0!important}

/* === Unified navigation: one business map instead of module-flat lists === */
body.ucf-v520-ui .ucf-sidebar{padding-top:12px!important}
body.ucf-v520-ui .ucf-sidebar-context{margin-bottom:8px!important}
body.ucf-v520-ui .ucf-v520-unified-nav{display:block!important;padding:0 7px 78px!important;overflow-y:auto!important}
body.ucf-v520-ui .ucf-v520-nav-group{display:grid;gap:2px;margin:0 0 9px;padding:0 0 8px;border-bottom:1px solid rgba(255,255,255,.055)}
body.ucf-v520-ui .ucf-v520-nav-group:last-child{border-bottom:0}
body.ucf-v520-ui .ucf-v520-nav-label{padding:3px 9px 5px;color:#7f95ab;font-size:8.5px;font-weight:800;letter-spacing:.085em;text-transform:uppercase}
body.ucf-v520-ui .ucf-v520-unified-nav .ucf-nav-item{min-height:34px!important;margin:0!important;padding:6px 9px!important;border-left:2px solid transparent!important;border-radius:7px!important;font-size:11px!important}
body.ucf-v520-ui .ucf-v520-unified-nav .ucf-nav-icon{width:18px!important;opacity:.78!important}
body.ucf-v520-ui .ucf-v520-unified-nav .ucf-nav-item.is-active{border-left-color:var(--ucf-v51-accent)!important;background:rgba(255,255,255,.095)!important;color:#fff!important}
body.ucf-v520-ui .ucf-v520-unified-nav .ucf-nav-item.is-active .ucf-nav-icon{color:#ffad62!important;opacity:1!important}
body.ucf-v520-ui .ucf-sidebar-user{position:absolute!important;left:10px!important;right:10px!important;bottom:10px!important}

/* === CEO dashboard: neutralize stale v4.5/v4.7 stored grid spans === */
body.ucf-v520-ui .ucf-ceo-dashboard.ucf-personalized-dashboard,
body.ucf-v520-ui .ucf-ceo-dashboard.ucf-personalized-dashboard.ucf-v470-grid,
body.ucf-v520-ui .ucf-ceo-dashboard.ucf-v520-dashboard-fixed{display:block!important;grid-template-columns:none!important;align-items:stretch!important;gap:0!important}
body.ucf-v520-ui .ucf-ceo-dashboard.ucf-v520-dashboard-fixed>.ucf-workspace-widget{display:block!important;width:100%!important;max-width:none!important;grid-column:auto!important;margin-top:14px!important}
body.ucf-v520-ui .ucf-ceo-dashboard.ucf-v520-dashboard-fixed>.ucf-page-head{margin-top:0!important}
body.ucf-v520-ui .ucf-ceo-dashboard [data-dashboard-customize="dashboard"]{display:none!important}

body.ucf-v520-ui .ucf-ceo-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin-bottom:12px!important}
body.ucf-v520-ui .ucf-ceo-summary>div{min-height:72px!important;padding:10px 12px!important;border-radius:10px!important}
body.ucf-v520-ui .ucf-ceo-summary small{font-size:9px!important}
body.ucf-v520-ui .ucf-ceo-summary b{font-size:18px!important}

body.ucf-v520-ui .ucf-v520-kpi-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}
body.ucf-v520-ui .ucf-v520-kpi-grid>.ucf-v520-kpi-hidden{display:none!important}
body.ucf-v520-ui .ucf-v520-kpi-grid>.ucf-metric{display:flex!important;min-height:86px!important;padding:12px!important}
body.ucf-v520-ui .ucf-v520-kpi-grid .ucf-metric-value{font-size:18px!important}

body.ucf-v520-ui .ucf-v5-executive-grid.ucf-v520-executive-row{
  display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(255px,.72fr) minmax(300px,.9fr)!important;
  gap:12px!important;align-items:stretch!important;width:100%!important;margin:0!important;
}
body.ucf-v520-ui .ucf-v520-executive-row>.ucf-v5-cashflow,
body.ucf-v520-ui .ucf-v520-executive-row>.ucf-v5-activity{grid-column:auto!important;grid-row:auto!important}
body.ucf-v520-ui .ucf-v520-executive-row>.ucf-v5-card{min-width:0!important;height:100%!important;padding:14px!important}
body.ucf-v520-ui .ucf-v520-executive-row .ucf-v5-chart{min-height:160px!important}
body.ucf-v520-ui .ucf-v520-executive-row .ucf-v5-activity-list{max-height:264px!important;overflow:auto!important;padding-right:2px!important}
body.ucf-v520-ui .ucf-v520-executive-row .ucf-v5-activity-list button{padding:8px 4px!important}
body.ucf-v520-ui .ucf-v520-duplicate-finance{display:none!important}

body.ucf-v520-ui .ucf-v520-action-center{margin-top:16px!important}
body.ucf-v520-ui .ucf-v520-action-center .ucf-ceo-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.ucf-v520-ui .ucf-v520-action-center .ucf-ceo-action-card{padding:11px!important}
body.ucf-v520-ui .ucf-v520-action-center .ucf-ceo-action-row{padding:7px 8px!important}
body.ucf-v520-ui .ucf-v520-retention{margin-top:16px!important}

/* === Leads: full-width working table, no permanent right rail === */
body.ucf-v520-ui .ucf-v520-leads-page .ucf-leads-layout,
body.ucf-v520-ui .ucf-v520-fullwidth-table{display:block!important;grid-template-columns:1fr!important;width:100%!important}
body.ucf-v520-ui .ucf-v520-leads-page .ucf-insights{display:none!important}
body.ucf-v520-ui .ucf-v520-leads-page .ucf-table-card{width:100%!important}
body.ucf-v520-ui .ucf-v520-lead-kpis{display:flex!important;gap:6px!important;overflow-x:auto!important;margin:0 0 10px!important;padding-bottom:2px!important;scrollbar-width:thin!important}
body.ucf-v520-ui .ucf-v520-lead-kpis .ucf-stage-tab{flex:0 0 auto!important;min-height:34px!important;padding:6px 10px!important;border-radius:8px!important;background:var(--ucf-v51-surface)!important}
body.ucf-v520-ui .ucf-v520-lead-kpis .ucf-stage-tab b{min-width:20px!important}

/* === Tables: readable 48–52px density, stable full-width rows === */
body.ucf-v520-ui .ucf-v520-table-card{width:100%!important}
body.ucf-v520-ui .ucf-v520-table th{padding:10px 12px!important;font-size:10px!important;letter-spacing:.03em!important}
body.ucf-v520-ui .ucf-v520-table td{height:var(--ucf-v52-row)!important;padding:9px 12px!important;font-size:12.2px!important;line-height:1.35!important}
body.ucf-v520-ui .ucf-v520-table .ucf-person-name{font-size:12.2px!important}
body.ucf-v520-ui .ucf-v520-table .ucf-person-email,body.ucf-v520-ui .ucf-v520-table .ucf-cell-sub{font-size:10px!important}
body.ucf-v520-ui .ucf-link-button{color:#175cd3!important;font-weight:700!important}
body.ucf-theme-mode-dark.ucf-v520-ui .ucf-link-button{color:#84adff!important}
body.ucf-v520-ui .ucf-source-pill{background:var(--ucf-v51-surface-3)!important;color:var(--ucf-v51-muted)!important;border-color:var(--ucf-v51-border)!important}

/* === Row actions: View / Edit / More, preserving original handlers === */
body.ucf-v520-ui .ucf-v520-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;min-width:150px!important;flex-wrap:wrap!important}
body.ucf-v520-ui .ucf-v520-action-button,
body.ucf-v520-ui .ucf-v520-more-action{width:auto!important;min-width:46px!important;height:30px!important;padding:0 8px!important;border:1px solid var(--ucf-v51-border)!important;border-radius:7px!important;background:var(--ucf-v51-surface)!important;color:var(--ucf-v51-muted)!important;font-size:10px!important;font-weight:650!important;line-height:1!important;font-family:inherit!important;cursor:pointer!important}
body.ucf-v520-ui .ucf-v520-action-button:hover,
body.ucf-v520-ui .ucf-v520-more-action:hover{background:var(--ucf-v51-surface-3)!important;color:var(--ucf-v51-text)!important}
body.ucf-v520-ui .ucf-v520-primary-action:first-child{color:#175cd3!important}
body.ucf-v520-ui .ucf-v520-overflow-action{display:none!important}
body.ucf-v520-ui .ucf-v520-actions.is-expanded .ucf-v520-overflow-action{display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.ucf-v520-ui .ucf-v520-actions.is-expanded .ucf-mini-danger{color:var(--ucf-v51-danger)!important}

/* === Finance information architecture: one focused panel at a time === */
body.ucf-v520-ui .ucf-accounting-page .ucf-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin-bottom:0!important}
body.ucf-v520-ui .ucf-v520-finance-tabs{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:12px 0 2px!important;padding:8px!important;border:1px solid var(--ucf-v51-border)!important;border-radius:10px!important;background:var(--ucf-v51-surface)!important}
body.ucf-v520-ui .ucf-v520-finance-tabset,body.ucf-v520-ui .ucf-v520-finance-shortcuts{display:flex!important;align-items:center!important;gap:5px!important;overflow-x:auto!important}
body.ucf-v520-ui .ucf-v520-finance-tabs button{min-height:32px!important;padding:6px 10px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:var(--ucf-v51-muted)!important;font-size:10.5px!important;font-weight:700!important;white-space:nowrap!important;cursor:pointer!important}
body.ucf-v520-ui .ucf-v520-finance-tabs button:hover{background:var(--ucf-v51-surface-2)!important;color:var(--ucf-v51-text)!important}
body.ucf-v520-ui .ucf-v520-finance-tabset button.is-active{background:var(--ucf-v51-accent-soft)!important;color:var(--ucf-v51-accent-text)!important;border-color:#fed7aa!important}
body.ucf-v520-ui .ucf-v520-finance-shortcuts button{border-color:var(--ucf-v51-border)!important;background:var(--ucf-v51-surface-2)!important}
body.ucf-v520-ui .ucf-v520-finance-hidden{display:none!important}
body.ucf-v520-ui .ucf-accounting-page [id^="ucf-finance-widget-"]{margin-top:12px!important}
body.ucf-v520-ui .ucf-v520-performance-note{margin-top:12px!important;padding:9px 11px!important;font-size:10px!important;opacity:.78!important}

/* === Sales Worklist: reduce filter noise === */
body.ucf-v520-ui .ucf-sales-filter-row{display:flex!important;gap:6px!important;align-items:center!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:thin!important}
body.ucf-v520-ui .ucf-sales-filter-row .ucf-v520-extra-filter{display:none!important}
body.ucf-v520-ui .ucf-sales-filter-row.is-expanded .ucf-v520-extra-filter{display:inline-flex!important}
body.ucf-v520-ui .ucf-v520-filter-toggle{border-style:dashed!important;color:var(--ucf-v51-muted)!important}

/* === Useful empty states === */
body.ucf-v520-ui .ucf-v520-empty-state{display:grid!important;justify-items:center!important;gap:6px!important;min-height:190px!important;padding:28px 18px!important;text-align:center!important}
body.ucf-v520-ui .ucf-v520-empty-state>span{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border:1px solid var(--ucf-v51-border)!important;border-radius:10px!important;background:var(--ucf-v51-surface-2)!important;color:var(--ucf-v51-accent-text)!important;font-size:18px!important}
body.ucf-v520-ui .ucf-v520-empty-state>b{font-size:14px!important;color:var(--ucf-v51-text)!important}
body.ucf-v520-ui .ucf-v520-empty-state>p{max-width:440px!important;margin:0 0 5px!important;color:var(--ucf-v51-muted)!important;font-size:11px!important;line-height:1.5!important}
body.ucf-v520-ui .ucf-v520-empty-state>.ucf-button{min-width:120px!important}

/* === Responsive density === */
@media(max-width:1279px){
  body.ucf-v520-ui .ucf-v520-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.ucf-v520-ui .ucf-v5-executive-grid.ucf-v520-executive-row{grid-template-columns:minmax(0,1.35fr) minmax(250px,.8fr)!important}
  body.ucf-v520-ui .ucf-v520-executive-row>.ucf-v5-activity{grid-column:1/-1!important}
  body.ucf-v520-ui .ucf-v520-executive-row .ucf-v5-activity-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 12px!important;max-height:220px!important}
}
@media(max-width:1180px){
  body.ucf-v520-ui{--ucf-v52-sidebar:196px}
  body.ucf-v520-ui .ucf-page{padding-left:18px!important;padding-right:18px!important}
  body.ucf-v520-ui .ucf-v5-executive-grid.ucf-v520-executive-row{grid-template-columns:1fr!important}
  body.ucf-v520-ui .ucf-v520-executive-row>.ucf-v5-activity{grid-column:auto!important}
  body.ucf-v520-ui .ucf-v520-action-center .ucf-ceo-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ucf-v520-ui .ucf-accounting-page .ucf-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.ucf-v520-ui .ucf-shell{grid-template-columns:1fr!important}
  body.ucf-v520-ui .ucf-topbar{grid-template-columns:1fr auto!important}
  body.ucf-v520-ui .ucf-page{padding:14px 12px 26px!important}
  body.ucf-v520-ui .ucf-ceo-summary{display:flex!important;overflow-x:auto!important;gap:7px!important}
  body.ucf-v520-ui .ucf-ceo-summary>div{flex:0 0 138px!important;min-height:68px!important}
  body.ucf-v520-ui .ucf-v520-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.ucf-v520-ui .ucf-v520-kpi-grid>.ucf-metric{min-height:78px!important}
  body.ucf-v520-ui .ucf-v520-action-center .ucf-ceo-action-grid{grid-template-columns:1fr!important}
  body.ucf-v520-ui .ucf-v520-executive-row .ucf-v5-activity-list{grid-template-columns:1fr!important;max-height:300px!important}
  body.ucf-v520-ui .ucf-v520-finance-tabs{display:block!important;overflow:hidden!important}
  body.ucf-v520-ui .ucf-v520-finance-shortcuts{margin-top:6px!important;padding-top:6px!important;border-top:1px solid var(--ucf-v51-border)!important}
  body.ucf-v520-ui .ucf-accounting-page .ucf-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ucf-v520-ui .ucf-v520-actions{justify-content:flex-start!important;min-width:0!important}
  body.ucf-v520-ui .ucf-table-card.ucf-v510-mobile-cards .ucf-v520-actions{display:flex!important}
  body.ucf-v520-ui .ucf-v520-action-button,body.ucf-v520-ui .ucf-v520-more-action{min-height:34px!important}
}
@media(max-width:380px){body.ucf-v520-ui .ucf-v520-kpi-grid,body.ucf-v520-ui .ucf-accounting-page .ucf-grid-5{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){body.ucf-v520-ui *,body.ucf-v520-ui *::before,body.ucf-v520-ui *::after{transition:none!important;animation-duration:.001ms!important}}


/* ---- source: global-header-failsafe-v523.css ---- */
/*
 * Udyojak CRM v5.2.3 — Global Header Workspace Switcher Failsafe
 * Ensures desktop module navigation can never disappear when the enhanced
 * JavaScript workspace switcher has not hydrated yet.
 */
@media (min-width:761px){
  /* v4.9.4/v5.1 intentionally hide the canonical module ribbon. Restore it
     only until v5.2.3 confirms that a functional workspace switcher exists. */
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-modulebar,
  body.ucf-v520-ui:not(.ucf-v523-header-ready) .ucf-modulebar,
  body.ucf-header-minimal.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-modulebar{
    display:flex!important;
    opacity:1!important;
    pointer-events:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    grid-column:2!important;
    align-items:center!important;
    gap:4px!important;
    padding:0 8px 0 12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-modulebar::-webkit-scrollbar{display:none!important}
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-module-button{
    display:inline-flex!important;
    opacity:1!important;
    pointer-events:auto!important;
    width:auto!important;
    min-width:36px!important;
    height:34px!important;
    padding:0 8px!important;
    border:1px solid transparent!important;
    border-radius:8px!important;
    background:transparent!important;
    color:var(--ucf-v51-muted,var(--ucf-muted))!important;
    box-shadow:none!important;
  }
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-module-button:hover{background:var(--ucf-v51-surface-3,var(--ucf-panel-2))!important;color:var(--ucf-v51-text,var(--ucf-text))!important}
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-module-button.is-active{background:var(--ucf-v51-accent-soft,#fff4e8)!important;border-color:#fed7aa!important;color:var(--ucf-v51-accent-text,#a84d08)!important}
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-module-button>small{display:none!important}
  body.ucf-v510-ui:not(.ucf-v523-header-ready) .ucf-module-button>span{font-size:15px!important}

  /* Once the persistent workspace switcher is alive, keep the canonical
     ribbon as a hidden action source, exactly as the executive shell expects. */
  body.ucf-v523-header-ready .ucf-modulebar{
    display:flex!important;
    opacity:0!important;
    pointer-events:none!important;
    width:1px!important;
    min-width:1px!important;
    max-width:1px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  body.ucf-v523-header-ready .ucf-exec-workspace{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    grid-column:2!important;
    min-width:0!important;
    z-index:52!important;
  }
  body.ucf-v523-header-ready .ucf-exec-workspace-button{display:flex!important;visibility:visible!important;opacity:1!important}
  body.ucf-v523-header-ready .ucf-exec-workspace-copy strong{max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
  body.ucf-v523-header-ready .ucf-top-actions{grid-column:3!important}

  /* The fallback menu created by v5.2.3 uses the existing executive menu
     language but must remain above page cards and table sticky headers. */
  .ucf-v523-workspace-menu{z-index:1100!important}
}

@media (max-width:760px){
  body.ucf-v523-header-ready .ucf-exec-workspace{display:none!important}
}


/* ---- source: persistent-global-navigation-v530.css ---- */
/*
 * Udyojak CRM v5.3.0 — Persistent Global Workspace Navigation
 * Desktop contract:
 *   Top bar = permanent workspace navigation.
 *   Sidebar = sub-navigation for the selected workspace only.
 * The global workspace map must never disappear on a child route.
 */

@media (min-width:761px){
  /* The top bar itself is a permanent part of the application shell. Appearance
     profiles may style it, but v5.3.0 no longer permits desktop focus/minimal
     modes to remove the global workspace escape path. */
  body.ucf-app-page .ucf-topbar,
  body.ucf-focus-hide-header.ucf-app-page .ucf-topbar{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    height:60px!important;
    min-height:60px!important;
    grid-template-columns:var(--ucf-v52-sidebar,var(--ucf-v51-sidebar,220px)) minmax(0,1fr) auto!important;
    position:relative!important;
    z-index:80!important;
  }

  /* v4.9.4/v5.1 dropdown switcher is superseded. Keep it in DOM so its older
     runtime cannot create/remove layout churn, but it owns no visible space. */
  body.ucf-app-page .ucf-exec-workspace,
  body.ucf-v523-header-ready .ucf-exec-workspace,
  body.ucf-header-minimal .ucf-exec-workspace{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    padding:0!important;
    margin:0!important;
    pointer-events:none!important;
  }

  /* Canonical module ribbon is now the permanent global nav on every route. */
  body.ucf-app-page .ucf-modulebar,
  body.ucf-v510-ui .ucf-modulebar,
  body.ucf-v520-ui .ucf-modulebar,
  body.ucf-v523-header-ready .ucf-modulebar,
  body.ucf-header-minimal .ucf-modulebar{
    display:flex!important;
    grid-column:2!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:3px!important;
    height:60px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 8px 0 12px!important;
    margin:0!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    overscroll-behavior-inline:contain!important;
    white-space:nowrap!important;
  }
  body.ucf-app-page .ucf-modulebar::-webkit-scrollbar{display:none!important}

  body.ucf-app-page .ucf-module-button,
  body.ucf-v510-ui .ucf-module-button,
  body.ucf-v523-header-ready .ucf-module-button{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:38px!important;
    padding:0 9px!important;
    border:1px solid transparent!important;
    border-radius:9px!important;
    background:transparent!important;
    color:var(--ucf-v51-muted,var(--ucf-muted))!important;
    box-shadow:none!important;
    gap:6px!important;
    opacity:1!important;
    pointer-events:auto!important;
    font:inherit!important;
  }
  body.ucf-app-page .ucf-module-button>span{
    display:grid!important;
    place-items:center!important;
    width:15px!important;
    min-width:15px!important;
    font-size:13px!important;
    line-height:1!important;
    color:inherit!important;
  }
  body.ucf-app-page .ucf-module-button>small{
    display:block!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.005em!important;
    color:inherit!important;
  }
  body.ucf-app-page .ucf-module-button:hover{
    background:var(--ucf-v51-surface-3,var(--ucf-panel-2))!important;
    color:var(--ucf-v51-text,var(--ucf-text))!important;
  }
  body.ucf-app-page .ucf-module-button.is-active{
    background:var(--ucf-v51-accent-soft,#fff4e8)!important;
    border-color:#fed7aa!important;
    color:var(--ucf-v51-accent-text,#a84d08)!important;
    box-shadow:inset 0 -2px 0 var(--ucf-v51-accent,var(--ucf-accent))!important;
  }
  body.ucf-theme-mode-dark.ucf-app-page .ucf-module-button.is-active{
    border-color:rgba(245,130,32,.28)!important;
  }
  body.ucf-app-page .ucf-module-button:focus-visible{
    outline:2px solid var(--ucf-v51-accent,var(--ucf-accent))!important;
    outline-offset:1px!important;
  }

  /* Workspace order is intentionally stable. Route changes may change the
     sidebar, never the global menu order. */
  body.ucf-app-page .ucf-module-button[data-module="leads"]{order:1!important}
  body.ucf-app-page .ucf-module-button[data-module="sales"]{order:2!important}
  body.ucf-app-page .ucf-module-button[data-module="clients"]{order:3!important}
  body.ucf-app-page .ucf-module-button[data-module="projects"]{order:4!important}
  body.ucf-app-page .ucf-module-button[data-module="finance"]{order:5!important}
  body.ucf-app-page .ucf-module-button[data-module="reports"]{order:6!important}
  body.ucf-app-page .ucf-module-button[data-module="team"]{order:7!important}
  body.ucf-app-page .ucf-module-button[data-module="settings"]{order:8!important}

  /* Global actions remain global, but navigation gets priority. */
  body.ucf-app-page .ucf-top-actions,
  body.ucf-v510-ui .ucf-top-actions,
  body.ucf-v520-ui .ucf-top-actions,
  body.ucf-v523-header-ready .ucf-top-actions{
    grid-column:3!important;
    min-width:0!important;
    padding:0 12px 0 6px!important;
    gap:5px!important;
  }
  body.ucf-app-page .ucf-top-actions .ucf-page-search-trigger{
    min-width:180px!important;
    width:180px!important;
    max-width:180px!important;
  }

  /* Context sidebar: only the selected workspace's children live here. */
  body.ucf-app-page .ucf-sidebar-context{
    display:block!important;
    margin-bottom:8px!important;
  }
  body.ucf-app-page .ucf-sidebar-context small{letter-spacing:.08em!important}
  body.ucf-app-page .ucf-sidebar-context b{font-size:12px!important}
  body.ucf-app-page .ucf-nav{
    display:block!important;
    padding:0 8px 82px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  body.ucf-app-page .ucf-nav>.ucf-nav-item{
    width:100%!important;
    min-height:38px!important;
    margin:2px 0!important;
    padding:7px 10px!important;
    border-radius:8px!important;
    font-size:11.5px!important;
  }
  /* Old v5.2 unified-group furniture must never return in the context sidebar. */
  body.ucf-app-page .ucf-v520-nav-label{display:none!important}
  body.ucf-app-page .ucf-v520-nav-group{display:contents!important}

  /* v5.2.1 owns the non-overlapping sidebar user footer; reinforce its safe
     bottom reservation while the context list scrolls independently. */
  body.ucf-app-page .ucf-sidebar{overflow:hidden!important}
  body.ucf-app-page .ucf-sidebar-user{z-index:8!important}
}

/* Medium desktop/tablet: keep all top workspaces accessible by horizontal
   scrolling; shrink global tools before sacrificing navigation. */
@media (min-width:761px) and (max-width:1350px){
  body.ucf-app-page .ucf-modulebar{padding-left:8px!important;padding-right:4px!important;gap:2px!important}
  body.ucf-app-page .ucf-module-button{height:36px!important;padding:0 7px!important;gap:4px!important}
  body.ucf-app-page .ucf-module-button>small{font-size:9.5px!important}
  body.ucf-app-page .ucf-top-actions .ucf-page-search-trigger{
    min-width:40px!important;width:40px!important;max-width:40px!important;padding:0!important;justify-content:center!important;
  }
  body.ucf-app-page .ucf-top-actions .ucf-page-search-trigger b,
  body.ucf-app-page .ucf-top-actions .ucf-page-search-trigger kbd{display:none!important}
}

@media (min-width:761px) and (max-width:1020px){
  body.ucf-app-page .ucf-module-button>span{display:none!important}
  body.ucf-app-page .ucf-module-button{padding:0 7px!important}
  body.ucf-app-page .ucf-top-actions .ucf-subscribe{padding:0 9px!important;font-size:11px!important}
}

/* Mobile keeps the established Leads / Clients / Finance / More model; the
   persistent global ribbon is a desktop navigation contract. */
@media (max-width:760px){
  body.ucf-app-page .ucf-modulebar{display:none!important}
  body.ucf-app-page .ucf-exec-workspace{display:none!important}
}


/* ---- source: business-health-v540.css ---- */
/* Udyojak CRM v5.4.0 — Business Health Intelligence */
.ucf-business-health-v540{--gh-good:#15803d;--gh-warn:#b45309;--gh-bad:#b42318;--gh-info:#175cd3}
.ucf-growth-hero{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(420px,1.4fr);gap:14px;margin-bottom:14px}
.ucf-growth-score{display:flex;align-items:center;gap:22px;padding:22px;min-height:176px}.ucf-growth-score h2{font-size:22px;margin:4px 0 6px}.ucf-growth-score p{margin:0;color:var(--ucf-muted)}
.ucf-growth-ring{--score:0;position:relative;display:grid;place-items:center;width:116px;height:116px;border-radius:50%;flex:0 0 116px;background:conic-gradient(var(--ucf-accent) calc(var(--score)*1%),var(--ucf-panel-3) 0)}.ucf-growth-ring:after{content:"";position:absolute;inset:10px;border-radius:50%;background:var(--ucf-panel)}.ucf-growth-ring b,.ucf-growth-ring small{position:relative;z-index:2}.ucf-growth-ring b{font-size:32px;line-height:1}.ucf-growth-ring small{font-size:11px;color:var(--ucf-muted)}
.ucf-growth-score.is-success .ucf-growth-ring{background:conic-gradient(var(--gh-good) calc(var(--score)*1%),var(--ucf-panel-3) 0)}.ucf-growth-score.is-warning .ucf-growth-ring{background:conic-gradient(var(--gh-warn) calc(var(--score)*1%),var(--ucf-panel-3) 0)}.ucf-growth-score.is-danger .ucf-growth-ring{background:conic-gradient(var(--gh-bad) calc(var(--score)*1%),var(--ucf-panel-3) 0)}
.ucf-growth-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ucf-growth-area{padding:14px}.ucf-growth-area>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.ucf-growth-area span{font-size:12px;color:var(--ucf-muted);font-weight:700}.ucf-growth-area b{font-size:14px}.ucf-growth-bar{height:7px;border-radius:999px;background:var(--ucf-panel-3);margin-top:10px;overflow:hidden}.ucf-growth-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ucf-secondary),var(--ucf-accent))}
.ucf-growth-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.ucf-growth-kpi{padding:14px;min-width:0}.ucf-growth-kpi small,.ucf-growth-kpi span{display:block;color:var(--ucf-muted);font-size:11px}.ucf-growth-kpi b{display:block;font-size:20px;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ucf-growth-kpi.is-success b{color:var(--gh-good)}.ucf-growth-kpi.is-warning b{color:var(--gh-warn)}.ucf-growth-kpi.is-danger b{color:var(--gh-bad)}.ucf-growth-kpi.is-info b{color:var(--gh-info)}
.ucf-growth-economics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px}.ucf-growth-economics .ucf-growth-kpi{background:var(--ucf-panel-2);box-shadow:none}
.ucf-growth-rec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ucf-growth-rec{padding:18px;border-left:4px solid var(--ucf-border)}.ucf-growth-rec.is-high{border-left-color:var(--gh-bad)}.ucf-growth-rec.is-medium{border-left-color:var(--gh-warn)}.ucf-growth-rec.is-opportunity{border-left-color:var(--gh-info)}.ucf-growth-rec-head{display:flex;align-items:center;justify-content:space-between}.ucf-growth-rec-head span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:var(--ucf-muted)}.ucf-growth-rec-head em{font-style:normal;font-size:10px;text-transform:uppercase;padding:4px 7px;border:1px solid var(--ucf-border);border-radius:999px}.ucf-growth-rec h3{font-size:16px;margin:10px 0 6px}.ucf-growth-rec p{font-size:12px;color:var(--ucf-muted);line-height:1.55}.ucf-growth-rec ul{margin:12px 0 0;padding-left:18px;font-size:12px;line-height:1.7}
.ucf-growth-solutions{border-top:1px solid var(--ucf-border-soft);margin-top:12px;padding-top:10px}.ucf-growth-solutions>small{display:block;margin-bottom:7px;color:var(--ucf-muted)}.ucf-growth-solution{display:flex;width:100%;align-items:center;justify-content:space-between;background:transparent;border:0;border-radius:7px;padding:7px;text-align:left;color:var(--ucf-text);cursor:pointer}.ucf-growth-solution:hover{background:var(--ucf-panel-2)}.ucf-growth-solution span{color:var(--ucf-muted);font-size:11px}
.ucf-growth-funnel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px}.ucf-growth-funnel h3{margin:4px 0 6px;font-size:15px}.ucf-growth-funnel p{margin:0;color:var(--ucf-muted);font-size:12px}.ucf-growth-funnel code{padding:2px 5px;border-radius:4px;background:var(--ucf-panel-3)}
.ucf-growth-score-pill{display:inline-flex;padding:5px 9px;border-radius:999px;border:1px solid var(--ucf-border);font-weight:800;font-size:12px}.ucf-growth-score-pill.is-success{color:var(--gh-good);border-color:color-mix(in srgb,var(--gh-good) 35%,transparent)}.ucf-growth-score-pill.is-warning{color:var(--gh-warn)}.ucf-growth-score-pill.is-danger{color:var(--gh-bad)}.ucf-growth-score-pill.is-info{color:var(--gh-info)}
.ucf-growth-checks{display:flex;flex-wrap:wrap;gap:12px;padding:10px;border:1px solid var(--ucf-border);border-radius:8px}.ucf-growth-checks label{display:flex;align-items:center;gap:6px;font-size:12px}
@media(max-width:1200px){.ucf-growth-kpi-grid,.ucf-growth-economics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.ucf-growth-hero{grid-template-columns:1fr}.ucf-growth-area-grid,.ucf-growth-rec-grid{grid-template-columns:1fr}.ucf-growth-kpi-grid,.ucf-growth-economics{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-growth-funnel{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.ucf-growth-score{align-items:flex-start;flex-direction:column}.ucf-growth-kpi-grid,.ucf-growth-economics{grid-template-columns:1fr}.ucf-growth-ring{width:96px;height:96px;flex-basis:96px}}


/* ---- source: ux-polish-v541.css ---- */
/* Udyojak CRM v5.4.1 — governed application UX polish. Never targets print/document templates. */
body.ucf-app-page{
  --ucf-ux-focus:#2563eb;
  --ucf-ux-radius:12px;
  --ucf-ux-row:50px;
  --ucf-ux-control:42px;
  --ucf-ux-shadow:0 8px 24px rgba(15,23,42,.07);
}
body.ucf-app-page .ucf-page{max-width:1560px;padding-top:20px}
body.ucf-app-page .ucf-page-head{margin-bottom:18px;align-items:center}
body.ucf-app-page .ucf-page-head h1{letter-spacing:-.025em}
body.ucf-app-page .ucf-page-head p{max-width:780px;line-height:1.45}
body.ucf-app-page .ucf-card{border-radius:var(--ucf-ux-radius);box-shadow:var(--ucf-ux-shadow)}
body.ucf-app-page .ucf-section{margin-top:16px}
body.ucf-app-page .ucf-button,
body.ucf-app-page .ucf-icon-button,
body.ucf-app-page .ucf-mini-button,
body.ucf-app-page button.ucf-link-button{min-height:var(--ucf-ux-control)}
body.ucf-app-page .ucf-button{padding:9px 14px;font-weight:700}
body.ucf-app-page .ucf-button-primary{box-shadow:0 5px 14px rgba(245,130,32,.18)}
body.ucf-app-page :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid color-mix(in srgb,var(--ucf-ux-focus) 35%,transparent);outline-offset:2px}
body.ucf-app-page :is(input,select,textarea).ucf-input,
body.ucf-app-page .ucf-select,
body.ucf-app-page .ucf-field input:not([type=checkbox]):not([type=radio]),
body.ucf-app-page .ucf-field select,
body.ucf-app-page .ucf-field textarea{min-height:44px;border-radius:9px}
body.ucf-app-page .ucf-field>span,
body.ucf-app-page .ucf-form-grid label>span{font-size:12px;line-height:1.35;font-weight:700;text-transform:none;letter-spacing:0}
body.ucf-app-page .ucf-field small,.ucf-ux-help{display:block;margin-top:5px;font-size:11px;line-height:1.45;color:var(--ucf-muted)}
body.ucf-app-page [aria-invalid=true]{border-color:#dc2626!important;box-shadow:0 0 0 2px rgba(220,38,38,.08)!important}
body.ucf-app-page .ucf-ux-field-error{display:block;margin-top:5px;color:#b42318;font-size:11px;font-weight:650}
body.ucf-app-page .ucf-filterbar{gap:10px;padding:10px}
body.ucf-app-page .ucf-filterbar .ucf-search{min-height:42px}
body.ucf-app-page .ucf-table-card{overflow:hidden}
body.ucf-app-page .ucf-table-wrap{max-width:100%;overscroll-behavior-inline:contain}
body.ucf-app-page .ucf-table{font-variant-numeric:tabular-nums}
body.ucf-app-page .ucf-table thead th{position:sticky;top:0;z-index:2;height:42px;vertical-align:middle;white-space:nowrap}
body.ucf-app-page .ucf-table tbody tr{min-height:var(--ucf-ux-row)}
body.ucf-app-page .ucf-table td{height:var(--ucf-ux-row);padding-top:9px;padding-bottom:9px}
body.ucf-app-page .ucf-table :is(.ucf-money-positive,.ucf-money-danger),
body.ucf-app-page .ucf-metric-value{font-variant-numeric:tabular-nums}
body.ucf-app-page .ucf-row-actions{justify-content:flex-end;align-items:center;gap:6px}
body.ucf-app-page .ucf-empty-cell{height:auto!important;padding:40px 20px!important;text-align:center!important;color:var(--ucf-muted)!important;line-height:1.6}
body.ucf-app-page .ucf-empty-cell:before{content:"◇";display:block;width:38px;height:38px;margin:0 auto 10px;border:1px solid var(--ucf-border);border-radius:10px;line-height:36px;color:var(--ucf-accent)}
body.ucf-app-page .ucf-modal-layer{z-index:1000}
body.ucf-app-page .ucf-modal{border-radius:16px;box-shadow:0 28px 90px rgba(15,23,42,.28)}
body.ucf-app-page .ucf-modal-head{background:color-mix(in srgb,var(--ucf-panel) 96%,transparent)}
body.ucf-app-page .ucf-modal-foot{position:sticky!important;bottom:0!important;z-index:10;background:color-mix(in srgb,var(--ucf-panel) 98%,transparent);backdrop-filter:blur(12px)}
body.ucf-app-page .ucf-modal[role=dialog] .ucf-modal-body{scrollbar-gutter:stable}
body.ucf-app-page .ucf-ux-form-section{grid-column:1/-1;margin:0;padding:0 0 14px;border:0;border-bottom:1px solid var(--ucf-border-soft)}
body.ucf-app-page .ucf-ux-form-section:last-child{border-bottom:0;padding-bottom:0}
body.ucf-app-page .ucf-ux-form-section>legend{width:100%;padding:0 0 10px;font-size:13px;font-weight:800;color:var(--ucf-text)}
body.ucf-app-page .ucf-ux-form-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.ucf-app-page .ucf-ux-form-section-note{display:block;margin:-5px 0 12px;color:var(--ucf-muted);font-size:11px}
body.ucf-app-page .ucf-toast{border-radius:12px;box-shadow:0 15px 40px rgba(15,23,42,.16)}
body.ucf-app-page details>summary{cursor:pointer}
body.ucf-app-page details>summary:focus-visible{border-radius:6px}

/* Business Health v5.4.1 */
body.ucf-app-page .ucf-business-health-v540 .ucf-growth-kpi-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
body.ucf-app-page .ucf-business-health-v540 .ucf-growth-kpi-head>em{font-style:normal;font-size:9px;font-weight:750;line-height:1.2;color:var(--ucf-muted);border:1px solid var(--ucf-border-soft);border-radius:999px;padding:3px 6px;white-space:nowrap}
body.ucf-app-page .ucf-growth-comparison{display:grid;grid-template-columns:.75fr 1.2fr 1.2fr;gap:0;margin:14px 0}
body.ucf-app-page .ucf-growth-comparison>div{padding:3px 16px;border-left:1px solid var(--ucf-border-soft)}
body.ucf-app-page .ucf-growth-comparison>div:first-child{border-left:0}
body.ucf-app-page .ucf-growth-comparison small{display:block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--ucf-muted);margin-bottom:6px}
body.ucf-app-page .ucf-growth-comparison b{display:block;font-size:22px;margin-bottom:3px}
body.ucf-app-page .ucf-growth-comparison span,body.ucf-app-page .ucf-growth-comparison p{margin:0;color:var(--ucf-muted);font-size:11px;line-height:1.55}
body.ucf-app-page .ucf-growth-evidence{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
body.ucf-app-page .ucf-growth-evidence>span{display:block;padding:10px;border:1px solid var(--ucf-border-soft);border-radius:9px;background:var(--ucf-panel-2);font-size:11px;line-height:1.5;color:var(--ucf-muted)}
body.ucf-app-page .ucf-growth-evidence b{display:block;color:var(--ucf-text);margin-bottom:3px;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
body.ucf-app-page .ucf-growth-rec-meta{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0}
body.ucf-app-page .ucf-growth-rec-meta span{font-size:10px;color:var(--ucf-muted);padding:4px 7px;border-radius:999px;background:var(--ucf-panel-2)}
body.ucf-app-page .ucf-growth-rec-actions{margin-top:8px}
body.ucf-app-page .ucf-growth-rec-actions summary{font-size:11px;font-weight:800;color:var(--ucf-text);padding:7px 0}
body.ucf-app-page .ucf-growth-rec-actions[open] summary{margin-bottom:2px}

/* Mobile card tables — added only to small safe tables by ux-polish-v541.js */
@media(max-width:680px){
  body.ucf-app-page .ucf-page{padding:14px 10px 24px}
  body.ucf-app-page .ucf-page-head{align-items:flex-start;gap:12px}
  body.ucf-app-page .ucf-page-head h1{font-size:21px}
  body.ucf-app-page .ucf-page-actions{width:100%;display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
  body.ucf-app-page .ucf-page-actions .ucf-button{display:inline-flex!important;flex:0 0 auto;min-height:44px}
  body.ucf-app-page .ucf-ux-form-section-grid{grid-template-columns:1fr}
  body.ucf-app-page .ucf-growth-comparison{grid-template-columns:1fr}
  body.ucf-app-page .ucf-growth-comparison>div{border-left:0;border-top:1px solid var(--ucf-border-soft);padding:11px 2px}
  body.ucf-app-page .ucf-growth-comparison>div:first-child{border-top:0}
  body.ucf-app-page .ucf-growth-evidence{grid-template-columns:1fr}
  body.ucf-app-page table.ucf-ux-card-table{min-width:0!important;display:block}
  body.ucf-app-page table.ucf-ux-card-table thead{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  body.ucf-app-page table.ucf-ux-card-table tbody{display:grid;gap:9px;padding:9px}
  body.ucf-app-page table.ucf-ux-card-table tr{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;padding:12px;border:1px solid var(--ucf-border);border-radius:11px;background:var(--ucf-panel);box-shadow:none}
  body.ucf-app-page table.ucf-ux-card-table td{display:block;height:auto!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:12px;overflow-wrap:anywhere}
  body.ucf-app-page table.ucf-ux-card-table td:before{content:attr(data-ux-label);display:block;margin-bottom:4px;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--ucf-muted)}
  body.ucf-app-page table.ucf-ux-card-table td[data-ux-primary="1"]{grid-column:1/-1;padding-bottom:8px!important;border-bottom:1px solid var(--ucf-border-soft)!important}
  body.ucf-app-page table.ucf-ux-card-table td[data-ux-actions="1"]{grid-column:1/-1;padding-top:4px!important}
  body.ucf-app-page table.ucf-ux-card-table td[data-ux-actions="1"] .ucf-row-actions{justify-content:flex-start}
  body.ucf-app-page table.ucf-ux-card-table tr:has(.ucf-empty-cell){display:block;padding:0;border:0;background:transparent}
  body.ucf-app-page table.ucf-ux-card-table .ucf-empty-cell{display:block!important}
  body.ucf-app-page .ucf-modal-foot{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  body.ucf-app-page .ucf-modal-foot .ucf-button{width:100%}
}
@media(min-width:681px) and (max-width:1100px){
  body.ucf-app-page .ucf-page{padding-left:16px;padding-right:16px}
  body.ucf-app-page .ucf-grid-4,body.ucf-app-page .ucf-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ucf-app-page .ucf-growth-kpi-grid,body.ucf-app-page .ucf-growth-economics{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ucf-app-page .ucf-growth-comparison{grid-template-columns:1fr 1fr}
  body.ucf-app-page .ucf-growth-comparison>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--ucf-border-soft);padding-top:12px;margin-top:8px}
}
@media(prefers-reduced-motion:reduce){
  body.ucf-app-page *,body.ucf-app-page *::before,body.ucf-app-page *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
@media print{
  body.ucf-app-page .ucf-ux-screen-only{display:none!important}
}

/* Menu/dropdown stacking contract — keeps contextual menus above cards/toolbars. */
body.ucf-app-page :is(.ucf-client-more-menu,.ucf-exec-tools-menu,.ucf-v523-workspace-menu,.ucf-exec-workspace-menu){z-index:1200!important;max-width:min(320px,calc(100vw - 24px));box-shadow:0 16px 48px rgba(15,23,42,.18)}
body.ucf-app-page :is(.ucf-client-more-menu,.ucf-exec-tools-menu,.ucf-v523-workspace-menu,.ucf-exec-workspace-menu) button:focus-visible{outline:3px solid color-mix(in srgb,var(--ucf-ux-focus) 35%,transparent);outline-offset:-2px}
body.ucf-app-page .ucf-topbar{isolation:isolate}
body.ucf-app-page .ucf-main{isolation:isolate}


/* ---- source: enterprise-ux-v542.css ---- */
/* Udyojak CRM v5.4.2 — Advanced Enterprise UX Polish & Visual Governance
 * Application shell only. Never style A4/document/print owners.
 */
body.ucf-app-page{
  --ucf-ux542-fast:140ms;
  --ucf-ux542-medium:190ms;
  --ucf-ux542-ease:cubic-bezier(.2,.8,.2,1);
  --ucf-ux542-ring:0 0 0 3px color-mix(in srgb,var(--ucf-primary,#f58220) 22%,transparent);
  --ucf-ux542-shadow:0 12px 34px rgba(15,23,42,.10);
  --ucf-ux542-shadow-lg:0 22px 64px rgba(15,23,42,.16);
}
body.ucf-app-page .ucf-topbar,
body.ucf-app-page .ucf-sidebar,
body.ucf-app-page .ucf-page,
body.ucf-app-page .ucf-card,
body.ucf-app-page .ucf-button,
body.ucf-app-page .ucf-nav-item,
body.ucf-app-page .ucf-module-button{
  transition:background-color var(--ucf-ux542-fast) var(--ucf-ux542-ease),border-color var(--ucf-ux542-fast) var(--ucf-ux542-ease),box-shadow var(--ucf-ux542-medium) var(--ucf-ux542-ease),transform var(--ucf-ux542-fast) var(--ucf-ux542-ease),opacity var(--ucf-ux542-fast) var(--ucf-ux542-ease);
}
body.ucf-app-page :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:0!important;box-shadow:var(--ucf-ux542-ring)!important}
body.ucf-app-page .ucf-button:active,body.ucf-app-page .ucf-module-button:active,body.ucf-app-page .ucf-nav-item:active{transform:translateY(1px)}

/* Permanent top-workspace affordance */
body.ucf-app-page .ucf-modulebar{scrollbar-width:none;overscroll-behavior-x:contain}
body.ucf-app-page .ucf-modulebar::-webkit-scrollbar{display:none}
body.ucf-app-page .ucf-module-button{position:relative}
body.ucf-app-page .ucf-module-button.is-active:after{content:"";position:absolute;left:14px;right:14px;bottom:1px;height:2px;border-radius:999px;background:var(--ucf-primary,#f58220)}
body.ucf-app-page .ucf-nav-item.is-active{box-shadow:inset 3px 0 0 var(--ucf-primary,#f58220)}

/* 3-level adaptive density. Stronger than old two-state density without changing saved theme settings. */
body.ucf-app-page.ucf-v542-density-comfortable{--ucf-ux-row-h:54px;--ucf-ux-card-pad:20px;--ucf-ux-gap:16px}
body.ucf-app-page.ucf-v542-density-compact{--ucf-ux-row-h:46px;--ucf-ux-card-pad:16px;--ucf-ux-gap:12px}
body.ucf-app-page.ucf-v542-density-ultra{--ucf-ux-row-h:39px;--ucf-ux-card-pad:12px;--ucf-ux-gap:9px}
body.ucf-app-page[class*="ucf-v542-density-"] .ucf-table:not(.ucf-doc-table) tbody tr{min-height:var(--ucf-ux-row-h)}
body.ucf-app-page[class*="ucf-v542-density-"] .ucf-table:not(.ucf-doc-table) th,
body.ucf-app-page[class*="ucf-v542-density-"] .ucf-table:not(.ucf-doc-table) td{padding-top:calc((var(--ucf-ux-row-h) - 20px)/2)!important;padding-bottom:calc((var(--ucf-ux-row-h) - 20px)/2)!important}
body.ucf-app-page[class*="ucf-v542-density-"] .ucf-card-pad{padding:var(--ucf-ux-card-pad)!important}
body.ucf-app-page.ucf-v542-density-ultra .ucf-table:not(.ucf-doc-table){font-size:12px}
body.ucf-app-page.ucf-v542-density-ultra .ucf-page-head{margin-bottom:10px}
body.ucf-app-page.ucf-v542-density-ultra .ucf-section{margin-top:12px}
body.ucf-app-page.ucf-v542-density-ultra .ucf-grid{gap:9px!important}

/* Universal table interaction */
body.ucf-app-page table.ucf-table:not(.ucf-doc-table):not(.ucf-no-row-open) tbody tr[data-ux-row-open="1"]{cursor:pointer}
body.ucf-app-page table.ucf-table:not(.ucf-doc-table):not(.ucf-no-row-open) tbody tr[data-ux-row-open="1"]:hover{background:color-mix(in srgb,var(--ucf-primary,#f58220) 4%,var(--ucf-panel,#fff))}
body.ucf-app-page table.ucf-table tbody tr[data-ux-row-open="1"]:focus-visible{outline:0;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ucf-primary,#f58220) 60%,transparent)}
body.ucf-app-page table.ucf-table td[data-ux-actions="1"],body.ucf-app-page table.ucf-table th:last-child{white-space:nowrap}
body.ucf-app-page .ucf-row-actions{gap:5px}
body.ucf-app-page .ucf-row-actions .ucf-button:not(.ucf-button-primary):not(.ucf-button-danger){background:transparent}

/* Smart quick create */
body.ucf-app-page .ucf-quick-action.is-ux-suggested{position:relative;border-color:color-mix(in srgb,var(--ucf-primary,#f58220) 58%,var(--ucf-border,#d8e1eb));background:color-mix(in srgb,var(--ucf-primary,#f58220) 7%,var(--ucf-panel,#fff));box-shadow:0 8px 22px color-mix(in srgb,var(--ucf-primary,#f58220) 12%,transparent)}
body.ucf-app-page .ucf-quick-action.is-ux-suggested:after{content:"Suggested";position:absolute;right:7px;top:7px;padding:2px 6px;border-radius:999px;font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;background:var(--ucf-primary,#f58220);color:#fff}

/* Perceived performance */
body.ucf-app-page:before{content:"";position:fixed;z-index:99999;left:0;top:0;width:0;height:2px;background:var(--ucf-primary,#f58220);opacity:0;pointer-events:none;transition:width .45s ease,opacity .18s ease}
body.ucf-app-page.ucf-ux-navigating:before{width:72%;opacity:1}
body.ucf-app-page.ucf-ux-navigated:before{width:100%;opacity:0}
body.ucf-app-page .is-ux-busy{position:relative;pointer-events:none;opacity:.78}
body.ucf-app-page .is-ux-busy:after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ucf542spin .6s linear infinite}
@keyframes ucf542spin{to{transform:rotate(360deg)}}
body.ucf-app-page .ucf-skeleton{background:linear-gradient(90deg,color-mix(in srgb,var(--ucf-muted,#667085) 8%,transparent) 25%,color-mix(in srgb,var(--ucf-muted,#667085) 15%,transparent) 50%,color-mix(in srgb,var(--ucf-muted,#667085) 8%,transparent) 75%);background-size:200% 100%;animation:ucf542shimmer 1.25s linear infinite}
@keyframes ucf542shimmer{to{background-position:-200% 0}}

/* Toast language and accessibility */
body.ucf-app-page .ucf-toast-wrap{z-index:100000!important}
body.ucf-app-page .ucf-toast{position:relative;padding-left:38px!important;box-shadow:var(--ucf-ux542-shadow-lg)!important;backdrop-filter:blur(12px)}
body.ucf-app-page .ucf-toast:before{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-weight:900;content:"•"}
body.ucf-app-page .ucf-toast.is-success:before{content:"✓"}
body.ucf-app-page .ucf-toast.is-error:before{content:"!"}

/* Tooltips for icon-only controls; source text comes from title via JS. */
body.ucf-app-page [data-ux-tooltip]{position:relative}
@media (hover:hover){
  body.ucf-app-page [data-ux-tooltip]:hover:after,body.ucf-app-page [data-ux-tooltip]:focus-visible:after{content:attr(data-ux-tooltip);position:absolute;z-index:10020;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);max-width:220px;width:max-content;padding:6px 8px;border-radius:7px;background:#101828;color:#fff;font-size:10px;font-weight:650;line-height:1.3;box-shadow:0 8px 24px rgba(0,0,0,.18);pointer-events:none}
}

/* Dropdown / popover governance */
body.ucf-app-page :is(.ucf-client-more-menu,.ucf-exec-tools-menu,.ucf-v523-workspace-menu,.ucf-exec-workspace-menu,.ucf-ux-popover){z-index:10050!important;box-shadow:var(--ucf-ux542-shadow-lg)!important;max-width:min(340px,calc(100vw - 20px))}
body.ucf-app-page :is(.ucf-client-more-menu,.ucf-exec-tools-menu,.ucf-v523-workspace-menu,.ucf-exec-workspace-menu).is-ux-flip{top:auto!important;bottom:calc(100% + 8px)!important}
body.ucf-app-page :is(.ucf-client-more-menu,.ucf-exec-tools-menu,.ucf-v523-workspace-menu,.ucf-exec-workspace-menu).is-ux-shift-left{left:auto!important;right:0!important}

/* Advanced action hierarchy: primary stays strongest, secondary is quieter. */
body.ucf-app-page .ucf-page-actions{align-items:center}
body.ucf-app-page .ucf-page-actions .ucf-button:not(.ucf-button-primary):not(.ucf-button-danger):not(.ucf-button-success){box-shadow:none}
body.ucf-app-page .ucf-page-actions .ucf-button-primary{box-shadow:0 6px 18px color-mix(in srgb,var(--ucf-primary,#f58220) 18%,transparent)}
body.ucf-app-page .ucf-page-actions .ucf-button-primary:hover{transform:translateY(-1px)}

/* Money and metric scanning */
body.ucf-app-page :is(.ucf-metric-value,.ucf-report-kpi b,.ucf-growth-kpi>b,.ucf-money-positive,.ucf-money-danger){font-variant-numeric:tabular-nums lining-nums}
body.ucf-app-page table.ucf-table th:nth-last-child(-n+3),body.ucf-app-page table.ucf-table td:nth-last-child(-n+3){font-variant-numeric:tabular-nums}

/* Business Health priority and decision hierarchy */
body.ucf-app-page .ucf-growth-rec{position:relative;overflow:hidden}
body.ucf-app-page .ucf-growth-rec:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--ucf-muted,#98a2b3)}
body.ucf-app-page .ucf-growth-rec.is-critical:before{background:#d92d20}
body.ucf-app-page .ucf-growth-rec.is-high:before{background:#f79009}
body.ucf-app-page .ucf-growth-rec.is-medium:before{background:#2e90fa}
body.ucf-app-page .ucf-growth-rec.is-opportunity:before{background:#12b76a}
body.ucf-app-page .ucf-growth-rec.is-ux-top-action{box-shadow:0 12px 30px rgba(15,23,42,.11)}
body.ucf-app-page .ucf-growth-rec.is-ux-top-action .ucf-growth-rec-head:after{content:"Next best action";margin-left:auto;padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--ucf-primary,#f58220) 12%,transparent);color:var(--ucf-primary,#f58220);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}

/* Safe mobile gesture affordance. Only JS-enabled rows with a real detail action receive this. */
@media(max-width:680px){
  body.ucf-app-page table.ucf-ux-card-table tr[data-ux-row-open="1"]{position:relative;touch-action:pan-y}
  body.ucf-app-page table.ucf-ux-card-table tr[data-ux-row-open="1"]:after{content:"Swipe left to open";grid-column:1/-1;font-size:9px;color:var(--ucf-muted,#667085);opacity:.68;text-align:right;margin-top:-2px}
  body.ucf-app-page table.ucf-ux-card-table tr.is-ux-swipe-ready{transform:translateX(-8px);box-shadow:var(--ucf-ux542-shadow)}
  body.ucf-app-page .ucf-page-actions{scroll-snap-type:x proximity}
  body.ucf-app-page .ucf-page-actions>*{scroll-snap-align:start}
  body.ucf-app-page .ucf-modal-foot{padding-bottom:max(14px,env(safe-area-inset-bottom))!important}
  body.ucf-app-page .ucf-toast-wrap{left:10px!important;right:10px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important}
}

/* Tablet is a first-class layout, not squeezed desktop. */
@media(min-width:681px) and (max-width:1024px){
  body.ucf-app-page .ucf-page{padding-left:14px!important;padding-right:14px!important}
  body.ucf-app-page .ucf-page-head{align-items:flex-start}
  body.ucf-app-page .ucf-page-actions{max-width:58%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}
  body.ucf-app-page .ucf-page-actions .ucf-button{flex:0 0 auto}
  body.ucf-app-page .ucf-grid-4,body.ucf-app-page .ucf-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Do not leak any v5.4.2 application polish into commercial documents. */
body.ucf-app-page :is(.ucf-document-set,.ucf-a4-sheet,.ucf-document-viewer,[data-document-viewer]) :is(table,tr,td,th,button,a,input,select,textarea){transition:none!important;transform:none!important;box-shadow:revert}
@media print{body.ucf-app-page:before,body.ucf-app-page [data-ux-tooltip]:after{display:none!important}}
@media(prefers-reduced-motion:reduce){
  body.ucf-app-page *,body.ucf-app-page *:before,body.ucf-app-page *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
body.ucf-app-page #ucf-ux542-live{position:fixed!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}


/* ---- source: intelligent-workspace-v550.css ---- */
/* Udyojak CRM v5.5.0 — Intelligent Adaptive Workspace, Unified 360 and Enterprise Design System. */
body.ucf-app-page{
  --ucf-v550-radius-sm:8px;--ucf-v550-radius:12px;--ucf-v550-radius-lg:16px;
  --ucf-v550-gap:14px;--ucf-v550-border:color-mix(in srgb,var(--ucf-border,#d8e1eb) 88%,transparent);
  --ucf-v550-shadow:0 8px 28px rgba(15,23,42,.07);--ucf-v550-shadow-lg:0 18px 48px rgba(15,23,42,.12);
  --ucf-v550-focus:0 0 0 3px color-mix(in srgb,var(--ucf-primary,#f58220) 22%,transparent);
}
body.ucf-app-page .ucf-page{max-width:1780px;margin-inline:auto}
body.ucf-app-page .ucf-page-head{gap:16px}
body.ucf-app-page .ucf-page-head>div:first-child{min-width:0}
body.ucf-app-page .ucf-page-head h1{letter-spacing:-.025em}
body.ucf-app-page .ucf-v550-role-chip{display:inline-flex;margin-top:6px;padding:3px 8px;border:1px solid var(--ucf-v550-border);border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--ucf-muted,#667085);background:color-mix(in srgb,var(--ucf-panel,#fff) 94%,var(--ucf-primary,#f58220) 6%)}

/* Decision-first dashboard */
body.ucf-app-page .ucf-v550-decision-band{display:grid;grid-template-columns:minmax(280px,1.4fr) minmax(270px,.9fr) auto;gap:18px;align-items:center;padding:20px 22px;margin:0 0 16px;border:1px solid var(--ucf-v550-border);border-radius:var(--ucf-v550-radius-lg);background:linear-gradient(135deg,color-mix(in srgb,var(--ucf-panel,#fff) 94%,var(--ucf-primary,#f58220) 6%),var(--ucf-panel,#fff));box-shadow:var(--ucf-v550-shadow)}
body.ucf-app-page .ucf-v550-decision-band.is-watch{border-left:4px solid #f79009}body.ucf-app-page .ucf-v550-decision-band.is-risk{border-left:4px solid #d92d20}body.ucf-app-page .ucf-v550-decision-band.is-good{border-left:4px solid #12b76a}
body.ucf-app-page .ucf-v550-decision-copy small,.ucf-app-page .ucf-v550-role-band small{display:block;font-size:9px;font-weight:850;letter-spacing:.09em;color:var(--ucf-muted,#667085);margin-bottom:5px}
body.ucf-app-page .ucf-v550-decision-copy h2{font-size:20px;line-height:1.2;margin:0;color:var(--ucf-text,#101828)}
body.ucf-app-page .ucf-v550-decision-copy p{margin:6px 0 0;color:var(--ucf-muted,#667085);font-size:12px;line-height:1.5}
body.ucf-app-page .ucf-v550-decision-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.ucf-app-page .ucf-v550-decision-stats span{padding:10px 12px;border:1px solid var(--ucf-v550-border);border-radius:10px;background:color-mix(in srgb,var(--ucf-panel,#fff) 96%,transparent)}
body.ucf-app-page .ucf-v550-decision-stats small{display:block;color:var(--ucf-muted,#667085);font-size:9px;line-height:1.25}
body.ucf-app-page .ucf-v550-decision-stats b{display:block;margin-top:3px;font-size:18px;font-variant-numeric:tabular-nums}
body.ucf-app-page .ucf-v550-decision-actions{display:flex;flex-direction:column;gap:6px;min-width:130px}
body.ucf-app-page .ucf-v550-focus-action{min-height:34px;padding:7px 11px;border:1px solid var(--ucf-v550-border);border-radius:9px;background:var(--ucf-panel,#fff);color:var(--ucf-text,#101828);font:inherit;font-size:11px;font-weight:750;cursor:pointer;text-align:left}
body.ucf-app-page .ucf-v550-focus-action:hover{border-color:color-mix(in srgb,var(--ucf-primary,#f58220) 44%,var(--ucf-v550-border));transform:translateY(-1px)}
body.ucf-app-page .ucf-v550-focus-action.is-primary{background:var(--ucf-primary,#f58220);border-color:var(--ucf-primary,#f58220);color:#fff}
body.ucf-app-page .ucf-v550-priority-section{scroll-margin-top:96px}
body.ucf-app-page .ucf-v550-role-band{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;margin-bottom:14px;border:1px solid var(--ucf-v550-border);border-radius:12px;background:var(--ucf-panel,#fff)}
body.ucf-app-page .ucf-v550-role-band b{font-size:13px}.ucf-v550-role-band>div:last-child{display:flex;gap:6px;flex-wrap:wrap}

/* Unified 360 experience */
body.ucf-app-page .ucf-v550-entity360{--ucf-v550-entity-accent:var(--ucf-primary,#f58220)}
body.ucf-app-page .ucf-v550-entity360[data-v550-entity-type="leads"]{--ucf-v550-entity-accent:#2e90fa}
body.ucf-app-page .ucf-v550-entity360[data-v550-entity-type="clients"]{--ucf-v550-entity-accent:#12b76a}
body.ucf-app-page .ucf-v550-entity360[data-v550-entity-type="quotes"]{--ucf-v550-entity-accent:#7a5af8}
body.ucf-app-page .ucf-v550-entity360[data-v550-entity-type="invoices"]{--ucf-v550-entity-accent:#0ba5ec}
body.ucf-app-page .ucf-v550-entity360[data-v550-entity-type="projects"]{--ucf-v550-entity-accent:#f79009}
body.ucf-app-page .ucf-v550-entity-head{position:relative;padding:16px 18px!important;border:1px solid var(--ucf-v550-border);border-radius:var(--ucf-v550-radius-lg);background:var(--ucf-panel,#fff);box-shadow:var(--ucf-v550-shadow);margin-bottom:10px!important;overflow:visible!important}
body.ucf-app-page .ucf-v550-entity-head:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 4px 4px 0;background:var(--ucf-v550-entity-accent)}
body.ucf-app-page .ucf-v550-entity-kicker{display:block!important;margin:0 0 3px!important;color:var(--ucf-v550-entity-accent)!important;font-size:9px!important;font-weight:850!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.ucf-app-page .ucf-v550-entity-head h1{font-size:22px!important;letter-spacing:-.025em}
body.ucf-app-page .ucf-v550-entity-head .ucf-button-danger.ucf-v550-destructive-secondary{background:transparent!important;border-color:color-mix(in srgb,#d92d20 35%,var(--ucf-v550-border))!important;color:#b42318!important;box-shadow:none!important}
body.ucf-app-page .ucf-v550-context-actions{display:flex;align-items:center;gap:7px;padding:7px 0!important;overflow:visible!important;flex-wrap:wrap}
body.ucf-app-page .ucf-v550-context-actions .ucf-button-primary{order:-3}.ucf-v550-context-actions .ucf-button-success{order:-2}
body.ucf-app-page .ucf-v550-summary-strip{border:1px solid var(--ucf-v550-border)!important;border-radius:12px!important;background:color-mix(in srgb,var(--ucf-panel,#fff) 97%,var(--ucf-v550-entity-accent) 3%)!important;overflow:hidden}
body.ucf-app-page .ucf-v550-entity-tabs{position:sticky;top:var(--ucf-header-height,64px);z-index:42;background:color-mix(in srgb,var(--ucf-bg,#f7f9fc) 92%,transparent);backdrop-filter:blur(10px);padding-top:5px;padding-bottom:5px}
body.ucf-app-page .ucf-v550-entity-tabs .ucf-client-tab{min-height:36px}

/* Responsive split view + quick peek */
body.ucf-app-page .ucf-v550-split-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
body.ucf-app-page .ucf-v550-quickpeek{display:none;position:sticky;top:78px;min-width:0;padding:16px;border:1px solid var(--ucf-v550-border);border-radius:var(--ucf-v550-radius-lg);box-shadow:var(--ucf-v550-shadow);background:var(--ucf-panel,#fff)}
@media(min-width:1180px){body.ucf-app-page .ucf-v550-split-page.is-split-enabled .ucf-v550-split-grid{grid-template-columns:minmax(0,1fr) 310px}body.ucf-app-page .ucf-v550-split-page.is-split-enabled .ucf-v550-quickpeek{display:block}body.ucf-app-page .ucf-v550-split-page.is-split-enabled .ucf-v550-legacy-insight{display:none!important}}
body.ucf-app-page .ucf-v550-split-page tr.is-v550-previewed{background:color-mix(in srgb,var(--ucf-primary,#f58220) 6%,var(--ucf-panel,#fff))!important;box-shadow:inset 3px 0 0 var(--ucf-primary,#f58220)}
body.ucf-app-page .ucf-v550-peek-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
body.ucf-app-page .ucf-v550-peek-head small{font-size:9px;font-weight:850;letter-spacing:.09em;color:var(--ucf-muted,#667085)}
body.ucf-app-page .ucf-v550-peek-head button{border:0;background:transparent;color:var(--ucf-muted,#667085);font-size:20px;cursor:pointer;line-height:1}
body.ucf-app-page .ucf-v550-peek-identity{display:flex;gap:10px;align-items:center;margin-bottom:10px}.ucf-v550-peek-identity>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--ucf-primary,#f58220) 10%,var(--ucf-panel,#fff));color:var(--ucf-primary,#f58220);font-weight:850}
body.ucf-app-page .ucf-v550-peek-identity h3{margin:0;font-size:15px;line-height:1.3}.ucf-v550-peek-identity p{margin:3px 0 0;font-size:10px;color:var(--ucf-muted,#667085);line-height:1.4}
body.ucf-app-page .ucf-v550-peek-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--ucf-primary,#f58220) 8%,var(--ucf-panel,#fff));font-size:9px;font-weight:750;margin-bottom:12px}
body.ucf-app-page .ucf-v550-peek-facts{display:grid;gap:0;border-top:1px solid var(--ucf-v550-border);border-bottom:1px solid var(--ucf-v550-border)}
body.ucf-app-page .ucf-v550-peek-facts>div{padding:9px 0;border-bottom:1px solid var(--ucf-v550-border)}body.ucf-app-page .ucf-v550-peek-facts>div:last-child{border-bottom:0}
body.ucf-app-page .ucf-v550-peek-facts small{display:block;font-size:8px;font-weight:800;letter-spacing:.07em;color:var(--ucf-muted,#667085)}body.ucf-app-page .ucf-v550-peek-facts b{display:block;margin-top:2px;font-size:11px;line-height:1.4;word-break:break-word}
body.ucf-app-page .ucf-v550-peek-actions{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:13px}.ucf-v550-peek-actions .ucf-button{justify-content:center}
body.ucf-app-page .ucf-v550-peek-hint{margin:10px 0 0;color:var(--ucf-muted,#667085);font-size:9px;line-height:1.45}
body.ucf-app-page .ucf-v550-preview-toggle[aria-pressed="true"]{border-color:color-mix(in srgb,var(--ucf-primary,#f58220) 45%,var(--ucf-v550-border));color:var(--ucf-primary,#f58220)}

/* Contextual Command Center */
body.ucf-app-page .ucf-v550-command{width:min(820px,calc(100vw - 28px))!important}
body.ucf-app-page .ucf-v550-command .ucf-v550-command-context{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--ucf-v550-border);background:color-mix(in srgb,var(--ucf-panel,#fff) 97%,var(--ucf-primary,#f58220) 3%)}
body.ucf-app-page .ucf-v550-command-context>span{padding-right:10px;border-right:1px solid var(--ucf-v550-border)}
body.ucf-app-page .ucf-v550-command-context small{display:block;font-size:7px;font-weight:850;letter-spacing:.08em;color:var(--ucf-muted,#667085)}body.ucf-app-page .ucf-v550-command-context b{font-size:10px}
body.ucf-app-page .ucf-v550-command-context>div{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.ucf-v550-command-context>div>small{margin-right:2px}
body.ucf-app-page .ucf-v550-command-context button{border:1px solid var(--ucf-v550-border);background:var(--ucf-panel,#fff);color:var(--ucf-text,#101828);border-radius:7px;padding:4px 7px;font-size:8px;font-weight:700;cursor:pointer;white-space:nowrap}

/* Role-aware emphasis: do not hide permission-authorized UI; only strengthen the relevant surfaces. */
body.ucf-app-page.ucf-v550-role-sales :is([data-module="leads"],[data-module="sales"],[data-route="leads"],[data-route="followups"]) ,body.ucf-app-page.ucf-v550-role-finance :is([data-module="finance"],[data-route="accounting"],[data-route="payments"]),body.ucf-app-page.ucf-v550-role-team :is([data-module="projects"],[data-route="workspace"],[data-route="tasks"]){font-weight:800}

/* Enterprise component governance */
body.ucf-app-page .ucf-card:not(.ucf-document-set):not(.ucf-a4-sheet){border-color:var(--ucf-v550-border)}
body.ucf-app-page .ucf-table-card{overflow:hidden;border-radius:var(--ucf-v550-radius-lg)}
body.ucf-app-page .ucf-toolbar,body.ucf-app-page .ucf-client-toolbar{gap:8px}
body.ucf-app-page .ucf-input:focus,body.ucf-app-page .ucf-select:focus,body.ucf-app-page .ucf-textarea:focus{box-shadow:var(--ucf-v550-focus)!important}
body.ucf-app-page .ucf-button:focus-visible,body.ucf-app-page button:focus-visible,body.ucf-app-page [tabindex="0"]:focus-visible{outline:0!important;box-shadow:var(--ucf-v550-focus)!important}
body.ucf-app-page .ucf-button{border-radius:9px}
body.ucf-app-page .ucf-stage-pill,body.ucf-app-page .ucf-payment-pill,body.ucf-app-page .ucf-source-pill{font-weight:750}

/* Tablet and mobile collapse split view into canonical single-column workspace. */
@media(max-width:1179px){body.ucf-app-page .ucf-v550-preview-toggle{display:none!important}body.ucf-app-page .ucf-v550-quickpeek{display:none!important}}
@media(max-width:900px){body.ucf-app-page .ucf-v550-decision-band{grid-template-columns:1fr 1fr}.ucf-v550-decision-actions{grid-column:1/-1;display:flex!important;flex-direction:row!important;overflow-x:auto}.ucf-v550-decision-actions>*{flex:0 0 auto}.ucf-v550-command-context{grid-template-columns:1fr 1fr!important}.ucf-v550-command-context>div{grid-column:1/-1;justify-content:flex-start!important;overflow-x:auto}}
@media(max-width:680px){body.ucf-app-page .ucf-v550-decision-band{grid-template-columns:1fr;padding:14px}.ucf-v550-decision-stats{grid-template-columns:repeat(3,1fr)}body.ucf-app-page .ucf-v550-decision-actions{grid-column:auto}.ucf-v550-decision-copy h2{font-size:17px}body.ucf-app-page .ucf-v550-role-band{align-items:flex-start;flex-direction:column}.ucf-v550-role-band>div:last-child{width:100%;overflow-x:auto;flex-wrap:nowrap}.ucf-v550-entity-head{padding:13px 12px!important}.ucf-v550-entity-head h1{font-size:19px!important}.ucf-v550-context-actions{flex-wrap:nowrap;overflow-x:auto!important;padding-bottom:6px!important}.ucf-v550-context-actions>*{flex:0 0 auto}.ucf-v550-entity-tabs{top:0}}

/* Commercial document isolation remains absolute. */
body.ucf-app-page :is(.ucf-document-set,.ucf-a4-sheet,.ucf-document-viewer,[data-document-viewer]) :is(*,button,a,input,select,textarea){--ucf-v550-shadow:none!important}
@media print{body.ucf-app-page .ucf-v550-decision-band,body.ucf-app-page .ucf-v550-role-band,body.ucf-app-page .ucf-v550-quickpeek,body.ucf-app-page .ucf-v550-preview-toggle,body.ucf-app-page .ucf-v550-role-chip{display:none!important}}
@media(prefers-reduced-motion:reduce){body.ucf-app-page .ucf-v550-focus-action:hover{transform:none}}


/* ---- source: automation-center-v590.css ---- */
/* Udyojak CRM v5.9.0 — Automation Center */
.ucf-v590-automation-center .ucf-grid-6{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ucf-v590-kpis .ucf-metric{min-width:0}
.ucf-v590-kpis .ucf-metric-value{font-size:clamp(20px,2vw,29px)}
.ucf-v590-aging-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin-top:12px;border:1px solid var(--ucf-border);border-radius:14px;overflow:hidden;background:var(--ucf-border)}
.ucf-v590-aging-strip>div{background:var(--ucf-panel);padding:12px 14px;min-width:0}
.ucf-v590-aging-strip small{display:block;color:var(--ucf-muted);font-size:11px;margin-bottom:5px}
.ucf-v590-aging-strip b{display:block;font-size:18px;color:var(--ucf-text)}
.ucf-v590-queue-type{display:inline-flex;align-items:center;padding:3px 7px;margin:0 7px 5px 0;border:1px solid var(--ucf-border);border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--ucf-muted)}
.ucf-v590-queue-type.is-commercial{border-color:rgba(245,158,11,.28);background:rgba(245,158,11,.08)}
.ucf-v590-safety-list{display:grid;gap:1px;border:1px solid var(--ucf-border);border-radius:12px;overflow:hidden;background:var(--ucf-border)}
.ucf-v590-safety-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;background:var(--ucf-panel)}
.ucf-v590-safety-list span{color:var(--ucf-muted);font-size:12px}.ucf-v590-safety-list b{font-size:12px;text-align:right}
.ucf-v590-reschedule{font-size:10px!important;font-weight:900!important;min-width:30px!important}
@media(max-width:1180px){.ucf-v590-automation-center .ucf-grid-6,.ucf-v590-aging-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ucf-v590-automation-center .ucf-grid-6,.ucf-v590-aging-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ucf-v590-automation-center .ucf-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.ucf-v590-automation-center .ucf-page-actions .ucf-button{justify-content:center}.ucf-v590-safety-list>div{align-items:flex-start}}
@media(max-width:460px){.ucf-v590-automation-center .ucf-grid-6,.ucf-v590-aging-strip{grid-template-columns:1fr}.ucf-v590-automation-center .ucf-page-actions{grid-template-columns:1fr}.ucf-v590-reschedule{display:none}}

/* v5.9.0 record-level automation governance */
.ucf-v590-optout-toggle{white-space:nowrap}
.ucf-v590-optout-toggle.is-paused{border-color:var(--ucf-orange,#f59e0b);color:var(--ucf-orange,#f59e0b);background:color-mix(in srgb,var(--ucf-orange,#f59e0b) 8%,transparent)}

/* Compact mobile Today workspace: daily selling actions first. */
.ucf-v590-today-mobile{display:none}
@media (max-width:760px){
  .ucf-v590-today-mobile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 18px}
  .ucf-v590-today-mobile button{appearance:none;border:1px solid var(--ucf-border);background:var(--ucf-card);color:var(--ucf-text);border-radius:12px;padding:10px 6px;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;box-shadow:var(--ucf-shadow-sm,0 1px 2px rgba(0,0,0,.05));cursor:pointer}
  .ucf-v590-today-mobile span{font-size:17px;line-height:1}
  .ucf-v590-today-mobile b{font-size:11px;line-height:1.15}
  .ucf-v590-today-mobile small{font-size:11px;color:var(--ucf-muted)}
  .ucf-v590-optout-toggle{order:20}
}
@media (max-width:420px){.ucf-v590-today-mobile{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v6.2.4 — Global Search Intelligence & Recent Workspace Recovery */
.ucf-v624-command-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border-radius:10px;padding:2px 4px}
.ucf-v624-command-record.is-active,.ucf-v624-command-record:focus-within{background:var(--ucf-accent-soft)}
.ucf-v624-command-record .ucf-v5-command-result{min-width:0;background:transparent!important}
.ucf-v624-record-actions{display:flex;gap:5px;align-items:center}
.ucf-v624-record-actions button{min-height:30px;border:1px solid var(--ucf-border-soft,var(--ucf-border));border-radius:8px;background:var(--ucf-panel2);color:var(--ucf-text);padding:5px 8px;font:inherit;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.ucf-v624-record-actions button:first-child{border-color:color-mix(in srgb,var(--ucf-accent) 40%,var(--ucf-border));color:var(--ucf-accent)}
.ucf-v624-record-actions button:hover{background:var(--ucf-accent-soft)}
.ucf-v624-recent-section{margin-top:10px;padding-top:4px;border-top:1px solid var(--ucf-border-soft,var(--ucf-border))}
.ucf-v624-workspaces{margin-top:10px;padding-top:4px;border-top:1px solid var(--ucf-border-soft,var(--ucf-border))}
.ucf-v624-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ucf-v624-workspace-grid button{min-width:0;padding:9px 10px;border:1px solid var(--ucf-border-soft,var(--ucf-border));border-radius:9px;background:var(--ucf-panel2);color:var(--ucf-text);text-align:left;cursor:pointer}
.ucf-v624-workspace-grid b,.ucf-v624-workspace-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ucf-v624-workspace-grid b{font-size:11.5px}.ucf-v624-workspace-grid small{margin-top:2px;color:var(--ucf-muted);font-size:10px}
@media(max-width:760px){.ucf-v624-command-record{grid-template-columns:1fr;gap:2px;padding:4px}.ucf-v624-record-actions{padding:0 8px 7px;overflow-x:auto}.ucf-v624-record-actions button{min-height:36px}.ucf-v624-workspace-grid{grid-template-columns:1fr}}


/* v6.2.5 — Empty workspace recovery, density harmonization & blank-space reduction */
.ucf-summary-strip-v625{margin-top:8px;margin-bottom:14px;gap:10px!important}
.ucf-summary-strip-v625 .ucf-metric{min-height:88px;padding:14px 16px!important}
.ucf-summary-strip-v625 .ucf-metric-value{font-size:clamp(20px,2vw,28px)!important}
.ucf-empty-state-v625{min-height:210px;display:flex;align-items:center;justify-content:center;gap:18px;text-align:left;padding:32px 28px;max-width:760px;margin:0 auto}
.ucf-empty-state-v625>div:not(.ucf-empty-actions-v625){max-width:480px}
.ucf-empty-state-v625 b{display:block;font-size:18px;margin-bottom:5px}
.ucf-empty-state-v625 p{margin:0;line-height:1.55;color:var(--ucf-muted)}
.ucf-empty-actions-v625{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ucf-empty-workspace-v625{padding:0!important;overflow:hidden}
.ucf-list-page-v611>.ucf-card.ucf-table-card{margin-top:10px}
.ucf-list-page-v611 .ucf-client-toolbar.ucf-list-toolbar-v611{margin:10px 0 12px}
.ucf-detail-density-v625 .ucf-client-head,.ucf-detail-density-v625 .ucf-lead-head{min-height:auto!important;margin-bottom:8px!important}
.ucf-detail-density-v625 .ucf-client-contact-strip{margin:0 0 10px!important}
.ucf-detail-density-v625 .ucf-guided-next-v610{margin:10px 0 12px!important;padding:16px 18px!important}
.ucf-detail-density-v625 .ucf-revenue-strip{margin:10px 0 12px!important;gap:8px!important}
.ucf-detail-density-v625 .ucf-revenue-metric{padding:12px 14px!important;min-height:72px!important}
.ucf-detail-density-v625 .ucf-client-tabs{margin-top:8px!important}
.ucf-detail-density-v625 .ucf-info-grid{gap:12px!important;margin-top:12px!important}
.ucf-detail-density-v625 .ucf-info-card{padding:16px!important}
.ucf-detail-density-v625 .ucf-lead-lower{gap:12px!important;margin-top:12px!important}
.ucf-empty-cell{height:auto!important;min-height:0!important}
@media(max-width:760px){
  .ucf-summary-strip-v625{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:8px 0 10px}
  .ucf-summary-strip-v625 .ucf-metric{min-height:76px;padding:12px!important}
  .ucf-empty-state-v625{min-height:180px;display:grid;grid-template-columns:auto 1fr;padding:24px 18px;gap:12px}
  .ucf-empty-actions-v625{grid-column:1/-1;width:100%}
  .ucf-empty-actions-v625 .ucf-button{flex:1;min-height:44px}
  .ucf-detail-density-v625 .ucf-guided-next-v610{padding:14px!important}
  .ucf-detail-density-v625 .ucf-revenue-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:390px){.ucf-summary-strip-v625{grid-template-columns:1fr!important}.ucf-detail-density-v625 .ucf-revenue-strip{grid-template-columns:1fr 1fr!important}}

/* Zero-record pages should use the table area, not preserve empty analytics columns. */
.ucf-leads-layout:has(.ucf-empty-state-v625){grid-template-columns:minmax(0,1fr)!important}
.ucf-leads-layout:has(.ucf-empty-state-v625) .ucf-insights{display:none!important}
.ucf-list-page-v611 .ucf-table-card:has(.ucf-empty-state-v625) .ucf-pagination{display:none!important}
.ucf-list-page-v611 .ucf-table-card:has(.ucf-empty-state-v625) thead{opacity:.62}

/* v6.2.6 — Client filter continuity & guarded document actions */
.ucf-client-filter-state-v626{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--ucf-accent) 22%,var(--ucf-border));border-radius:10px;background:color-mix(in srgb,var(--ucf-accent) 5%,var(--ucf-panel));color:var(--ucf-text)}
.ucf-client-filter-state-v626 span,.ucf-client-filter-state-v626 b,.ucf-client-filter-state-v626 small{display:block}
.ucf-client-filter-state-v626 b{font-size:12px}.ucf-client-filter-state-v626 small{margin-top:2px;color:var(--ucf-muted);font-size:10.5px}
.ucf-context-back-v626{width:auto!important;min-width:38px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;border-radius:9px!important;white-space:nowrap}
.ucf-context-back-v626 b{font-size:11px;line-height:1;font-weight:800}
[data-quotation-open].is-busy-v626,[data-invoice-open].is-busy-v626,[data-payment-open].is-busy-v626{pointer-events:none;opacity:.62}
@media(max-width:760px){
  .ucf-client-filter-state-v626{align-items:flex-start;margin-bottom:8px}
  .ucf-client-filter-state-v626 .ucf-button{min-height:38px}
  .ucf-context-back-v626{min-width:40px!important;padding:0 8px!important}
  .ucf-context-back-v626 b{display:none}
}

/* v6.2.7 — return-position, dirty-form and mutation interaction integrity */
.ucf-modal.has-dirty-form-v627 .ucf-modal-head:after{content:"Unsaved changes";margin-left:auto;flex:0 0 auto;border:1px solid color-mix(in srgb,var(--ucf-orange) 42%,var(--ucf-border));border-radius:999px;background:color-mix(in srgb,var(--ucf-orange) 10%,var(--ucf-panel));color:var(--ucf-orange);padding:5px 8px;font-size:9px;font-weight:850;letter-spacing:.02em;white-space:nowrap}
.ucf-modal form[data-ucf-submitting-v627="1"] .ucf-modal-foot:before{content:"Saving securely…";margin-right:auto;color:var(--ucf-muted);font-size:10px;font-weight:750}
.is-busy-v627{pointer-events:none;cursor:wait!important;opacity:.68}
.is-busy-v627:after{content:"";width:11px;height:11px;margin-left:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ucf-v627-spin .7s linear infinite}
.ucf-input.is-invalid-v627,.ucf-select.is-invalid-v627,.ucf-textarea.is-invalid-v627,[aria-invalid="true"].is-invalid-v627{border-color:var(--ucf-red)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ucf-red) 14%,transparent)!important}
@keyframes ucf-v627-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.is-busy-v627:after{animation-duration:1.4s}}
@media(max-width:760px){
  .ucf-modal.has-dirty-form-v627 .ucf-modal-head:after{position:absolute;right:46px;top:12px;max-width:112px;overflow:hidden;text-overflow:ellipsis}
  .ucf-modal form[data-ucf-submitting-v627="1"] .ucf-modal-foot:before{flex-basis:100%;order:-1}
  .ucf-modal-body{scroll-padding-top:18px;scroll-padding-bottom:calc(110px + var(--ucf-keyboard-offset,0px));overscroll-behavior-y:contain}
}

/* v6.2.8 — workflow acceptance, contextual return and mobile recovery */
.ucf-workflow-back-v628{width:auto!important;min-width:38px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;border-radius:9px!important;white-space:nowrap}
.ucf-workflow-back-v628 b{font-size:11px;line-height:1;font-weight:800}
.is-busy-v628{pointer-events:none;cursor:wait!important;opacity:.68}
.is-busy-v628:after{content:"";width:11px;height:11px;margin-left:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ucf-v627-spin .7s linear infinite}
.ucf-workflow-acceptance-v628 .ucf-route-matrix-row>span{color:var(--ucf-muted);font-size:10.5px;font-weight:700}
@media(prefers-reduced-motion:reduce){.is-busy-v628:after{animation-duration:1.4s}}
@media(max-width:760px){
  .ucf-workflow-back-v628{min-width:40px!important;padding:0 8px!important}
  .ucf-workflow-back-v628 b{display:none}
  .ucf-recovery-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}
  .ucf-recovery-actions .ucf-button{width:100%;min-width:0;white-space:normal}
  .ucf-workflow-acceptance-v628 .ucf-route-matrix-row{min-height:66px}
}
@media(max-width:390px){.ucf-recovery-actions{grid-template-columns:1fr}}

/* v6.3.2 — Business Profile production-readiness and direct asset uploads */
.ucf-business-readiness{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:14px 16px;border:1px solid var(--ucf-border);border-radius:14px;background:var(--ucf-panel)}
.ucf-business-readiness b{display:block;font-size:13px}.ucf-business-readiness p{margin:4px 0 0;color:var(--ucf-muted);font-size:12px}.ucf-business-readiness strong{font-size:10px;letter-spacing:.08em;padding:6px 9px;border-radius:999px}
.ucf-business-readiness.is-ready{border-color:rgba(25,160,91,.38);background:rgba(25,160,91,.07)}.ucf-business-readiness.is-ready strong{color:#45d88a;background:rgba(25,160,91,.13)}
.ucf-business-readiness.is-warning{border-color:rgba(226,157,34,.4);background:rgba(226,157,34,.07)}.ucf-business-readiness.is-warning strong{color:#f0b64b;background:rgba(226,157,34,.13)}
.ucf-business-asset-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.ucf-business-asset-field .ucf-billing-field{min-width:0}.ucf-business-asset-upload{white-space:nowrap;cursor:pointer;margin-bottom:1px}
@media(max-width:760px){.ucf-business-readiness{align-items:flex-start}.ucf-business-asset-field{grid-template-columns:1fr}.ucf-business-asset-upload{width:100%;justify-content:center}}
