/* Approved shell geometry; shared content language for every restored workflow. */
:root{--soft:#f5f7fa;--paper:#fff;--line:#e4e7ec;--muted:#748091}
button{border:1px solid #dce1e8;border-radius:8px;padding:7px 11px;background:#fff;font-size:12px}button.primary{background:var(--blue);border-color:#2853d5;color:white}button.text{color:#61748f;text-decoration:none}button.text:hover{text-decoration:underline}button:disabled{opacity:.5}input[type=checkbox],input[type=radio]{accent-color:var(--blue)}
.content-shell{width:calc(100% - 296px);padding:0;left:272px;top:68px;height:676px}.content-shell.settings-panel{width:660px}.content-shell #main{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.panel-header{height:136px;padding:26px 28px 20px;display:flex;flex-direction:column}.toolbar{margin-top:auto;height:35px;min-height:35px}.toolbar>button,.toolbar>select{flex:none}.heading-actions{display:flex;gap:7px;flex:none}.heading-line .inline-description{font-size:12px}.heading-line .badge{max-width:110px;text-overflow:ellipsis;overflow:hidden}.panel-back{border:0;background:transparent}.panel-footer{font-size:11px;padding:0 24px}.content-shell .workspace{flex:1;min-height:0;display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;align-items:stretch;overflow:hidden}.content-shell .library-workspace{grid-template-columns:220px minmax(0,1fr)}.member-roster,.library-roster{overflow:auto;padding:12px 10px;background:#f7f8fa;border-right:1px solid var(--line)}.content-shell .item-list{display:flex;flex-direction:column;gap:4px}.content-shell .item{border:1px solid transparent;background:transparent;border-radius:9px;padding:12px 10px;box-shadow:none;display:block;width:100%;text-align:left}.content-shell .item.active{background:#fff;border-color:#d6e0f4;box-shadow:0 2px 4px #26385508}.content-shell .item.active h3{color:#325799}.content-shell .item h3{font-size:13px;font-weight:550}.content-shell .item p{font-size:11px;color:#7d8898;margin:4px 0}.item small{display:block;color:#8a94a2;font-size:10px;margin-top:4px}.content-shell .member-item.active{box-shadow:inset 3px 0 var(--blue)}.member-summary{gap:10px;align-items:center}.member-summary>div{min-width:0}.member-summary h3,.member-summary p{overflow-wrap:anywhere}.avatar{background:#e8edf4;color:#6b829d;border:1px solid #ffffffb0;border-radius:14px;width:50px;height:50px}.member-summary .avatar{width:36px;height:36px;border-radius:11px}.member-item:nth-child(1) .avatar{background:#eae5dd;color:#8f765a}.member-item:nth-child(2) .avatar{background:#e3ebe9;color:#66837a}.member-item:nth-child(4) .avatar{background:#e8e5f2;color:#8a7aa3}.content-shell .panel{position:static;left:auto;top:auto;width:auto;height:auto;box-shadow:none;border:0;border-radius:0;background:white;padding:24px;overflow:auto;min-width:0}.member-detail .member-heading{display:flex;align-items:center;gap:12px;overflow:visible}.member-heading h2{font-size:21px}.member-heading .detail-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:190px}.danger-text{color:#a75454}.tabs{height:auto;min-height:40px;padding:0;margin:16px 0 18px;gap:20px;align-items:stretch;background:transparent;flex:none}.tabs button{border:0;padding:10px 0;background:transparent;font-size:12px;white-space:nowrap}.tabs button.active:after{background:var(--blue)}.category-segments button{border:0;border-right:1px solid #dce1e8;border-radius:0;padding:0 10px;background:transparent}.category-segments{max-width:255px}.member-actions{margin:18px 0;justify-content:flex-start;flex-shrink:1}.resource-row{padding:16px 0;border-bottom:1px solid var(--line)}.resource-row .row{gap:10px}.resource-row h3{font-size:13px}.resource-row p{margin-top:8px;font-size:12px}.resource-row .badge{font-size:10px}.resource-row-bottom{margin-top:12px}.resource-row-bottom button{font-size:11px}.resource-off{background:#f0f2f5!important;color:#87909d!important}.resource-off h3,.resource-off p{color:#818b99!important}.resource-row.resource-off{box-shadow:12px 0 #f0f2f5,-12px 0 #f0f2f5}.resource-row [data-use-resource]{min-width:calc(7em + 26px);flex-shrink:0;white-space:nowrap}.resource-toolbar{margin:16px 0;display:flex;gap:8px;flex-wrap:wrap}.notice{position:static;left:auto;bottom:auto;margin:10px 0;box-shadow:none;max-width:none}.badge{font-size:10px;color:#758397;background:#f3f5f8;border-color:#e3e7ee;border-radius:5px}.intro{font-size:13px!important;line-height:1.85!important}.preference-pane h3{font-size:14px}.preference-copy{margin:18px 0;min-height:100px}.preference-pane .helper{margin-top:7px}.work-assignment{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.work-assignment:empty{display:none}.version-history{margin-top:18px;padding:16px 0;border-top:1px solid var(--line);font-size:12px}.version-history details{margin:12px 0}.version-history pre{white-space:pre-wrap;font:12px/1.8 inherit;padding:12px;background:#f5f7fa}.library-detail h2{font-size:19px}.return-member{margin-bottom:14px;font-size:11px}.page-body{flex:1;min-height:0;overflow:auto;padding:22px 24px;background:white}.page-body .panel{border:1px solid var(--line);border-radius:10px}.project-switch{display:flex;gap:8px;align-items:center}.project-switch>button.active{color:var(--blue);background:var(--pale)}.project-switch .category-segments{height:32px}.project-switch .category-segments button{height:30px}.project-switch button{font-size:11px}.project-calls{display:flex;flex-direction:column}.embedded-calls{height:430px;display:flex}.call-pane .logs-workspace{display:grid;grid-template-columns:142px minmax(0,1fr);gap:12px}.call-pane .single-source{grid-template-columns:1fr}.call-pane .log-directory{overflow:auto}.call-pane .log-detail{height:auto;min-height:0;border-color:var(--line);border-radius:8px;margin:0}.call-pane .log-directory .item{padding:9px}.call-pane .log-scroll{padding:0 14px}.call-pane .log-text{font-size:12px}.call-pane>.tabs{margin-top:0;gap:15px}.call-filters{gap:10px;flex:none}.library-manager{flex:1;min-height:0;overflow:auto}.library-manager-table th,.library-manager-table td{font-size:12px;padding:12px 9px}.library-manager-actions{position:sticky;top:0;background:#fff;z-index:1}.archive-explorer{grid-template-columns:200px minmax(0,1fr);height:350px;min-height:0}.archive-preview{min-width:0}.archive-standards{grid-template-columns:200px minmax(0,1fr);gap:16px}.archive-toolbar{gap:12px}.archive-toolbar p{font-size:11px}.archive-paper{padding:20px}.archive-standards .item-list{display:flex}.page-body>.tabs{margin-top:0}.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.marketplace-cover{min-height:85px;background:#edf2fc;border:0;border-radius:8px;font-size:13px}.marketplace-detail{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.marketplace-card{gap:12px}.marketplace-card p{font-size:12px}.shell-sidebar .nav,.shell-sidebar .project,.shell-sidebar .children button,.section-label button{border:0;background:transparent}.shell-sidebar .nav.selected{background:var(--pale)}.shell-sidebar .projects{margin:0}.shell-sidebar .project-name{padding:0;font-size:12px;font-weight:400}.avatar-toggle{padding:0;font-size:28px;border:0}.shell-sidebar .children[hidden]{display:none}.prototype-toast{position:absolute;left:272px;top:758px;max-width:calc(100% - 296px);padding:10px 15px;border-radius:10px;background:#fff;box-shadow:0 5px 20px #26385515;font-size:12px;color:#53667f;z-index:10}.prototype-toast:empty{display:none}.prototype-toast button{border:0;color:var(--blue);padding:0 5px}.office-signs{position:absolute;left:300px;top:770px;display:flex;gap:12px;z-index:-1}.office-signs span{background:#fffffff0;padding:6px 10px;border-radius:6px;font-size:12px}.stage:after{content:'Archory'}dialog{border:1px solid white;border-radius:18px;box-shadow:0 22px 60px #15244640;background:#fcfcfd;padding:26px;color:var(--ink);max-height:85vh}dialog::backdrop{background:#202c4933;backdrop-filter:blur(3px)}dialog input[type=text],dialog textarea,dialog select{border:1px solid #dce1e8;background:white;border-radius:8px}dialog input[type=checkbox],dialog input[type=radio]{accent-color:var(--blue)}dialog .pick{display:flex}.settings .setting-row{gap:12px}.settings .switch{padding:0;border:0}.skill-editor{min-height:280px!important}.skill-instructions{font-size:12px}.skill-instructions p{overflow-wrap:anywhere}.read-only{border:1px solid #e2e7ef;background:#f7f9fc;border-radius:9px}.empty{border:0;padding:40px 15px}.panel-header .search{min-width:0}.panel-header .search input{min-width:0;font-size:12px}.panel-header .toolbar{gap:8px}.panel-header .toolbar select{max-width:130px;font-size:11px}.panel-header .toolbar>button{font-size:11px;white-space:nowrap}
.setting-avatar img,.avatar-toggle img{width:100%;height:100%;object-fit:cover;border-radius:50%}.project-calls .call-pane{min-height:0}
.shell-sidebar .projects{display:block}.panel-header .heading-actions button{white-space:nowrap}.panel-header .heading-actions{max-width:340px}.content-shell:not(.settings-panel) .heading-line .inline-description{font-size:12px}.prototype-toast{line-height:1.6}
.shell-sidebar .sidebar-projects{display:flex;flex-direction:column;min-height:0;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.shell-sidebar .sidebar-projects .section-label{flex:none;padding:0 10px 8px;letter-spacing:0;color:#778191}
.shell-sidebar .project-count{min-width:20px;height:18px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#eef1f5;color:#778191;font-size:10px;font-weight:500}
.shell-sidebar .projects{display:flex;flex-direction:column;gap:2px;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:2px}
.shell-sidebar .project{height:50px;min-height:50px;padding:5px 9px;border-radius:8px;align-items:center}
.shell-sidebar .project-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:2px}
.shell-sidebar .project-name{width:100%;font-size:12px;font-weight:500;line-height:17px}
.shell-sidebar .project-meta{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9199a5;font-size:10px;line-height:14px}
.shell-sidebar .project.not-connected{color:#697382}
.shell-sidebar .project.connected .project-status{color:#315fe9}
.shell-sidebar .project:hover{background:#f1f4f8}
.shell-sidebar .project[aria-current="page"]{background:var(--pale);color:var(--blue)}
.shell-sidebar .project[aria-current="page"] .project-meta{color:#657fb8}
.shell-sidebar .project-empty{margin:4px 10px;color:#8a93a1;font-size:11px;line-height:1.7}
#main>:is(.project-calls,.settings){padding-top:8px}

/* Keep member call filters beside the resource categories. */
.member-call-toolbar{display:flex;align-items:center;flex-wrap:wrap;column-gap:20px;min-width:0;flex:none;border-bottom:1px solid var(--line);margin-bottom:15px}
.member-call-toolbar>.tabs{margin:0;gap:15px;border-bottom:0}
.member-call-toolbar>.call-filters{margin:0 0 0 auto;padding:4px 0;min-width:0;max-width:100%;flex:0 1 auto;flex-wrap:nowrap}
.member-call-toolbar .call-filters label{flex:none}
.member-call-toolbar .call-filters select{max-width:140px}
.member-call-toolbar .call-filters>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* The selected project is also the team shown in the office. */
.project[aria-current="true"]{background:var(--pale);color:var(--blue);border-radius:8px}

/* Material directory: equal cards with one collection-status label. */
.content-shell .library-roster .material-card{height:var(--ui-directory-card-height);min-height:var(--ui-directory-card-height);flex:none;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:8px;padding:12px 10px;background:#fff;border-color:#e1e5eb}
.content-shell .library-roster .material-card h3{margin:0;color:#303841;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.content-shell .library-roster .material-card.active{background:#f0f4ff;border-color:#a9bee9;box-shadow:0 2px 4px #26385508}
.content-shell .library-roster .material-status{align-self:flex-start;font-size:11px;line-height:18px;color:#434b54;background:#f1f3f5;border-radius:4px;padding:1px 6px}
.content-shell .library-roster .material-complete h3{color:#245b8f}
.content-shell .library-roster .material-complete .material-status{color:#245b8f;background:#eaf2fb}

/* Member actions belong to the member identity; call records reuse the knowledge-library reading structure. */
.member-heading .detail-actions{max-width:none}
.member-detail:has(.embedded-calls){display:flex;flex-direction:column;overflow:hidden}
.member-detail:has(.embedded-calls)>.tabs{flex:none}
.member-detail:has(.embedded-calls)>.embedded-calls{height:auto;flex:1;min-height:0}
.call-pane .knowledge-call-layout{grid-template-columns:248px minmax(0,1fr);gap:0}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster{background:#fff;border-right:1px solid var(--line);padding:8px 18px 0 0}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .item-list{gap:0}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .item{min-height:0;height:auto;padding:15px 12px;border:0;border-radius:0;background:transparent;box-shadow:none}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .item:not(.active){border-bottom:1px solid var(--line)}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .item.active{border:0;border-radius:6px;background:#f4f7ff;box-shadow:inset 3px 0 var(--blue)}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .material-card{height:auto}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .material-status{margin-top:8px;padding:0;border-radius:0;background:transparent;color:#758397;line-height:1.5}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .material-complete .material-status{background:transparent;color:#245b8f}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster .item.active .record-dot{background:var(--blue)}
.call-pane .knowledge-call-layout:not(.project-call-layout)>.log-detail{border:0;border-radius:0;margin:0;padding:24px;overflow:hidden}
.call-pane .knowledge-call-layout:not(.project-call-layout) .log-scroll{padding:0}
.call-source-heading{align-items:center;gap:16px}
.call-source-heading h2{margin:0}
.call-source-action{margin:8px 0 14px}
@media(max-width:650px){.call-pane .knowledge-call-layout:not(.project-call-layout)>.library-roster{padding:6px 0 14px;border-right:0;border-bottom:1px solid var(--line)}}
