:root{--bg:#dce0e3;--panel:#eef0f2;--ink:#16191b;--muted:#73797c;--lime:#e2f875;--line:#d9dde0;--shadow:0 10px 19px -10px #5e666b55,0 2px 5px #ffffff7d inset;--ease:cubic-bezier(.2,.8,.2,1);font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 20%,#eceeef 0,#d9dde0 52%,#b8bdc0 100%);padding:15px;display:flex;align-items:center;justify-content:center}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0;background:transparent;white-space:nowrap;transition:background .22s,box-shadow .25s,transform .28s var(--ease),color .2s;position:relative}button:hover{transform:translateY(-1px)}button:active{transform:scale(.95)}button:focus-visible{outline:2px solid #9eb82e;outline-offset:3px}button:disabled{cursor:default;opacity:.5}button svg,[data-icon]>svg{width:15px;height:15px;display:block;flex:none}button [data-icon]{display:inline-flex;align-items:center}h1,h2,p{margin:0}h2{font-size:14px;letter-spacing:-.35px;font-weight:650}small{font-size:11px}kbd{font:10px Arial;background:#f6f7f7;padding:2px 5px;border-radius:4px;color:#73797c;box-shadow:0 1px 3px #6662} [hidden]{display:none!important}.window{width:min(100%,1600px);min-height: min(850px,calc(100dvh - 30px));border-radius:24px;background:linear-gradient(150deg,#f5f6f7,#d9dde0);padding:9px 10px 11px;box-shadow:0 30px 45px -23px #343c42a0,0 0 0 1px #f7f8f8,inset 0 0 0 2px #fff7;overflow:hidden;animation:windowIn .65s var(--ease) both}.window-top{height:14px;display:flex;gap:5px;padding:1px 4px 0}.window-top i{width:7px;height:7px;border-radius:50%;background:#e1b5b1}.window-top i:nth-child(2){background:#e6d5a7}.window-top i:nth-child(3){background:#b5cebd}.workspace{display:grid;grid-template-columns:57px 205px minmax(0,1fr);gap:10px;min-height:calc(min(850px,100dvh - 30px) - 34px);background:#dce0e3;border-radius:18px;padding:7px;transition:grid-template-columns .45s var(--ease)}.workspace.collapsed{grid-template-columns:57px 0 minmax(0,1fr);gap:8px}.rail{display:flex;flex-direction:column;gap:9px;min-height:0;animation:enter .55s .08s both}.rail-dark{background:linear-gradient(145deg,#36393c,#171a1c 68%,#24272a);border-radius:26px;box-shadow:0 5px 9px #42494c45,inset 0 1px 2px #ffffff25;padding:9px 6px 12px;color:#92999d;display:flex;flex-direction:column;gap:10px;align-items:center}.rail-nav{display:grid;gap:4px;width:100%}.rail-button{width:100%;height:36px;display:grid;place-items:center;border-radius:12px;color:#92999d}.rail-button svg{width:17px;height:17px}.brand-rail{color:#f0f1f1;height:31px}.rail-button.selected{color:#eee;background:linear-gradient(#52565a,#3d4144);box-shadow:inset 0 1px 1px #ffffff19,0 3px 7px #1114}.rail-button.selected:before{content:"";position:absolute;left:-7px;height:14px;width:3px;background:#e3fa78;border-radius:4px;box-shadow:0 0 10px #e3fa78}.rail-button:hover{color:white;background:#ffffff10}.rail-notice{position:absolute;width:5px;height:5px;top:9px;right:9px;background:var(--lime);border-radius:50%}.rail-meter{background:linear-gradient(130deg,#f2f4f5,#e6e9eb);flex:1;min-height:100px;border-radius:25px;display:flex;align-items:center;flex-direction:column;padding:12px 0;gap:12px;color:#8d9395;font:9px monospace;box-shadow:var(--shadow)}#railTicks{display:grid;gap:2px;width:12px}#railTicks i{height:1px;background:#9da3a6;opacity:.6}#railTicks i:nth-child(5n){background:#a2bd36}#railTicks i:nth-child(11n){background:#c47e76}.rail-meter small{writing-mode:vertical-rl;letter-spacing:2px;font-size:8px;margin-top:auto;white-space:nowrap}.rail-bottom{background:linear-gradient(#34393c,#15191a);color:#d9dfe0;border-radius:50%;width:48px;height:48px;margin:0 auto;display:grid;place-items:center;box-shadow:0 4px 9px #3335}.sidebar{min-width:0;overflow:hidden;border-radius:15px;background:linear-gradient(120deg,#e9ecee,#e0e4e7);box-shadow:var(--shadow);transition:opacity .28s;animation:enter .6s .12s both}.collapsed .sidebar{opacity:0;pointer-events:none}.side-inner{width:205px;height:100%;display:flex;flex-direction:column;padding:12px 10px 9px}.identity{display:flex;gap:9px;align-items:center;padding:3px 3px 17px}.logo{display:grid;place-items:center;background:linear-gradient(145deg,#44484c,#171b1e);color:white;font-weight:700;font-size:19px;width:36px;height:36px;border-radius:11px;box-shadow:0 3px 6px #2225,inset 0 1px 1px #fff4}.identity strong,.profile strong{display:block;font-size:12px}.identity small,.profile small{color:var(--muted);font-size:10px;display:block;margin-top:3px}.identity .tiny{margin-left:auto}.plain{padding:3px;color:#6f7679;display:inline-grid;place-items:center}.search{height:34px;display:flex;gap:9px;align-items:center;padding:0 9px;background:#dfe3e6;border-radius:8px;color:#71777a;box-shadow:inset 0 1px 4px #aeb5b82b;font-size:12px}.search kbd{margin-left:auto}.side-scroll{flex:1;overflow:auto;scrollbar-width:thin}.side-label{font:9px monospace;letter-spacing:1.35px;color:#888e91;padding:19px 8px 7px}.side-label.spaced{padding-top:28px}.folder-label{display:flex;align-items:center;justify-content:space-between}.side-nav{display:grid;gap:3px}.side-item{display:flex;align-items:center;gap:9px;text-align:left;height:32px;width:100%;padding:0 8px;border-radius:7px;color:#4e5558;font-size:12px;letter-spacing:-.15px}.side-item>small,.side-item>.count{margin-left:auto;color:#72797d;font-size:10px}.side-item.active,.side-item.folder-current{background:linear-gradient(#f7f8f9,#edf0f1);box-shadow:0 3px 6px #8b93983d,inset 0 1px 1px #fff;color:#1d2123;font-weight:600}.side-item:hover{background:#f2f4f5}.signal{width:9px;height:9px;border-radius:50%;margin:0 3px;display:inline-block}.signal.running{border:2px solid #c1d94e;box-shadow:0 0 8px #d0e66e}.signal.queued{border-radius:2px;background:repeating-linear-gradient(130deg,#858b8e 0 1px,transparent 1px 3px)}.signal.failed,.red-dot{background:#ce7973;box-shadow:0 0 6px #d99187}.red-dot{display:inline-block;width:5px;height:5px;border-radius:50%}.subfolders{padding-left:17px;display:grid;gap:2px}.subfolders[hidden]{display:none}.subfolders .side-item{font-size:11px;height:29px}.profile{display:flex;align-items:center;text-align:left;gap:10px;padding:8px 6px;border-radius:9px;background:#edf0f2;margin-top:12px;min-height:47px}.profile>span:last-child{margin-left:auto;color:#858b8d}.avatar{width:28px;height:28px;border-radius:8px;background:#e1e5e7;display:grid;place-items:center;font-size:10px;font-weight:600}.main{display:flex;flex-direction:column;min-width:0;padding:12px 10px 12px 11px;gap:13px}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;min-height:69px;animation:enter .55s .18s both}.breadcrumb{font:10px monospace;letter-spacing:1.6px;color:#7d8387;margin-bottom:7px}h1{font-size:32px;line-height:1.05;letter-spacing:-1.9px;font-weight:500}.page-header p{color:#73797c;font-size:11px;margin-top:6px}.header-actions,.panel-actions,.runs-heading{display:flex;align-items:center;gap:8px}.header-actions{gap:10px}.segment{display:flex;background:#dfe3e5;border:1px solid #d7dbde;border-radius:11px;padding:3px;box-shadow:inset 0 1px 4px #abb2b41f}.segment button{font-size:11px;border-radius:7px;color:#62696c;padding:7px 11px;line-height:1}.segment button.active{background:linear-gradient(#fff,#edf0f2);color:#181b1e;box-shadow:0 2px 5px #91999e35,inset 0 1px 0 white;font-weight:600}.segment button:hover{color:#141718}.dark,.light,.outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;font-size:11px;font-weight:550;min-height:34px;padding:0 13px}.dark{background:linear-gradient(#35383b,#17191b 65%,#1e2022);color:#f5f6f7;box-shadow:0 4px 7px #35393c3b,inset 0 1px 1px #ffffff26,inset 0 -1px 1px #0008}.dark:hover{background:linear-gradient(#4c5053,#292d30);box-shadow:0 5px 10px #3335}.light{background:linear-gradient(#f9fafb,#e9ecee);box-shadow:0 3px 6px #8a939b2b,inset 0 1px 0 #fff}.outline{border:1px solid #dce0e2;background:#f4f6f749;min-height:29px;padding:0 10px;font-size:10px;box-shadow:inset 0 1px 0 #fff9}.outline:hover,.light:hover{background:#fff}.circle{width:35px;height:35px;padding:0}.bell i{position:absolute;right:7px;top:6px;width:6px;height:6px;border-radius:50%;background:#d27870;box-shadow:0 0 0 2px #f4f5f6}.overview{display:flex;flex-direction:column;gap:13px;flex:1;min-height:0}.panel{background:linear-gradient(155deg,#f1f3f5,#e9ecef);border-radius:18px;box-shadow:var(--shadow);border:1px solid #f5f7f885;min-width:0;padding:15px 17px}.runs{display:flex;flex-direction:column;flex:1;min-height:335px;animation:enter .65s .27s both}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:31px}.runs-heading{gap:15px}.legend{display:flex;gap:9px;color:#82888c;font:9px monospace;letter-spacing:.65px;white-space:nowrap}.legend span{display:flex;align-items:center;gap:4px}.legend i{height:6px;width:6px;border-radius:50%;background:#24292c}.legend .scheduled{background:none;border:1px solid #9ba1a4}.legend .failed{background:#d17b73;box-shadow:0 0 5px #d17b7390}.legend .queue{background:repeating-linear-gradient(130deg,#7a8083 0 1px,transparent 1px 2px)}.modes button{padding:6px 9px}.modes svg{width:14px;height:14px}.run-content{display:grid;grid-template-columns:minmax(145px,25%) minmax(0,1fr);align-items:center;gap:10px;flex:1;min-height:240px;padding:7px 0 4px}.metrics{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}.big-number{font-size:clamp(66px,6.8vw,102px);line-height:.93;letter-spacing:-.085em;font-weight:300;font-family:'Helvetica Neue',Arial,sans-serif;font-variant-numeric:tabular-nums;margin-left:-4px}.lime{display:inline-flex;align-items:center;justify-content:center;background:var(--lime);color:#3b421d;border-radius:5px;box-shadow:0 0 9px #d8f65d60;font-size:10px;font-weight:600;padding:3px 6px}.comparison{display:flex;align-items:center;gap:6px;font-size:10px;color:#747b7e;margin:10px 0 8px}.metrics p{color:#626a6d;font-size:11px;line-height:1.35}.metrics dl{display:grid;gap:14px;margin:23px 0 0;max-width:185px}.metrics dl div{display:flex;justify-content:space-between;gap:6px;font-size:11px}.metrics dt{color:#73797b}.metrics dd{margin:0;font:11px monospace;white-space:nowrap;color:#313638}.chart-wrap{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;height:100%;min-height:215px}.chart-wrap svg{width:100%;height:100%;max-height:340px;overflow:visible;display:block}.chart-tooltip{position:absolute;background:#24282b;color:#fff;border-radius:7px;font:10px monospace;padding:7px 9px;pointer-events:none;z-index:3;box-shadow:0 3px 10px #3333;white-space:nowrap}.run-alert{display:flex;align-items:center;gap:8px;border-radius:11px;padding:10px 0 1px;min-width:0;background:radial-gradient(circle,#c9ced1 0.5px,transparent .7px) 0 0/8px 8px;isolation:isolate}.alert-symbol{display:grid;place-items:center;width:27px;height:27px;flex:none;color:#fff;border-radius:8px;background:linear-gradient(#555a5c,#202326);box-shadow:0 2px 5px #3333}.alert-copy{flex:1;font-size:10px;color:#73797d;line-height:1.3;background:#edf0f2b0;min-width:0}.alert-copy strong{color:#353a3d;font-weight:650}.alert-copy small{display:block;font:8px monospace;color:#9a9fa2;margin-top:3px;letter-spacing:.8px}.pause{min-height:31px}.run-alert .light{min-height:30px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(0,1fr);gap:13px;min-height:0}.workflows,.needs{min-height:300px;animation:enter .65s .43s both;display:flex;flex-direction:column}.needs{animation-delay:.55s}.workflow-tabs{display:flex;gap:15px;margin-top:12px}.workflow-tabs button{font-size:11px;padding:0 0 8px;color:#777e81;border-bottom:2px solid transparent}.workflow-tabs button.active{border-color:#2b3033;color:#22282b;font-weight:650}.workflow-tabs small{font-size:9px;color:#8b9295;margin-left:2px}.table-heading,.workflow-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,.77fr);align-items:center;gap:7px}.table-heading{font:9px monospace;letter-spacing:1.1px;color:#9ba1a4;padding:11px 0 8px}.table-heading span:last-child{text-align:right}.workflow-list{display:flex;flex-direction:column;flex:1;justify-content:space-around;gap:2px}.workflow-row{min-height:39px;width:100%;text-align:left;padding:4px 0;border-radius:7px;animation:rowIn .45s var(--ease) both}.workflow-row:hover{background:#f8f9fa85;transform:none}.workflow-name{display:flex;align-items:center;gap:8px;min-width:0}.workflow-icon{width:27px;height:27px;flex:none;display:grid;place-items:center;background:linear-gradient(#f8f9fa,#e8ebed);border-radius:8px;color:#656d71;box-shadow:0 2px 4px #a0a8ab24}.workflow-name>span:last-child{min-width:0}.workflow-name strong{font-size:11px;font-weight:650;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-name small{display:block;font:9px monospace;color:#92989b;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticks{display:flex;align-items:center;gap:2px;height:16px;overflow:hidden;min-width:0}.ticks i{flex:1;min-width:1px;max-width:3px;height:13px;background:#464c4f;border-radius:1px;animation:tickIn .36s var(--ease) both;transform-origin:bottom}.ticks .faded{background:#d7dcde}.ticks .bad{background:#c27a74}.status{justify-self:end;font-size:10px;color:#555d60;background:#e6e9eb;border-radius:999px;padding:4px 7px;white-space:nowrap;display:flex;align-items:center;gap:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.status i{width:6px;height:6px;border-radius:50%;background:#c1d75c;box-shadow:0 0 6px #c7de69}.status.slow i{background:#c67a72;box-shadow:0 0 5px #c67a72}.status.waiting{background:var(--lime);color:#3d481c;box-shadow:0 0 8px #def46985}.status.next i{background:#91999d;box-shadow:none}.count{width:18px;height:18px;padding:0;border-radius:50%;font-size:10px;vertical-align:middle}.needs h2{display:flex;align-items:center;gap:7px}.approval-list{display:flex;flex-direction:column;gap:8px;margin-top:11px;flex:1;min-height:0}.approval{position:relative;background:#e6e9eb;border-radius:11px;padding:10px 11px 9px 26px;transition:transform .45s var(--ease),opacity .35s,box-shadow .3s,background .25s;animation:rowIn .45s var(--ease) both;cursor:pointer;border:1px solid transparent;min-width:0}.approval.expanded{background:linear-gradient(140deg,#f5f7f8,#edf0f2);box-shadow:0 6px 8px -4px #7c858a5c}.approval:hover{background:#f1f3f4}.approval.approved{border-color:#9fb72b;box-shadow:0 0 0 2px #d8ee66,0 0 14px #cde64b88,0 7px 12px #87944b30;background:#f5f8ec}.approval.declined{border-color:#c47770;box-shadow:0 0 0 2px #d99a94}.approval.removing{opacity:0;transform:translateX(23px) scale(.96)}.grip{position:absolute;top:12px;left:9px;width:8px;height:12px;color:#abb0b2;background:radial-gradient(circle,#a7adb0 1px,transparent 1.3px) 0 0/4px 4px}.approval-meta{display:flex;justify-content:space-between;align-items:center;font:9px monospace;color:#8b9295;margin-bottom:6px}.approval-meta span:first-child{display:flex;align-items:center;gap:5px}.approval-meta svg{width:10px;height:10px}.approval h3{font-size:12px;font-weight:650;letter-spacing:-.2px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.approval p{font-size:10px;color:#747c80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.approval-actions{display:flex;gap:6px;align-items:center;overflow:hidden;max-height:0;opacity:0;transition:max-height .32s var(--ease),opacity .25s,margin .32s}.approval.expanded .approval-actions{max-height:38px;opacity:1;margin-top:9px}.approval-actions .dark,.approval-actions .light{min-height:29px;font-size:10px;padding:0 10px}.approval-actions kbd{font-size:9px;background:#ffffff18;color:inherit;box-shadow:none}.queue-footer{font:9px monospace;color:#91979a;margin-top:10px;white-space:nowrap;letter-spacing:.15px}.queue-footer span{margin:0 2px}.secondary{flex:1;animation:enter .4s both}.secondary #secondaryContent{margin-top:20px;display:grid;gap:9px}.secondary .approval-list{max-width:580px}.secondary .workflow-row{padding:10px;background:#f7f8f9}.empty{padding:30px 10px;text-align:center;color:#777;font-size:12px}dialog{border:1px solid #fff;background:linear-gradient(#f6f7f8,#e5e9eb);border-radius:19px;padding:18px;width:min(450px,calc(100% - 28px));box-shadow:0 25px 70px #343c4260;color:var(--ink)}dialog[open]{animation:enter .25s var(--ease) both}dialog::backdrop{background:#20282c45;backdrop-filter:blur(5px)}.dialog-inner{display:grid;gap:17px}.dialog-inner h2{font-size:18px}.dialog-body,#dialogBody{display:grid;gap:12px;font-size:13px;color:#52595d}.dialog-inner input{width:100%;padding:12px;border:1px solid #cfd5d8;border-radius:8px;background:#f9fafb;color:#202529}.dialog-row{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:8px;background:#f5f7f8}.dialog-row:hover{background:white}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:10;background:#22272a;color:#fff;padding:12px 20px;border-radius:999px;box-shadow:0 8px 20px #2224;font-size:12px;transition:all .3s var(--ease)}.toast.show{transform:translate(-50%,0);opacity:1}.chart-mark{cursor:crosshair}.chart-dot{animation:dotIn .36s var(--ease) both;transform-box:fill-box;transform-origin:center}.chart-bar{transform-origin:0 0;animation:barIn .7s var(--ease) both}.chart-line{stroke-dasharray:1;stroke-dashoffset:1;animation:drawLine .9s var(--ease) forwards}.chart-fade{animation:fade .5s both}.chart-now{animation:fade .5s .3s both}@keyframes windowIn{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:none}}@keyframes enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes rowIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes tickIn{from{opacity:0;transform:scaleY(.05)}to{opacity:1;transform:none}}@keyframes dotIn{from{opacity:0;transform:scale(.1)}to{opacity:1;transform:none}}@keyframes barIn{from{transform:scaleY(0);opacity:.4}to{transform:scaleY(1);opacity:1}}@keyframes drawLine{to{stroke-dashoffset:0}}@keyframes fade{from{opacity:0}to{opacity:1}}
@media(min-width:1450px){:root{font-size:15px}.workspace{grid-template-columns:62px 225px minmax(0,1fr)}.workspace.collapsed{grid-template-columns:62px 0 minmax(0,1fr)}.side-inner{width:225px}.main{padding:16px 15px}.panel{padding:18px 21px}.bottom-grid{gap:15px}.workflows,.needs{min-height:325px}.workflow-row{min-height:43px}.approval{padding-top:12px;padding-bottom:12px}.big-number{font-size:105px}}
@media(max-width:1150px){.workspace{grid-template-columns:48px 172px minmax(0,1fr);gap:7px}.workspace.collapsed{grid-template-columns:48px 0 minmax(0,1fr)}.side-inner{width:172px;padding:9px 7px}.rail-bottom{width:42px;height:42px}.rail-button{height:32px}.main{padding:8px 5px;gap:10px}.panel{padding:12px}.legend{gap:5px;font-size:8px;letter-spacing:0}.runs-heading{gap:8px}.panel-actions{gap:5px}.modes button{padding:5px 6px}.bottom-grid{gap:9px}.workflow-row,.table-heading{gap:4px}.workflow-name{gap:5px}.workflow-icon{width:22px;height:24px}.status{font-size:9px;padding:4px}.ticks{gap:1px}.header-actions{gap:5px}.segment button{padding:7px 8px}.run-alert{gap:5px}.dark,.light{padding:0 10px}.queue-footer{font-size:8px}.approval h3{font-size:11px}}
@media(max-width:900px){body{padding:8px}.window{min-height:calc(100dvh - 16px);padding:6px}.workspace{min-height:calc(100dvh - 42px);grid-template-columns:46px 0 minmax(0,1fr);gap:6px}.workspace.mobile-open{grid-template-columns:46px 172px minmax(0,1fr)}.sidebar{opacity:0;pointer-events:none}.mobile-open .sidebar{opacity:1;pointer-events:auto}.main{padding:7px 4px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.runs-heading{flex-wrap:wrap;gap:5px}.panel-actions .outline{white-space:nowrap}.run-content{grid-template-columns:135px minmax(0,1fr)}.big-number{font-size:76px}.bottom-grid{grid-template-columns:1fr 0.8fr}.workflow-name small{font-size:8px}.rail-meter{min-height:85px}.rail-meter small{letter-spacing:1px}}
@media(max-width:650px){body{padding:0;display:block;background:#dce0e3}.window{border-radius:0;padding:4px;min-height:100dvh;overflow:visible;box-shadow:none}.window-top{height:12px}.workspace,.workspace.collapsed,.workspace.mobile-open{grid-template-columns:38px minmax(0,1fr);gap:5px;padding:4px;min-height:calc(100dvh - 20px);position:relative}.rail{position:sticky;top:5px;height:calc(100dvh - 10px);gap:6px}.rail-dark{padding:6px 3px;border-radius:20px}.rail-button{height:29px}.rail-button svg{width:15px;height:15px}.rail-bottom{width:35px;height:35px}.rail-meter small{font-size:7px}.sidebar{position:absolute;left:47px;top:5px;bottom:5px;width:172px;z-index:8;transform:translateX(-10px);transition:opacity .25s,transform .25s;box-shadow:0 10px 30px #31393e55}.mobile-open .sidebar{transform:none}.main{grid-column:2;padding:3px 1px;gap:10px}.page-header{align-items:flex-start;flex-direction:column;gap:10px;min-height:0}.header-actions{justify-content:flex-start;width:100%;gap:4px}.header-actions .dark{font-size:10px;padding:0 8px}.header-actions .circle{width:30px;height:30px}.period button{font-size:10px;padding:7px}.breadcrumb{font-size:9px}h1{font-size:29px}.panel{border-radius:14px;padding:10px}.runs-top{flex-wrap:wrap}.runs-heading{width:100%;justify-content:space-between}.legend{font-size:7px}.panel-actions{margin-left:auto}.run-content{grid-template-columns:1fr;gap:0;padding-top:12px}.metrics{display:grid;grid-template-columns:1fr 1fr;column-gap:8px;align-items:center}.big-number{font-size:67px;grid-column:1;grid-row:1/3}.comparison{grid-column:2;grid-row:1;flex-wrap:wrap;margin:0}.metrics p{grid-column:2;grid-row:2;font-size:10px}.metrics dl{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;margin:12px 0 0;max-width:none}.metrics dl div{flex-direction:column;gap:3px;font-size:9px}.metrics dd{font-size:10px}.chart-wrap{min-height:170px;height:auto;aspect-ratio:1.9}.chart-wrap svg{max-height:none}.run-alert{flex-wrap:wrap;gap:6px}.alert-copy{flex:1 1 calc(100% - 34px);font-size:10px}.run-alert .pause{margin-left:auto}.bottom-grid{grid-template-columns:1fr;gap:10px}.workflows,.needs{min-height:275px}.table-heading{font-size:8px;letter-spacing:.5px}.workflow-name strong{font-size:10px}.queue-footer{font-size:9px}.approval h3{font-size:12px}.overview{gap:10px}.secondary .workflow-row{padding:5px}.toast{bottom:12px;max-width:90%;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;animation-delay:0ms!important;scroll-behavior:auto!important}}
/* Keep the entire desktop dashboard within the browser, without stretching its chart. */
:root{font-family:'Segoe UI','Inter',Arial,sans-serif}.big-number{font-family:'Segoe UI Light','Helvetica Neue','Inter',Arial,sans-serif;font-weight:300;letter-spacing:-.065em}.chart-wrap svg{position:absolute;inset:0;width:100%;height:100%;max-height:none}.chart-wrap{min-height:0}.rail-meter{overflow:hidden}.rail-meter small{flex-shrink:0}.run-content{min-height:0}.workspace{min-height:0;grid-template-rows:minmax(0,1fr)}.main{min-height:0}.overview{min-height:0}.bottom-grid{flex:none}.sidebar,.rail{min-height:0}
@media(min-width:901px){.window{height:min(850px,calc(100dvh - 30px));min-height:0}.workspace{height:calc(100% - 14px)}.runs{min-height:0}.rail-meter{min-height:0}.workflows,.needs{min-height:300px}.main{overflow:auto;scrollbar-width:thin}.chart-wrap{min-height:185px}.run-content{min-height:185px}.rail-meter small{margin-top:auto}.window{max-height:none}}
@media(min-width:901px) and (max-height:800px){.main{padding-top:5px;padding-bottom:5px;gap:8px}.page-header{min-height:56px}.overview{gap:8px}.panel{padding:10px 12px}.workflows,.needs{min-height:260px}.workflow-tabs{margin-top:5px}.table-heading{padding:6px 0 3px}.workflow-row{min-height:32px}.approval{padding-top:7px;padding-bottom:7px}.approval-list{gap:5px;margin-top:5px}.queue-footer{margin-top:6px}.metrics dl{margin-top:13px;gap:8px}.big-number{font-size:78px}.rail-meter small{font-size:7px}.rail-meter #railTicks{max-height:80px;overflow:hidden}.side-label.spaced{padding-top:14px}.run-content,.chart-wrap{min-height:160px}}
@media(max-width:900px){.workspace{min-height:calc(100dvh - 42px)}.run-content{min-height:230px}.chart-wrap{min-height:230px}}
@media(max-width:650px){.workspace{min-height:calc(100dvh - 20px)}.run-content{min-height:0}.chart-wrap{min-height:170px}.rail-meter small{flex-shrink:1}.rail-meter{overflow:hidden}}
@media(min-width:901px){.run-content{grid-template-rows:minmax(0,1fr);padding-top:3px;padding-bottom:3px}.metrics{justify-content:center}.big-number{font-size:clamp(60px,6.4vw,92px)}.metrics dl{margin-top:12px;gap:9px}.comparison{margin:7px 0 5px}.metrics p{line-height:1.2}.workflow-list{justify-content:space-between}.workflow-row{min-height:35px}.workflows,.needs{min-height:285px}.approval{padding-top:8px;padding-bottom:8px}.run-alert{position:relative;flex-shrink:0}.chart-wrap{min-height:0}.run-content{min-height:210px}.metrics{min-height:0}}
@media(min-width:901px) and (max-height:800px){.big-number{font-size:70px}.metrics dl{margin-top:8px;gap:5px}.metrics p{font-size:10px}.metrics dt,.metrics dd{font-size:10px}.comparison{margin:4px 0}.run-content{min-height:172px}.workflow-row{min-height:31px}.workflows,.needs{min-height:255px}.approval{padding-top:6px;padding-bottom:6px}.approval-meta{margin-bottom:3px}.approval h3{margin-bottom:3px}.approval.expanded .approval-actions{margin-top:5px}.panel-top{min-height:28px}.run-alert{padding-top:6px}}
/* Ajustes pontuais para português e controles financeiros, preservando o tema. */
.identity>div:nth-child(2),.profile>span:nth-child(2){min-width:0}.identity strong,.profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-space{flex-shrink:0;font-size:11px;white-space:normal;line-height:1.15;margin-top:4px}.new-space svg{flex-shrink:0}.finance-movement{min-width:0;display:flex;flex-direction:column;gap:3px}.finance-movement .amount{font:10px monospace;color:#545c60;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.finance-movement .income{color:#536b20}.big-number.long-number{font-size:clamp(31px,4vw,61px);letter-spacing:-.06em}.big-number.very-long-number{font-size:clamp(23px,2.7vw,39px);letter-spacing:-.035em}.metrics dl{max-width:100%}.metrics dd{font-size:10px}.dialog-inner select,.dialog-inner textarea{width:100%;padding:10px;border:1px solid #cfd5d8;border-radius:8px;background:#f9fafb;color:#202529;font:inherit}.dialog-inner label{display:grid;gap:5px}.dialog-inner textarea{resize:vertical}.dialog-inner .field-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dialog-inner input[type=hidden]{display:none}.dialog-inner .danger{color:#9a4942}.dialog-inner .local-note{font-size:11px;color:#747c80}.dialog-inner .dialog-row{gap:8px;text-align:left}.dialog-inner .dialog-row small{white-space:nowrap}.secondary-tools{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:12px;color:#626a6d}.secondary .goal-row{display:grid;grid-template-columns:1fr minmax(40px,1fr) auto 18px;align-items:center;gap:12px;background:#f7f8f9;border-radius:9px;padding:12px;text-align:left}.goal-row strong,.goal-row small{display:block}.goal-row small{color:#626a6d;font-size:11px;margin-top:4px}.goal-track{height:8px;background:#dce0e3;border-radius:8px;overflow:hidden}.goal-track i{display:block;height:100%;background:#c5dc62;transition:width .4s}.secondary h3{font-size:13px;margin-top:8px}.secondary .dark{justify-self:start}.chart-tooltip{max-width:calc(100% - 8px);white-space:normal}.workflow-row .status{white-space:normal}.page-header p:first-letter{text-transform:uppercase}.rail-notice[hidden],.bell i[hidden]{display:none!important}.dialog-row small{font-size:10px}.dialog-inner button[type=submit]{justify-content:center}.dialog-inner #searchResults{max-height:42vh;overflow:auto;display:grid;gap:5px}.dialog-inner #searchResults button{width:100%}.dialog-inner{max-height:80dvh;overflow:auto}.dialog-inner input,.dialog-inner select,.dialog-inner textarea{min-width:0}.sidebar .side-item>small{flex-shrink:0}.workflow-name>span:last-child{min-width:0}.run-alert .pause{white-space:nowrap}.run-alert .alert-copy>span{display:inline}.approval-actions button:disabled{cursor:wait}.window-top i{pointer-events:none}
@media(max-width:650px){.big-number.long-number{font-size:43px}.big-number.very-long-number{font-size:29px}.finance-movement .amount{font-size:9px}.new-space{font-size:11px}.metrics dd{font-size:9px}.header-actions .dark{font-size:10px}.dialog-inner .field-pair{grid-template-columns:1fr 1fr}}
/* A animação de entrada não pode sobrepor a visibilidade do menu recolhido. */
@media(min-width:901px){.workspace.collapsed .sidebar{animation:none;visibility:hidden;opacity:0;pointer-events:none}}
@media(max-width:900px){.workspace:not(.mobile-open) .sidebar{animation:none;visibility:hidden;opacity:0;pointer-events:none}.workspace.mobile-open .sidebar{animation:none;visibility:visible;opacity:1;pointer-events:auto}}
@media(max-width:650px){.workspace .sidebar{position:fixed;top:20px;bottom:12px;left:51px;width:172px;max-height:calc(100dvh - 32px)}.workspace:not(.mobile-open) .sidebar{transform:translateX(-10px)}.workspace.mobile-open .sidebar{transform:translateX(0)}.side-inner{min-height:0}.side-scroll{min-height:0;overflow-y:auto}.metrics .comparison{min-width:0}.header-actions{min-width:0}}

/* Rolagem discreta, integrada à paleta do Fieldnote. */
*{scrollbar-width:thin;scrollbar-color:#aeb7bc #e4e8eb}
*::-webkit-scrollbar{width:9px;height:9px}
*::-webkit-scrollbar-track{background:#e4e8eb;border-radius:12px}
*::-webkit-scrollbar-thumb{background:#aeb7bc;border:2px solid #e4e8eb;border-radius:12px;background-clip:padding-box}
*::-webkit-scrollbar-thumb:hover{background:#879399;border:2px solid #e4e8eb}
*::-webkit-scrollbar-thumb:active{background:#707d82;border:2px solid #e4e8eb}
*::-webkit-scrollbar-corner{background:#e4e8eb}
.chart-tooltip{line-height:1.55;font-variant-numeric:tabular-nums}.chart-tooltip strong{display:block;color:#e2f875;margin-bottom:3px}.chart-mark:focus,.chart-mark:focus-visible{outline:none;stroke:none}.legend .scheduled{background:#929ca1;border-color:#929ca1}.legend .queue{background:#bfc6ca;border:1px solid #a4adb2}.period button{white-space:nowrap}
@media(max-width:650px){.header-actions{flex-wrap:wrap}.period button{padding:7px 6px}.chart-wrap{min-height:190px}}
@media(prefers-reduced-motion:reduce){.chart-dot,.chart-line,.chart-bar,.chart-now{animation:none!important;stroke-dashoffset:0}}
@media(max-width:650px){.chart-wrap{width:100%;max-width:100%;aspect-ratio:auto;min-width:0;height:190px}.chart-wrap svg{overflow:hidden}.run-content{min-width:0;grid-template-columns:minmax(0,1fr)}}

/* Entrada dos gráficos: cadência e easing da versão inglesa original. */
.chart-dot-stack{--dot-opacity:.78}
.chart-dot{animation:chartDotEntrance .36s var(--ease) both;transform-box:fill-box;transform-origin:center}
@keyframes chartDotEntrance{from{opacity:0;transform:scale(.1)}to{opacity:var(--dot-opacity,1);transform:scale(1)}}
.chart-bar{transform-box:fill-box;transform-origin:center bottom;animation:barIn3d .72s var(--ease) both}
.chart-line{stroke-dasharray:1;stroke-dashoffset:1;animation:drawLine .9s var(--ease) both}
.chart-line-point{animation-duration:.22s}
@media(prefers-reduced-motion:reduce){.chart-dot,.chart-bar,.chart-line,.chart-now{animation:none!important;transform:none;stroke-dashoffset:0;opacity:1}.chart-dot-stack{opacity:.78}}

@keyframes barIn3d{from{opacity:0;transform:translateY(2px) scaleY(.02)}55%{opacity:1}to{opacity:1;transform:translateY(0) scaleY(1)}}

/* Moldura externa com margem discreta em todos os lados. */
@media(min-width:901px){
 body{--outer-gap:clamp(24px, min(3.7vw, 5.5dvh), 50px);padding:var(--outer-gap)}
 .window{width:100%;height:calc(100dvh - 2 * var(--outer-gap));min-height:0}
}
@media(max-width:900px){
 body{padding:12px}
 .window{width:100%;min-height:calc(100dvh - 24px)}
 .workspace{min-height:calc(100dvh - 50px)}
}
@media(max-width:650px){
 body{display:block}
 .window{border-radius:18px;box-shadow:0 8px 20px -12px #343c4260,0 0 0 1px #f7f8f8;overflow:hidden}
 .workspace{min-height:calc(100dvh - 44px)}
 .workspace .sidebar{left:63px;top:32px;bottom:24px;max-height:calc(100dvh - 56px)}
}

/* O gráfico mantém a leitura por hover e teclado, sem contorno de seleção ao clicar. */
#chart, #chart .chart-mark{outline:none;-webkit-tap-highlight-color:transparent;user-select:none}
#chart .chart-mark:focus, #chart .chart-mark:focus-visible, #chart .chart-mark:active{outline:none;stroke:none}

/* Legibilidade: ajustes locais, sem zoom global ou alteração da moldura. */
h2{font-size:15px}
.identity strong,.profile strong{font-size:13px}
.identity small,.profile small{font-size:11px}
.side-item,.search{font-size:13px}
.side-label{font-size:10px;letter-spacing:1px}
.subfolders .side-item,.new-space{font-size:12px}
.side-item>small{font-size:11px}
.logo,.avatar{flex-shrink:0}
.breadcrumb{font-size:11px;letter-spacing:1.2px}
.page-header p{font-size:12px}
.segment button,.dark,.light{font-size:12px}
.outline{font-size:11px}
.legend{font-size:10px;letter-spacing:.2px;flex-wrap:wrap;min-width:0}
.runs-heading{min-width:0;flex-wrap:wrap;gap:7px 12px}
.panel-actions{flex-shrink:0}
.metrics p,.comparison{font-size:12px}
.metrics dl div,.metrics dt,.metrics dd{font-size:12px}
.metrics dl div{flex-wrap:wrap;gap:3px 6px;align-items:baseline}
.metrics dd{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.workflow-tabs button{font-size:12px}
.workflow-tabs small{font-size:10px}
.table-heading{font-size:10px;letter-spacing:.35px}
.workflow-name strong{font-size:12px}
.workflow-name small,.finance-movement .amount{font-size:11px}
.status{font-size:11px}
.approval-meta{font-size:10px}
.approval h3{font-size:13px}
.approval p,.approval-actions .dark,.approval-actions .light{font-size:11px}
.alert-copy{font-size:11px}
.alert-copy small{font-size:9px}
.queue-footer{font-size:10px;white-space:normal;line-height:1.4}
.chart-tooltip{font-size:11px}
@media(min-width:901px) and (max-height:800px){
 .metrics p,.comparison,.metrics dt,.metrics dd{font-size:11px}
 .metrics dl{gap:5px}
 .approval{padding-top:6px;padding-bottom:6px}
}
@media(max-width:1150px){
 .legend{font-size:9px;gap:5px;letter-spacing:0}
 .side-item{font-size:12px;gap:6px}
 .subfolders .side-item,.new-space{font-size:11.5px}
 .side-label{letter-spacing:.6px}
 .header-actions{flex-wrap:wrap;justify-content:flex-end}
 .page-header>div:first-child{min-width:0}
 .status{font-size:10px}
 .table-heading{font-size:9px;letter-spacing:0}
}
@media(max-width:900px){
 .metrics dl div,.metrics dt,.metrics dd{font-size:11px}
 .workflow-name small,.finance-movement .amount{font-size:10px}
 .bottom-grid{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}
}
@media(max-width:650px){
 .bottom-grid{grid-template-columns:minmax(0,1fr)}
 .header-actions{justify-content:flex-start}
 .period button,.header-actions .dark{font-size:11px}
 .period{max-width:100%;flex-wrap:wrap}
 .runs-heading{width:100%;justify-content:flex-start}
 .legend{font-size:9px}
 .metrics{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .metrics p,.comparison{font-size:11px}
 .metrics dl{flex-wrap:wrap;gap:7px}
 .metrics dl div{flex:1 1 60px;min-width:0}
 .metrics dl div,.metrics dt,.metrics dd{font-size:10.5px}
 .workflow-tabs{gap:10px;flex-wrap:wrap}
 .workflow-name strong{font-size:11px}
 .status{font-size:10px}
 .approval-meta{flex-wrap:wrap;gap:3px}
 .run-alert .dark,.run-alert .light{font-size:11px}
}
/* Não comprimir o conteúdo do cartão superior em janelas de pouca altura. */
@media(min-width:901px){
 .overview{flex-shrink:0}
 .runs{min-height:320px}
 .run-content{flex-shrink:0}
}
@media(min-width:901px) and (max-height:800px){
 .runs{min-height:275px}
}
@media(max-width:360px){
 .metrics{display:flex;align-items:flex-start;gap:5px}
 .metrics dl{width:100%;margin-top:8px}
 .big-number{max-width:100%;font-size:56px;overflow-wrap:anywhere}
 .big-number.long-number{font-size:36px}
 .big-number.very-long-number{font-size:25px}
}

/* Área excedente: visual discreto, sem alterar o painel em uso normal. */
.access-notice{display:flex;align-items:center;gap:10px;flex:none;padding:10px 12px;border-radius:12px;background:linear-gradient(145deg,#edf0e5,#e2e7d7);border:1px solid #d3dac6;box-shadow:inset 0 1px 0 #fff9;color:#394237;min-width:0}.access-notice>div{flex:1;min-width:0}.access-notice strong{font-size:12px}.access-notice p{font-size:11px;line-height:1.4;margin-top:3px;color:#5f6958}.access-lock{display:grid;place-items:center;width:32px;height:32px;flex:none;background:#d8dfcb;border-radius:9px;color:#515d46}.access-lock svg{width:17px;height:17px}.access-notice button{flex:none}.space-access{display:flex;align-items:center;gap:3px;color:#66715d}.space-access svg{width:12px;height:12px}.readonly-detail{display:grid;gap:4px;padding:9px 10px;border-radius:8px;background:#f5f7f8;overflow-wrap:anywhere}.readonly-detail small{color:#747c80}.readonly-detail strong{font-size:13px;font-weight:500;white-space:pre-wrap}.read-only .approval-actions{display:none}.read-only .queue-footer{visibility:hidden}.read-only button[data-access-disabled]{opacity:.47;cursor:not-allowed}.read-only .approval{cursor:pointer}.read-only .runs{flex-shrink:0}.read-only .main{overflow:auto}@media(max-width:650px){.access-notice{flex-wrap:wrap}.access-notice button{margin-left:auto}.access-notice p{font-size:10px}}
