@font-face{font-family:Studio;src:url('studio.woff2') format('woff2');font-weight:100 900;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#030409;color:#e3e5ef;font-family:Studio,"Helvetica Neue",Arial,sans-serif;font-weight:300;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:1px solid #b6bcff;outline-offset:5px}.portal-bg{position:fixed;inset:0;width:100%;height:100%;object-fit:contain;opacity:.55;pointer-events:none;filter:blur(2px)}.portal-shade{position:fixed;inset:0;background:radial-gradient(ellipse at center,#05060a10,#030409aa)}.portal-page{position:relative;min-height:100svh;padding:32px;display:flex;flex-direction:column}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font-size:19px;font-weight:250;letter-spacing:.14em}.back{font-size:12px;letter-spacing:.08em;color:#b6b8cc}.glass{margin:auto;width:min(100%,470px);padding:38px;border:1px solid #d0d4ff30;border-radius:18px;background:linear-gradient(135deg,#272c484a,#080b143d);backdrop-filter:blur(22px);box-shadow:0 25px 90px #0005,inset 0 1px #ffffff0d}.eyebrow{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#b1b5d0;margin:0 0 16px}h1{font-size:32px;font-weight:250;letter-spacing:.015em;margin:0 0 12px}p{font-size:14px;line-height:1.8;color:#adb1c8;margin:0 0 24px}.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #b9c1ff25;margin-bottom:32px}.tabs button{padding:14px 4px;color:#8e94b0;border:0;border-bottom:1px solid transparent;background:none;cursor:pointer;font-size:12px;letter-spacing:.09em}.tabs button[aria-selected=true]{color:#f0f1ff;border-bottom-color:#b8b9ff}.action{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;background:linear-gradient(115deg,#a8acff18,#79a8ff0b);border:1px solid #cbd1ff60;border-radius:6px;font-size:13px;font-weight:300;letter-spacing:.045em}.action:hover{background:#a7b3ff20;border-color:#d5dbff}.small{font-size:11px;color:#939ab5;line-height:1.8;margin:20px 0 0}.portal-footer{text-align:center;margin:28px 0 0;color:#737b96;font-size:11px;letter-spacing:.09em}.account{display:flex;align-items:center;gap:12px;border-top:1px solid #cbd1ff20;padding:18px 0;margin-top:24px;overflow-wrap:anywhere}.avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid #cbd1ff40;border-radius:50%;color:#cbd1ff}.account p{margin:0;font-size:12px}.account strong{font-weight:350;color:#e6e9ff}.signout{display:block;margin-top:24px;font-size:12px;color:#a8aec8;text-align:center}.empty{padding:20px;border:1px solid #cbd1ff20;border-radius:8px;margin:24px 0}.empty p{margin:0}.empty h2{font-size:16px;font-weight:300;margin:0 0 8px}@media(max-width:600px){.portal-page{padding:22px 18px}.brand{font-size:16px}.glass{padding:28px 23px;margin:60px auto 32px}h1{font-size:28px}.portal-bg{object-fit:cover}.topbar{align-items:baseline}.back{font-size:10px}}@media(prefers-reduced-motion:reduce){video.portal-bg{display:none}}
.secondary{margin-top:14px;background:transparent}.content-page{padding:80px 28px;max-width:900px;margin:auto}.content-page h1{letter-spacing:.04em}.content-page article{margin-top:55px}

.portal-page{background:#edf0f2;color:#252a32;padding:0}.portal-page .topbar,.portal-footer{background:#08090b;color:#eef1f7;padding:26px 30px}.portal-page .glass{background:#f8f9fa;border-color:#d4d8df;box-shadow:0 12px 40px #1d27300a;backdrop-filter:none;color:#252a32;margin:50px auto}.portal-page h1{color:#252a32}.portal-page p{color:#5d6571}.portal-page .action{color:#263140;background:#e8ebef;border-color:#bac2ce}.portal-page .small,.portal-page .signout{color:#555f70}.portal-page .brand{display:flex;align-items:center;gap:12px;font-family:"neotype-vf",Studio,sans-serif;font-weight:180;letter-spacing:.2em}.brand-cube{width:48px;height:48px;object-fit:contain}.portal-footer{margin:0}.portal-page .empty,.portal-page .account{border-color:#d8dce2}

.portal-page>.glass{width:min(1120px,calc(100% - 32px));padding:32px}.bp-workspace{margin:28px 0}.bp-ws-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center}.bp-ws-toolbar form{display:flex;gap:8px;align-items:end}.bp-ws-nav{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid #d2d8e1;border-bottom:1px solid #d2d8e1;padding:15px 0;margin:20px 0 28px}.bp-ws-nav a,.bp-ws-button,.bp-ws-shortcuts a,.bp-workspace button{display:inline-block;border:1px solid #bdc6d2;border-radius:5px;padding:10px 14px;background:#e9edf2;color:#29394e;font:300 13px Studio,Arial;cursor:pointer}.bp-ws-nav a[aria-current]{background:#252c38;color:#fff;border-color:#252c38}.bp-workspace h2{font-size:23px;font-weight:300;margin:24px 0 15px}.bp-workspace h3{font-size:19px;font-weight:350;margin:15px 0}.bp-ws-card{background:#fff;border:1px solid #d0d7e1;border-radius:9px;padding:24px;margin:18px 0}.bp-ws-card-head{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#667487}.bp-ws-badge{background:#edf1f6;border:1px solid #cad3e0;padding:5px 9px;border-radius:20px}.bp-ws-form label,.bp-ws-toolbar label{display:block;color:#586578;font-size:12px;letter-spacing:.04em;margin-bottom:17px}.bp-ws-form input,.bp-ws-form textarea,.bp-ws-form select,.bp-ws-toolbar select{display:block;width:100%;padding:11px 12px;border:1px solid #bcc7d6;border-radius:5px;background:#fff;color:#263142;font:300 16px Studio,Arial;margin-top:8px;box-sizing:border-box}.bp-ws-form textarea{resize:vertical}.bp-ws-compose summary{cursor:pointer;color:#334d70;font-size:14px;padding:12px 0}.bp-ws-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.bp-ws-details{white-space:pre-wrap;overflow-wrap:anywhere}.bp-ws-meta{font-size:11px!important;color:#6c788a!important;margin:14px 0!important}.bp-ws-response{background:#eff3f8;border-left:2px solid #9cacc5;padding:16px;margin:18px 0}.bp-ws-response p{white-space:pre-wrap}.bp-ws-actions{display:flex;gap:10px;flex-wrap:wrap}.bp-ws-notice,.bp-ws-empty{border:1px solid #ccd5e1;background:#f0f4f8;padding:20px;border-radius:7px}.bp-ws-file,.bp-ws-activity{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #d6dde6;padding:18px 0;overflow-wrap:anywhere}.bp-ws-file strong{font-size:14px;font-weight:350}.bp-ws-file small{display:block;margin-top:7px;color:#6c788a;font-size:11px}.bp-ws-file a{color:#405b7f;font-size:12px;margin-left:12px}.bp-ws-pages{display:flex;gap:20px;margin:20px 0;color:#405b7f}.bp-ws-toolbar select{max-width:360px}.bp-workspace p{margin-bottom:15px}.bp-workspace input:focus-visible,.bp-workspace textarea:focus-visible,.bp-workspace select:focus-visible{outline:2px solid #7388a7;outline-offset:2px}@media(max-width:600px){.portal-page>.glass{padding:24px 18px}.bp-ws-toolbar{display:block}.bp-ws-toolbar form{display:block}.bp-ws-card{padding:18px}.bp-ws-file{align-items:flex-start;flex-direction:column}.bp-ws-nav a{padding:9px 11px;font-size:12px}.bp-ws-card-head{flex-wrap:wrap}}

.bp-auth-form{max-width:440px;margin:24px auto;text-align:left}.bp-auth-form label{display:block;margin:18px 0;font-size:14px}.bp-auth-form input:not([type=checkbox]){display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #b9c4d3;border-radius:5px;background:#fff;color:#252a35;font:inherit;font-size:16px}.bp-auth-form .bp-remember{display:flex;gap:8px;align-items:center}.bp-auth-form .action{width:100%;font:inherit;cursor:pointer}.bp-auth-links{display:flex;gap:24px;justify-content:center;margin:20px 0}.bp-auth-links a{text-decoration:underline;text-underline-offset:4px}.bp-auth-notice{padding:16px;border:1px solid #b9c4d3;border-radius:5px;line-height:1.7}#portal-auth-title{font-size:24px;font-weight:300}

.bp-become-client{margin:28px 0 0;padding:24px 0 4px;border-top:1px solid #d8dee5}.bp-become-client h3{font-size:20px;font-weight:400;margin:0 0 9px}.bp-become-client p{font-size:14px;line-height:1.7;color:#687383;max-width:580px;margin:0 0 16px}.bp-client-request-button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;background:#e6eaf0;border:1px solid #b9c4d3;border-radius:5px;padding:13px 18px;color:#252a35;text-decoration:none;font-size:15px}.bp-client-request-button:hover{background:#dce2e9}.bp-client-request-button:focus-visible{outline:2px solid #7388a7;outline-offset:3px}

.bp-workspace .bp-ws-notice--sent{background:#eaf4ed!important;border:2px solid #40855c!important;color:#174b2b!important;font-weight:600!important;font-size:16px!important;padding:18px 22px!important;margin:20px 0 24px!important}

/* Explicitly style dialogs on both portal and client-workspace templates. */
.bp-review-confirm:not([hidden]),.bp-file-viewer:not([hidden]){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:2147483000!important}.bp-review-confirm[hidden],.bp-file-viewer[hidden]{display:none!important}

/* v3.4.7: client dashboard styling in the portal stylesheet to avoid stale base CSS */
.bp-workspace .bp-client-dashboard-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:24px 0 30px!important}
.bp-workspace .bp-client-dashboard-tile{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:10px!important;min-width:0!important;min-height:145px!important;padding:24px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;color:#29313d!important;text-decoration:none!important;box-shadow:0 3px 12px rgba(28,39,54,.025)!important}
.bp-workspace .bp-client-dashboard-tile:hover,.bp-workspace .bp-client-dashboard-tile:focus-visible{border-color:#8798ae!important;box-shadow:0 8px 22px rgba(28,39,54,.09)!important}
.bp-workspace .bp-client-dashboard-tile strong{display:block!important;font-size:18px!important;font-weight:500!important;line-height:1.35!important}
.bp-workspace .bp-client-dashboard-tile small{display:block!important;font-size:13px!important;color:#64748b!important;line-height:1.5!important}
.bp-workspace .bp-client-dashboard-icon{display:block!important;font-size:26px!important;color:#52647d!important;line-height:1!important}
.bp-workspace .bp-client-overview-nav{display:none!important}
.bp-workspace .bp-client-attention{display:block!important;padding:22px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;margin:10px 0 22px!important}
.bp-workspace .bp-client-attention h3{margin:0 0 12px!important;font-size:20px!important}
.bp-workspace .bp-client-attention .bp-ws-activity{display:flex!important;gap:16px!important;justify-content:space-between!important;align-items:center!important;text-decoration:none!important;color:#263142!important}
.bp-workspace .bp-attention-action{display:inline-block!important;background:#263142!important;color:#fff!important;border-radius:6px!important;padding:9px 13px!important;font-size:12px!important;white-space:nowrap!important}
.bp-workspace .bp-client-documents-link{margin:18px 0 26px!important}
.bp-workspace .bp-client-documents-link a{display:flex!important;align-items:center!important;gap:15px!important;padding:18px 20px!important;background:#edf1f5!important;border:1px solid #cbd5e1!important;border-radius:10px!important;text-decoration:none!important;color:#263142!important;font-size:16px!important}
.bp-workspace .bp-client-documents-link small{font-size:12px!important;color:#68768a!important}.bp-workspace .bp-client-documents-link span{margin-left:auto!important;font-size:12px!important}
.bp-workspace .bp-client-recent-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.bp-workspace .bp-client-recent-head a{font-size:12px!important;color:#405b7f!important}
@media(max-width:650px){.bp-workspace .bp-client-dashboard-grid{grid-template-columns:1fr!important;gap:12px!important}.bp-workspace .bp-client-dashboard-tile{min-height:105px!important;padding:18px!important}.bp-workspace .bp-client-attention{padding:16px!important}.bp-workspace .bp-client-documents-link a{flex-wrap:wrap!important}}

/* 3.5.1 admin cards: portal stylesheet, scoped for reliable cascade */
.bp-workspace .bp-ws-nav.bp-client-overview-nav{display:none!important}
.bp-workspace .bp-studio-simple{margin:18px 0 26px}.bp-workspace .bp-studio-simple>h2{margin:0 0 7px!important;font-size:24px!important}.bp-workspace .bp-studio-intro{margin:0 0 22px!important;color:#68778b!important}
.bp-workspace .bp-studio-simple-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0 0 26px!important}
.bp-workspace .bp-studio-simple-tile{display:flex!important;align-items:center!important;gap:15px!important;min-height:112px!important;padding:20px!important;border:1px solid #cbd4df!important;border-radius:12px!important;background:#fff!important;color:#263142!important;text-decoration:none!important;box-sizing:border-box!important;transition:border-color .15s,box-shadow .15s!important}
.bp-workspace .bp-studio-simple-tile:hover,.bp-workspace .bp-studio-simple-tile:focus-visible{border-color:#71849c!important;box-shadow:0 4px 16px rgba(20,35,55,.09)!important}
.bp-workspace .bp-studio-simple-tile strong{display:block!important;font-size:17px!important;margin-bottom:5px!important;font-weight:550!important}.bp-workspace .bp-studio-simple-tile small{display:block!important;color:#66758a!important;font-size:12px!important;line-height:1.5!important}
.bp-workspace .bp-studio-tile-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;height:42px!important;border-radius:10px!important;background:#edf1f6!important;color:#425571!important;font-size:22px!important}.bp-workspace .bp-studio-tile-arrow{margin-left:auto!important;color:#73849a!important;font-size:19px!important}
.bp-workspace .bp-studio-simple-attention{border-top:1px solid #d5dce6!important;padding-top:19px!important}.bp-workspace .bp-studio-simple-attention h3{font-size:19px!important;margin:0 0 10px!important}.bp-workspace .bp-studio-simple-update{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;border-bottom:1px solid #dfe5ec!important;padding:13px 0!important;text-decoration:none!important;color:#263142!important}.bp-workspace .bp-studio-simple-update strong,.bp-workspace .bp-studio-simple-update small{display:block!important}.bp-workspace .bp-studio-simple-update small{font-size:12px!important;color:#66758a!important;margin-top:5px!important;white-space:normal!important}.bp-workspace .bp-studio-simple-update>span:last-child{font-size:12px!important;white-space:nowrap!important;color:#405b7f!important}.bp-workspace .bp-studio-simple-empty{font-size:13px!important;color:#69778a!important}.bp-workspace .bp-studio-back{margin:12px 0 18px!important}.bp-workspace .bp-studio-back a{font-size:13px!important;color:#405b7f!important;text-decoration:none!important}
.portal-page .bp-workspace .bp-studio-account{margin-bottom:8px!important;padding-bottom:0!important}.bp-workspace .bp-ws-toolbar{margin-top:0!important}
@media(max-width:680px){.bp-workspace .bp-studio-simple-grid{grid-template-columns:1fr!important}.bp-workspace .bp-studio-simple-tile{min-height:94px!important;padding:16px!important}.bp-workspace .bp-studio-simple-update{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}}


/* v3.5.6 — consistent, distinct proof attachment buttons */
.portal-page .bp-workspace .bp-ws-card .bp-attachment-actions{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;column-gap:10px!important;row-gap:9px!important;margin:14px 0!important;padding:0!important}
.portal-page .bp-workspace .bp-ws-card .bp-attachment-name{display:block!important;flex-basis:100%!important;width:100%!important;margin:0 0 2px!important;font-size:12px!important;color:#68778b!important;line-height:1.5!important}
.portal-page .bp-workspace .bp-ws-card .bp-attachment-action{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:37px!important;margin:0!important;padding:9px 14px!important;background:#e9edf2!important;border:1px solid #bdc6d2!important;border-radius:5px!important;color:#29394e!important;font-family:Studio,Arial,sans-serif!important;font-size:13px!important;font-weight:300!important;line-height:1.3!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important}
.portal-page .bp-workspace .bp-ws-card .bp-attachment-action:hover{background:#dfe5ec!important;border-color:#9eacbf!important}
.portal-page .bp-workspace .bp-ws-card .bp-attachment-action:focus-visible{outline:2px solid #7388a7!important;outline-offset:2px!important}

.bp-viewer-review-success:not([hidden]){display:flex;flex-direction:column;gap:12px;padding:18px 0}.bp-viewer-review-success strong{font-size:18px}.bp-viewer-review-success p{line-height:1.5}.bp-viewer-review-success button{width:100%;padding:12px}

/* Single PX: prominent message composer action */
.bp-workspace .bp-ws-compose:has(input[name="kind"][value="message"]) > summary {
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  padding:13px 25px;margin:8px 0 16px;border:1px solid #bdc6d2;
  border-radius:6px;background:#e9edf2;color:#29394e;
  font:400 16px Studio,Arial,sans-serif;letter-spacing:.01em;
  cursor:pointer;list-style:none;transition:background .15s,border-color .15s;
}
.bp-workspace .bp-ws-compose:has(input[name="kind"][value="message"]) > summary::-webkit-details-marker{display:none}
.bp-workspace .bp-ws-compose:has(input[name="kind"][value="message"]) > summary:hover{background:#dce3ec;border-color:#9eacbe}
.bp-workspace .bp-ws-compose:has(input[name="kind"][value="message"]) > summary:focus-visible{outline:2px solid #7388a7;outline-offset:3px}
@media(max-width:600px){.bp-workspace .bp-ws-compose:has(input[name="kind"][value="message"]) > summary{width:100%;box-sizing:border-box}}

/* v3.6.6: Explicit message action selector; no :has() dependency. */
.portal-page .bp-workspace details.bp-message-compose > summary {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:50px!important;box-sizing:border-box!important;padding:13px 26px!important;margin:8px 0 16px!important;border:1px solid #bdc6d2!important;border-radius:6px!important;background:#e9edf2!important;color:#29394e!important;font:300 15px Studio,Arial,sans-serif!important;line-height:1.3!important;cursor:pointer!important;list-style:none!important;text-decoration:none!important;transition:background .15s,border-color .15s!important;}
.portal-page .bp-workspace details.bp-message-compose > summary::-webkit-details-marker {display:none!important;}
.portal-page .bp-workspace details.bp-message-compose > summary:hover {background:#dce3ec!important;border-color:#9eacbe!important;}
.portal-page .bp-workspace details.bp-message-compose > summary:focus-visible {outline:2px solid #7388a7!important;outline-offset:3px!important;}
@media(max-width:600px){.portal-page .bp-workspace details.bp-message-compose > summary{width:100%!important;}}

/* Compact previous message history: collapsed by default on both client and studio. */
.bp-ws-card.bp-message-history{padding:0!important;overflow:hidden}
.bp-message-history-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;cursor:pointer;list-style:none;color:#273243;font-weight:500}
.bp-message-history-fold>summary::-webkit-details-marker{display:none}
.bp-message-history-fold>summary:before{content:'▸';color:#536782;transition:transform .15s}
.bp-message-history-fold[open]>summary:before{transform:rotate(90deg)}
.bp-message-history-label{flex:1;min-width:0}
.bp-message-history-action{font-size:12px;color:#506785;white-space:nowrap}
.bp-message-history-fold[open] .bp-message-history-action{font-size:0}
.bp-message-history-fold[open] .bp-message-history-action:after{content:'Hide message';font-size:12px}
.bp-message-history-body{padding:0 20px 18px;border-top:1px solid #e6e9ee}
.bp-message-history-body>.bp-ws-card-head,.bp-message-history-body>h3{display:none}

/* v3.7.1: chat attachments */
.bp-chat-file{display:block;margin:12px 0;font-size:13px}.bp-chat-file input[type=file]{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #c9c9c9;border-radius:5px;background:#f5f5f5}.bp-thread-entry .bp-attachment-actions{margin:8px 0 2px}

/* v3.7.8: enlarged, centered brand on all portal pages; homepage unaffected. */
.portal-page>.topbar{position:relative!important;min-height:112px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:16px!important;padding-top:18px!important;padding-bottom:18px!important}
.portal-page>.topbar>.brand{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:16px!important;font-size:clamp(21px,2.4vw,29px)!important;letter-spacing:.12em!important;white-space:nowrap!important;margin:0!important;line-height:1.15!important}
.portal-page>.topbar>.brand .brand-cube{width:76px!important;height:76px!important;flex:0 0 76px!important;object-fit:contain!important}
.portal-page>.topbar>.back{margin-right:auto!important;margin-left:0!important;position:relative!important;z-index:1!important}
.portal-page>.topbar>.bp-signout{position:relative!important;z-index:1!important}
@media(max-width:760px){.portal-page>.topbar{min-height:132px!important;align-items:flex-end!important;padding:12px 16px!important}.portal-page>.topbar>.brand{top:12px!important;transform:translateX(-50%)!important;font-size:clamp(17px,4vw,22px)!important;gap:10px!important}.portal-page>.topbar>.brand .brand-cube{width:54px!important;height:54px!important;flex-basis:54px!important}.portal-page>.topbar>.back,.portal-page>.topbar>.bp-signout{font-size:11px!important}}

/* v3.7.9: taller inner-page header and full-height spinning cube. Homepage unaffected. */
.portal-page>.topbar{min-height:135px!important;height:135px!important;padding-top:0!important;padding-bottom:0!important}
.portal-page>.topbar>.brand{height:100%!important;top:50%!important;gap:16px!important}
.portal-page>.topbar>.brand .brand-cube{height:100%!important;width:auto!important;max-width:none!important;flex:0 0 auto!important;object-fit:contain!important}
@media(max-width:760px){
 .portal-page>.topbar{min-height:158px!important;height:158px!important;padding:0 16px 12px!important}
 .portal-page>.topbar>.brand{top:0!important;height:100%!important;transform:translateX(-50%)!important;gap:10px!important}
 .portal-page>.topbar>.brand .brand-cube{height:100%!important;width:auto!important;max-width:none!important;flex-basis:auto!important}
}

/* v3.8.0: actual edge-to-edge header cube, with cropped animation to remove embedded empty margins */
.portal-page>.topbar{height:162px!important;min-height:162px!important;padding-top:0!important;padding-bottom:0!important;}
.portal-page>.topbar>.brand{height:162px!important;min-height:162px!important;top:50%!important;transform:translate(-50%,-50%)!important;}
.portal-page>.topbar>.brand video.brand-cube{display:block!important;height:162px!important;width:162px!important;min-height:162px!important;min-width:162px!important;max-height:none!important;max-width:none!important;flex:0 0 162px!important;object-fit:cover!important;}
@media(max-width:760px){.portal-page>.topbar{height:170px!important;min-height:170px!important;padding:0 12px 10px!important}.portal-page>.topbar>.brand{height:130px!important;min-height:130px!important;top:4px!important;transform:translateX(-50%)!important}.portal-page>.topbar>.brand video.brand-cube{height:130px!important;width:130px!important;min-height:130px!important;min-width:130px!important;flex-basis:130px!important}}

/* v3.8.1: keep the entire requested 2:1 composition: cube, glow and hole */
.portal-page>.topbar>.brand video.brand-cube{width:324px!important;min-width:324px!important;flex:0 0 324px!important;height:162px!important;object-fit:contain!important;}
@media(max-width:760px){.portal-page>.topbar>.brand video.brand-cube{width:220px!important;min-width:220px!important;flex:0 0 220px!important;height:110px!important;min-height:110px!important;}}
@media(max-width:460px){.portal-page>.topbar>.brand video.brand-cube{width:160px!important;min-width:160px!important;flex:0 0 160px!important;height:80px!important;min-height:80px!important;}}

/* v3.8.2: center the animated graphic itself on the viewport, not the combined logo+wordmark. */
.portal-page>.topbar>.brand{left:calc(50% - 162px)!important;transform:translateY(-50%)!important;justify-content:flex-start!important;}
@media(max-width:760px){.portal-page>.topbar>.brand{left:calc(50% - 110px)!important;transform:none!important;}}
@media(max-width:460px){.portal-page>.topbar>.brand{left:calc(50% - 80px)!important;}}

/* v3.8.3: anchor video midpoint to the actual viewport midpoint, independently of the wordmark. */
.portal-page>.topbar{position:relative!important;}
.portal-page>.topbar>.brand{position:absolute!important;left:0!important;right:0!important;top:0!important;transform:none!important;width:100%!important;height:100%!important;min-height:0!important;display:block!important;pointer-events:none!important;margin:0!important;}
.portal-page>.topbar>.brand video.brand-cube{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:324px!important;min-width:324px!important;height:162px!important;min-height:0!important;max-width:none!important;object-fit:contain!important;pointer-events:auto!important;}
.portal-page>.topbar>.brand .brand-wordmark{position:absolute!important;left:calc(50% + 178px)!important;top:50%!important;transform:translateY(-50%)!important;white-space:nowrap!important;pointer-events:auto!important;}
@media(max-width:760px){.portal-page>.topbar>.brand{top:0!important;height:100%!important;transform:none!important}.portal-page>.topbar>.brand video.brand-cube{width:220px!important;min-width:220px!important;height:110px!important;top:42%!important}.portal-page>.topbar>.brand .brand-wordmark{left:calc(50% + 118px)!important;top:42%!important;font-size:clamp(12px,2.7vw,18px)!important;letter-spacing:.08em!important}}
@media(max-width:460px){.portal-page>.topbar>.brand video.brand-cube{width:160px!important;min-width:160px!important;height:80px!important;top:38%!important}.portal-page>.topbar>.brand .brand-wordmark{left:calc(50% + 85px)!important;top:38%!important;font-size:12px!important;letter-spacing:.03em!important}}

/* v3.8.4: shared centered cube with nearby homepage subtitle on every portal header. */
.portal-page>.topbar>.brand .brand-copy{position:absolute!important;left:calc(50% + 118px)!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;white-space:nowrap!important;pointer-events:auto!important;z-index:2!important}
.portal-page>.topbar>.brand .brand-copy .brand-wordmark{position:static!important;left:auto!important;top:auto!important;transform:none!important;display:block!important;line-height:1.12!important}
.portal-page>.topbar>.brand .brand-subtitle{display:block!important;font-family:Studio,Arial,sans-serif!important;font-size:clamp(10px,1vw,13px)!important;font-weight:250!important;letter-spacing:.025em!important;color:#c1c3cf!important;line-height:1.35!important}
@media(max-width:760px){.portal-page>.topbar>.brand .brand-copy{left:calc(50% + 78px)!important;top:42%!important;gap:3px!important}.portal-page>.topbar>.brand .brand-subtitle{font-size:10px!important;max-width:170px!important;white-space:normal!important}}
@media(max-width:460px){.portal-page>.topbar>.brand .brand-copy{left:calc(50% + 57px)!important;top:38%!important}.portal-page>.topbar>.brand .brand-subtitle{font-size:9px!important;max-width:120px!important}}

/* v3.8.5 – fix stacked brand title/subtitle, center the cube on viewport.
   Restrict to inner portal pages; homepage intentionally untouched. */
.portal-page > .topbar { position:relative!important; height:162px!important; min-height:162px!important; }
.portal-page > .topbar > a.brand {
  position:absolute!important; inset:0!important; left:0!important; right:0!important;
  top:0!important; width:100%!important; height:100%!important; min-height:0!important;
  margin:0!important; padding:0!important; transform:none!important;
  display:block!important; pointer-events:none!important; white-space:normal!important;
}
.portal-page > .topbar > a.brand > video.brand-cube {
  position:absolute!important; left:50%!important; top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:324px!important; min-width:324px!important; height:162px!important;
  min-height:0!important; max-width:none!important; object-fit:contain!important;
  display:block!important; pointer-events:auto!important;
}
.portal-page > .topbar > a.brand > .brand-copy {
  position:absolute!important; left:calc(50% + 174px)!important; top:50%!important;
  transform:translateY(-50%)!important; width:max-content!important; max-width:calc(50% - 192px)!important;
  display:flex!important; flex-direction:column!important; align-items:flex-start!important;
  justify-content:center!important; gap:7px!important; line-height:1.15!important;
  margin:0!important; padding:0!important; text-align:left!important;
  white-space:normal!important; pointer-events:auto!important;
}
.portal-page > .topbar > a.brand > .brand-copy > .brand-wordmark {
  position:static!important; inset:auto!important; left:auto!important; top:auto!important;
  display:block!important; transform:none!important; width:auto!important;
  font-size:clamp(17px,1.9vw,27px)!important;
  line-height:1.15!important; font-weight:300!important; letter-spacing:.08em!important;
  color:#eef1f7!important; white-space:nowrap!important;
}
.portal-page > .topbar > a.brand > .brand-copy > .brand-subtitle {
  position:static!important; inset:auto!important; display:block!important;
  font:300 12px/1.4 Studio,Arial,sans-serif!important;
  letter-spacing:.04em!important; color:#c1c3cf!important;
  white-space:normal!important; max-width:320px!important;
}
@media(max-width:760px) {
  .portal-page > .topbar {height:170px!important;min-height:170px!important;}
  .portal-page > .topbar > a.brand > video.brand-cube { width:220px!important;min-width:220px!important;height:110px!important;top:41%!important; }
  .portal-page > .topbar > a.brand > .brand-copy { left:calc(50% + 116px)!important;top:41%!important;max-width:calc(50% - 124px)!important;gap:4px!important; }
  .portal-page > .topbar > a.brand > .brand-copy > .brand-wordmark { font-size:clamp(12px,2.7vw,18px)!important;letter-spacing:.04em!important; }
  .portal-page > .topbar > a.brand > .brand-copy > .brand-subtitle { font-size:10px!important;line-height:1.25!important; }
}
@media(max-width:460px) {
  .portal-page > .topbar > a.brand > video.brand-cube { width:160px!important;min-width:160px!important;height:80px!important;top:38%!important; }
  .portal-page > .topbar > a.brand > .brand-copy {left:calc(50% + 86px)!important;top:38%!important;max-width:calc(50% - 92px)!important;}
  .portal-page > .topbar > a.brand > .brand-copy > .brand-wordmark {font-size:12px!important;letter-spacing:.02em!important;}
  .portal-page > .topbar > a.brand > .brand-copy > .brand-subtitle {font-size:9px!important;}
}

/* v3.8.6: Keep complete 2:1 video frame visible inside the WordPress header.
   Isolate the layout from earlier portal header revisions. Homepage untouched. */
.portal-page > nav.topbar {
  box-sizing:border-box!important;
  height:200px!important;
  min-height:200px!important;
  padding:0 24px!important;
  overflow:visible!important;
  background:#08090b!important;
}
.portal-page > nav.topbar > a.brand {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:200px!important;
  min-height:200px!important;
  overflow:visible!important;
  transform:none!important;
  pointer-events:none!important;
}
.portal-page > nav.topbar > a.brand > video.brand-cube {
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  display:block!important;
  width:340px!important;
  min-width:340px!important;
  max-width:340px!important;
  height:170px!important;
  min-height:170px!important;
  max-height:170px!important;
  aspect-ratio:2/1!important;
  object-fit:contain!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
.portal-page > nav.topbar > a.brand > .brand-copy {
  position:absolute!important;
  left:calc(50% + 185px)!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  max-width:calc(50% - 205px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:5px!important;
  white-space:normal!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
.portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark {
  position:static!important;
  display:block!important;
  transform:none!important;
  margin:0!important;
  white-space:nowrap!important;
}
.portal-page > nav.topbar > a.brand > .brand-copy > .brand-subtitle {
  position:static!important;
  display:block!important;
  margin:0!important;
  transform:none!important;
  white-space:normal!important;
}
@media (max-width:760px) {
 .portal-page > nav.topbar {height:170px!important;min-height:170px!important;padding:0 12px 14px!important;}
 .portal-page > nav.topbar > a.brand {height:170px!important;min-height:170px!important;}
 .portal-page > nav.topbar > a.brand > video.brand-cube {top:42%!important;width:216px!important;min-width:216px!important;max-width:216px!important;height:108px!important;min-height:108px!important;max-height:108px!important;}
 .portal-page > nav.topbar > a.brand > .brand-copy {left:calc(50% + 117px)!important;top:42%!important;max-width:calc(50% - 125px)!important;}
}
@media (max-width:460px) {
 .portal-page > nav.topbar > a.brand > video.brand-cube {top:39%!important;width:156px!important;min-width:156px!important;max-width:156px!important;height:78px!important;min-height:78px!important;max-height:78px!important;}
 .portal-page > nav.topbar > a.brand > .brand-copy {top:39%!important;left:calc(50% + 84px)!important;max-width:calc(50% - 90px)!important;}
}

/* v3.8.7: reduce space between cube and title on portal headers; no homepage changes. */
.portal-page > nav.topbar > a.brand > .brand-copy { left:calc(50% + 174px)!important; max-width:calc(50% - 186px)!important; }
@media(max-width:760px){
 .portal-page > nav.topbar > a.brand > .brand-copy {left:calc(50% + 111px)!important;max-width:calc(50% - 116px)!important;}
}
@media(max-width:460px){
 .portal-page > nav.topbar > a.brand > .brand-copy {left:calc(50% + 81px)!important;max-width:calc(50% - 85px)!important;}
}

/* v3.9.3: three-part composition: title at left, full animation centered, URL at right.
   Only portal pages use these selectors; front-page artwork is unchanged. */
@media(min-width:900px){
 .portal-page > nav.topbar > a.brand > .brand-copy{
   left:auto!important;right:calc(50% + 178px)!important;top:50%!important;
   transform:translateY(-50%)!important;max-width:calc(50% - 200px)!important;
   width:max-content!important;text-align:left!important;align-items:flex-start!important;gap:6px!important;
 }
 .portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark{
   font-family:"neotype-vf",Studio,sans-serif!important;font-size:clamp(19px,2.15vw,30px)!important;
   font-weight:200!important;letter-spacing:.045em!important;
 }
 .portal-page > nav.topbar > a.brand > .brand-domain{
   position:absolute!important;display:block!important;left:calc(50% + 178px)!important;
   top:50%!important;transform:translateY(-50%)!important;
   font-family:"neotype-vf",Studio,sans-serif!important;font-size:clamp(15px,1.65vw,23px)!important;
   font-weight:250!important;letter-spacing:.055em!important;line-height:1.2!important;
   white-space:nowrap!important;color:#eef1f7!important;pointer-events:auto!important;
 }
}
/* Tablet and phone: avoid crowding and keep cube actually centered. */
@media(max-width:899px){
 .portal-page > nav.topbar > a.brand > .brand-domain{
   position:absolute!important;display:block!important;left:calc(50% + 114px)!important;top:41%!important;
   transform:translateY(-50%)!important;font:250 clamp(10px,1.7vw,15px)/1.2 "neotype-vf",Studio,sans-serif!important;
   letter-spacing:.025em!important;color:#eef1f7!important;white-space:nowrap!important;pointer-events:auto!important;
 }
 .portal-page > nav.topbar > a.brand > .brand-copy{
   left:auto!important;right:calc(50% + 114px)!important;max-width:calc(50% - 120px)!important;
   top:41%!important;align-items:flex-start!important;
 }
 .portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark{font-family:"neotype-vf",Studio,sans-serif!important;font-weight:200!important;}
}
@media(max-width:540px){
 .portal-page > nav.topbar{height:178px!important;min-height:178px!important;}
 .portal-page > nav.topbar > a.brand > video.brand-cube{width:150px!important;min-width:150px!important;max-width:150px!important;height:75px!important;top:40%!important;}
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 79px)!important;top:40%!important;max-width:calc(50% - 86px)!important;}
 .portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark{font-size:clamp(10px,2.5vw,13px)!important;letter-spacing:0!important;}
 .portal-page > nav.topbar > a.brand > .brand-copy > .brand-subtitle{font-size:8px!important;line-height:1.25!important;}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 79px)!important;top:40%!important;font-size:clamp(9px,2vw,11px)!important;letter-spacing:0!important;}
}

/* v3.9.3: tighter three-part header, centered cube unchanged. */
@media(min-width:900px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 164px)!important;max-width:calc(50% - 170px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 164px)!important;text-transform:none!important}
}
@media(min-width:541px) and (max-width:899px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 107px)!important;max-width:calc(50% - 111px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 107px)!important;text-transform:none!important}
}
@media(max-width:540px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 76px)!important;max-width:calc(50% - 79px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 76px)!important;text-transform:none!important}
}

/* 3.9.3: Pull both wordmark and URL up to the centered animation. */
@media(min-width:900px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 146px)!important;max-width:calc(50% - 150px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 146px)!important}
}
@media(min-width:541px) and (max-width:899px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 94px)!important;max-width:calc(50% - 98px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 94px)!important}
}
@media(max-width:540px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 65px)!important;max-width:calc(50% - 68px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 65px)!important}
}

/* v3.9.3: Bring both labels exactly 20px toward the centered cube. */
@media(min-width:900px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 126px)!important;max-width:calc(50% - 130px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 126px)!important}
}
@media(min-width:541px) and (max-width:899px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 74px)!important;max-width:calc(50% - 78px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 74px)!important}
}
@media(max-width:540px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 45px)!important;max-width:calc(50% - 48px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 45px)!important}
}

/* v3.9.3: 12px nearer the center animation on both sides. */
@media(min-width:900px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 114px)!important;max-width:calc(50% - 118px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 114px)!important}
}
@media(min-width:541px) and (max-width:899px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 62px)!important;max-width:calc(50% - 66px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 62px)!important}
}
@media(max-width:540px){
 .portal-page > nav.topbar > a.brand > .brand-copy{right:calc(50% + 33px)!important;max-width:calc(50% - 36px)!important}
 .portal-page > nav.topbar > a.brand > .brand-domain{left:calc(50% + 33px)!important}
}

/* v3.9.3: approved single-column portal identity. Logo animation centered above title.
   This only targets .portal-page and does not change the homepage. */
.portal-page > nav.topbar {
  position:relative!important;
  min-height:310px!important;height:310px!important;
  padding:0 28px!important;overflow:visible!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  background:#08090d!important;
}
.portal-page > nav.topbar > a.brand {
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  transform:none!important;display:block!important;
  margin:0!important;pointer-events:none!important;
}
.portal-page > nav.topbar > a.brand > video.brand-cube {
  position:absolute!important;left:50%!important;top:4px!important;
  transform:translateX(-50%)!important;
  width:min(520px,100vw)!important;min-width:0!important;max-width:none!important;
  height:230px!important;min-height:0!important;max-height:none!important;
  object-fit:contain!important;object-position:center center!important;
  pointer-events:auto!important;
}
.portal-page > nav.topbar > a.brand > .brand-copy {
  position:absolute!important;left:50%!important;right:auto!important;top:231px!important;
  transform:translateX(-50%)!important;width:max-content!important;
  max-width:calc(100% - 32px)!important;display:block!important;
  margin:0!important;text-align:center!important;align-items:center!important;
  white-space:nowrap!important;pointer-events:auto!important;
}
.portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark {
  display:block!important;position:static!important;
  color:#f2f3fa!important;font-family:"neotype-vf",Studio,Arial,sans-serif!important;
  font-size:clamp(26px,3.7vw,45px)!important;font-weight:200!important;
  letter-spacing:.12em!important;line-height:1.2!important;text-align:center!important;
}
.portal-page > nav.topbar > a.brand .brand-subtitle,
.portal-page > nav.topbar > a.brand .brand-domain{display:none!important}
.portal-page > nav.topbar > .back,
.portal-page > nav.topbar > .bp-signout{
  position:relative!important;z-index:3!important;margin-bottom:14px!important;
}
@media(max-width:760px){
 .portal-page > nav.topbar{min-height:270px!important;height:270px!important;padding:0 12px 12px!important}
 .portal-page > nav.topbar > a.brand{top:0!important;height:100%!important;transform:none!important}
 .portal-page > nav.topbar > a.brand > video.brand-cube{top:5px!important;width:min(440px,100vw)!important;height:187px!important}
 .portal-page > nav.topbar > a.brand > .brand-copy{top:190px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-width:calc(100% - 20px)!important}
 .portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark{font-size:clamp(22px,5.8vw,36px)!important;letter-spacing:.07em!important}
 .portal-page > nav.topbar > .back,.portal-page > nav.topbar > .bp-signout{margin-bottom:0!important;font-size:11px!important}
}
@media(max-width:420px){
 .portal-page > nav.topbar{height:255px!important;min-height:255px!important}
 .portal-page > nav.topbar > a.brand > video.brand-cube{height:172px!important;width:min(380px,100vw)!important}
 .portal-page > nav.topbar > a.brand > .brand-copy{top:171px!important}
 .portal-page > nav.topbar > a.brand > .brand-copy > .brand-wordmark{font-size:clamp(19px,5.5vw,26px)!important;letter-spacing:.04em!important}
}

/* v3.9.4: title floats over the bottom of the centered cube animation. */
.portal-page > nav.topbar > a.brand > .brand-copy {
 top:188px!important;z-index:2!important;
 text-shadow:0 2px 13px rgba(8,9,13,.92),0 0 23px rgba(8,9,13,.72)!important;
}
@media (max-width:760px) {
 .portal-page > nav.topbar > a.brand > .brand-copy{top:153px!important;}
}
@media (max-width:420px) {
 .portal-page > nav.topbar > a.brand > .brand-copy{top:138px!important;}
}

/* v3.9.5: place wordmark visibly ON the lower part of the animated artwork.
   The animation is centered without changing the homepage. */
.portal-page > nav.topbar > a.brand > .brand-copy {
  top:144px!important;
  z-index:8!important;
  text-shadow:0 2px 10px rgba(0,0,0,.85),0 0 20px rgba(0,0,0,.55)!important;
}
@media(max-width:760px){
  .portal-page > nav.topbar > a.brand > .brand-copy{top:115px!important;}
}
@media(max-width:420px){
  .portal-page > nav.topbar > a.brand > .brand-copy{top:103px!important;}
}

/* v3.9.6: move floating title exactly 10px lower at each breakpoint. */
.portal-page > nav.topbar > a.brand > .brand-copy {top:154px!important;}
@media(max-width:760px){.portal-page > nav.topbar > a.brand > .brand-copy{top:125px!important;}}
@media(max-width:420px){.portal-page > nav.topbar > a.brand > .brand-copy{top:113px!important;}}


/* v3.9.7: portal-only sticky header sized to the animated artwork.
   Keep the floating wordmark at its v3.9.6 offset (+10px). */
.portal-page > nav.topbar {
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  flex:0 0 230px!important;
  box-shadow:0 4px 12px rgba(0,0,0,.18)!important;
}
@media (min-width:783px){
  body.admin-bar .portal-page > nav.topbar{top:32px!important;}
}
@media (max-width:782px){
  body.admin-bar .portal-page > nav.topbar{top:46px!important;}
}
@media (max-width:760px){
  .portal-page > nav.topbar{
    height:187px!important;min-height:187px!important;
    max-height:187px!important;flex-basis:187px!important;
  }
}
@media (max-width:420px){
  .portal-page > nav.topbar{
    height:172px!important;min-height:172px!important;
    max-height:172px!important;flex-basis:172px!important;
  }
}


/* v3.9.8: header boundary flush with the bottom of the displayed animation. */
.portal-page > nav.topbar {
 height:220px!important;min-height:220px!important;max-height:220px!important;
 flex-basis:220px!important;padding-top:0!important;padding-bottom:0!important;
}
.portal-page > nav.topbar > a.brand > video.brand-cube {
 top:0!important;height:220px!important;max-height:220px!important;
}
@media(max-width:760px){
 .portal-page > nav.topbar{height:180px!important;min-height:180px!important;max-height:180px!important;flex-basis:180px!important;}
 .portal-page > nav.topbar > a.brand > video.brand-cube{top:0!important;height:180px!important;max-height:180px!important;}
}
@media(max-width:420px){
 .portal-page > nav.topbar{height:165px!important;min-height:165px!important;max-height:165px!important;flex-basis:165px!important;}
 .portal-page > nav.topbar > a.brand > video.brand-cube{top:0!important;height:165px!important;max-height:165px!important;}
}

/* v3.9.9: Mobile header scrolls naturally; sticky remains desktop-only. */
@media (max-width:760px) {
  .portal-page > nav.topbar,
  .bp-workspace-page > nav.topbar,
  .bp-access-page > nav.topbar,
  body.admin-bar .portal-page > nav.topbar {
    position:relative!important;
    top:auto!important;
    z-index:20!important;
  }
}

/* v4.0.0: On mobile while logged into WordPress, eliminate the duplicated
   46px admin-toolbar clearance which pushes the portal header too low.
   Desktop and visitor-facing mobile layouts retain their existing spacing. */
@media (max-width:782px) {
  body.admin-bar .portal-page {
    margin-top:-46px!important;
  }
}

/* v4.0.1: In the logged-in mobile view, honor WordPress's admin bar
   clearance rather than pulling the portal header up underneath it.
   WordPress adds the 46px toolbar offset to the document at <=782px. */
@media (max-width:782px) {
  body.admin-bar .portal-page {
    margin-top:0!important;
  }
  body.admin-bar .portal-page > nav.topbar {
    position:relative!important;
    top:auto!important;
  }
}

/* v4.0.2: When the mobile WordPress admin bar is present, ensure
   the animated artwork starts below the toolbar with visible headroom.
   Keep the portal header in normal document flow (not sticky on mobile).
   Desktop and homepage selectors are deliberately untouched. */
@media (max-width:782px) {
  body.admin-bar .portal-page > nav.topbar {
    position:relative!important;
    top:auto!important;
    margin-top:0!important;
    height:202px!important;
    min-height:202px!important;
    max-height:202px!important;
    flex-basis:202px!important;
    overflow:visible!important;
  }
  body.admin-bar .portal-page > nav.topbar > a.brand > video.brand-cube {
    top:18px!important;
    height:180px!important;
    max-height:180px!important;
    object-fit:contain!important;
  }
  body.admin-bar .portal-page > nav.topbar > a.brand > .brand-copy {
    top:143px!important;
  }
}
@media (max-width:420px) {
  body.admin-bar .portal-page > nav.topbar {
    height:187px!important;
    min-height:187px!important;
    max-height:187px!important;
    flex-basis:187px!important;
  }
  body.admin-bar .portal-page > nav.topbar > a.brand > video.brand-cube {
    top:18px!important;
    height:165px!important;
    max-height:165px!important;
  }
  body.admin-bar .portal-page > nav.topbar > a.brand > .brand-copy {
    top:131px!important;
  }
}
