/* TenderWork branding and service handoff use the selected green/blue palette. */
.portal-selected .h-brand{font-size:clamp(29px,3.1vw,44px);letter-spacing:-1.8px}
.portal-selected .h-footer-main .h-brand{font-size:36px}
.portal-analysis-widget{display:grid;grid-template-columns:1fr 1.15fr;gap:32px;padding:28px;border:1px solid var(--h-line);border-radius:10px;background:#fff;margin-block:30px 42px;color:var(--h-ink)}
.portal-analysis-widget h2{font-size:28px;margin:0 0 12px}
.portal-analysis-widget p{font-size:13px;line-height:1.7;margin:0;color:var(--h-muted)}
.portal-analysis-widget .h-kicker{margin-bottom:12px}
.portal-analysis-widget label{display:block;font-size:13px;font-weight:550;margin-bottom:10px}
.portal-analysis-controls{display:flex;gap:10px;align-items:stretch}
.portal-analysis-controls input{min-width:0;width:100%;border:1px solid var(--h-line);border-radius:5px;padding:12px;font:inherit;font-size:14px;background:var(--h-paper);color:var(--h-ink)}
.portal-analysis-controls button{border:0;white-space:nowrap;cursor:pointer}
.portal-analysis-widget .portal-analysis-help{font-size:11px;margin-top:10px}
@media(max-width:900px){.portal-analysis-widget{grid-template-columns:1fr;gap:20px}.portal-selected .h-masthead{flex-wrap:wrap}.portal-selected .h-main-nav{gap:14px}}
@media(max-width:560px){.portal-analysis-widget{padding:22px;margin-block:22px 30px}.portal-analysis-controls{flex-direction:column}.portal-selected .h-brand{font-size:32px}.portal-selected .h-footer-main .h-brand{font-size:32px}.portal-analysis-widget h2{font-size:26px}}
@media print{.portal-analysis-widget{display:none}}

.portal-tool-navigation{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:25px;border-top:1px solid var(--h-line);border-bottom:1px solid var(--h-line)}.portal-tool-navigation p{font-size:14px;line-height:1.7;max-width:720px;margin:0;color:var(--h-muted)}.portal-tool-navigation strong{color:var(--h-ink);font-weight:550}.portal-tool-navigation>a{white-space:nowrap}@media(max-width:650px){.portal-tool-navigation{align-items:flex-start;flex-direction:column;gap:10px}.portal-tool-navigation p{font-size:13px}}

/* Owner-approved identity В1; shared with the service, separate from editorial typography. */
.portal-selected .h-brand.tw-brand{display:inline-flex;align-items:center;gap:11px;padding:0;flex-shrink:0;white-space:nowrap;text-decoration:none;font:700 32px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.02em}
.portal-selected .tw-brand .tw-brand-icon{display:block;flex:0 0 40px;width:40px;height:40px;max-width:none}
.portal-selected .tw-brand .tw-brand-wordmark{color:#1A1D29}
.portal-selected .tw-brand .tw-brand-work{color:#3B4FE0}
.portal-selected .h-footer-main .h-brand.tw-brand{font-size:27px;gap:9px}
.portal-selected .h-footer-main .tw-brand-icon{width:34px;height:34px;flex-basis:34px}
.portal-selected .h-brand.tw-brand:focus-visible{outline:2px solid #3B4FE0;outline-offset:5px;border-radius:3px}
@media(max-width:1100px){.portal-selected .h-brand.tw-brand{font-size:29px}}
@media(max-width:560px){.portal-selected .h-brand.tw-brand{font-size:26px;gap:8px}.portal-selected .tw-brand .tw-brand-icon{width:34px;height:34px;flex-basis:34px}.portal-selected .h-footer-main .h-brand.tw-brand{font-size:26px}}
@media(max-width:360px){.portal-selected .h-brand.tw-brand{font-size:24px;gap:7px}.portal-selected .tw-brand .tw-brand-icon{width:32px;height:32px;flex-basis:32px}}

/* The journal uses its own green colorway for the approved TW mark. */
.portal-selected.theme-hybrid:not(.theme-hybrid-blue) .tw-brand .tw-brand-wordmark{color:#203C33}
.portal-selected.theme-hybrid:not(.theme-hybrid-blue) .tw-brand .tw-brand-work{color:#426F52}
.portal-selected.theme-hybrid:not(.theme-hybrid-blue) .h-brand.tw-brand:focus-visible{outline-color:#426F52}
