

.fx-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
.fx-heading h1{font:750 27px/1.2 Inter,system-ui;letter-spacing:-.7px;color:#fff}.fx-heading>div{display:flex;gap:10px}
#p-flows .fx-heading button,#p-flows .fx-toolbar button,#p-flows .fx-card button{font:600 12px/1.3 Inter,system-ui;cursor:pointer}
.fx-heading button{padding:11px 16px;border-radius:10px}
.fx-import{border:1px solid #453049;color:#d7c8df;background:#16111c}
.fx-primary{color:#fff;border:1px solid #d672ed66;background:linear-gradient(115deg,#b72bdd,#863ae1);box-shadow:0 0 18px #b72bdd22}
.fx-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.fx-tabs{display:flex;gap:4px;padding:4px;background:#110e18;border:1px solid #36243e;border-radius:10px}
.fx-tabs button,.fx-more,.fx-footer button,.fx-menu button{appearance:none;border:0;background:transparent}
.fx-tabs button{color:#94859f;border-radius:7px;padding:8px 15px}
.fx-tabs button[aria-pressed=true]{background:#35203f;color:#f5d9ff;box-shadow:inset 0 1px 0 #c275d52a}
.fx-search{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #36243e;border-radius:10px;color:#aa94b6;width:230px;background:#110e18}
.fx-search input{appearance:none;border:0;padding:0;width:100%;min-width:0;outline:0;font:12px Inter,system-ui;color:#f5eafb;background:transparent}
.fx-search:focus-within{outline:2px solid #e4a4f4;outline-offset:2px}
.fx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.fx-card{position:relative;isolation:isolate;overflow:visible;min-width:0;border:1px solid #7739888c;border-radius:16px;padding:20px 22px 14px;background:radial-gradient(ellipse at 110% 0,#753f9b18,transparent 60%),#100d1a;box-shadow:0 0 16px #d946ef09;transition:border-color .2s,box-shadow .2s}
.fx-card:hover{border-color:#c56dd5;box-shadow:0 0 20px #d946ef20}
.fx-card[hidden]{display:none}
.fx-card-top{position:relative;display:flex;align-items:center;justify-content:space-between;z-index:4}
.fx-type{display:flex;align-items:center;gap:8px;color:#d6addf;font:500 11px Inter,system-ui}.fx-type svg{width:19px;height:19px;color:#e192f1}
.fx-more{padding:0 4px;font-size:19px!important;color:#b7a4c1;letter-spacing:1px}
.fx-watermark{position:absolute;right:24px;top:53px;width:83px;height:83px;opacity:.13;color:#e29afb;pointer-events:none}.fx-watermark svg{width:100%;height:100%;stroke-width:.8}
.fx-card h2{position:relative;margin:23px 0 10px;font:700 19px/1.3 Inter,system-ui;letter-spacing:-.4px;color:#f7effb;max-width:85%;overflow-wrap:anywhere}
.fx-bot{display:flex;align-items:center;gap:6px;font:11px Inter,system-ui;color:#9d8da9}
.fx-bot i{width:5px;height:5px;background:#685c70;border-radius:50%}.fx-bot .connected{background:#34d399;box-shadow:0 0 6px #34d39966}
.fx-meta{margin-top:24px;display:flex;flex-wrap:wrap;gap:7px;color:#b4a4c0;font:11px Inter,system-ui}
.fx-meta span+span::before{content:'·';margin-right:7px;color:#716178}
.fx-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #60336640;margin-top:17px;padding-top:12px}
.fx-line{height:2px;width:24px;border-radius:2px;background:linear-gradient(90deg,#d07be3,#d07be300)}
.fx-footer button{color:#e5a2f5;display:flex;gap:14px;align-items:center;padding:3px 0}
.fx-footer button span{font-size:17px}.fx-menu{position:absolute;right:0;top:25px;width:130px;padding:5px;border:1px solid #65406d;border-radius:10px;background:#25182f;box-shadow:0 8px 20px #0006;z-index:5}
.fx-menu button{display:block;width:100%;text-align:left;padding:9px 10px;color:#e4d0ec;border-radius:5px}.fx-menu button:hover{background:#503056}
.fx-toast{position:fixed;bottom:24px;left:50%;padding:12px 18px;background:#25182f;border:1px solid #65406d;border-radius:10px;color:#edd4f9;font:12px Inter;z-index:100}
.fx-empty{color:#b7a4c1;margin:32px 0}
@media(max-width:1100px){.fx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.fx-grid{grid-template-columns:1fr}.fx-heading{align-items:flex-start}.fx-heading h1{font-size:22px}.fx-heading>div{gap:6px}.fx-heading button{padding:9px;font-size:10px!important}.fx-import span{display:none}.fx-toolbar{align-items:stretch;flex-direction:column}.fx-tabs{justify-content:space-between}.fx-tabs button{padding:7px}.fx-search{width:100%}}


#p-flows{max-width:none;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
@property --flow-preview-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes flow-preview-orbit{to{--flow-preview-angle:360deg}}
.fx-card{border:1px solid transparent;background:linear-gradient(#100d1a,#100d1a) padding-box,conic-gradient(from var(--flow-preview-angle),#683078 0deg 295deg,#cf73ec 336deg,#f6ceff 348deg,#683078 360deg) border-box;animation:flow-preview-orbit 8s linear infinite}
.fx-card:nth-child(3n+2){animation-delay:-2.5s}.fx-card:nth-child(3n){animation-delay:-5s}
@media(prefers-reduced-motion:reduce){.fx-card{animation:none}}


.fx-watermark{top:65px;right:24px;width:66px;height:66px;opacity:.32}
.fx-card h2{max-width:calc(100% - 84px)}
.fx-type::before{content:'';width:4px;height:4px;background:#d789ed;border-radius:50%}
.fx-footer{justify-content:flex-end}
#p-flows #flows-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px}
#p-flows .fx-card{min-height:242px;display:flex;flex-direction:column}
#p-flows .fx-footer{margin-top:auto;padding-top:12px}
#p-flows .fx-meta{margin-bottom:18px}
#p-flows .fx-card[hidden],#p-flows [hidden]{display:none!important}
#p-flows button:focus-visible{outline:2px solid #e4a4f4;outline-offset:3px}
@media(max-width:1100px){#p-flows #flows-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){#p-flows #flows-grid{grid-template-columns:1fr!important}}
html[data-shell-theme=light] #p-flows .fx-card{background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--flow-preview-angle),#dfc4e8,#b962d0,#dfc4e8) border-box}
html[data-shell-theme=light] #p-flows :is(h1,h2){color:#321d3b}
html[data-shell-theme=light] #p-flows :is(.fx-toolbar,.fx-import,.fx-search,.fx-tabs){color:#663677;background:#faf4fd;border-color:#d9c0e4}
