/* Shared research navigation and workspace landing pages. */
body .rw-context-nav{max-width:1440px;min-width:0;margin:0 auto 26px}
body .rw-context-trail{display:flex;align-items:center;gap:9px;min-width:0;margin:0 0 12px;color:#607780;font-size:12px}
body .rw-context-trail a{color:#71878e;text-decoration:none}
body .rw-context-trail a:hover{color:var(--ui-accent,#087f81)}
body .rw-context-trail>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .rw-context-tabs{display:flex;gap:25px;overflow-x:auto;max-width:100%;border-bottom:1px solid var(--ui-line,#dce7e6);scrollbar-width:thin}
body .rw-context-tabs a{background:transparent;box-shadow:none;border-radius:0;flex:none;position:relative;padding:0 1px 12px;color:#687f87;text-decoration:none;white-space:nowrap;font-size:13px;border-bottom:2px solid transparent}
body .rw-context-tabs a:hover{color:var(--ui-accent,#087f81)}
body .rw-context-tabs a.active{color:var(--ui-accent,#087f81);border-bottom-color:var(--ui-accent,#087f81);font-weight:600}
body #main.rw-has-context>.plugin-workspace,body #main.rw-has-context>.tool-breadcrumb{max-width:1440px;margin-inline:auto}
body .rw-workspace-overview .page-heading,body .rw-focused-workspace .page-heading{margin-bottom:26px}
body .rw-direction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body .rw-direction-card{display:flex;flex-direction:column;min-width:0;padding:23px;border:1px solid var(--ui-line,#dce7e6);border-radius:12px;background:#fff;color:#29464b;text-decoration:none;transition:border-color .16s,box-shadow .16s}
body .rw-direction-card:hover{border-color:#8dbeb7;box-shadow:0 4px 16px #1e514909}
body .rw-direction-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
body .rw-direction-icon{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;background:#e7f4f0;color:#087f81}
body .rw-direction-icon .ui-icon{width:23px;height:23px}
body .rw-direction-card.rw-blue .rw-direction-icon{background:#eaf0fc;color:#426aaf}
body .rw-direction-card.rw-purple .rw-direction-icon{background:#f0ecfa;color:#8064ad}
body .rw-direction-card.rw-amber .rw-direction-icon{background:#faf0df;color:#9d773c}
body .rw-direction-card.rw-rose .rw-direction-icon{background:#f9eaf0;color:#ab5579}
body .rw-direction-card.rw-cyan .rw-direction-icon{background:#e6f4f9;color:#28829a}
body .rw-direction-count{font-size:12px;color:#7b8f95;text-align:right}
body .rw-direction-card h2{font-size:17px;line-height:1.6;font-weight:600}
body .rw-direction-card p{font-size:13px;color:#647b84;line-height:1.75;margin:9px 0 22px}
body .rw-direction-open{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;font-size:13px;color:#2d7372}
body .rw-workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
body .rw-project-panel,body .rw-start-panel{min-width:0;border:1px solid var(--ui-line,#dce7e6);border-radius:12px;background:#fff;padding:23px}
body .rw-project-panel .rw-section-title{margin-bottom:20px}
body .rw-project-panel .rw-project-grid{gap:12px}
body .rw-project-panel .rw-project-card{background:#fcfdfd;padding:17px;box-shadow:none}
body .rw-project-panel .rw-project-card h3{font-size:15px}
body .rw-project-foot{display:flex;justify-content:flex-end;gap:20px;margin-top:19px;padding-top:15px;border-top:1px solid #edf1f2;font-size:12px}
body .rw-empty-projects{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:210px;padding:24px;text-align:center;background:#fafcfc;border:1px dashed #dce7e6;border-radius:10px}
body .rw-empty-projects h3{font-size:15px;font-weight:550;line-height:1.65;color:#4c676e}
body .rw-empty-projects p{max-width:460px;font-size:13px;line-height:1.8;color:#778c94;margin:8px 0 13px}
body .rw-empty-projects .text-link{font-size:13px}
body .rw-empty-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:13px;border-radius:11px;color:#6c9a96;background:#edf5f3}
body .rw-empty-icon .ui-icon{width:23px;height:23px}
body .rw-start-panel h2{font-size:16px;margin-bottom:9px}
body .rw-start-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;text-decoration:none;border-bottom:1px solid #edf1f2;color:#637e86}
body .rw-start-link>span:first-child{min-width:0}
body .rw-start-link strong{display:block;font-size:14px;font-weight:550;color:#34545c;line-height:1.6}
body .rw-start-link small{display:block;font-size:12px;color:#788c93;line-height:1.7;margin-top:4px}
body .rw-start-link:hover strong,body .rw-start-link:hover>span:last-child{color:var(--ui-accent,#087f81)}
body .rw-start-note{font-size:12px;line-height:1.85;color:#7b8f96;margin:16px 0 0}
body .rw-research-path{margin-top:30px}
body .rw-research-path .rw-section-title .subtitle{font-size:12px}
body .rw-research-path .rw-stage{padding:20px;box-shadow:none}
body .rw-research-path .rw-stage:hover{border-color:#96bfb8}
body .rw-research-path .rw-stage-number{margin-bottom:9px;color:#6f9c94}
body .rw-research-path .rw-stage p{margin:8px 0 18px}
body :is(.rw-context-nav,.rw-direction-grid,.rw-workspace-layout,.rw-research-path) :is(a,button):focus-visible{outline:2px solid var(--ui-accent,#087f81);outline-offset:4px;border-radius:4px}
@media(min-width:1550px){body .rw-workspace-layout{grid-template-columns:minmax(0,1fr) 330px;gap:24px}}
@media(max-width:1200px){body .rw-direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .rw-workspace-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}body .rw-project-panel,body .rw-start-panel{padding:20px}}
@media(max-width:1000px){body .rw-workspace-layout{grid-template-columns:minmax(0,1fr)}body .rw-start-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px}body .rw-start-panel h2,body .rw-start-note{grid-column:1/-1}body .rw-start-link{align-items:flex-start}}
@media(max-width:700px){body .rw-context-nav{margin-bottom:21px}body .rw-context-tabs{gap:23px}body .rw-direction-grid{grid-template-columns:minmax(0,1fr);gap:12px}body .rw-direction-card{padding:20px}body .rw-direction-card p{margin-bottom:17px}body .rw-project-panel,body .rw-start-panel{padding:17px}body .rw-project-panel .rw-project-grid{grid-template-columns:minmax(0,1fr)}body .rw-start-panel{display:block}body .rw-start-link{padding:15px 0}body .rw-project-foot{flex-wrap:wrap;justify-content:flex-start}body .rw-research-path .rw-section-title{align-items:flex-start;gap:7px;flex-direction:column}body .rw-empty-projects{min-height:190px;padding:20px 14px}body .rw-context-trail{font-size:11px}}
@media(prefers-reduced-motion:reduce){body .rw-direction-card{transition:none}}

/* Direct workspace entry points: project records remain in their tools. */
body .rw-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body .rw-entry-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--ui-line,#dce7e6);border-radius:12px;background:#fff;color:#29464b;text-decoration:none;transition:border-color .16s,box-shadow .16s}
body .rw-entry-card:hover{border-color:#8dbeb7;box-shadow:0 4px 16px #1e514909}
body .rw-entry-card h3{font-size:17px;font-weight:600;line-height:1.6}
body .rw-entry-card p{font-size:13px;color:#647b84;line-height:1.8;margin:10px 0 24px}
body .rw-entry-card>.text-link{display:flex;justify-content:space-between;margin-top:auto;font-size:13px}
body .rw-entry-card:focus-visible{outline:2px solid var(--ui-accent,#087f81);outline-offset:4px}
@media(max-width:700px){body .rw-entry-grid{grid-template-columns:minmax(0,1fr);gap:12px}body .rw-entry-card{padding:20px}}
@media(prefers-reduced-motion:reduce){body .rw-entry-card{transition:none}}
