:root{--ink:#17261f;--muted:#65736c;--line:#dfe6e2;--canvas:#f4f7f5;--paper:#fff;--green:#126b50;--green-dark:#0c513d;--mint:#dff4e9;--warm:#f3b447;--danger:#a83c3c;--shadow:0 18px 50px #1432261a}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}html,body{min-height:100%;margin:0}body{color:var(--ink);background:var(--canvas);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;margin-bottom:10px;font-size:clamp(2rem,4vw,3.5rem);line-height:1.03}h2{letter-spacing:-.025em;margin-bottom:8px;font-size:clamp(1.35rem,2vw,1.8rem)}h3{margin-bottom:6px}.muted{color:var(--muted);line-height:1.6}.eyebrow{color:var(--green);letter-spacing:.15em;margin-bottom:12px;font-size:.72rem;font-weight:800}.logo{align-items:center;gap:10px;min-width:max-content;display:flex}.logoMark{color:#fff;background:var(--green);border-radius:10px;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.logo strong,.logo small{line-height:1.05;display:block}.logo strong{letter-spacing:-.02em;font-size:1.02rem}.logo small{color:var(--muted);letter-spacing:.16em;text-transform:uppercase;margin-top:3px;font-size:.65rem}.loginPage{background:var(--paper);grid-template-columns:minmax(360px,.9fr) 1.1fr;min-height:100vh;display:grid}.loginIntro{color:#fff;background:radial-gradient(circle at 80% 15%,#72daac40,#0000 30%),linear-gradient(150deg,#0c3b2d 0%,#126b50 65%,#1b7b5e 100%);flex-direction:column;justify-content:space-between;min-height:100vh;padding:clamp(30px,6vw,80px);display:flex}.loginIntro .logo small,.loginIntro .eyebrow{color:#a9dfc6}.loginIntro .logoMark{color:var(--green-dark);background:#dff4e9}.loginIntro h1{max-width:570px;font-size:clamp(2.8rem,6vw,5.6rem)}.loginIntro div>p:last-child{color:#cbe6da;max-width:540px;font-size:1.05rem;line-height:1.7}.loginFoot{color:#a9cdbd;margin:0;font-size:.78rem}.loginPanel{place-items:center;padding:30px;display:grid}.loginCard{width:min(420px,100%)}.loginCard h2{font-size:2rem}.loginForm{gap:19px;margin-top:35px;display:grid}label{color:#33443c;gap:8px;font-size:.78rem;font-weight:750;display:grid}input,textarea,select{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--paper);border-radius:10px;outline:none;padding:12px 13px;transition:border .2s,box-shadow .2s}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #126b501a}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex="-1"]:focus-visible{outline-offset:3px;outline:3px solid #126b5059}textarea{resize:vertical}.primaryButton,.secondaryButton,.textButton,.closeButton,.removeButton{cursor:pointer;border:0;font-weight:750}.primaryButton{color:#fff;background:var(--green);border-radius:10px;min-height:44px;padding:11px 18px;box-shadow:0 8px 20px #126b502e}.dangerButton{color:var(--danger);background:snow;border-color:#efc1c1}button:disabled{cursor:not-allowed;opacity:.55}.secondaryButton{border:1px solid var(--line);min-height:44px;color:var(--green-dark);background:#fff;border-radius:9px;padding:10px 14px}.textButton{min-height:44px;color:var(--muted);background:0 0;padding:7px 10px}.formError{color:var(--danger);margin:0;font-size:.83rem}.formSuccess{color:var(--green);margin:0 0 14px;font-size:.83rem;font-weight:700}.feedbackToast{z-index:50;right:max(20px, env(safe-area-inset-right));bottom:max(20px, env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--paper);max-width:min(420px,100% - 40px);box-shadow:var(--shadow);border-radius:12px;margin:0;padding:14px 16px;position:fixed}.appShell{min-height:100vh}.topbar{z-index:10;height:72px;padding:0 clamp(18px,4vw,64px);padding-left:max(clamp(18px, 4vw, 64px), env(safe-area-inset-left));padding-right:max(clamp(18px, 4vw, 64px), env(safe-area-inset-right));border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;align-items:center;gap:38px;display:flex;position:sticky;top:0}.topbar nav{align-items:center;gap:4px;height:100%;display:flex}.topbar nav a{min-width:max-content;height:100%;color:var(--muted);border-bottom:2px solid #0000;place-items:center;padding:0 14px;font-size:.86rem;font-weight:700;display:grid}.topbar nav a.active{border-bottom-color:var(--green);color:var(--green)}.navigationLabel{align-items:center;gap:7px;display:flex}.navigationLabel.pending{color:var(--green)}.navigationLabel i{border:2px solid #b9d2c7;border-top-color:var(--green);border-radius:50%;width:12px;height:12px;animation:.7s linear infinite navigationSpin}.userMenu{align-items:center;gap:9px;margin-left:auto;font-size:.82rem;font-weight:700;display:flex}.avatar{width:34px;height:34px;color:var(--green-dark);background:var(--mint);border-radius:50%;place-items:center;font-size:.72rem;display:grid}.content{width:min(1240px,100% - 40px);margin:0 auto;padding:48px 0 80px}.routeLoading{position:relative}.routeLoadingBar{z-index:80;background:var(--green);width:38%;height:3px;animation:1.1s ease-in-out infinite routeLoadingBar;position:fixed;top:0;left:0}.routeLoadingHero{justify-content:space-between;align-items:flex-end;gap:30px;min-height:125px;display:flex}.routeLoadingHero>span,.routeLoadingHero i,.routeLoadingCards article{background:linear-gradient(90deg,#e8eeeb 25%,#f5f8f6 50%,#e8eeeb 75%) 0 0/220% 100%;border-radius:12px;animation:1.3s ease-in-out infinite loadingShimmer;display:block}.routeLoadingHero>span{width:min(430px,70%);height:68px}.routeLoadingHero div{gap:8px;width:130px;display:grid}.routeLoadingHero i{height:16px}.routeLoadingCards{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px;display:grid}.routeLoadingCards article{min-height:150px}@keyframes navigationSpin{to{transform:rotate(360deg)}}@keyframes routeLoadingBar{0%{transform:translate(-100%)}to{transform:translate(320%)}}@keyframes loadingShimmer{0%{background-position:100% 0}to{background-position:-120% 0}}.heroRow{justify-content:space-between;align-items:flex-end;gap:30px;display:flex}.heroRow h1{font-size:clamp(2.1rem,4vw,3.6rem)}.branchPill,.sourceInfo{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:999px;padding:8px 12px;font-size:.75rem;font-weight:700}.statsGrid{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:40px;display:grid}.statsGrid.compact{margin-top:32px}.statCard{border:1px solid var(--line);background:var(--paper);border-radius:16px;min-height:145px;padding:24px;display:grid;position:relative;overflow:hidden}.statCard.accent:after{background:var(--mint);content:"";border-radius:0 0 0 100%;width:70px;height:70px;position:absolute;top:0;right:0}.statCard span{color:var(--muted);font-size:.76rem;font-weight:700}.statCard strong{letter-spacing:-.04em;align-self:end;font-size:2.1rem}.statCard small{color:var(--muted)}.sectionBlock{margin-top:50px}.sectionHeading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.sectionHeading h2{margin:0}.cardGrid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.checklistCard{border:1px solid var(--line);background:var(--paper);border-radius:15px;flex-direction:column;align-items:flex-start;min-height:220px;padding:22px;display:flex}.checklistCard h3{margin-top:20px}.checklistCard p{color:var(--muted);flex:1;font-size:.85rem;line-height:1.5}.status{color:#79541a;background:#fff0cf;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:800;display:inline-flex}.status.published{color:var(--green-dark);background:var(--mint)}.status.archived{color:#59645f;background:#edf0ee}.emptyState{text-align:center;background:#ffffff8c;border:1px dashed #becbc4;border-radius:16px;align-content:center;place-items:center;min-height:270px;padding:35px;display:grid}.emptyState span{width:48px;height:48px;color:var(--green);background:var(--mint);border-radius:14px;place-items:center;margin-bottom:16px;font-size:1.3rem;display:grid}.emptyState p{color:var(--muted);margin:0}.tableWrap{border:1px solid var(--line);background:#fff;border-radius:15px;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--line);text-align:left;padding:16px 20px;font-size:.82rem}th{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;background:#fafcfb;font-size:.7rem}tbody tr:last-child td{border-bottom:0}td strong,td small{display:block}td small{color:var(--muted);margin-top:4px}.entityCode{color:var(--green);letter-spacing:.06em;font-size:.68rem;font-weight:800}.checklistCard .entityCode{margin-top:12px}.checklistCard .entityCode+h3{margin-top:6px}.permissionsTable th:not(:first-child),.permissionsTable td:not(:first-child){text-align:center}.permissionToggle{cursor:pointer;justify-content:center;align-items:center;gap:8px;min-width:64px;min-height:44px;display:inline-flex}.permissionToggle input{width:20px;height:20px;accent-color:var(--green)}.accessDenied{min-height:60vh}.accessDenied h1{font-size:2rem}.accessDenied .primaryButton{margin-top:20px}.stageLegend{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.stageStatus{letter-spacing:.035em;text-transform:uppercase;white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:7px;min-height:30px;padding:6px 9px;font-size:.64rem;font-weight:850;line-height:1.25;display:inline-flex}.stageStatusDot{background:currentColor;border-radius:50%;flex:0 0 7px;width:7px;height:7px}.stageStatus-pending{color:#58625d;background:#edf0ee;border-color:#d8dedb}.stageStatus-completed{color:#0c6549;background:#dff4e9;border-color:#b9e2cf}.stageStatus-notPerformed{color:#765313;background:#fff0c7;border-color:#efd99e}.stageStatus-partiallyCompleted{color:#943939;background:#fbe2e2;border-color:#efc1c1}.stageStatus-notApplicable{color:#695941;background:#f1e9dc;border-color:#dfd1bd}.stagesTable table{min-width:1120px}.stagesTable th:not(:first-child),.stagesTable td:not(:first-child){text-align:center}.stagesTable th:first-child,.stagesTable td:first-child{z-index:1;background:var(--paper);min-width:250px;position:sticky;left:0;box-shadow:8px 0 14px -14px #17261f8c}.stagesTable th:first-child{z-index:2;background:#fafcfb}.stagesEmpty{background:#ffffffa6;border:1px dashed #becbc4;border-radius:16px;grid-template-columns:minmax(240px,.75fr) minmax(420px,1.25fr);align-items:center;gap:clamp(28px,5vw,70px);min-height:300px;padding:clamp(24px,4vw,42px);display:grid}.stageTemplate{grid-template-columns:repeat(5,minmax(105px,1fr));margin:0;padding:0;list-style:none;display:grid}.stageTemplate li{min-width:0;color:var(--muted);text-align:center;justify-items:center;gap:9px;font-size:.72rem;display:grid;position:relative}.stageTemplate li:not(:last-child):after{z-index:0;background:var(--line);content:"";width:calc(100% - 34px);height:2px;position:absolute;top:15px;left:calc(50% + 17px)}.stageTemplate li span{z-index:1;width:32px;height:32px;color:var(--green);background:var(--paper);border:2px solid #cdd8d2;border-radius:50%;place-items:center;font-size:.72rem;font-weight:850;display:grid}.stageTemplate li strong{overflow-wrap:anywhere;max-width:120px}.modalBackdrop{z-index:30;padding:max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#07191291;place-items:center;display:grid;position:fixed;inset:0}.builder{overscroll-behavior:contain;width:min(980px,100%);max-height:calc(100dvh - 48px);box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:28px;overflow:auto}.builderHeader{justify-content:space-between;align-items:start;display:flex}.closeButton,.removeButton{width:44px;height:44px;color:var(--muted);background:0 0;flex:0 0 44px;place-items:center;font-size:1.5rem;display:grid}.formGrid{grid-template-columns:1fr 1.4fr;gap:16px;display:grid}.fieldsTitle{justify-content:space-between;align-items:end;gap:20px;margin:30px 0 14px;display:flex}.fieldsTitle h3,.fieldsTitle p{margin-bottom:4px}.fieldsTitle p{color:var(--muted);font-size:.8rem}.fieldList{gap:10px;display:grid}.fieldRow{border:1px solid var(--line);background:#fafcfb;border-radius:12px;grid-template-columns:32px minmax(180px,1.4fr) minmax(120px,.7fr) minmax(140px,.8fr) auto 44px;align-items:end;gap:10px;padding:14px;display:grid}.fieldNumber{width:28px;height:28px;color:var(--green);background:var(--mint);border-radius:8px;place-items:center;margin-bottom:7px;font-size:.72rem;font-weight:800;display:grid}.fieldCode{color:var(--green);letter-spacing:.05em;margin:-4px 0 0;font-size:.66rem;font-weight:800}.typeField{grid-column:3}.sourceField{grid-column:4}.checkLabel{white-space:nowrap;grid-column:5;align-items:center;gap:7px;margin-bottom:12px;display:flex}.checkLabel input{width:auto}.removeButton{grid-column:6;margin-bottom:7px}.builderActions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.dashboardSection{margin-top:36px}.dynamicDashboard{grid-template-columns:repeat(12,1fr);gap:16px;display:grid}.dashboardWidget{border:1px solid var(--line);min-height:210px;color:var(--ink);background:var(--paper);text-align:left;border-radius:17px;grid-column:span 4;padding:22px;overflow:hidden;box-shadow:0 10px 30px #1432260d}button.dashboardWidget{cursor:pointer;width:100%;font:inherit}button.dashboardWidget:disabled{cursor:default;opacity:1}.metricWidget{flex-direction:column;justify-content:space-between;min-height:175px;display:flex;position:relative}.metricWidget:before{background:var(--widget-color);content:"";width:5px;height:100%;position:absolute;top:0;left:0}.metricWidget span{color:var(--muted);letter-spacing:.035em;text-transform:uppercase;font-size:.78rem;font-weight:800}.metricWidget strong{letter-spacing:-.06em;margin-block:auto 8px;font-size:clamp(2.4rem,5vw,4rem);line-height:1}.metricWidget small{color:var(--muted)}.dashboardWidget>header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:22px;display:flex}.dashboardWidget>header h3{margin-bottom:4px}.dashboardWidget>header p{color:var(--muted);margin:0;font-size:.76rem}.dashboardWidget>header small{color:var(--green);white-space:nowrap;font-size:.65rem;font-weight:800}.chartWidget{grid-column:span 6;min-height:330px}.tableWidget{grid-column:span 12}.loadingWidget{color:var(--muted);align-content:center;display:grid}.loadingWidget strong{margin-top:15px;font-size:2rem}.errorWidget{background:snow;border-color:#efc1c1}.errorWidget p{color:var(--danger);margin:24px 0 0;font-size:.82rem}.barChart{gap:13px;display:grid}.barChart button{color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:minmax(100px,.8fr) minmax(120px,2fr) 70px;align-items:center;gap:12px;padding:0;display:grid}.barChart button:disabled,.chartLegend button:disabled{cursor:default;opacity:1}.barChart button>span{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-weight:700;overflow:hidden}.barChart button>i{background:#edf1ef;border-radius:99px;height:10px;display:block;overflow:hidden}.barChart button>i b{border-radius:inherit;min-width:3px;height:100%;display:block}.barChart button>strong{text-align:right;font-size:.78rem}.donutLayout{grid-template-columns:170px 1fr;align-items:center;gap:26px;display:grid}.donutChart{border-radius:50%;place-items:center;width:160px;height:160px;display:grid}.donutChart:before{content:"";background:#fff;border-radius:50%;grid-area:1/1;width:102px;height:102px}.donutChart strong{z-index:1;grid-area:1/1;font-size:1.25rem}.chartLegend{gap:9px;display:grid}.chartLegend button{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:9px 1fr auto;align-items:center;gap:9px;padding:5px 0;display:grid}.chartLegend i{border-radius:50%;width:9px;height:9px}.chartLegend span,.chartLegend strong{font-size:.74rem}.clickableRow{cursor:pointer}.clickableRow:hover{background:#f6faf8}.scenarioOptions{grid-template-columns:1.2fr 1fr 1fr 90px 90px auto;align-items:end;gap:12px;margin:20px 0;display:grid}.scenarioFormatOptions{grid-template-columns:1fr 1fr;gap:12px;margin:-4px 0 20px;display:grid}.scenarioFormatOptions label{border:1px solid var(--line);background:#fafcfb;border-radius:12px;padding:14px}.scenarioFormatOptions small{color:var(--muted);font-size:.68rem;font-weight:500;line-height:1.45}.columnFormatsEditor{border:1px solid var(--line);background:#f7faf8;border-radius:14px;margin:22px 0;padding:18px}.columnFormatsEditor .fieldsTitle{margin:0 0 14px}.columnFormatList{gap:9px;display:grid}.columnFormatRow{border:1px solid var(--line);background:var(--paper);border-radius:11px;grid-template-columns:1fr 1.3fr 1fr 44px;align-items:end;gap:10px;padding:12px;display:grid}.columnFormatRow .removeButton{grid-column:4;margin-bottom:0}.columnFormatsEmpty{color:var(--muted);background:var(--paper);border:1px dashed #c8d3cd;border-radius:10px;margin:0;padding:16px;font-size:.78rem}.scenarioActive{grid-column:auto;margin-bottom:12px}.sqlField{margin-top:17px}.sqlField textarea{color:#18372b;tab-size:2;background:#f7faf8;min-height:150px;font:12px/1.55 Consolas,Courier New,monospace}.queryHelp{color:var(--muted);margin:12px 0 18px;font-size:.75rem;line-height:1.7}.queryHelp code{color:var(--green-dark);background:var(--mint);border-radius:5px;padding:2px 5px}.queryPreview{border:1px solid var(--line);background:#fafcfb;border-radius:12px;margin-top:18px;padding:16px}.queryPreview>strong{margin-bottom:12px;font-size:.78rem;display:block}.queryPreview .tableWrap{max-height:230px}.detailModal{width:min(1180px,100%)}.detailTable{max-height:calc(100dvh - 210px);margin-top:20px}.detailTable thead{z-index:1;position:sticky;top:0}.inlineActions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sourceBuilder{width:min(900px,100%)}.sourceFormGrid{grid-template-columns:1fr 1.5fr 1fr auto;align-items:end;gap:12px;margin:20px 0 16px;display:grid}.sourceActive{grid-column:auto;margin-bottom:12px}.staticOptions{margin-top:20px}.staticOptionRow{border:1px solid var(--line);background:#fafcfb;border-radius:11px;grid-template-columns:.75fr 1.5fr 44px;align-items:end;gap:10px;margin-bottom:9px;padding:12px;display:grid}.staticOptionRow .removeButton{grid-column:3;margin:0}.queryMapping{margin-top:20px}.optionPreview{border:1px solid var(--line);background:#fafcfb;border-radius:11px;flex-wrap:wrap;gap:8px;max-height:160px;margin-top:12px;padding:12px;display:flex;overflow:auto}.optionPreview span{background:var(--paper);border-radius:8px;align-items:center;gap:7px;padding:7px 10px;font-size:.75rem;display:inline-flex}.optionPreview strong{color:var(--green)}.checklistControlStats{margin-top:30px}.checklistControlSection{margin-top:38px}.executionGrid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.executionCard{border:1px solid var(--line);background:var(--paper);border-radius:15px;flex-direction:column;min-height:235px;padding:22px;display:flex;box-shadow:0 10px 30px #1432260a}.executionCard>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.executionCard h3{margin:22px 0 8px}.executionCard p{color:var(--muted);margin-bottom:6px;font-size:.82rem}.executionCard>small{color:var(--muted);margin-bottom:18px;font-size:.75rem}.executionCard.readyForAction{border-color:#68a88f;box-shadow:0 0 0 3px #126b5014,0 14px 30px #14322614}.automationBadge,.actionBadge{border-radius:8px;margin:2px 0 12px;padding:7px 9px;font-size:.67rem;font-weight:750;display:block}.automationBadge{color:#315472;background:#e9f3fa}.actionBadge{color:#0f654c;background:#e5f5ed}.executionCard .secondaryButton{width:100%;margin-top:auto}.executionStatus{text-transform:uppercase;border-radius:999px;padding:6px 9px;font-size:.66rem;font-weight:850;display:inline-flex}.executionStatus.pending{color:#79541a;background:#fff0cf}.executionStatus.in_progress{color:#15557a;background:#e1f1fb}.executionStatus.completed{color:var(--green-dark);background:var(--mint)}.executionStatus.cancelled{color:#59645f;background:#edf0ee}.compactEmpty{min-height:210px}.startExecutionModal{width:min(720px,100%)}.startExecutionModal .formGrid{margin-top:24px}.executionModal{width:min(850px,100%)}.executionProgress{color:var(--muted);gap:9px;margin:22px 0;font-size:.76rem;display:grid}.executionProgress i{background:#edf1ef;border-radius:999px;height:8px;display:block;overflow:hidden}.executionProgress b{border-radius:inherit;background:var(--green);height:100%;transition:width .25s;display:block}.executionFields{gap:12px;display:grid}.executionField{border:1px solid var(--line);background:#fafcfb;border-radius:12px;gap:13px;padding:17px;display:grid}.executionFieldLabel{color:var(--ink);align-items:flex-start;gap:12px;font-size:.86rem;font-weight:750;display:flex}.executionFieldLabel>b{width:28px;height:28px;color:var(--green);background:var(--mint);border-radius:8px;flex:0 0 28px;place-items:center;font-size:.7rem;display:grid}.executionFieldLabel>span{flex-wrap:wrap;align-items:center;gap:7px;min-height:28px;display:flex}.executionFieldLabel em{color:#79541a;text-transform:uppercase;background:#fff0cf;border-radius:5px;padding:3px 6px;font-size:.58rem;font-style:normal}.executionFieldLabel small{width:100%;color:var(--muted);font-size:.7rem;font-weight:500}.booleanChoices,.multiChoices{flex-wrap:wrap;gap:9px;display:flex}.booleanChoices label,.multiChoices label{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:9px;align-items:center;gap:8px;min-height:42px;padding:9px 12px;display:flex}.booleanChoices input,.multiChoices input{width:18px;height:18px;accent-color:var(--green);margin:0}.flowModalBackdrop{padding:18px}.flowBuilder{width:min(1500px,100%);max-height:calc(100dvh - 36px)}.flowBuilderHeader{z-index:20;border-bottom:1px solid var(--line);background:var(--paper);margin:-24px -24px 0;padding:24px;position:sticky;top:-24px}.flowHeaderActions{align-items:center;gap:8px;display:flex}.flowHeaderActions .textButton,.flowHeaderActions .primaryButton{min-height:40px}.flowIdentity{margin:20px 0}.flowDesigner{border:1px solid var(--line);background:#f7faf8;border-radius:15px;overflow:hidden}.flowToolbar{border-bottom:1px solid var(--line);background:var(--paper);flex-wrap:wrap;align-items:center;gap:8px;min-height:58px;padding:9px 12px;display:flex}.flowToolbar strong{text-transform:uppercase;margin-right:8px;font-size:.75rem}.flowToolbar button,.flowConnections button{border:1px solid var(--line);min-height:36px;color:var(--green-dark);background:var(--paper);cursor:pointer;border-radius:8px;padding:7px 10px;font-size:.72rem;font-weight:750}.flowToolbar .flowTestButton{color:#fff;border-color:var(--green);background:var(--green);margin-left:auto}.flowWorkspace{grid-template-columns:minmax(600px,1fr) 410px;min-height:570px;display:grid}.flowCanvas{border-right:1px solid var(--line);flex-direction:column;min-width:0;padding:20px;display:flex;overflow:hidden}.flowCanvasHeader{border:1px solid var(--line);background:#fffffff0;border-radius:11px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:14px;display:flex}.flowCanvasHeader h3,.flowCanvasHeader p{margin:0}.flowCanvasHeader p,.flowCanvasHeader span{color:var(--muted);font-size:.7rem}.flowCanvasControls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.flowCanvasControls b{min-width:42px;color:var(--green-dark);text-align:center;font-size:.7rem}.flowCanvasControls button{border:1px solid var(--line);min-height:30px;color:var(--green-dark);cursor:pointer;background:#fff;border-radius:7px;padding:5px 8px;font-size:.68rem;font-weight:750}.flowCanvasViewport{overscroll-behavior:contain;border:1px solid var(--line);cursor:grab;touch-action:none;scrollbar-gutter:stable;background-color:#f7faf8;background-image:radial-gradient(#ccd8d2 1px,#0000 1px);background-size:18px 18px;border-radius:11px;height:clamp(460px,62dvh,700px);min-height:0;position:relative;overflow:auto}.flowCanvasViewport.panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.flowCanvasStage{position:relative}.flowNodeGrid{transform-origin:0 0;position:relative}.flowConnectors{pointer-events:none;position:absolute;inset:0;overflow:visible}.flowConnectors path{fill:none;stroke:#8ba99d;stroke-width:2px}.flowConnectors path.selected{stroke:var(--green);stroke-width:3px}.flowConnectors .flowConnectorHit{stroke:#0000;stroke-width:18px;pointer-events:stroke;cursor:pointer}.flowConnectorHandle{stroke:#fff;stroke-width:3px;fill:var(--green);pointer-events:all;cursor:grab;filter:drop-shadow(0 2px 3px #1432263d)}.flowConnectorHandle.target{fill:#2d6fa3}.flowConnectorHandle:active{cursor:grabbing}.flowConnectors marker path{fill:var(--green);stroke:none}.flowConnectors text{fill:var(--muted);text-anchor:middle;font-size:10px;font-weight:700}.flowNode{width:230px;min-height:128px;color:var(--ink);background:var(--paper);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;text-align:left;border:2px solid #0000;border-radius:13px;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;display:flex;position:absolute;overflow:visible;box-shadow:0 8px 22px #14322614}.flowNode.dragging{z-index:3;cursor:grabbing;box-shadow:0 18px 35px #1432262e}.flowPort{z-index:2;pointer-events:auto;cursor:pointer;background:#fff;border:2px solid #afc2b9;border-radius:50%;width:10px;height:10px;display:block;position:absolute}.flowPort.active{border-color:var(--green);background:var(--green);box-shadow:0 0 0 3px #126b501f}.flowPort.chosen{background:#126b50;border-color:#fff;width:14px;height:14px;margin:-2px;box-shadow:0 0 0 3px #126b5040}.flowPort-top{top:-6px;left:calc(50% - 5px)}.flowPort-right{top:calc(50% - 5px);right:-6px}.flowPort-bottom{bottom:-6px;left:calc(50% - 5px)}.flowPort-left{top:calc(50% - 5px);left:-6px}.flowNode.selected{border-color:var(--green);box-shadow:0 0 0 3px #126b501f}.flowNode small{color:var(--green);letter-spacing:.07em;text-transform:uppercase;font-size:.62rem;font-weight:850}.flowNode strong{font-size:.86rem;line-height:1.35}.flowNode span{color:var(--muted);margin-top:auto;font-size:.66rem}.flowNode-automatic_decision{border-left:5px solid #4b76a8}.flowNode-action{border-left:5px solid #b48025}.flowNode-observation{border-left:5px solid #7961a8}.flowNode-end{border-left:5px solid var(--green)}.flowNode .flowWarning{color:var(--danger)}.flowInspector{background:var(--paper);padding:20px;overflow-y:auto}.flowInspector>label,.flowInspector>.formGrid{margin-bottom:15px}.flowInspectorHeader{justify-content:space-between;gap:12px;margin-bottom:18px;display:flex}.flowInspectorHeader h3{margin:2px 0 0}.flowInspectorHeader small{color:var(--green);text-transform:uppercase;font-size:.65rem;font-weight:800}.flowInspectorHeader button{border:1px solid var(--line);width:36px;height:36px;color:var(--green);cursor:pointer;background:#fff}.flowCheck{grid-template-columns:auto 1fr;align-items:center;display:flex}.flowCheck input{width:18px}.automaticScheduleConfig{background:#f2f8fc;border:1px solid #c9dbe8;border-radius:11px;margin:0 0 15px;padding:14px}.automaticScheduleConfig>label+label{margin-top:12px;display:block}.automaticScheduleConfig small{color:var(--muted);margin-top:5px;font-size:.65rem;display:block}.flowSql{font:12px/1.5 Consolas,monospace}.flowConnections{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.flowConnections .fieldsTitle{margin:0 0 12px}.flowConnection{border:1px solid var(--line);background:#fafcfb;border-radius:10px;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px;padding:12px;display:grid}.flowConnection.selected{border-color:var(--green);box-shadow:0 0 0 2px #126b501a}.flowConnection .removeButton{grid-column:2;justify-self:end}.flowRemoveNode{width:100%;margin-top:18px}.productMappingGrid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:15px;display:grid}.flowExecution{margin-top:22px}.flowExecutionTimeline{gap:8px;margin-bottom:18px;display:grid}.flowExecutionTimeline>div{background:#f4f7f5;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.flowExecutionTimeline i{color:#fff;background:var(--green);border-radius:50%;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:.68rem;font-style:normal;display:grid}.flowExecutionTimeline strong,.flowExecutionTimeline small{display:block}.flowExecutionTimeline strong{font-size:.76rem}.flowExecutionTimeline small{color:var(--muted);margin-top:2px;font-size:.65rem}.flowCurrentStep{border:1px solid var(--line);background:#fafcfb;border-radius:15px;padding:clamp(18px,4vw,30px)}.flowCurrentStep>h3{font-size:clamp(1.25rem,4vw,1.8rem)}.flowCurrentStep .executionField{background:0 0;border:0;padding:0}.automaticDecision{color:#315472;background:#e9f3fa;border-radius:11px;align-items:center;gap:12px;margin-top:18px;padding:16px;display:flex}.automaticDecision span{font-size:1.4rem}.automaticDecision p{margin:0;font-size:.8rem}.flowOutcome{text-align:center;background:var(--mint);border-radius:15px;align-content:center;place-items:center;min-height:260px;padding:30px;display:grid}.flowOutcome.failure{color:#793b3b;background:#fbe2e2}.flowOutcome>span{color:#fff;background:var(--green);border-radius:50%;place-items:center;width:54px;height:54px;margin-bottom:15px;font-size:1.4rem;display:grid}.flowOutcome.failure>span{background:var(--danger)}.flowOutcome p{color:var(--muted);margin:0}.flowSimulationBackdrop{z-index:45}.flowSimulationModal{width:min(760px,100%)}.flowSimulationStart{gap:18px;margin-top:22px;display:grid}.flowSimulationStart>.primaryButton{justify-self:end}.simulationContext{flex-wrap:wrap;gap:8px;margin:18px 0;display:flex}.simulationContext span{color:var(--muted);background:#f0f4f2;border-radius:999px;padding:7px 10px;font-size:.72rem}.simulationError{margin-top:16px}.saleItems{margin:18px 0}.saleItemsHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.saleItemsHeader strong{font-size:.78rem}.saleItemsHeader span{color:var(--muted);font-size:.68rem}.saleItems .tableWrap{max-height:230px}.saleItems th,.saleItems td{padding:10px 12px;font-size:.72rem}.saleItems th:first-child,.saleItems td:first-child{width:110px}.saleItems th:last-child,.saleItems td:last-child{text-align:right;width:80px}.saleItemsMobile{display:none}.status.revoked{color:#7a5317;background:#fff0cf}.checklistLifecycleActions{display:contents}@media (hover:hover){.primaryButton:hover{background:var(--green-dark)}.secondaryButton:hover{background:#f8fbf9;border-color:#a9bbb2}.topbar nav a:hover{color:var(--green-dark)}}@media (min-width:821px) and (max-width:1080px){.cardGrid{grid-template-columns:repeat(2,1fr)}.topbar{gap:18px}.topbar nav a{padding-inline:10px}.userName{display:none}.dashboardWidget{grid-column:span 6}.tableWidget{grid-column:span 12}.scenarioOptions{grid-template-columns:repeat(3,1fr)}.executionGrid{grid-template-columns:repeat(2,1fr)}.sourceFormGrid{grid-template-columns:1fr 1fr}.flowWorkspace{grid-template-columns:minmax(480px,1fr) 360px}.productMappingGrid{grid-template-columns:1fr}}@media (max-width:820px){.loginPage{grid-template-columns:1fr}.loginIntro{min-height:310px;padding:28px}.loginIntro h1{font-size:clamp(2.35rem,11vw,2.8rem)}.loginIntro .loginFoot{display:none}.loginPanel{padding:45px 24px}.topbar{height:auto;min-height:66px;padding-top:max(10px, env(safe-area-inset-top));flex-wrap:wrap;gap:4px 12px;padding-bottom:0}.topbar nav{overscroll-behavior-inline:contain;scrollbar-width:none;order:3;width:calc(100% + 36px);height:48px;margin-inline:-18px;padding-inline:10px;overflow-x:auto}.topbar nav::-webkit-scrollbar{display:none}.topbar nav a{flex:none;height:48px;padding-inline:12px}.userName{display:none}.logoutButton{padding-inline:8px}.content{width:min(100% - 28px,1240px);padding:30px 0 max(60px, env(safe-area-inset-bottom))}.statsGrid,.cardGrid,.routeLoadingCards{grid-template-columns:1fr}.statCard{min-height:125px}.heroRow{flex-direction:column;align-items:flex-start}.formGrid{grid-template-columns:1fr}.fieldRow{grid-template-columns:32px 1fr 30px}.fieldRow label,.fieldRow .typeField,.fieldRow .sourceField{grid-column:2}.fieldNumber,.fieldLabel{grid-row:1}.removeButton{grid-area:1/3}.checkLabel{margin-bottom:0}.builder{padding:20px}.stagesEmpty{grid-template-columns:1fr}.stageTemplate{overscroll-behavior-inline:contain;grid-template-columns:repeat(5,minmax(120px,1fr));padding-bottom:8px;overflow-x:auto}.dynamicDashboard{grid-template-columns:1fr}.dashboardWidget,.chartWidget,.tableWidget{grid-column:1}.scenarioOptions{grid-template-columns:1fr 1fr}.columnFormatRow{grid-template-columns:1fr 1fr 44px}.columnFormatRow label{grid-column:span 1}.columnFormatRow label:nth-child(3){grid-column:1/3}.columnFormatRow .removeButton{grid-area:1/3}.donutLayout{grid-template-columns:140px 1fr}.donutChart{width:130px;height:130px}.donutChart:before{width:82px;height:82px}.executionGrid{grid-template-columns:1fr}.sourceFormGrid{grid-template-columns:1fr 1fr}.flowExecutionTimeline{max-height:180px;overflow-y:auto}}@media (max-width:700px){.saleItemsDesktop{display:none}.saleItemsMobile{gap:10px;display:grid}.saleItemsMobile article{border:1px solid var(--line);background:var(--paper);border-radius:12px;overflow:hidden}.saleItemsMobile article>div{border-bottom:1px solid var(--line);background:#f7faf8;justify-content:space-between;align-items:center;gap:16px;padding:11px 13px;display:flex}.saleItemsMobile span,.saleItemsMobile small,.saleItemsMobile strong{display:block}.saleItemsMobile small{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin-bottom:2px;font-size:.6rem;font-weight:750}.saleItemsMobile strong{color:var(--ink);font-size:.78rem}.saleItemQuantity{text-align:right}.saleItemsMobile p{overflow-wrap:anywhere;color:var(--ink);margin:0;padding:12px 13px 14px;font-size:.74rem;line-height:1.45}.responsiveTable{background:0 0;border:0;overflow:visible}.responsiveTable table,.responsiveTable tbody{display:block}.responsiveTable thead{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.responsiveTable tbody{gap:14px;display:grid}.responsiveTable tr{border:1px solid var(--line);background:var(--paper);border-radius:14px;display:grid;overflow:hidden;box-shadow:0 8px 24px #1432260d}.responsiveTable td,.permissionsTable td:not(:first-child){border-bottom:1px solid var(--line);text-align:right;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:11px 16px;display:flex}.responsiveTable td:before{color:var(--muted);content:attr(data-label);letter-spacing:.06em;text-align:left;text-transform:uppercase;flex:0 0 42%;font-size:.68rem;font-weight:800}.responsiveTable td:first-child{text-align:left;background:#fafcfb;padding-block:16px;display:block}.responsiveTable td:first-child:before{margin-bottom:8px;display:block}.responsiveTable td:last-child{border-bottom:0}.permissionsTable .permissionToggle{justify-content:flex-end}.permissionsTable .primaryButton{width:min(100%,190px)}.stagesTable table{min-width:0}.stagesTable th:first-child,.stagesTable td:first-child{min-width:0;box-shadow:none;position:static}.stagesTable td:not(:first-child){text-align:right}.stagesTable .stageStatus{white-space:normal;text-align:right;justify-content:flex-end;max-width:58%}}@media (max-width:470px){.loginIntro{min-height:250px;padding:22px}.loginIntro div>p:last-child{margin-bottom:0;font-size:.9rem;line-height:1.5}.loginPanel{padding:34px 20px max(34px, env(safe-area-inset-bottom))}.loginForm{margin-top:28px}.sectionHeading,.fieldsTitle{flex-direction:column;align-items:flex-start}.fieldsTitle .secondaryButton,.heroRow>.primaryButton{width:100%}.modalBackdrop{padding:0}.builder{width:100%;min-height:100dvh;max-height:100dvh;padding:max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));border-radius:0}.builder input,.builder textarea,.builder select,.loginForm input{font-size:16px}.builderActions{bottom:calc(-1 * max(18px, env(safe-area-inset-bottom)));z-index:2;margin:24px -16px calc(-1 * max(18px, env(safe-area-inset-bottom)));padding:14px 16px max(14px, env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;position:sticky}.builderActions button{flex:1}.emptyState{min-height:230px;padding:26px 20px}.stageLegend{grid-template-columns:1fr 1fr;display:grid}.stageLegend .stageStatus{white-space:normal;justify-content:flex-start;width:100%}.stageLegend .stageStatus:last-child{grid-column:1/-1}.stagesEmpty{padding:24px 18px}.scenarioOptions,.scenarioFormatOptions,.donutLayout{grid-template-columns:1fr}.columnFormatsEditor{padding:14px}.columnFormatRow{grid-template-columns:1fr 44px}.columnFormatRow label,.columnFormatRow label:nth-child(3){grid-column:1}.columnFormatRow .removeButton{grid-area:1/2}.donutChart{margin:0 auto}.barChart button{grid-template-columns:minmax(80px,.8fr) minmax(80px,1.4fr) 55px}.sourceFormGrid,.staticOptionRow{grid-template-columns:1fr}.staticOptionRow .removeButton{grid-column:1;justify-self:end}.booleanChoices,.multiChoices{grid-template-columns:1fr;display:grid}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
