/* Shared interface; data and account behavior remain in their existing page controllers. */
body.sloe-workspace{--surface:#fffdf8;--ink3:#71675d;--muted:#71675d;--rule:#ded7ce;--radius-control:6px;--radius-panel:10px;--radius-badge:4px;--pmono:'IBM Plex Mono','SF Mono',monospace;font-family:'IBM Plex Sans',sans-serif;color:var(--ink,#1c1814)}
.sloe-workspace button,.sloe-workspace input,.sloe-workspace select,.sloe-workspace textarea{font-family:inherit}
.sloe-workspace button,.sloe-workspace select,.sloe-workspace input{border-radius:var(--radius-control)}
.sloe-workspace :is(button,a,input,select,summary,textarea):focus-visible{outline:2px solid var(--plum,#5b2b54);outline-offset:3px}
.sloe-workspace .app{grid-template-columns:224px minmax(0,1fr)}
.sloe-workspace .sidebar{background:#fffdf8}
.sloe-workspace .sidebar :is(.brand,.wordmark),.sloe-workspace .cu-tool-brand{font-family:Fraunces,Georgia,serif;font-style:normal;letter-spacing:-.055em;font-size:30px;font-weight:600}
.sloe-workspace .sidebar .is-user-desk{font-size:22px;letter-spacing:-.025em}
.sloe-workspace .sidebar :is(.s-group,.nav-group-label),.sloe-workspace .cu-tool-label{color:#71675d;letter-spacing:.07em;font-size:10px}
.sloe-workspace .sidebar .ni.on,.sloe-workspace .desk-navigation>button[aria-current],.sloe-workspace .cu-tool-link.on{color:#5b2b54;background:#eee7ed;box-shadow:none;border-radius:6px}
.sloe-workspace .main{min-width:0}
.sloe-workspace .topbar{background:transparent;min-height:54px}
.sloe-workspace .wrap{padding:28px 32px;max-width:1500px}
.sloe-workspace .pf-head{gap:14px;margin-bottom:18px}
.sloe-workspace .head h1,.sloe-workspace .identity h1{font-size:clamp(26px,2.6vw,34px);font-weight:600;letter-spacing:-.035em;line-height:1.15}
.sloe-workspace .submeta{line-height:1.6;margin-bottom:0;color:#71675d}
.workspace-institution{display:flex;gap:28px;border-bottom:1px solid var(--rule);margin:18px 0 24px;overflow:auto;white-space:nowrap}
.workspace-institution a{display:block;text-decoration:none;padding:12px 0;color:#71675d;font-size:13px;border-bottom:2px solid transparent}
.workspace-institution a[aria-current]{color:#5b2b54;border-bottom-color:#5b2b54;font-weight:600}
.workspace-institution[hidden]{display:none}
.workspace-finder{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px;margin:0 0 14px;color:#71675d;border:1px solid var(--rule);border-radius:6px;font-size:12px;text-decoration:none}
.workspace-finder kbd{font-size:10px;white-space:nowrap}
.workspace-details{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);margin:14px 0 22px;padding:12px 0}
.workspace-details>summary,.workspace-more>summary{cursor:pointer;color:#5b2b54;font-size:12px;min-height:24px;align-content:center;list-style:disclosure-closed}
.workspace-details[open]>summary,.workspace-more[open]>summary{list-style:disclosure-open}
.workspace-details>summary span{margin-left:14px;color:#71675d}
.workspace-more{position:relative}
.workspace-more>summary{padding:8px 12px;border:1px solid var(--rule);border-radius:6px;white-space:nowrap}
.workspace-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;padding:10px;background:#fffdf8;border:1px solid var(--rule);border-radius:10px;box-shadow:0 10px 35px #1c181414;min-width:200px;display:grid;gap:6px}
.sloe-workspace .workspace-menu :is(a,button){text-align:left;width:100%;padding:10px;color:#5b2b54;background:transparent;border:0;justify-content:flex-start}
.sloe-workspace .pf-actions{align-items:center;gap:10px}
.sloe-workspace #researchInstitutionBtn{background:#5b2b54;color:#fffdf8;border-color:#5b2b54;border-radius:6px;padding:10px 14px}
.sloe-workspace .kpis{margin:20px 0 28px;border:0;border-block:1px solid var(--rule);border-radius:0;background:transparent;box-shadow:none}
.sloe-workspace .kpi{background:transparent;border-radius:0;padding:20px 18px;min-width:0}
.sloe-workspace .kpi .v{font-family:var(--pmono);font-variant-numeric:tabular-nums;font-size:25px;letter-spacing:-.04em;font-weight:500}
.sloe-workspace .brief-card{background:transparent;box-shadow:none;border-radius:0;border-width:1px 0 0;padding:18px 0}
.sloe-workspace .profile-jump{position:static;margin:18px 0;background:transparent}
.sloe-workspace .cmp-flow{display:none}
.sloe-workspace .cmp-panel{background:transparent;border:0;box-shadow:none;padding:18px 0}
.sloe-workspace .cmp-layout{gap:32px}
.sloe-workspace .cmp-report{border-radius:10px;overflow:hidden}
.sloe-workspace .cmp-report .cu-cell{text-align:right;font-variant-numeric:tabular-nums}
.sloe-workspace .cmp-report .cell-val{font-family:var(--pmono)}
.sloe-workspace .cmp-report .metric{position:sticky;left:0;background:#fffdf8;z-index:1}
.sloe-workspace .desk-content,.sloe-workspace .desk-content.tray-closed{grid-template-columns:minmax(0,1fr)}
.sloe-workspace .findings-tray{position:fixed;right:0;top:0;bottom:0;z-index:110;width:min(430px,100vw);max-height:100dvh;overflow:auto;background:#fffdf8;padding:24px;border-left:1px solid var(--rule);box-shadow:-15px 0 60px #1c181414;box-sizing:border-box}
.sloe-workspace .findings-tray[hidden]{display:none}
.workspace-source-backdrop{position:fixed;inset:0;z-index:100;background:#1c181438;border:0;border-radius:0!important;padding:0}
.workspace-source-backdrop[hidden]{display:none}
.workspace-source-open{overflow:hidden}
.sloe-workspace .research-canvas{display:flex;flex-direction:column;gap:20px}
.sloe-workspace .research-statement{width:100%}
.sloe-workspace .research-trend{order:0;position:static;width:100%;border:0;border-top:1px solid var(--rule);border-radius:0;background:transparent;padding:16px 0;box-sizing:border-box}
.sloe-workspace .analysis-matrix-wrap{max-height:65dvh;min-height:200px;border:1px solid var(--rule);border-radius:10px}
.sloe-workspace .analysis-matrix-wrap :is(th,td){padding:10px 12px}
.sloe-workspace .analysis-matrix-wrap th:first-child{min-width:200px;background:#fffdf8;z-index:2}
.sloe-workspace .analysis-matrix-wrap td{font-family:var(--pmono);font-variant-numeric:tabular-nums}
.sloe-workspace .analysis-options .analysis-views{border:0;padding-top:18px}
.sloe-workspace .home-search-line{border:1px solid #b8aab4;border-radius:10px;background:#fffdf8}
.sloe-workspace .home-search-line input:focus-visible{outline:0}
.sloe-workspace .home-heading h1{font-size:34px;letter-spacing:-.035em;font-weight:600}
.sloe-workspace .home-result{padding:18px 4px;border-bottom:1px solid var(--rule)}
.sloe-workspace .home-result-figures strong{font-family:var(--pmono);font-weight:500}
.workspace-error{margin:36px;padding:28px;border:1px solid var(--rule);border-radius:10px;background:#fffdf8;max-width:600px}
.workspace-error p{margin:14px 0;line-height:1.6}
.sloe-workspace .uni-results{min-width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);background:#fffdf8;border-radius:10px;box-shadow:0 12px 40px #1c181414}
.sloe-workspace .us-item{display:flex;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;color:#1c1814;border-bottom:1px solid #e7e0d8}
.sloe-workspace .us-item-body{flex:1;min-width:0}
.sloe-workspace .us-item-name{font-size:13px;line-height:1.4}
.sloe-workspace .us-item-meta{font-size:11px;color:#71675d;line-height:1.5;margin-top:4px}
.sloe-workspace .us-type-badge{font-size:9px;border:1px solid;border-radius:4px;padding:3px 5px}
.sloe-workspace .us-header{padding:10px 14px;font-size:10px;color:#71675d}
.sloe-workspace .us-item:is(:hover,.focused){background:#eee7ed}
.us-status{padding:18px;font-size:13px;line-height:1.6;color:#71675d}.us-status button{margin:10px 0 0;display:block}
@media(max-width:1000px){.sloe-workspace .wrap{padding:24px}.sloe-workspace .pf-head{flex-direction:column}.sloe-workspace .kpi .v{font-size:21px}}
@media(max-width:760px){.sloe-workspace .app{display:block}.sloe-workspace .wrap,.sloe-workspace.home-active .wrap{padding:22px 16px}.sloe-workspace .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sloe-workspace .kpi{padding:16px 10px}.sloe-workspace .pf-actions{flex-wrap:wrap}.sloe-workspace .workspace-menu{right:auto;left:0}.workspace-institution{margin:12px 0 20px}.sloe-workspace .analysis-matrix-wrap th:first-child{min-width:145px;max-width:160px}.sloe-workspace .analysis-matrix-wrap :is(th,td){padding:9px 8px}.sloe-workspace .home-heading h1{font-size:30px}.sloe-workspace .home-grid{display:block}.sloe-workspace .home-work{padding:24px 0 0;border:0}.sloe-workspace .home-search-line kbd{display:none}.workspace-error{margin:16px;padding:20px}}
@media(prefers-reduced-motion:reduce){.sloe-workspace *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.workspace-institution,.workspace-details,.workspace-more,.workspace-finder,.workspace-source-backdrop{display:none!important}.sloe-workspace .wrap{padding:0}.sloe-workspace .cmp-report .metric{position:static}}

.sloe-workspace .sidebar .s-search,.sloe-workspace .cu-tool-search{display:none}
.workspace-tools{border-top:1px solid var(--rule,#ded7ce);margin-top:18px;padding-top:14px}
.workspace-tools>summary{padding:10px;color:#5b2b54;font-size:12px;cursor:pointer}
.workspace-result-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--rule)}
.sloe-workspace .workspace-result-row .home-result{flex:1;min-width:0;border:0}
.workspace-compare-toggle{flex-shrink:0;color:#5b2b54;background:transparent;border:1px solid var(--rule);font-size:11px;padding:8px 10px;min-height:36px}
.workspace-compare-toggle[aria-pressed=true]{background:#eee7ed;border-color:#bfa9b9}
.sloe-workspace .cu-tool-shell{width:224px;background:#fffdf8}
@media(min-width:861px){body.sloe-workspace.cu-tool-shell-active{padding-left:224px!important}}
@media(max-width:760px){.workspace-result-row{flex-wrap:wrap;gap:0;padding:10px 0}.sloe-workspace .workspace-result-row .home-result{flex-basis:100%;padding:8px 0}.workspace-compare-toggle{margin:0 0 8px}}

.workspace-secondary{margin:0 0 20px;padding:8px 0}.workspace-secondary .view-tabs{margin:12px 0 0}
.sloe-workspace .identity{margin-bottom:14px}.sloe-workspace .identity-actions #returnCompleteProfile{display:none}
body.sloe-workspace{margin:0}
@media(max-width:1000px){.sloe-workspace .pf-id{flex:0 1 auto;width:100%}}
