.workflowsView{width:100%;height:100%;overflow:auto;background:#f8f9fb}.workflowsView[hidden]{display:none}.workflowStudio{position:relative;max-width:1680px;min-height:100%;margin:auto;padding:36px 38px 60px}.workflowHero{text-align:center;padding:5px 0 36px}.workflowHero p,.workflowLibrary>header p,.workflowTemplates>header p{margin:0 0 7px;color:var(--brand);font-size:10px;font-weight:800;letter-spacing:1.6px}.workflowHero h1{margin:0;color:#17191e;font-size:34px;line-height:1.25;letter-spacing:0}.workflowHero small{display:block;margin-top:9px;color:#9a9ea7;font-size:13px}.workflowLibrary,.workflowTemplates{width:100%}.workflowLibrary>header,.workflowTemplates>header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.workflowLibrary h2,.workflowTemplates h2{margin:0;font-size:20px;letter-spacing:0}.workflowToolbar{display:flex;align-items:center;gap:10px}.workflowMode{height:38px;padding:3px;border:1px solid #e3e5e9;border-radius:7px;display:flex;background:#fff}.workflowMode button{min-width:76px;height:30px;padding:0 10px;border:0;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:6px;color:#7c8089;background:transparent;font-size:12px}.workflowMode button svg{width:14px;height:14px}.workflowMode button.active{color:#fff;background:#25272d}.workflowSearch{width:230px;height:38px;padding:0 11px;border:1px solid #e3e5e9;border-radius:7px;display:flex;align-items:center;gap:8px;background:#fff}.workflowSearch:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(255,90,99,.1)}.workflowSearch svg{width:16px;height:16px;color:#9da1a9}.workflowSearch input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:12px}.workflowNewButton{height:38px;padding:0 14px;border:1px solid var(--brand);border-radius:7px;display:flex;align-items:center;gap:7px;color:#fff;background:var(--brand);font-weight:700}.workflowNewButton:hover{background:var(--brand-dark)}.workflowNewButton svg{width:16px;height:16px}.workflowGrid{margin-top:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.workflowNewCard,.workflowCard{height:240px;min-width:0;border:1px solid #e1e3e8;border-radius:8px;background:#fff}.workflowNewCard{border-style:dashed;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#777b84}.workflowNewCard:hover{color:var(--brand);border-color:var(--brand);background:#fffafa}.workflowNewCard svg{width:48px;height:48px;padding:11px;border:1px solid currentColor;border-radius:50%;margin-bottom:14px}.workflowNewCard strong{color:inherit}.workflowNewCard small{margin-top:5px;color:#a2a6ae;font-size:11px}.workflowCard{position:relative;overflow:visible;display:grid;grid-template-rows:minmax(0,1fr) 68px;transition:transform .18s ease,box-shadow .18s ease}.workflowCard:hover,.workflowCard:focus-visible{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,27,33,.1)}.workflowCardVisual{position:relative;overflow:hidden;border-radius:7px 7px 0 0;background:#eceef2}.workflowCardVisual>img{width:100%;height:100%;display:block;object-fit:cover}.workflowCardVisual>span:not(.workflowCardPlaceholder){position:absolute;top:10px;left:10px;padding:4px 8px;border-radius:5px;color:#fff;background:rgba(25,26,30,.72);font-size:10px;font-weight:700}.workflowCardPlaceholder{width:100%;height:100%;display:grid;place-items:center;color:#9ca1aa;background:#f0f1f4}.workflowCardPlaceholder svg{width:54px;height:54px}.workflowCard>footer{position:relative;min-width:0;padding:12px 10px 11px 13px;display:flex;align-items:center;gap:8px;background:#fff;border-radius:0 0 8px 8px}.workflowCard>footer>div:first-child{min-width:0;flex:1;display:grid;gap:5px}.workflowCard>footer strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.workflowCard>footer small{color:#a0a4ad;font-size:10px}.workflowMoreButton{width:32px;height:32px;flex:0 0 auto;padding:0;border:0;border-radius:6px;display:grid;place-items:center;color:#8f939c;background:transparent}.workflowMoreButton:hover{color:#202126;background:#f2f3f5}.workflowMoreButton svg{width:17px;height:17px}.workflowCardMenu{position:absolute;z-index:15;right:10px;bottom:52px;width:112px;padding:5px;border:1px solid #e1e3e7;border-radius:7px;background:#fff;box-shadow:0 12px 28px rgba(20,22,27,.16)}.workflowCardMenu button{width:100%;height:32px;padding:0 9px;border:0;border-radius:5px;color:#555a63;background:transparent;text-align:left;font-size:11px}.workflowCardMenu button:hover{background:#f3f4f6}.workflowCardMenu button.danger{color:#cf414b}.workflowEmpty{min-height:180px;margin-top:16px;border:1px dashed #dfe1e6;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#969aa3;background:#fff}.workflowEmpty svg{width:32px;height:32px;margin-bottom:10px}.workflowEmpty strong{color:#555961}.workflowEmpty small{margin-top:5px}.workflowTemplates{margin-top:36px;padding-top:28px;border-top:1px solid #e5e7eb}.workflowTemplates>header>small{max-width:420px;color:#989ca5;font-size:11px;text-align:right}.workflowCategories{margin:16px 0 14px;display:flex;align-items:center;gap:8px}.workflowCategories button{height:32px;padding:0 13px;border:1px solid #dfe2e7;border-radius:16px;color:#777b84;background:#fff;font-size:11px}.workflowCategories button:hover{border-color:#aeb2ba;color:#34363b}.workflowCategories button.active{color:#fff;border-color:#292b31;background:#292b31}.workflowTemplateGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.workflowTemplateCard{min-width:0;overflow:hidden;border:1px solid #e1e3e8;border-radius:8px;background:#fff;transition:transform .18s ease,box-shadow .18s ease}.workflowTemplateCard:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,27,33,.1)}.workflowTemplateCard>div{position:relative;aspect-ratio:4/3;overflow:hidden;background:#eceef1}.workflowTemplateCard>div img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.workflowTemplateCard:hover>div img{transform:scale(1.025)}.workflowTemplateCard>div>span:not(.workflowCardPlaceholder){position:absolute;top:10px;left:10px;padding:4px 8px;border-radius:5px;color:#fff;background:rgba(27,29,34,.74);font-size:9px;font-weight:700}.workflowTemplateCard footer{padding:12px}.workflowTemplateCard footer strong{display:block;font-size:13px}.workflowTemplateCard footer small{height:34px;margin-top:5px;overflow:hidden;display:-webkit-box;color:#92969f;font-size:10px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:2}.workflowTemplateCard footer button{width:100%;height:34px;margin-top:11px;border:1px solid #e1e3e7;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px;color:#555a63;background:#fff;font-size:11px}.workflowTemplateCard footer button:hover{color:#fff;border-color:var(--brand);background:var(--brand)}.workflowTemplateCard footer button svg{width:14px;height:14px}.workflowLoading{position:absolute;z-index:20;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;color:#656a73;background:rgba(248,249,251,.78);backdrop-filter:blur(2px)}.workflowLoading span{width:18px;height:18px;border:2px solid #dadde2;border-top-color:var(--brand);border-radius:50%;animation:workflow-spin .8s linear infinite}.workflowLoading strong{font-size:12px}@keyframes workflow-spin{to{transform:rotate(360deg)}}
@media(max-width:1360px){.workflowGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.workflowTemplateGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1040px){.workflowLibrary>header{align-items:flex-start;flex-direction:column}.workflowToolbar{width:100%}.workflowSearch{min-width:180px;flex:1}.workflowTemplateGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.workflowStudio{padding:24px 14px 110px}.workflowHero{padding-bottom:26px}.workflowHero h1{font-size:25px}.workflowHero small{font-size:11px}.workflowToolbar{align-items:stretch;flex-wrap:wrap}.workflowMode{flex:1}.workflowMode button{min-width:0;flex:1}.workflowSearch{width:100%;order:3;flex-basis:100%}.workflowNewButton span{display:none}.workflowGrid{grid-template-columns:1fr 1fr;gap:10px}.workflowNewCard,.workflowCard{height:206px}.workflowTemplates>header{align-items:flex-start;flex-direction:column}.workflowTemplates>header>small{text-align:left}.workflowCategories{overflow-x:auto;padding-bottom:4px}.workflowCategories button{flex:0 0 auto}.workflowTemplateGrid{grid-template-columns:1fr 1fr;gap:10px}}
@media(max-width:430px){.workflowGrid,.workflowTemplateGrid{grid-template-columns:1fr}.workflowNewCard,.workflowCard{height:225px}}
.workflowsView[hidden],.workflowsView [hidden]{display:none!important}
