/* AIFBH workspace v2, standalone-compatible. */
.wf-app,.wf-pricing,.wf-workspace-nav{--wf-ink:#26273f;--wf-muted:#74758a;--wf-primary:#6253cb;--wf-line:#e3dfee;color:var(--wf-ink);font-family:Inter,"Segoe UI",sans-serif;line-height:1.65}.wf-app *,.wf-pricing *{box-sizing:border-box}.wf-app [hidden],.wf-pricing [hidden]{display:none!important}.wf-workspace-nav{display:flex;flex-wrap:wrap;gap:8px;padding:8px;background:#f0edf8;border-radius:12px;margin-bottom:25px}.wf-workspace-nav a{padding:9px 18px;text-decoration:none;font-size:13px;font-weight:600}.wf-workspace-nav a:hover{background:#fff;border-radius:7px}.wf-topline{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px;font-size:12px}.wf-badge{background:#ede9fa;color:#5c4f99;padding:5px 12px;border-radius:20px}.wf-panel{padding:32px;background:#fff;border:1px solid var(--wf-line,#e3dfee);border-radius:16px;margin:20px 0}.wf-panel h2{font-size:32px;margin:13px 0 22px;line-height:1.2;letter-spacing:-.04em}.wf-panel h3{font-size:22px;margin:10px 0 20px}.wf-eyebrow{font-size:10px;letter-spacing:.14em;color:#8270ad;font-weight:750;display:block}.wf-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.wf-label{display:flex;flex-direction:column;gap:7px;margin:18px 0;font-size:13px;font-weight:600}.wf-label input,.wf-label textarea,.wf-label select{border:1px solid #dcd7e8;border-radius:8px;padding:12px 14px;background:#fcfbff;color:#26273f;font:inherit;font-weight:400;width:100%;min-width:0}.wf-label textarea{resize:vertical;min-height:90px}.wf-label small{font-weight:400;color:#74758a;font-size:11px;line-height:1.6}.wf-button{border:1px solid #6253cb;background:#6253cb;color:#fff;border-radius:8px;padding:12px 18px;font:600 13px/1.5 "Segoe UI",sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px}.wf-button:hover{background:#493ba9}.wf-secondary{background:#fff;border-color:#dcd6eb;color:#51456d}.wf-secondary:hover{background:#f4f1fb}.wf-button:disabled{opacity:.6;cursor:wait}.wf-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.wf-diagram{display:flex;gap:14px;list-style:none;padding:10px 0 22px;overflow:auto}.wf-diagram li{padding:12px;min-width:160px;max-width:240px;background:#f2effb;border:1px solid #e0d9f1;border-radius:9px;font-size:12px;flex:1}.wf-step-card{border:1px solid #e5e0ef;border-radius:12px;padding:23px;margin:20px 0;background:#fefeff}.wf-instruction{white-space:pre-wrap;font-size:14px;line-height:1.85}.wf-muted{font-size:12px;color:#777486}.wf-tip{padding:14px;border-left:3px solid #b5a5dd;background:#f6f3fc;font-size:13px}.wf-brief{padding:18px;background:#f7f5fb;border-radius:8px;white-space:pre-wrap}.wf-error,[data-message]:not(:empty){padding:14px;background:#f6f0ff;border-radius:8px;font-size:14px}.wf-pricing{display:grid;grid-template-columns:1fr 1fr;gap:22px}.wf-plan-pro{background:#f2eefb;border-color:#bfb3dc}.wf-price{font-size:42px;line-height:1.2;margin:25px 0}.wf-price small{font-size:15px;color:#7c708e}.wf-price del{font-size:22px}.wf-price ins{text-decoration:none}.wf-pricing li{margin:12px 0}.wf-pricing>p{grid-column:1/-1}.wf-card-grid,[data-saved]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.wf-project-card,.wf-library-card{padding:23px;background:#fff;border:1px solid #e3dfee;border-radius:13px;min-width:0}.wf-project-card>img{width:calc(100% + 46px);max-width:none;margin:-23px -23px 23px;height:170px;object-fit:cover;border-radius:12px 12px 0 0}.wf-project-card h3,.wf-library-card h3{font-size:23px;line-height:1.2;margin:15px 0}.wf-project-card p,.wf-project-card li{font-size:13px;color:#747085}.wf-project-card ol{padding-left:20px}.wf-project-card li{margin:8px 0}.wf-project-art{height:140px;margin:-23px -23px 22px;border-radius:12px 12px 0 0;background:radial-gradient(circle at 70% 30%,#d8c9ed 0,transparent 45%),linear-gradient(130deg,#e8e2f2,#b7b9d7);display:grid;place-items:center;font-size:62px;color:#5a5285}.wf-check{display:flex;gap:12px;align-items:center;padding:10px 0;font-size:14px}.wf-check input{width:18px;height:18px;accent-color:#6253cb}.wf-app summary{cursor:pointer;font-weight:650}.wf-app a,.wf-pricing a{color:#6152b1;text-underline-offset:4px;overflow-wrap:anywhere}.wf-pricing a.wf-button{color:#51456d}.wf-app :focus-visible{outline:3px solid #a187d5;outline-offset:4px}.wf-app p{overflow-wrap:anywhere}
@media(max-width:850px){.wf-card-grid,[data-saved]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.wf-panel{padding:21px}.wf-grid,.wf-pricing,.wf-card-grid,[data-saved]{grid-template-columns:1fr}.wf-panel h2{font-size:28px}.wf-step-card{padding:18px}.wf-workspace-nav a{padding:8px 10px;font-size:12px}.wf-diagram{flex-direction:column}.wf-diagram li{max-width:none;min-width:0}.wf-topline>span:last-child{font-size:11px}}
@media print{.wf-workspace-nav,.wf-actions,.wf-button,[data-wizard],[data-custom],.wf-topline,details,[data-pagination]{display:none!important}.wf-panel{border:0;padding:0}.wf-step-card{break-inside:avoid}.wf-diagram{overflow:visible}.wf-app a:after{content:" (" attr(href) ")";font-size:9px}.wf-pricing{display:block}}
.wf-prompt-box{margin-top:16px;padding:18px;border:1px solid #d9d1eb;border-radius:10px;background:#f8f6fd}.wf-prompt-box textarea{min-height:300px;font:13px/1.6 Consolas,"SFMono-Regular",monospace;background:#fff}.wf-prompt-box .wf-actions{margin-bottom:6px}

/* Release A: application shell and synchronized workspace views. */
.wf-workspace-shell{--wf-shell:#f5f7fb;--wf-sidebar:#171a2b;display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start;max-width:1500px;margin-inline:auto}.wf-workspace-shell>.wf-workspace-nav{position:sticky;top:20px;display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px;min-height:620px;margin:0;padding:18px 12px;background:var(--wf-sidebar);border:1px solid #2b3048;border-radius:18px;color:#eef0ff;box-shadow:0 18px 55px #20243b18}.wf-workspace-brand{display:flex!important;align-items:center;gap:10px;margin-bottom:14px;padding:10px!important;color:#fff!important}.wf-workspace-brand>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#8f76ff,#5c4acb);font-weight:800}.wf-workspace-brand strong{font-size:13px}.wf-workspace-links{display:flex;flex-direction:column;gap:4px}.wf-workspace-links a,.wf-workspace-upgrade{display:flex;align-items:center;gap:11px;color:#c8cbe1!important;border-radius:9px;padding:10px 12px!important}.wf-workspace-links a>span{width:21px;color:#9c8cf0;text-align:center}.wf-workspace-links a:hover,.wf-workspace-links a:focus-visible{background:#292d46!important;color:#fff!important}.wf-workspace-upgrade{margin-top:auto!important;background:#292d46;color:#fff!important}.wf-workspace-main{min-width:0}.wf-commandbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 28px;background:#fff;border:1px solid #e1e5ee;border-radius:17px}.wf-commandbar h2{font-size:clamp(25px,3vw,38px);margin:8px 0 0}.wf-command-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.wf-view-switcher,.wf-project-view-tabs{display:flex;gap:7px;overflow:auto;padding:8px;margin:18px 0;background:#eef0f7;border:1px solid #e0e3ec;border-radius:12px}.wf-view-switcher .wf-button,.wf-project-view-tabs .wf-button{white-space:nowrap;min-height:38px;padding:8px 14px;border-color:transparent;background:transparent}.wf-view-switcher .wf-button.is-active,.wf-project-view-tabs .wf-button.is-active{background:#fff;color:#463995;border-color:#d8d4e8;box-shadow:0 3px 9px #2830520d}.wf-owner-tools{display:flex;gap:12px;justify-content:flex-end;margin-bottom:10px;font-size:12px}.wf-library-board{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:14px;align-items:start;margin:20px 0;overflow:auto}.wf-library-column{padding:14px;background:#f1f3f8;border:1px solid #e1e4ed;border-radius:14px}.wf-library-column>h3{font-size:13px;margin:3px 3px 14px;color:#5c6075}.wf-library-column .wf-library-card{margin-bottom:10px;padding:17px}.wf-library-column .wf-library-card h4{font-size:17px;margin:10px 0}.wf-library-table-wrap,.wf-project-table-wrap{overflow:auto;margin:20px 0;border:1px solid #e0e3ed;border-radius:13px;background:#fff}.wf-library-table,.wf-project-table{width:100%;border-collapse:collapse;min-width:700px}.wf-library-table th,.wf-library-table td,.wf-project-table th,.wf-project-table td{padding:13px;border-bottom:1px solid #eceef4;text-align:left;font-size:12px;vertical-align:middle}.wf-library-table thead th,.wf-project-table thead th{background:#f4f5f9;color:#65697b;text-transform:uppercase;letter-spacing:.07em;font-size:9px}.wf-library-table tbody th,.wf-project-table tbody th{font-size:13px}.wf-library-table .wf-button{padding:6px 11px;min-height:34px}.wf-prompt-library,.wf-team-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:22px 0}.wf-view-intro{grid-column:1/-1;padding:22px 24px;background:linear-gradient(125deg,#f1edff,#f8f9ff);border:1px solid #ded8f1;border-radius:14px}.wf-view-intro h3{margin:8px 0;font-size:24px}.wf-empty-state{padding:30px;border:1px dashed #c9cddd;border-radius:13px;background:#f8f9fc;color:#6d7182}.wf-prompt-library>.wf-empty-state,.wf-team-library>.wf-empty-state{grid-column:1/-1}.wf-workspace-column{min-width:0}
@media(max-width:900px){.wf-workspace-shell{grid-template-columns:1fr}.wf-workspace-shell>.wf-workspace-nav{position:static;min-height:0;display:block;overflow:auto;white-space:nowrap}.wf-workspace-brand{display:inline-flex!important;margin:0 8px 0 0}.wf-workspace-links{display:inline-flex;flex-direction:row}.wf-workspace-links a,.wf-workspace-upgrade{display:inline-flex!important}.wf-workspace-upgrade{margin:0 0 0 8px!important}.wf-library-board{grid-template-columns:repeat(3,270px)}.wf-commandbar{align-items:flex-start;flex-direction:column}.wf-command-actions{justify-content:flex-start}.wf-prompt-library,.wf-team-library{grid-template-columns:1fr}}
@media(max-width:600px){.wf-workspace-shell{gap:14px}.wf-workspace-shell>.wf-workspace-nav{margin-inline:-12px;border-radius:0;padding:8px}.wf-workspace-brand strong{display:none}.wf-workspace-links a{font-size:11px}.wf-workspace-upgrade{display:none!important}.wf-commandbar{padding:19px}.wf-view-switcher{margin-inline:-4px}.wf-owner-tools{justify-content:flex-start;overflow:auto}.wf-library-board{grid-template-columns:repeat(3,250px)}}

/* Release B: Inbox and unread state. */
.wf-inbox-badge{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:auto;padding:0 5px;border-radius:20px;background:#ff6f88;color:#fff;font-size:9px}.wf-inbox>h2{margin-bottom:7px}.wf-inbox-list{display:grid;gap:10px}.wf-inbox-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 20px;border:1px solid #e1e4ed;border-radius:12px;background:#fff}.wf-inbox-item.is-unread{border-color:#bdb2e4;background:linear-gradient(100deg,#f2effd,#fff);box-shadow:inset 4px 0 #6e5bcd}.wf-inbox-item h3{font-size:16px;margin:5px 0}.wf-inbox-item p{font-size:12px;margin:3px 0}.wf-inbox-item time{display:block;color:#828698;font-size:9px;margin-top:7px}.wf-inbox-item .wf-button{white-space:nowrap}
@media(max-width:600px){.wf-inbox-item{grid-template-columns:1fr}.wf-inbox-item .wf-button{justify-self:start}.wf-inbox-badge{margin-left:0}}


.wf-calendar-wrap{display:block}.wf-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:20px 0}.wf-calendar>strong{text-align:center;font-size:11px}.wf-calendar-day{border:1px solid #e4dfee;border-radius:7px;padding:8px;min-height:85px;background:#fff}.wf-calendar-day>span{font-size:11px;color:#777}.wf-calendar-day .wf-button{font-size:10px;padding:6px;margin-top:5px;width:100%;overflow-wrap:anywhere;white-space:normal;text-align:left}.wf-calendar-wrap .wf-library-card{margin:12px 0}@media(max-width:600px){.wf-calendar{gap:2px}.wf-calendar-day{padding:4px;min-height:65px}.wf-calendar-day .wf-button{font-size:9px;padding:3px}}

/* Projects 2.1: compact discovery, accessible details and personal pipelines. */
.wf-project-card-compact{padding:0;overflow:hidden;transition:box-shadow .18s,transform .18s}.wf-project-card-compact:hover{transform:translateY(-3px);box-shadow:0 12px 28px #26273f13}.wf-project-card-compact:focus-within{outline:3px solid #a187d5;outline-offset:4px}.wf-project-card-action{appearance:none;display:block;text-align:left;background:#fff;border:0;border-radius:13px;color:#26273f;cursor:pointer;padding:0;width:100%;height:100%;font:inherit}.wf-project-card-action>img{display:block;width:100%;height:180px;object-fit:cover}.wf-project-card-action>.wf-project-art{display:grid;margin:0;border-radius:0;height:180px}.wf-project-card-copy{display:block;padding:23px}.wf-project-card-title{display:block;font-size:24px;line-height:1.22;font-weight:650;letter-spacing:-.035em;margin:15px 0}.wf-project-teaser{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#74758a;font-size:13px}.wf-project-explore{display:block;margin-top:22px;padding-top:15px;border-top:1px solid #e3dfee;color:#6253cb;font-size:13px;font-weight:650}
.wf-project-dialog{border:1px solid #e3dfee;border-radius:18px;padding:0;width:min(720px,calc(100vw - 32px));max-height:88vh;color:#26273f;background:#fff;box-shadow:0 24px 90px #1b15384d}.wf-project-dialog::backdrop{background:#19132b99}.wf-project-dialog-body{padding:30px;position:relative}.wf-project-dialog-body h2{font-size:34px;line-height:1.15;margin:18px 0}.wf-dialog-close{display:block;margin:0 0 20px auto}.wf-project-cover{display:block;width:100%;max-height:280px;object-fit:cover;border-radius:10px;margin-bottom:25px}.wf-project-description{white-space:pre-line;font-size:15px;line-height:1.8}.wf-project-detail-tasks{padding-left:25px;margin:25px 0}.wf-project-detail-tasks li{padding:10px 4px;border-bottom:1px solid #eee9f5;font-size:14px}.wf-project-dialog a.wf-button{color:#fff}.wf-pipeline-controls{border:0;padding:0;margin:0;min-width:0}.wf-pipeline-summary{font-size:12px;color:#79658d;border-bottom:1px solid #e3dfee;padding-bottom:15px}.wf-project-pipeline{gap:30px;padding:14px 5px 24px;align-items:stretch;list-style:none}.wf-project-pipeline>.wf-pipeline-node{position:relative;min-width:240px;max-width:280px;flex:0 0 250px;border:1px solid #ddd4f0;background:#f8f6fd;border-radius:13px;padding:18px;box-shadow:0 4px 12px #26273f05}.wf-project-pipeline>.wf-pipeline-node:not(:last-child):after{content:'→';position:absolute;right:-26px;top:46%;color:#a192c5;font-size:23px}.wf-node-top{display:flex;align-items:center;gap:7px}.wf-node-number{font-size:12px;font-weight:700;color:#736198;margin-right:auto}.wf-node-top .wf-button{padding:5px 10px;min-height:36px;font-size:17px}.wf-drag-handle{cursor:grab}.wf-drag-handle:active{cursor:grabbing}.wf-pipeline-node h3{font-size:18px;line-height:1.35;letter-spacing:-.025em;margin:20px 0;min-height:49px}.wf-pipeline-node>a{font-size:12px}.wf-pipeline-node .wf-check{font-size:12px;margin:10px 0}.wf-node-order{display:flex;gap:8px;border-top:1px solid #e4ddef;padding-top:14px}.wf-node-order .wf-button{font-size:11px;padding:7px 13px;min-height:36px}.wf-project-pipeline>.wf-pipeline-node.is-complete{background:#ede9fa;border-color:#aa97d1}.wf-pipeline-node.is-complete .wf-node-number:after{content:' ✓';color:#6253cb}.wf-project-pipeline>.wf-pipeline-node.is-drop-target{outline:3px solid #6253cb;outline-offset:2px}.wf-pipeline-node.is-dragging{opacity:.55}.wf-task-picker{margin:12px 0 25px;padding:18px;border:1px dashed #b5a4d0;border-radius:10px;background:#fbfaff}.wf-task-picker summary{font-size:14px;color:#6253cb}.wf-task-choices{max-height:270px;overflow:auto}.wf-task-choice{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e7e2f0}.wf-task-choice>span{font-size:13px;font-weight:600}.wf-task-choice small{display:block;font-size:10px;font-weight:400}.wf-task-choice>.wf-button{font-size:11px;padding:8px 14px;flex-shrink:0}.wf-personal-project [role=status]{font-size:13px;color:#625386;min-height:22px}.wf-pipeline-controls:disabled .wf-drag-handle{cursor:default}
@media(max-width:600px){.wf-project-dialog-body{padding:20px}.wf-project-dialog-body h2{font-size:27px}.wf-project-pipeline{flex-direction:column;gap:28px;overflow:visible}.wf-project-pipeline>.wf-pipeline-node{min-width:0;max-width:none;flex:auto;width:100%}.wf-project-pipeline>.wf-pipeline-node:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-28px}.wf-pipeline-node h3{min-height:0}.wf-project-card-action>img,.wf-project-card-action>.wf-project-art{height:170px}}
@media(prefers-reduced-motion:reduce){.wf-project-card-compact{transition:none}.wf-project-card-compact:hover{transform:none}}@media print{.wf-task-picker,.wf-node-top .wf-button,.wf-node-order,.wf-personal-project>.wf-actions{display:none!important}.wf-project-pipeline{overflow:visible;flex-wrap:wrap}.wf-project-pipeline>.wf-pipeline-node{break-inside:avoid}.wf-project-dialog{position:static;max-height:none}}
