/* Palette from fanavasystem.com brand-palette-v20; app scale follows the supplied UI screenshots. */
@font-face{font-family:FanavaYekan;src:url('/ui.php?asset=brand-font-regular') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:FanavaYekan;src:url('/ui.php?asset=brand-font-semibold') format('woff2');font-weight:500 600;font-display:swap}@font-face{font-family:FanavaYekan;src:url('/ui.php?asset=brand-font-bold') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:FanavaYekan;src:url('/ui.php?asset=brand-font-black') format('woff2');font-weight:800 900;font-display:swap}
:root{--nav:#070c48;--accent:#002782;--gold:#06c3b9;--muted:#737895;--line:#0027821f;--bg:#f5f7f8;--ink:#070c48;--brand-blue:#002782;--brand-green:#00a66b;--brand-purple:#29065c;--brand-cyan:#06c3b9}body{font-family:FanavaYekan,Tahoma,sans-serif;font-size:15px;line-height:1.85;background:radial-gradient(ellipse at 25% 0,#daebff35,transparent 55%) #f5f7f8;color:#070c48}button,input,select,textarea{font-family:inherit}h1{font-size:25px;font-weight:800;line-height:1.6}h2{font-size:20px;font-weight:700}h3{font-size:17px;font-weight:700}h1 small{font-size:16px}button,.button{font-size:14px;min-height:42px;border-radius:6px;padding:8px 16px}button:not(.secondary):not(.icon):not(.danger):not(.builder-preview-field):not(.customer-tile),.button:not(.secondary){background:linear-gradient(135deg,#002782,#29065c);color:#fff}.secondary{background:#f0f6ff;color:#002782;border-color:#d6e3f7}.icon{background:transparent!important;color:#19438a!important;padding:6px}.card{border-color:#e4edf8;border-radius:7px;padding:20px;box-shadow:0 3px 18px #00278203;margin-bottom:16px}.card h2{margin-bottom:16px}.reference-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}.sidebar{width:192px;background:radial-gradient(ellipse at 20% 0,#00278228,transparent 55%),linear-gradient(175deg,#091d31,#070c48);padding:18px 10px;box-shadow:-4px 0 24px #070c480c}.brand-identity{position:relative;width:164px;height:61px;margin:0 auto 23px;display:grid;place-items:center}.sidebar .brand{width:100%;height:auto;max-height:none;padding:0;background:none;border:0;border-radius:0;filter:none;margin:0}.brand-wordmark{position:absolute;inset:0;background:#fff;mask:url('/ui.php?asset=brand-logo') center/contain no-repeat;clip-path:inset(0 23% 29% 0);pointer-events:none}.sidebar .logo-caption{display:none}.sidebar a{font-size:14px;padding:10px 12px;color:#dae7f8;min-height:46px;margin-bottom:7px;border-radius:6px}.sidebar a.active{background:linear-gradient(100deg,#19438a,#002782);color:#fff;border-right:0;box-shadow:0 6px 18px #00278240}.sidebar .caption{font-size:10px;color:#bbc8e2;border-top:1px solid #ffffff20;margin-top:18px;padding:15px 8px}.sidebar .nav-symbol{width:21px;height:21px;color:inherit}.topbar{height:65px;display:flex;gap:20px;padding:0 25px;background:#ffffffd9;backdrop-filter:blur(12px);border-color:#dce8f6}.top-breadcrumb{display:flex;gap:12px;align-items:center;font-size:13px;color:#19438a;min-width:170px;max-width:32%}.top-breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-breadcrumb a{text-decoration:none;white-space:nowrap}.top-search{display:flex;align-items:center;flex:1;min-width:80px;max-width:610px;position:relative;margin:0}.top-search input{background:#f1f7fb;border-color:#dbe7f7;min-height:40px;padding-left:44px;font-size:13px}.top-search button{position:absolute;left:3px;min-height:34px;padding:4px 7px}.top-tools{display:flex;align-items:center;gap:12px;margin-right:auto}.profile{display:flex;align-items:center;gap:10px;white-space:nowrap;border-right:1px solid #dce6f3;padding-right:13px}.profile strong{display:block;font-size:14px;font-weight:700}.profile small{display:block;font-size:11px;color:#737895}.profile-avatar{width:39px;height:39px;border-radius:50%;background:#daebff;color:#002782;display:grid;place-items:center;font-size:19px}.content{max-width:none;padding:22px 25px}.page-head{margin-bottom:20px}.page-head p{font-size:13px;line-height:1.9;color:#737895}.stats{gap:16px}.stat{padding:18px;border-radius:7px}.stat strong{font-size:29px;color:#070c48}.stat span{font-size:13px}.stat-icon{width:45px;height:45px;background:#daebff;color:#002782}.stat:nth-child(2) .stat-icon{background:#e4f8f0;color:#00a66b}.stat:nth-child(3) .stat-icon{background:#f2ebfa;color:#29065c}.stat:nth-child(4) .stat-icon{background:#dff9f7;color:#06a99f}.list-card{padding:20px}.badge{background:#edf5ff;color:#19438a;font-size:12px;padding:3px 9px}.tabs{margin-bottom:15px}.tabs button{font-size:14px}.tabs button.active{background:#f0f6ff;color:#002782;border-color:#002782}.grid{gap:20px}.dynamic-field>label,label{font-size:15px;font-weight:600;margin-bottom:7px;color:#070c48}.dynamic-field>label small{font-size:12px;font-weight:400;line-height:1.7;color:#737895}.dynamic-field>label small:empty{display:none}input,select,textarea{font-size:14px;border-color:#d9e4f6;border-radius:6px;padding:9px 12px;min-height:42px;color:#19438a}textarea{min-height:110px}input:focus,select:focus,textarea:focus{border-color:#002782;outline:2px solid #00278214}input::placeholder,textarea::placeholder{color:#7d91b8;font-weight:400}.required{color:#ed4b63}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2fa;padding-bottom:13px;margin-bottom:17px;color:#002782}.form-section h3{border:0;padding:0;margin:0;color:#070c48;font-size:20px}.form-section{border:0;margin-bottom:20px;padding:0}.form-section>.muted:empty{display:none}.input-with-icon{position:relative}.input-with-icon input{padding-left:42px}.input-with-icon svg{position:absolute;left:12px;top:11px;width:19px;height:19px;color:#7c91b9;pointer-events:none}.character-count{display:block;font-size:10px;color:#a4b5cd;direction:rtl;text-align:left;margin-top:3px}.reference-choices{display:flex;flex-wrap:wrap;gap:8px 15px}.reference-choices label{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:400;margin:0;line-height:1.8}.reference-choices input{width:18px;height:18px;min-height:18px;margin:0;accent-color:#002782}.choice-field{background:linear-gradient(125deg,#f4faff,#edf5ff);border:1px solid #e1edfc;border-radius:6px;padding:15px}.choice-field:nth-child(2n){background:linear-gradient(125deg,#f0fcf6,#e9faf3);border-color:#d9f3e8}.choice-field>label{margin-bottom:10px}.intake-layout{grid-template-columns:minmax(0,1fr) 286px;gap:18px}.intake-layout>form{grid-column:1;grid-row:2;padding:20px 24px;min-width:0}.intake-layout>.intake-stepper{grid-column:1;grid-row:1;margin:0;display:flex;justify-content:space-between;align-items:flex-start;padding:27px 15px 23px;position:relative;gap:0;overflow-x:auto;min-width:0}.intake-stepper:before{content:'';height:2px;background:#dce5f3;position:absolute;top:44px;right:6%;left:6%;z-index:0}.intake-stepper>button{position:relative;z-index:1;display:flex;flex:1;flex-direction:column;gap:9px;background:transparent!important;color:#5c6b92!important;border:0;box-shadow:none!important;padding:0 4px;min-width:76px;font-size:12px;text-align:center}.intake-stepper span{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e4eaf3;border:3px solid #fff;color:#070c48;font-size:14px}.intake-stepper small{font-size:12px;font-weight:500;white-space:normal;line-height:1.7}.intake-stepper button.active{color:#002782!important}.intake-stepper button.active span{background:#002782;color:#fff}.intake-stepper button.done span{background:#00a66b;color:#fff}.intake-layout>.intake-guide{grid-column:2;grid-row:1/3;min-width:0}.intake-guide h2{display:flex;align-items:center;justify-content:space-between;font-size:18px}.intake-guide h2 svg{color:#002782}.guide-card h2 svg{color:#c89521}.intake-layout>form>h2,.intake-layout>form>p.muted,.intake-progress{display:none}.intake-layout .form-section>.grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:19px 18px}.intake-layout .dynamic-field{grid-column:span 2;min-width:0}.intake-layout .dynamic-field.wide{grid-column:1/-1}.intake-layout .dynamic-field.choice-field{grid-column:span 3}.intake-layout .checkboxes{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.customer-tile{padding:12px 10px!important;position:relative;background:#f8fbff}.customer-tile:has(:checked){border-color:#002782;background:#eff5ff}.customer-tile svg{width:20px;height:20px;color:#00a66b}.customer-tile strong{color:#002782}.progress-body{display:flex;align-items:flex-start;gap:14px}.progress-list{flex:1}.progress-list>div{border:0;display:flex;gap:9px;align-items:center;font-size:13px;padding:7px 0;line-height:1.8;min-height:34px}.progress-list span{width:18px;height:18px;border:2px solid #c8d6eb;margin:0;order:-1;flex:none}.progress-list .active{color:#19438a}.progress-list .active span{border-color:#06c3b9;background:#fff}.progress-list .done span{background:#00a66b;border-color:#00a66b;color:#fff}.progress-list .done span:after{content:'✓';font-size:12px}.completion-ring{position:relative;width:90px;height:90px;flex:none;margin-top:10px}.completion-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.completion-ring circle{fill:none;stroke-width:13}.ring-track{stroke:#e7edf5}.ring-value{stroke:#00a66b;stroke-dasharray:0 251.327;transition:stroke-dasharray .2s}.completion-ring strong{position:absolute;inset:0;display:grid;place-items:center;font-size:23px;color:#070c48}.guide-card ul{padding-right:17px;margin:0;font-size:13px;color:#4a5f82;line-height:2.2}.support-card p{font-size:13px;color:#4a5f82;line-height:2}.support-card button{width:100%;background:#f1f6ff;color:#002782;gap:8px}.intake-layout>form>.actions{border-top:1px solid #e5edf8;padding-top:16px;margin:22px 0 0;position:sticky;bottom:0;background:#fff;z-index:5}.intake-layout .save-reference{margin-left:auto;background:#fff;color:#002782;order:-1}.intake-layout .actions [data-action=intake-later]{font-size:12px}.hint{background:#edf5ff;color:#19438a;border-color:#dce8f8}.metric-row{font-size:13px;grid-template-columns:150px minmax(30px,1fr) 40px}.bar>span{background:#002782}.metric-row:nth-of-type(3n) .bar>span{background:#00a66b}.metric-row:nth-of-type(3n+1) .bar>span{background:#29065c}.score-total{color:#002782}.table-wrap{border-color:#e2eaf6}table{font-size:13px}th{font-size:12px;background:#f3f7fc;color:#586e97}td,th{padding:12px 10px}.case-banner{padding:18px;border-radius:7px}.case-banner>div>strong{font-size:21px}.startup-mark{background:#daebff;color:#002782}.journey .current span{background:#002782}.evaluation-grid{grid-template-columns:230px minmax(0,1fr) 260px}.evaluation-grid .criteria-table{font-size:13px}.approved-builder{grid-template-columns:190px minmax(0,1fr) 310px}.builder-preview-field.selected{border-color:#002782;background:#edf5ff}.builder-section-title{background:#edf5ff;color:#19438a}.field-symbol{color:#002782}.field-palette button{background:#f4f8fd!important;color:#19438a!important;font-size:11px}.field-palette button:nth-child(3n) .field-symbol{color:#29065c}.field-palette button:nth-child(3n+1) .field-symbol{color:#00a66b}.workflow-tools button{font-size:13px}.flow-mobile-list button{background:#f0f6ff!important;color:#19438a!important}.empty{font-size:13px}.auth{max-width:610px}.auth h1{font-size:26px}.auth .brand{background:white;border-radius:6px;padding:8px}footer{font-size:11px}.sidebar .nav-close{top:76px}dialog{width:min(1350px,97vw)}.dialog-head h2{font-size:20px}
@media(min-width:1050px){.main{margin-right:192px}.content{padding:20px 25px}.sidebar{transform:none}.split{gap:18px}}
@media(max-width:1199px){.topbar{gap:12px;padding:0 16px}.top-breadcrumb{max-width:25%;min-width:100px}.profile small{display:none}.top-tools{gap:6px}.intake-layout{grid-template-columns:minmax(0,1fr) 260px}.intake-layout .form-section>.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.intake-layout .dynamic-field{grid-column:span 2}.intake-layout .dynamic-field.choice-field{grid-column:span 2}.approved-builder{grid-template-columns:160px minmax(0,1fr)}.evaluation-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1049px){.main{margin-right:0}.sidebar{width:235px}.top-breadcrumb{display:none}.profile strong{font-size:12px}.content{padding:17px}.topbar{height:60px}.intake-layout{grid-template-columns:minmax(0,1fr) 250px}.intake-guide .card{padding:15px}.progress-body{flex-direction:column-reverse;align-items:center}.progress-list{width:100%}.completion-ring{width:75px;height:75px;margin:0}.intake-stepper>button{min-width:87px}.intake-layout .checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){body{font-size:14px}h1{font-size:21px}h1 small{display:block;font-size:13px}h2{font-size:18px}.content{padding:13px}.topbar{padding:0 12px;gap:8px}.top-tools .profile,.top-tools>a{display:none}.top-tools{margin:0}.top-search{max-width:none}.top-search input{font-size:12px}.top-tools button{font-size:12px;padding:6px 8px;min-height:37px}.nav-toggle{padding:3px 7px}.intake-layout{grid-template-columns:minmax(0,1fr);gap:12px}.intake-layout>form{grid-column:1;grid-row:2;padding:17px 14px}.intake-layout>.intake-guide{grid-column:1;grid-row:3}.intake-layout>.intake-stepper{grid-row:1;padding:18px 8px 16px}.intake-stepper:before{top:35px}.intake-stepper>button{min-width:92px}.intake-layout .form-section>.grid{grid-template-columns:minmax(0,1fr);gap:16px}.intake-layout .dynamic-field,.intake-layout .dynamic-field.choice-field,.intake-layout .dynamic-field.wide{grid-column:1}.intake-layout .checkboxes{grid-template-columns:minmax(0,1fr)}.dynamic-field>label,label{font-size:14px}.form-section h3{font-size:18px}.intake-layout>form>.actions{gap:8px;position:static}.intake-layout .save-reference{margin:0}.intake-layout .actions button{font-size:12px;padding:8px 10px}.progress-body{flex-direction:row;align-items:center}.completion-ring{width:90px;height:90px}.page-head{gap:10px}.card{padding:16px}.stat{padding:12px;gap:9px}.stat strong{font-size:24px}.stat span{font-size:11px}.stat-icon{width:33px;height:33px}.approved-builder{grid-template-columns:minmax(0,1fr)}.top-tools .icon{min-height:35px}.evaluation-grid{grid-template-columns:minmax(0,1fr)}.profile-avatar{width:32px;height:32px}.section-heading .reference-icon{width:22px}.sidebar a{font-size:14px}.card-head h2{font-size:18px}}

.tabs button{background:transparent!important;color:#737895!important;border-radius:0;border-bottom:2px solid transparent;box-shadow:none}.tabs button.active{background:#f0f6ff!important;color:#002782!important;border-bottom-color:#002782}.intake-layout>form>.actions{position:static}.sidebar a{line-height:1.65}
