/* Public portal theme. Editor tools retain their existing presentation. */
body.portal-view{--paper:#f5faf9;--ink:#203d49;--muted:#637e88;--green:#087f83;--line:#dcebea;--pale:#e8f6f2;background:#f5faf9;color:var(--ink)}
.portal-view .hl-unified-header{background:#ffffffed;border-bottom-color:#e1edeb;box-shadow:0 3px 20px #244b4905}
.portal-view .hl-header-brand strong{color:#173e48}.portal-view .hl-header-nav>a{color:#536d77}.portal-view .hl-header-nav>a:hover{color:#087f83}.portal-view .hl-header-nav>a.active{color:#087f83;border-bottom-color:#16a199}
.portal-view .hl-header-search{background:#f3f9f8;border-color:#deebe9}.portal-view .hl-header-search input{color:#274c59}
.portal-view .mn-login-link,.portal-view .hl-button:not(.hl-button-glass){background:#087f83;color:#fff}.portal-view .mn-login-link:hover,.portal-view .hl-button:not(.hl-button-glass):hover{background:#066c71}
.portal-view .hl-content-card,.portal-view .hl-directory-card,.portal-view .hl-panel,.portal-view .mn-auth-panel{border-color:#e0ece9;box-shadow:0 6px 24px #24595006}
.portal-view .hl-content-card:hover{border-color:#a8d7d0;box-shadow:0 10px 28px #2459500d}
.portal-view .hl-canvas-categories button,.portal-view .hl-topic-bar>button{border-color:#dceae7;background:#fff;color:#4d7078}
.portal-view .hl-canvas-categories button:hover,.portal-view .hl-topic-bar>button:hover{background:#edf8f5;color:#087f83;border-color:#addbd2}
.portal-view .hl-topic-bar>button.active{background:#087f83;color:#fff;border-color:#087f83}
.portal-view .mn-home-bar{background:#eef8f5;border-color:#d8ebe5}.portal-view .mn-home-switch button[aria-pressed=true]{background:#fff;color:#087f83;box-shadow:0 2px 8px #235b4d0b}
.portal-view .hl-social-banner{background:#edf8f4;border-color:#d2e9df}.portal-view .hl-social-banner h2{color:#20524c}
.portal-view .app-footer{background:#edf6f3;color:#627e7d;border-color:#deebe6}
.portal-view .mn-primary{background:#087f83}.portal-view .mn-primary:hover{background:#066c71}.portal-view .mn-auth-pitch h1{color:#254a54}.portal-view .mn-auth-pitch h1 span{color:#f07863}
.portal-view button:focus-visible,.portal-view a:focus-visible{outline-color:#139c95}.portal-view input:focus,.portal-view textarea:focus,.portal-view select:focus{outline-color:#219d95}

/* The stream owns its layout, independent of the editor's vertical nav rule. */
.portal-view .sc-shell{max-width:1120px;margin:16px auto 60px;padding:0;color:#234650}
.sc-heading{margin:0 0 28px;padding:28px 30px;border:1px solid #d7eee6;border-radius:22px;background:linear-gradient(115deg,#e9f8f1,#f2fbf9 65%,#eef6fc)}
.sc-heading>span{font-size:10px;font-weight:750;letter-spacing:2px;color:#168880}.sc-heading h1{font-size:32px;letter-spacing:-1.2px;margin:10px 0 12px}.sc-heading p{margin:0;color:#5e7c83;font-size:14px;line-height:1.8}
.sc-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:start}.sc-aside,.sc-stream{min-width:0}.sc-aside{position:sticky;top:106px}
.sc-compose,.sc-card{border-color:#e0ece8;box-shadow:0 4px 18px #285d4d05;background:#fff;border-radius:18px}
.sc-compose{padding:22px;margin:0 0 18px}.sc-compose label{font-size:15px;line-height:1.7;letter-spacing:-.4px}.sc-compose textarea{min-height:145px;background:#f7fbfa;border-color:#e0ece7;line-height:1.8;font-size:13px}
.sc-compose>div{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-top:14px}.sc-compose small{font-size:11px;line-height:1.7;color:#6b8589}.sc-compose .sc-primary{width:100%;font-size:13px;background:#087f83;color:#fff;border-radius:10px}.sc-compose .sc-primary:hover{background:#066c71}
.sc-side-note{padding:8px 8px 18px;color:#617f82;font-size:12px;line-height:1.9}.sc-side-note strong{display:block;margin-bottom:7px;color:#3d6c68}.sc-side-note p{margin:0}.sc-side-note a{color:#07847d;text-decoration:underline;text-underline-offset:3px}
.sc-toolbar{margin:0 0 16px;padding:6px;background:#eaf3f0;border:1px solid #deebe6;border-radius:13px;gap:8px;min-height:52px}
.sc-toolbar nav{margin:0;padding:0;position:static;align-self:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:4px;align-items:center;min-width:0}.sc-toolbar nav button{border:0;background:transparent;border-radius:9px;padding:8px 17px;color:#577775;font-size:13px;font-weight:650}
.sc-toolbar nav button[aria-pressed=true]{background:white;color:#087c78;box-shadow:0 2px 7px #285a4d0b}.sc-toolbar>button{border:0;background:transparent;font-size:11px;color:#5c7978;padding:7px 10px}
#sc-search{gap:9px;margin:0 0 15px}#sc-search input{font-size:13px;background:#fff;border-color:#dceae6;border-radius:11px;padding:12px 15px;min-width:0}#sc-search button{border-radius:10px;padding:8px 16px;border-color:#dceae6;color:#3d7372}
#sc-topics{margin:0 0 20px;gap:7px}.sc-tags button{min-height:30px;font-size:11px;border-color:#e0ece7;color:#5e7e79;padding:5px 11px;background:#fff}.sc-tags button:hover{border-color:#a9d6c8;background:#eff9f5}.sc-tags button[aria-pressed=true]{background:#dbf2e9;border-color:#c5e7da;color:#167563}
.sc-card{padding:25px 27px;margin-bottom:16px}.sc-avatar{width:40px;height:40px;background:#e4f4ee;color:#268774;font-size:15px;font-weight:650}.sc-card header{gap:12px}.sc-card header strong,.sc-card .ms-profile{font-size:13px;color:#294e54}.sc-card small{font-size:11px;color:#7b9295;margin-top:5px}.sc-official{background:#eaf5ee;color:#347d64;padding:3px 7px;vertical-align:middle}
.sc-body{font-size:15px;line-height:1.95;color:#355961;margin:23px 0 15px;letter-spacing:-.2px}.sc-card .sc-tags{margin:0 0 17px}.sc-card footer{gap:9px;border-color:#edf3f0;padding-top:12px}.sc-card footer button{padding:6px 10px;color:#6a8585;font-size:12px;min-height:32px;border-radius:8px}.sc-card footer button:hover{background:#edf8f4;color:#16786f}.sc-card footer button[aria-pressed=true]{background:#edf8f4;color:#087f83}.sc-card header>button{font-size:11px;border-color:#cbe7de;color:#138776;border-radius:8px}
.sc-legacy{margin:9px 0 20px;padding:13px 8px;border-top:1px solid #deebe6;color:#718987}.sc-legacy summary{cursor:pointer;font-size:12px}.sc-legacy .hl-thread-row{max-width:100%;text-align:left}.sc-comment p{color:#496c70}.sc-comments{border-color:#e2eee8}.sc-reply .sc-primary{background:#087f83;color:white}
@media(min-width:1500px){.portal-view .hl-header-nav>a{font-size:12px}}
@media(max-width:1050px){.sc-layout{grid-template-columns:minmax(0,1fr);gap:20px}.portal-view .sc-shell{max-width:740px}.sc-aside{position:static}.sc-side-note{display:none}.sc-compose{margin-bottom:0}.sc-compose textarea{min-height:92px}.sc-compose>div{flex-direction:row;align-items:center;justify-content:space-between}.sc-compose .sc-primary{width:auto}.sc-legacy{display:block;margin-top:14px;margin-bottom:0}}
@media(max-width:600px){.portal-view .sc-shell{margin-top:4px}.sc-heading{border-radius:16px;padding:22px 19px;margin-bottom:18px}.sc-heading h1{font-size:24px;letter-spacing:-.9px}.sc-heading p{font-size:12px}.sc-compose,.sc-card{padding:18px;border-radius:15px}.sc-compose label{font-size:13px}.sc-compose textarea{font-size:14px}.sc-compose small{max-width:48%;font-size:10px}.sc-compose>div{gap:10px}.sc-toolbar{gap:3px;padding:4px;min-height:46px;margin-bottom:12px}.sc-toolbar nav{gap:1px}.sc-toolbar nav button{padding:7px 10px;font-size:12px;min-height:34px}.sc-toolbar>button{font-size:10px;padding:7px}.sc-heading>span{font-size:9px}.sc-body{font-size:14px;line-height:1.95;margin-top:19px}.sc-card footer{gap:3px}.sc-card footer button{font-size:11px;padding:6px 8px}.sc-avatar{width:35px;height:35px;font-size:13px}#sc-search input{font-size:12px}#sc-topics{gap:6px;margin-bottom:16px}.sc-tags button{font-size:10px;min-height:29px;padding:4px 9px}}
@media(max-width:360px){.sc-toolbar nav button{padding:7px 8px}.sc-toolbar>button{font-size:9px;padding:7px 4px}.sc-compose .sc-primary{font-size:12px;padding:10px}}

.portal-view .hl-header-nav>a.active::after{background:#119c95}.sc-toolbar{align-items:center}

.sc-preview-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 22px;margin-bottom:20px;border:1px solid #b7dcd4;background:#e4f3ee;border-radius:14px;color:#2b625d}.sc-preview-banner p{margin:7px 0;font-size:12px;line-height:1.8}.sc-preview-banner small{font-size:11px;color:#557b74}.sc-preview-banner button{font-size:12px}.sc-preview [data-sc-interests]{display:none}.sc-preview .sc-legacy{display:none}@media(max-width:600px){.sc-preview-banner{flex-direction:column;align-items:stretch;padding:16px}}
