[hidden]{display:none!important}.auth-locked>.topbar,.auth-locked>.shell{display:none}.auth-locked{background:#faf9fd}#auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:radial-gradient(ellipse at 15% 80%,#e3dcfb,transparent 55%),linear-gradient(135deg,#f6f1fc,#eff5ff);padding:45px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-story>.brand{font-size:18px}.auth-story h1{font-size:clamp(35px,4vw,59px);line-height:1.14;letter-spacing:-2px;margin:23px 0}.auth-story em{font-style:normal;color:#8c68c9}.auth-story p{color:#8a88a4;line-height:1.8}.auth-story small{color:#9390aa;font-size:11px}.story-flow{display:flex;align-items:center;gap:16px;margin-top:40px}.story-flow span{padding:12px 22px;border:1px solid #ddd5ef;border-radius:13px;background:#ffffffab;color:#8c7cad;box-shadow:0 4px 12px #594a8110}.story-flow i{color:#ad9bc7;font-style:normal}.auth-side{display:flex;align-items:center;justify-content:center;padding:35px}.auth-card{max-width:370px;width:100%}.auth-card h2{font-size:30px;margin-bottom:10px;letter-spacing:-.5px}.auth-card>p{font-size:13px;color:#9497ac;margin-bottom:27px}.auth-card .field{font-size:12px}.auth-card input,.auth-card select{padding:12px;font-size:13px}.auth-card .primary{width:100%;padding:12px}.auth-card .auth-switch{display:flex;gap:9px;justify-content:center;font-size:12px;align-items:center;margin-top:25px}.text-button{border:0;background:transparent;color:#9877d1;padding:4px;font-size:12px}.auth-error{background:#fff1f3;color:#bb6274;border:1px solid #f4dce1;padding:12px;border-radius:9px;font-size:12px;margin:15px 0}.auth-notice{background:#f1edfb;border:1px solid #e3dbf4;color:#8b78ac;padding:13px;border-radius:9px;font-size:12px;line-height:1.7;margin:15px 0}.auth-hint{font-size:11px;line-height:1.7;color:#9b9aae}.auth-back{margin-bottom:25px}.space-picker{display:flex;flex-direction:column;gap:8px;padding:0 7px 12px}.space-picker select{width:100%;font-size:12px;background:#f6f4fb;border-color:#e9e3f3}.avatar{display:grid;place-items:center;background:#eee7fa;color:#9675c9;border:0;border-radius:50%;width:33px;height:33px;padding:0;font-weight:650;font-size:12px;flex-shrink:0}.avatar.blue{background:#e6f0ff;color:#6c93c8}.avatar.peach{background:#fff0e5;color:#bb957c}.avatar.teal{background:#e5f3f1;color:#739f96}.avatar.rose{background:#fae9f0;color:#b47792}.member-card{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #eeeaf4}.member-info{flex:1;min-width:0}.member-info strong{display:block;font-size:13px}.member-info small{display:block;color:#a29ab0;font-size:11px;overflow-wrap:anywhere}.member-card select{font-size:11px;padding:6px;width:132px}.member-card .icon{font-size:16px}.section-note{margin:18px 0 8px;color:#9b8db4;font-size:10px;text-transform:uppercase;letter-spacing:1px}.access-note{border-radius:8px;background:#f5f1fc;padding:11px;font-size:11px;color:#9b89b8;margin-bottom:15px}.welcome-card{max-width:520px;background:white;border:1px solid #e9e4f2;border-radius:18px;padding:40px;margin:60px auto;text-align:center;box-shadow:0 8px 30px #5b477208}.welcome-card h2{font-size:25px}.welcome-card p{color:#9b94ad;font-size:13px;line-height:1.8}.welcome-card .modal-actions{justify-content:center}.readonly-label{font-size:10px;color:#aa96c5;margin-top:6px}.sidebar .sidebar-separator{margin:10px 10px 12px}.sidebar #team-settings{font-size:11px}.sidebar .sidebar-bottom{padding-top:20px}.profile-preview{display:flex;gap:12px;align-items:center;margin-bottom:20px}.profile-preview .avatar{width:48px;height:48px;font-size:18px}.copy-hint{font:11px/1.6 ui-monospace,monospace;color:#9384a8;overflow-wrap:anywhere}body.readonly .block-card,body.readonly .node{cursor:pointer}#project-access{font-size:11px}@media(max-width:1100px){.topbar{gap:8px}.topbar select{max-width:160px}.topbar #save-state{max-width:110px;overflow:hidden}.breadcrumb{display:none}.top-divider{display:none}}@media(max-width:750px){#auth-screen{display:block}.auth-story{display:none}.auth-side{min-height:100vh;padding:30px}.auth-card h2{font-size:27px}.topbar #save-state{display:none}#project-access{font-size:10px;padding:7px}}@media(max-width:600px){.sidebar{display:block;padding:12px}.sidebar>*{display:none}.sidebar .space-picker{display:flex;padding:0}.sidebar #team-settings{display:flex;margin-top:5px}.shell>.sidebar{min-height:0}.welcome-card{margin:20px;padding:24px}}
#workspace.empty-workspace .workspace-bar,#workspace.empty-workspace #issues-panel{display:none}#workspace.empty-workspace #content{display:flex;align-items:center;justify-content:center}.empty-workspace .welcome-card{margin:20px;padding:25px;max-width:480px}.empty-workspace .welcome-card h2{font-size:23px}.empty-workspace .welcome-card p{font-size:12px}.empty-workspace .welcome-card .block-icon{margin-bottom:12px!important}
.app-navigation{display:flex;flex-direction:column;gap:4px;padding:8px 0 16px;border-bottom:1px solid var(--line);margin-bottom:15px}.section-link{font-size:12px}.workspace-navigation{display:flex;flex-direction:column;gap:3px;overflow:auto}.workspace-navigation>.eyebrow{padding:7px 12px;font-size:9px}.workspace-navigation .nav{font-size:11px;padding:7px 12px}.workspace-navigation #team-settings{display:none}.sidebar{max-height:calc(100vh - 70px);position:sticky;top:0}.sidebar-bottom{flex-shrink:0}.section-page .shell{grid-template-columns:214px minmax(0,1fr)}.section-page .workspace-navigation,.section-page #inspector{display:none}.section-page #present,.section-page #project-access,.section-page #project-menu,.section-page #save-state{display:none}.section-heading-large{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:10px 0 30px}.section-heading-large .eyebrow{margin-bottom:12px}.section-heading-large p,.section-card p{font-size:13px;color:#9099af;line-height:1.8}.section-card{padding:26px;background:white;border:1px solid var(--line);border-radius:15px;margin-bottom:20px}.section-card h2{font-size:17px;margin-bottom:10px}.section-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-toolbar{display:flex;gap:15px;align-items:center;margin-bottom:24px}.section-toolbar input{width:320px}.section-toolbar>span{font-size:11px;color:var(--muted)}.project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:20px}.project-tile{text-align:left;padding:24px;border-radius:14px;box-shadow:0 4px 15px #36325704}.project-tile:hover{background:#fcfaff;box-shadow:0 5px 20px #7554bb10}.project-tile h2{font-size:17px;margin:20px 0 8px}.project-tile p{font-size:12px;color:#929bb0}.project-tile>div{display:flex;justify-content:space-between;border-top:1px solid #f0edf5;padding-top:15px;font-size:10px;color:#9c8bb8}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;max-width:1050px}.settings-grid .field{font-size:12px;margin-bottom:20px}.role-pill{padding:5px 10px;border-radius:7px;background:#f1ecfa;color:#977cc2;font-size:11px;white-space:nowrap}.member-specialty{font-size:11px;color:#a1a5b7;margin-right:20px}.preference-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0;border-bottom:1px solid var(--line);font-size:13px}.preference-row small{display:block;color:#9ba2b6;font-size:11px;margin-top:5px}.preference-row input{accent-color:#9370cd;width:17px;height:17px}.team-empty{max-width:620px;padding:40px}.team-empty .block-icon{margin-bottom:20px}.no-canvas-grid #content{background-image:none}.hide-inspector:not(.section-page) .shell{grid-template-columns:214px minmax(0,1fr)}.hide-inspector #inspector{display:none}.reduce-motion *{transition:none!important;animation:none!important}.section-page .sidebar-bottom{margin-top:auto}@media(min-width:1550px){.section-page .shell,.hide-inspector:not(.section-page) .shell{grid-template-columns:235px minmax(0,1fr)}}@media(max-width:1150px){.section-page .shell,.hide-inspector:not(.section-page) .shell{grid-template-columns:175px minmax(0,1fr)}.member-specialty{display:none}}@media(max-width:750px){.settings-grid{grid-template-columns:1fr}.section-heading-large{flex-wrap:wrap}.section-card{padding:20px}}@media(max-width:600px){.sidebar{max-height:none;position:static}.sidebar .app-navigation{display:flex;flex-direction:row;overflow:auto;margin:8px 0 0;padding:5px 0;border:0}.app-navigation .nav{flex-shrink:0;font-size:10px;padding:7px;gap:5px}.app-navigation .nav span{font-size:15px;width:16px}.sidebar .workspace-navigation{display:none}.section-page .shell,.hide-inspector:not(.section-page) .shell{display:block}.section-heading-large{margin-top:4px}}

.block-completeness{background:#f6f3fc;border:1px solid #e8dff6;border-radius:12px;padding:12px;margin:0 0 20px}.completeness-title{display:flex;justify-content:space-between;font-size:12px}.block-completeness progress{width:100%;height:6px;accent-color:#9370cd;margin:10px 0}.completeness-item{display:flex;align-items:center;gap:7px;width:100%;text-align:left;border:0;background:transparent;padding:7px 0;font-size:11px}.completeness-item small{margin-left:auto;font-size:9px;white-space:nowrap;color:#9875c2}.completeness-item.complete>span:first-child{color:#658d9f}.block-completeness p{font-size:10px;color:#9190a6;line-height:1.5;margin:9px 0 0}
.requirements-register{margin-top:32px;padding-top:25px;border-top:1px solid var(--line)}.requirement-card{background:white;border:1px solid #e7e0f1;padding:20px;border-radius:14px;margin:14px 0}.requirement-card h3{margin:14px 0 8px}.requirement-card p,.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}.requirement-links{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.requirement-links button{font-size:11px;color:#8065b0;background:#f7f3fd}.requirement-choices{max-height:220px;overflow:auto;background:#f8f6fc;padding:12px;border-radius:10px}.requirement-choices label{display:flex;gap:9px;align-items:center;padding:8px;font-size:12px}.requirement-choices input{accent-color:#9370cd}.requirements-empty{padding:25px;border:1px dashed #d9cbea;border-radius:12px;color:#9487aa;font-size:12px}.missing-link{font-size:11px;color:#a47836}.linked-requirements{margin:18px 0;padding:14px;background:#f6f3fb;border-radius:12px}.linked-requirements h3{font-size:13px}.linked-requirements details{font-size:12px;padding:9px 0}.linked-requirements summary{cursor:pointer}.linked-requirements details p{margin-top:12px}#walk-panel{position:absolute;z-index:8;bottom:66px;left:18px;right:18px;max-height:45%;overflow:auto;padding:18px 22px;border:1px solid #cbb9e9;border-radius:16px;background:#fffffff5;box-shadow:0 10px 35px #59427724}#walk-panel h3{margin:10px 0 5px}#walk-panel p{font-size:12px;color:#8b82a0}.walk-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px;color:#9475c5}.walk-heading button{font-size:11px}.walk-buttons{display:flex;flex-wrap:wrap;gap:8px}.walk-buttons button{font-size:12px}.walk-current .outline{stroke:#9665db!important;stroke-width:4!important;fill:#efe4ff!important}.walking #issues-panel{visibility:hidden}.walking .canvas-controls{visibility:hidden}#workspace:fullscreen #walk-panel{bottom:20px;max-width:650px}.walking #content{cursor:default}
.glossary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.term-card{padding:22px;border:1px solid #e7def4;border-radius:16px;background:linear-gradient(145deg,#fff,#fbf9ff)}.term-symbol{display:inline-flex;padding:7px 10px;border-radius:10px;background:#eae3f7;color:#8c6fbb;font-weight:650;margin-bottom:14px}.term-card h3{font-size:18px;margin-bottom:10px;overflow-wrap:anywhere}.term-card p{font-size:13px;line-height:1.8;color:#7c879e}.term-chip{font-size:11px;padding:7px 10px;margin:3px;background:#f4effb;color:#8265ad;border-color:#e3d9f0;white-space:normal;overflow-wrap:anywhere}.glossary-view .section-toolbar input{min-width:0;width:100%}.glossary-view .section-toolbar>span{white-space:nowrap}@media(max-width:600px){.glossary-cards{grid-template-columns:1fr}}
dialog:has(#screen-builder){width:1000px}#screen-builder{display:grid;grid-template-columns:1fr 1fr;gap:28px}.screen-settings{min-width:0}.screen-preview-wrap{background:linear-gradient(140deg,#ece5fa,#eaf3fc);padding:22px;border-radius:16px}.screen-preview-wrap>.eyebrow{display:block;margin-bottom:18px}.prototype-screen{padding:25px;border:1px solid #e7e0f0;border-radius:18px;background:white;box-shadow:0 8px 25px #4c3e7610;min-width:0}.prototype-brand{font-size:11px;color:#9788ae;margin-bottom:24px;overflow-wrap:anywhere}.prototype-brand span{font-size:20px;color:#8d6cc2;vertical-align:middle}.prototype-screen h2{font-size:23px;line-height:1.3;overflow-wrap:anywhere}.prototype-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:#8a91a7}.prototype-screen .field{font-size:12px;margin:16px 0}.prototype-screen input,.prototype-screen textarea{width:100%;background:#fbfaff}.prototype-submit{width:100%;margin-top:14px;white-space:normal;overflow-wrap:anywhere}.required-star{color:#b27291}.screen-field-row{display:grid;grid-template-columns:minmax(0,1fr) 125px 30px;gap:8px;padding:12px;background:#f7f4fc;border-radius:12px;margin:10px 0}.screen-field-row .field{margin:0!important}.screen-field-row .field input,.screen-field-row select{width:100%;font-size:11px}.screen-required{grid-column:1/3;display:flex;align-items:center;gap:7px;font-size:11px}.screen-field-row button{grid-column:3;grid-row:1/3;padding:4px;align-self:center}.screen-task-list>div{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #ece6f4;padding:15px 0}.screen-task-list strong,.screen-task-list small{display:block}.screen-task-list small{color:#9691a6;margin-top:5px}#walk-panel.prototype-panel{top:75px;bottom:18px;right:18px;left:auto;width:min(430px,calc(100% - 36px));max-height:none;padding:18px;background:#f7f5fcf5}.prototype-panel .walk-buttons{margin-top:14px}.prototype-session-note{font-size:10px!important;margin:16px 0 0;color:#a09aaa!important}.prototyping #content{padding-right:460px}.prototyping #view-actions{pointer-events:none;opacity:.55}#workspace:fullscreen #walk-panel.prototype-panel{top:75px;bottom:18px;max-width:430px}@media(max-width:1000px){.prototyping #content{padding-right:0}#walk-panel.prototype-panel{top:110px;width:min(390px,calc(100% - 36px))}}@media(max-width:700px){#screen-builder{grid-template-columns:1fr}.screen-preview-wrap{padding:15px}.prototype-screen{padding:20px}.screen-field-row{grid-template-columns:minmax(0,1fr) 105px 25px}}
#walk-panel.parallel-panel{top:90px;bottom:18px;left:18px;right:18px;max-height:none;background:#f7f5fcf5;padding:18px}.branch-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.branch-card{padding:18px;background:white;border:1px solid #e6def1;border-radius:15px;min-width:0}.branch-card.focused{border-color:#b69bdd}.branch-card>h3{overflow-wrap:anywhere}.branch-card>p{font-size:12px;color:#9487a6}.branch-actions{display:flex;gap:8px;flex-wrap:wrap}.branch-actions button{font-size:12px}.branch-tabs{display:flex;gap:8px;overflow:auto;padding:8px 0 16px}.branch-tabs button{font-size:11px;flex-shrink:0;max-width:240px;overflow:hidden;text-overflow:ellipsis}.branch-tabs [aria-pressed=true]{background:#eae0fa;color:#815cb8}.many-branches .branch-card:not(.focused){display:none}.parallel-panel .walk-buttons{margin-top:18px}.parallel-panel .walk-buttons small{align-self:center;color:#9c92ad}.parallel-panel .prototype-screen{padding:18px;box-shadow:none}.prototyping:has(.parallel-panel) #content{padding-right:0}#workspace:fullscreen #walk-panel.parallel-panel{max-width:none;bottom:18px;top:90px}@media(max-width:700px){.branch-cards{grid-template-columns:1fr}.branch-card:not(.focused){display:none}.branch-card:only-child{display:block}#walk-panel.parallel-panel{top:120px;left:10px;right:10px}}
.branch-selection{display:flex;flex-direction:column;gap:10px;width:100%}.branch-selection label{display:flex;align-items:center;gap:8px;font-size:12px}.branch-selection input{accent-color:#8f6bc6}.branch-events{margin-top:15px;padding-top:10px;border-top:1px solid #e9e1f4;font-size:12px}.branch-events summary{cursor:pointer;color:#8b70b1;margin-bottom:8px}.branch-events button{font-size:11px;margin:4px;white-space:normal}

/* Projects library */
.projects-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,190px));gap:12px;margin:-10px 0 24px}.projects-summary>div{display:flex;align-items:baseline;gap:8px;padding:14px 18px;background:var(--glass);border:1px solid #fff;border-radius:18px;box-shadow:var(--glass-shadow)}.projects-summary strong{font-size:22px;color:var(--navy)}.projects-summary span{font-size:11px;color:var(--muted)}
.project-cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.project-tile{padding:22px;min-width:0}.project-tile.current{outline:2px solid #76aaf0;outline-offset:2px}.project-tile .project-tile-head{display:flex;align-items:center;justify-content:space-between;border:0;padding:0;color:inherit;font-size:inherit}.project-tile h2{font-size:18px;margin:17px 0 7px}.project-tile .project-goal{min-height:42px;margin:0}.project-tile .project-metrics{display:flex;justify-content:flex-start;gap:15px;margin-top:17px;padding:14px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);font-size:10px;color:var(--muted)}.project-metrics span{display:flex;gap:4px;align-items:baseline}.project-metrics strong{font-size:14px;color:var(--ink)}.project-tile .project-updated{display:block;border:0;padding:12px 0 0;font-size:10px;color:var(--muted)}.project-tile .project-actions{display:flex;justify-content:flex-start;border:0;padding:0;gap:7px;flex-wrap:wrap;margin-top:16px}.project-actions button{padding:8px 11px;font-size:10px}.project-actions .project-delete{margin-left:auto}.projects-empty{grid-column:1/-1;text-align:center;padding:45px}
.dark-theme .projects-summary>div{border-color:#43556e}.dark-theme .projects-summary strong{color:var(--ink)}
@media(max-width:750px){.projects-summary{grid-template-columns:repeat(3,1fr)}.project-cards{grid-template-columns:1fr}}
@media(max-width:600px){.projects-summary{grid-template-columns:1fr}.section-toolbar{align-items:stretch;flex-direction:column}.section-toolbar input{width:100%}}

/* Movable and resizable BPMN/project scenario window */
#walk-panel.parallel-panel,#workspace:fullscreen #walk-panel.parallel-panel{left:18px;right:auto;top:90px;bottom:auto;width:min(760px,calc(100% - 36px));height:min(520px,calc(100% - 108px));min-width:min(340px,calc(100% - 16px));min-height:min(220px,calc(100% - 70px));max-width:calc(100% - 16px);max-height:calc(100% - 58px);overflow:auto;overscroll-behavior:contain}
#walk-panel .prototype-drag-handle{position:sticky;top:-18px;z-index:3;margin:-18px -22px 12px;padding:14px 22px 10px;background:inherit;border-bottom:1px solid var(--line-soft);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
#walk-panel .prototype-drag-handle.dragging{cursor:grabbing}
#walk-panel.resizing{-webkit-user-select:none;user-select:none}
.walk-resize-handle{position:absolute;z-index:12;display:block;touch-action:none}.walk-resize-n,.walk-resize-s{left:12px;right:12px;height:10px;cursor:ns-resize}.walk-resize-n{top:-4px}.walk-resize-s{bottom:-4px}.walk-resize-e,.walk-resize-w{top:12px;bottom:12px;width:10px;cursor:ew-resize}.walk-resize-e{right:-4px}.walk-resize-w{left:-4px}.walk-resize-ne,.walk-resize-nw,.walk-resize-se,.walk-resize-sw{width:16px;height:16px}.walk-resize-ne{right:-5px;top:-5px;cursor:nesw-resize}.walk-resize-nw{left:-5px;top:-5px;cursor:nwse-resize}.walk-resize-se{right:-5px;bottom:-5px;cursor:nwse-resize}.walk-resize-sw{left:-5px;bottom:-5px;cursor:nesw-resize}
@media(max-width:700px){#walk-panel.parallel-panel,#workspace:fullscreen #walk-panel.parallel-panel{left:8px;top:112px;width:calc(100% - 16px);height:min(480px,calc(100% - 120px))}}

/* Create project from an existing BPMN file */
.project-import-option{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 4px;padding:16px;border:1px solid #ffffffd9;border-radius:17px;background:linear-gradient(135deg,#eef6ffcf,#eeeaffb5);box-shadow:inset 0 1px 0 #fff}.project-import-option span{display:flex;min-width:0;flex-direction:column}.project-import-option strong{font-size:12px}.project-import-option small{margin-top:3px;color:var(--ink-soft);font-size:10px}.project-import-option button{flex:0 0 auto}.dark-theme .project-import-option{background:linear-gradient(135deg,#293f5c,#34334f);border-color:#ffffff1b;box-shadow:inset 0 1px 0 #ffffff10}.dark-theme .project-import-option strong{color:var(--ink)}
@media(max-width:520px){.project-import-option{align-items:stretch;flex-direction:column}.project-import-option button{width:100%}}
.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 12px;color:#9aa2b5;font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--line)}.telegram-login{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px;border-color:#77bce7;background:linear-gradient(135deg,#e9f7ffcc,#edf2ffcc);color:#247aaa}.telegram-login span{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#32a8df;color:white}.dark-theme .telegram-login{background:linear-gradient(135deg,#203d57,#293b5b);color:#8ed7ff;border-color:#3b7595}
