.project-library-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:160px}.project-library-card h2{margin:0}.project-library-card button{margin-top:auto}.route-workspace-controls{display:grid;grid-template-columns:minmax(200px,1fr) minmax(200px,1fr);gap:16px;margin-bottom:16px}.route-workspace-controls label{min-width:0}.route-workspace-controls input,.route-workspace-controls select{width:100%}.route-order{margin:12px 0;padding:0}.route-order>summary,.route-node>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:16px}.route-order>summary{background:#edf3fb}.route-node{margin:10px 16px;border:1px solid #d9e3ef;border-radius:7px}.route-node>summary span,.route-order>summary span{color:#708096;font-size:12px}.route-node .scroll{padding:0 14px 14px}.route-template-section{margin-top:20px}.route-template-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-top:1px solid #e0e7ef}.route-template-row small{display:block;color:#708096;margin-top:4px}.route-template-row .row{flex-shrink:0}.execution-filters{display:grid!important;grid-template-columns:minmax(170px,2fr) repeat(4,minmax(110px,1fr));align-items:end;gap:10px}.execution-filters label{min-width:0}.execution-filters input,.execution-filters select{width:100%}.execution-filters [id=executionDate]{display:block}.metric[role=button]{cursor:pointer;transition:transform .15s,box-shadow .15s}.metric[role=button]:hover,.metric[role=button]:focus-visible{transform:translateY(-3px);box-shadow:0 5px 18px #325b9133;outline:2px solid #7ca3d4}.employee-card-head{display:flex;align-items:flex-start;gap:15px}.employee-card-head .employee-avatar,.employee-card-head img.employee-avatar,.profile-avatar,.chat-avatar{aspect-ratio:2/3;width:70px;height:105px;flex:0 0 70px;border-radius:7px;object-fit:cover}.employee-card-info{min-width:0;flex:1}.employee-card-info h2{margin:0 0 8px}.employee-card-info .presence-label{text-align:right}.task-actions{display:flex;align-items:stretch;gap:8px;margin-top:auto;padding-top:14px}.task-actions button{min-height:38px}.sidebar .task-count{position:absolute;top:3px;right:3px;background:#d73845;color:#fff;border-radius:99px;min-width:18px;height:18px;padding:2px 5px;font-size:10px;display:grid;place-items:center}.sidebar .task-count[hidden]{display:none}.sidebar [data-group=execution],.sidebar [data-view=tasks]{position:relative}.chat-layout{height:calc(100dvh - 148px);min-height:420px;display:grid;grid-template-columns:minmax(240px,28%) minmax(0,1fr);gap:12px}.chat-list,.chat-panel{min-height:0;height:100%;overflow:hidden}.chat-list{display:flex;flex-direction:column}.chat-list #chatEntries{overflow-y:auto;flex:1}.chat-panel #chatPanelBody{height:100%;display:flex;flex-direction:column;min-height:0}.chat-header{min-height:68px;padding:8px 14px;align-items:center}.chat-header h2{margin:0;font-size:17px}.chat-header .chat-avatar{width:42px;height:55px;flex-basis:42px}.chat-add-member{margin-left:auto}.chat-stream{flex:1!important;min-height:0!important;height:auto!important;overflow-y:auto}.chat-typing{min-height:18px}.chat-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px;align-items:end;padding:8px}.chat-composer .message-format{grid-column:1/-1;grid-row:1}.chat-composer textarea{grid-column:2;grid-row:2;min-height:42px;max-height:140px;resize:vertical}.chat-composer .chat-clip{grid-column:1;grid-row:2;cursor:pointer;font-size:23px;padding:7px}.chat-composer button.primary{grid-column:3;grid-row:2;width:42px;height:42px;border-radius:50%;font-size:18px}.chat-composer #chatFileNames,.chat-composer #chatError{grid-column:1/-1;margin:0}.project-file-picker{margin-top:12px}.project-file-names{color:#6e7f92;font-size:12px;margin-top:4px}body:has(.chat-layout) .main{min-height:0}body:has(.chat-layout) .content{overflow:hidden;padding-bottom:0}@media(max-width:900px){.execution-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:minmax(170px,32%) minmax(0,1fr)}}@media(max-width:650px){.route-workspace-controls{grid-template-columns:1fr}.route-template-row{align-items:flex-start;flex-direction:column}.execution-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{height:calc(100dvh - 190px);grid-template-columns:1fr;position:relative}.chat-list{height:34%;min-height:120px}.chat-panel{height:66%}body:has(.chat-layout) .content{padding:8px}.employee-card-head .employee-avatar,.employee-card-head img.employee-avatar{width:62px;height:93px;flex-basis:62px}.chat-composer .message-format select{max-width:110px}}
.metric-detail-list{display:grid;gap:7px;max-height:65vh;overflow:auto;margin-top:16px}.metric-detail-list button{display:grid;gap:4px;text-align:left;padding:12px}.metric-detail-list small{color:#708096}
.chat-panel{padding:0!important}.chat-panel #chatPanelBody{padding:0}.chat-header{border-bottom:1px solid #e1e7ef}.chat-stream{margin:0 12px}.chat-composer{border-top:1px solid #e1e7ef;padding:10px 14px 14px}.chat-composer .message-format{margin:0 0 2px}
@media(max-width:650px){body:has(.chat-layout) .content{height:calc(100dvh - 172px);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}body:has(.chat-layout) .content>.heading{flex:0 0 auto}.chat-layout{display:flex;flex-direction:column;flex:1;height:auto;min-height:0;gap:6px}.chat-list{flex:0 0 165px;height:165px;min-height:0}.chat-panel{flex:1;height:auto;min-height:0}.chat-panel #chatPanelBody{min-height:0}.chat-stream{min-height:0!important}.chat-composer textarea{min-height:42px;max-height:75px}.chat-composer .message-format{display:flex;flex-wrap:wrap}}
@media(max-width:650px){.chat-list .chat-avatar{width:28px;height:42px;flex-basis:28px}.chat-list .chat-entry>button:first-child{padding:3px 6px}.chat-list .chat-entry{min-height:48px}.chat-list #chatEntries{min-height:52px}}
.task-count-flyout{background:#d73845;color:#fff;border-radius:99px;min-width:20px;padding:3px 7px;text-align:center;font-size:11px}.task-count-flyout:empty{display:none}
.execution-task{display:flex;flex-direction:column}.execution-task .operation{display:flex;flex-direction:column;flex:1}.execution-task .task-actions{margin-top:auto;flex-wrap:wrap}.execution-task>.row:last-child{margin-top:auto;padding-top:12px}
.employee-card-head{position:relative;padding-right:95px;min-height:105px}.employee-card-info .presence-label{position:absolute;right:0;top:0;max-width:95px;text-align:right}@media(max-width:650px){.employee-card-head{padding-right:88px;min-height:93px}.employee-card-info .presence-label{max-width:88px}}

/* The conversation workspace owns its internal scrolling; the page stays at viewport height. */
@media(min-width:651px){body:has(.chat-layout){height:100dvh;overflow:hidden}body:has(.chat-layout) .layout{height:100dvh;min-height:0}body:has(.chat-layout) .main{height:100dvh;overflow:hidden;display:flex;flex-direction:column}body:has(.chat-layout) .topbar{flex:0 0 auto}body:has(.chat-layout) .content{height:calc(100dvh - 68px);min-height:0;display:flex;flex-direction:column;flex:1}body:has(.chat-layout) .content>.heading{flex:0 0 auto;margin-bottom:12px}body:has(.chat-layout) .chat-layout{flex:1;height:auto;min-height:0}}
@media(min-width:651px){body:has(.chat-layout) .content{width:100%;max-width:none;align-self:stretch;margin:0;box-sizing:border-box}body:has(.chat-layout) .chat-layout{width:100%;grid-template-columns:clamp(260px,24%,360px) minmax(0,1fr)}body:has(.chat-layout) .chat-panel{min-width:0}}
.employee-card-head .employee-avatar,.employee-card-head img.employee-avatar{width:90px;height:135px;flex-basis:90px}.employee-card-head{min-height:135px}.employee-card{display:flex;flex-direction:column}.employee-card .employee-actions{margin-top:auto;min-height:62px;display:flex;align-items:center}.employee-card .employee-actions small{line-height:38px}.profile-avatar{width:108px;height:162px;flex-basis:108px}.chat-header .chat-avatar{width:56px;height:76px;flex-basis:56px}.chat-list .chat-avatar{width:48px;height:72px;flex-basis:48px}
.chat-header{gap:16px;min-height:92px}.chat-header>div:nth-child(2){min-width:110px}.chat-header-format{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;margin:0 10px!important}.chat-header-format button{min-width:34px;min-height:34px;padding:3px 6px}.chat-header-format select{width:auto;max-width:138px;min-height:34px;padding:5px}.chat-add-member{flex:0 0 auto}.chat-bubble,.chat-bubble .message-body{color:#202833}.chat-bubble .message-body{font-weight:500}.chat-bubble .chat-read-state{display:block;text-align:right;color:#2c5f9e;font-size:11px;font-weight:700;margin:6px 0 0}.chat-bubble.mine .chat-read-state{color:#23518c}.chat-composer{align-items:center;grid-template-columns:42px minmax(0,1fr) 42px}.chat-composer textarea{grid-column:2;grid-row:1;margin:0;min-height:54px;resize:none}.chat-composer .chat-clip{grid-column:1;grid-row:1;margin:0;display:grid;place-items:center;width:42px;height:42px;padding:0;color:#376bb3;cursor:pointer}.chat-composer button.primary{grid-column:3;grid-row:1;margin:0;display:grid;place-items:center;width:42px;height:42px;padding:0}.chat-composer #chatFileNames,.chat-composer #chatError{grid-column:1/-1}.chat-composer #chatFileNames:empty,.chat-composer #chatError:empty{display:none}
.social-chat-modal{width:min(1000px,calc(100vw - 40px));height:min(850px,calc(100dvh - 42px));max-height:none;padding:0;overflow:hidden;position:relative}.social-chat-modal #chatPanelBody{height:100%;display:flex;flex-direction:column;min-height:0}.social-chat-modal .chat-stream{flex:1;height:auto;min-height:0;overflow-y:auto}.social-chat-modal .employee-chat-close{position:absolute;right:12px;top:16px;z-index:2;width:36px;height:36px;padding:0}.social-chat-modal .chat-header{padding-right:58px}.social-chat-modal .chat-header-format{margin-right:20px!important}
.favorite-rail{top:18%!important;max-height:75vh!important;min-height:130px}.favorite-rail.open,.favorite-rail:hover,.favorite-rail:focus-within{min-height:300px}.favorite-rail>button:first-child{position:sticky;top:0;left:0;z-index:2;display:grid;place-items:center;background:#f5f8fc}.structure-node{cursor:pointer;transition:box-shadow .15s,transform .15s}.structure-node:hover,.structure-node:focus-visible{box-shadow:0 4px 18px #376bb333;transform:translateY(-2px);outline:2px solid #87a9d6}.execution-task{cursor:pointer}.execution-task:hover{box-shadow:0 4px 18px #376bb326}.project-file-names button{display:flex;align-items:center;gap:9px;text-align:left;overflow-wrap:anywhere}
@media(max-width:650px){.employee-card-head .employee-avatar,.employee-card-head img.employee-avatar{width:75px;height:112px;flex-basis:75px}.employee-card-head{min-height:112px}.chat-header{min-height:90px;gap:6px}.chat-header .chat-avatar{width:36px;height:54px;flex-basis:36px}.chat-header-format{gap:3px;margin:0!important}.chat-header-format select{max-width:88px;font-size:11px}.chat-header-format button{min-width:28px}.chat-add-member{font-size:11px;padding:5px}.social-chat-modal{width:calc(100vw - 12px);height:calc(100dvh - 20px)}.favorite-rail{top:auto!important;bottom:80px;max-height:65vh!important}}
.employee-card-head{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(72px,88px);gap:12px;width:100%;min-width:0;padding-right:0;align-items:start}.employee-card-head .employee-avatar{grid-column:1}.employee-card-info{grid-column:2;min-width:0}.employee-card-info h2{overflow-wrap:anywhere}.employee-card-head .presence-label{position:static;grid-column:3;min-width:0;max-width:none;text-align:right;overflow-wrap:anywhere;white-space:normal}.employee-card{min-width:0}.route-template-row{display:block}.route-template-row>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.route-template-row>summary span{color:#617792;font-size:12px}.route-template-row .scroll{margin:14px 0}.route-template-row .row{justify-content:flex-end}.metric[role=button].metric-opening{animation:metricPress .18s ease-out forwards;outline:2px solid #376db3;box-shadow:0 0 0 5px #376db328}@keyframes metricPress{0%{transform:scale(1)}45%{transform:scale(.975)}100%{transform:scale(1.015)}}@media(max-width:650px){.employee-card-head{grid-template-columns:75px minmax(0,1fr) minmax(67px,82px);gap:8px}.employee-card-head .presence-label{font-size:11px}}

@media(min-width:651px){#favoriteRail.favorite-rail{top:29%!important;height:min(54dvh,560px);min-height:380px;max-height:calc(100dvh - 32%)!important;padding:44px 8px 8px}#favoriteRail.favorite-rail:hover,#favoriteRail.favorite-rail:focus-within,#favoriteRail.favorite-rail.open{padding:44px 14px 14px;overflow-y:auto}}
#favoriteRail.favorite-rail{position:fixed}#favoriteRail #favoriteRailToggle{position:absolute;top:7px;left:7px;right:auto;margin:0;width:26px;height:30px;min-height:30px;padding:0;display:grid;place-items:center;line-height:1;background:#f5f8fc;color:#3269b2;z-index:3}
@media(max-width:650px){#favoriteRail.favorite-rail{top:auto!important;bottom:100px;height:min(48dvh,420px);min-height:240px;padding-top:44px}#favoriteRail.favorite-rail:hover,#favoriteRail.favorite-rail:focus-within,#favoriteRail.favorite-rail.open{padding-top:44px}}
.inline-document-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.inline-document-toolbar h1{font-size:22px;margin:0}.inline-document-toolbar p{margin:3px 0;color:#68778b;font-size:13px}.inline-document-frame{display:block;width:100%;height:calc(100dvh - 185px);min-height:480px;border:0;border-radius:10px;background:#fff}body:has(.inline-document-frame) .content{max-width:none;padding-bottom:12px}@media(max-width:650px){.inline-document-toolbar h1{font-size:16px}.inline-document-toolbar p{display:none}.inline-document-frame{height:calc(100dvh - 220px);min-height:380px}}

.metric-pagination{margin-top:12px;gap:12px}.metric-pagination[hidden]{display:none!important}.metric-pagination [data-metric-page]{color:var(--muted);font-size:12px}
.library-filters{display:flex;gap:10px;align-items:center}.library-filters input{flex:2;max-width:none;min-width:0}.library-filters select{flex:1;min-width:0}.library-explanation{font-size:12px;color:var(--muted);margin:0 0 12px}.library-order-list{display:grid;gap:12px}.library-order{padding:14px}.library-order-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px}.library-order-header>button{font-size:12px;min-height:34px;padding:5px 10px}.library-project-group{margin-top:14px}.library-project-group>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.library-project-group h3{font-size:14px;margin:0}.library-project-group>header>span{font-size:11px;color:var(--muted)}.library-document{border:1px solid var(--line);border-radius:7px;margin:6px 0}.library-document>summary{display:flex;align-items:center;gap:12px;padding:9px 12px;cursor:pointer}.library-document>summary>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.library-document strong{font-size:13px}.library-document small{display:block;font-size:11px}.library-document button{min-height:32px;padding:5px 10px;font-size:12px}.library-versions{padding:0 12px 8px;background:#f8fafd;border-top:1px solid var(--line)}.library-versions>div{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.library-versions>div:last-child{border:0}.library-versions>div>span:nth-child(2){flex:1}.library-versions a{font-size:12px}
@media(max-width:650px){.library-filters{flex-direction:column}.library-filters input,.library-filters select{width:100%;flex:auto}.library-document>summary{flex-wrap:wrap;gap:8px}.library-document>summary>span:first-child{flex-basis:100%}.library-versions>div{flex-wrap:wrap}.library-versions>div>span:nth-child(2){flex-basis:65%}.library-project-group>header{align-items:start;flex-direction:column;gap:3px}}
.library-order>summary.library-order-header{cursor:pointer;list-style:none;margin:0;padding-bottom:0;border-bottom:0}.library-order>summary.library-order-header::-webkit-details-marker{display:none}.library-order>summary.library-order-header>strong{flex:1;min-width:0;overflow-wrap:anywhere}.library-order>summary.library-order-header:before{content:'▸';color:var(--blue);font-size:15px}.library-order[open]>summary.library-order-header:before{content:'▾'}.library-order[open]>summary.library-order-header{padding-bottom:10px;border-bottom:1px solid var(--line)}


