/* Popup geometry and mobile layout repairs; original artwork remains intact. */
body .luna-widget{display:block!important;width:78px!important;height:78px!important;left:auto!important;right:18px!important;z-index:100}
body .luna-panel{position:fixed!important;inset:auto 18px 110px auto!important;width:min(420px,calc(100vw - 36px))!important;height:auto!important;min-height:0!important;max-height:min(500px,calc(100dvh - 180px))!important;margin:0!important;transform:none!important;overflow:hidden!important}
body .luna-panel:not([hidden]){display:flex!important;flex-direction:column!important}body .luna-panel[hidden]{display:none!important}.luna-panel>header,.luna-panel>.luna-disclosure,.luna-panel>footer{flex:0 0 auto}.luna-panel>.luna-content{flex:1 1 auto;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain}.luna-panel #luna-answer,.luna-panel #luna-options{min-width:0}.luna-panel #luna-answer p{overflow-wrap:break-word}.luna-panel footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body .footer{padding:0!important;margin:15px auto!important;min-height:0!important;height:auto!important}.footer>.wrap{width:calc(100% - 40px)!important;padding:20px 0 0!important}.footer .footer-top{display:grid!important;grid-template-columns:1.2fr 1fr 1fr!important;gap:24px!important;padding:0!important;margin:0!important}.footer-top>div{min-width:0}.footer-top h3{font-size:12px!important;margin:0 0 8px!important;line-height:1.3}.footer-top a:not(.brand){display:block;padding:3px 0!important;margin:0!important;font-size:12px!important;line-height:1.5!important;min-height:0!important}.footer-top p{font-size:12px!important;line-height:1.5!important;margin:7px 0!important}.footer-top .brand small{display:none}.footer .footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 18px;padding:11px 0!important;margin-top:14px!important;font-size:10px;line-height:1.5}.footer-bottom a{display:inline!important;padding:0!important}.footer-top .brand{min-width:0!important}
body .role-tabs,body .build-tabs,body .idea-tabs,body .scenario-tabs{min-width:0;max-width:100%;flex-wrap:wrap!important;white-space:normal!important;gap:6px!important}.role-tabs button,.build-tabs button,.idea-tabs button,.scenario-tabs button{white-space:normal!important;min-width:0;max-width:100%;font-size:12px!important;line-height:1.4!important;min-height:40px}.arrival-card{min-width:0!important;overflow:visible!important}.arrival-card a,.arrival-card p{overflow-wrap:anywhere}.home-quick-links .home-section-index .wrap>div{flex-wrap:wrap!important;overflow:visible!important}.home-section-index a{white-space:normal!important}.section-heading>*{min-width:0}
/* Finite motion and material detail, never blinking or hiding readable content. */
body .button{overflow:hidden;transition:box-shadow .2s ease,filter .2s ease,transform .2s ease}
body .button:after{content:'';position:absolute;inset:-30% auto -30% -75%;width:40%;pointer-events:none;background:linear-gradient(110deg,transparent,#ffffff6b,transparent);transform:skewX(-18deg);opacity:0}
body .button:hover:after,body .button:focus-visible:after{animation:tn-button-glint .7s ease-out 1}.selected-feature,.network-campus-card,.rev-plan,.resource-catalog-card{transition:border-color .22s ease,box-shadow .22s ease}.selected-feature:hover,.resource-catalog-card:hover{border-color:#87cbd4!important;box-shadow:inset 0 1px white,0 8px 22px #2f8a9b24}.tn-material-in-view{box-shadow:inset 0 1px #fff,0 8px 20px #2a6c7c1c}.original-art-grid figure{transition:box-shadow .25s ease}.original-art-grid figure:hover{box-shadow:0 6px 18px #b71e3d28}
@keyframes tn-button-glint{0%{left:-65%;opacity:0}20%{opacity:.9}100%{left:130%;opacity:0}}
@media(max-width:760px){body .luna-widget{width:66px!important;height:66px!important;right:14px!important}body .luna-panel{inset:auto 12px calc(166px + env(safe-area-inset-bottom)) auto!important;width:calc(100vw - 24px)!important;max-height:min(500px,calc(100dvh - 230px))!important;border-radius:20px}.luna-panel>header{padding:12px!important}.luna-panel>.luna-content{padding:12px!important}.luna-panel .luna-disclosure{padding:8px 12px;font-size:10px}.luna-panel nav{grid-template-columns:1fr 1fr}.luna-panel footer{gap:7px;padding:9px 12px!important}.luna-panel footer a{font-size:10px;line-height:1.5}.luna-panel footer button{min-height:34px}
 body .possibility-grid{gap:12px!important}body .possibility-link{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:0!important;height:auto!important;min-height:0!important}body .possibility-art{width:100%!important;height:142px!important;min-height:0!important;max-height:none!important;overflow:hidden!important;grid-column:1!important;align-self:stretch;position:relative}body .possibility-art>picture{display:block!important;width:100%!important;height:142px!important}body .possibility-art>picture img{width:100%!important;height:142px!important;object-fit:contain!important;background:#e5f5f8}body .possibility-copy{min-width:0!important;width:100%!important;padding:13px 15px!important;grid-column:1!important;height:auto!important;max-height:none!important}body .possibility-copy h3{font-size:21px!important;line-height:1.2!important;margin-bottom:8px}body .possibility-copy p{font-size:14px!important;line-height:1.55!important;margin:0!important}.possibility-number{font-size:8px!important;left:7px!important;top:7px!important;max-width:calc(100% - 45px);white-space:normal}.possibility-arrow{right:8px!important;top:8px!important}
 body .benefit-display.business{display:grid!important;grid-template-columns:1.15fr 1fr!important;grid-template-rows:auto 1fr!important;align-items:center;gap:6px 13px!important;width:100%!important;height:142px!important;min-height:0!important;padding:13px 16px!important}.benefit-display.business>small{grid-column:1/-1;font-size:8px!important;line-height:1.3!important;margin:0!important}.benefit-display.business>b{font-size:24px!important;line-height:.98!important;letter-spacing:-.6px!important;grid-column:1;grid-row:2}.benefit-display.business .benefit-pills{display:flex;flex-direction:column;gap:5px;margin:0;grid-column:2;grid-row:2}.benefit-pills span{font-size:9px!important;padding:3px 6px!important;line-height:1.25}
 body .footer .footer-top{grid-template-columns:1fr 1fr!important;gap:15px 20px!important}.footer-top>div:first-child{grid-column:1/-1}.footer>.wrap{width:calc(100% - 30px)!important;padding:17px 0 0!important}.footer-top>div:first-child p{max-width:none;font-size:12px!important;margin:5px 0!important}.footer-top a:not(.brand){font-size:12px!important;line-height:1.45!important;padding:3px 0!important}.footer .footer-bottom{font-size:10px;padding:10px 0!important;margin-top:11px!important;display:block}.footer-bottom>span{display:block;margin-top:4px}body:has(.mobile-register) .footer{padding-bottom:76px!important}
}
@media(prefers-reduced-motion:reduce){body .button,body .selected-feature,body .network-campus-card,body .rev-plan,body .resource-catalog-card,.original-art-grid figure{transition:none!important;animation:none!important}body .button:after{display:none!important}}

/* Fixed left/right gutters use the layout viewport, excluding its scrollbar. */
@media(max-width:760px){body .luna-panel{left:12px!important;right:12px!important;width:auto!important;max-width:none!important}}
body main{padding-bottom:8px!important}body .footer{margin:10px auto!important}body .arrival-card .arrival-pin{font-size:60px!important;width:80px!important;height:80px!important;line-height:1!important;right:12px!important;bottom:12px!important;top:auto!important;display:grid;place-items:center}body main>.network-home:last-child{margin-bottom:0!important}

/* Route-wide November 17 refinement: a single header row and readable materials. */
.account-symbol{display:none}
body main>section.wrap:not(.editorial-hero),body .builder-lab,body .tint-section,body .partner-editorial{background-color:#f1faff!important}
body .faq-list details{padding:0 13px!important;margin-bottom:8px}
body .faq-list summary{padding:13px 28px 13px 0!important;min-height:44px;line-height:1.4!important}
body .faq-list details p{padding-bottom:12px;margin-top:0}
body .section-heading{margin-bottom:14px!important}
body .section-heading p{font-size:14px!important;line-height:1.55!important;margin:8px 0!important}
body .network-event-card{padding:16px!important}
body .calendar-date-band{margin:11px 0!important;padding-bottom:9px!important}
body .network-event-card h3{margin:10px 0!important}
body .network-actions,body .launch-actions{gap:8px!important;margin-top:14px!important;flex-wrap:wrap}
body .network-disclosure{margin-bottom:3px!important;font-size:12px!important;line-height:1.5!important}
body .future-hosting-note{padding:14px!important;margin-top:13px!important;gap:10px!important}
body .partner-editorial{padding:22px 0!important}
body .match-steps article{padding:10px 0!important}
body .match-steps article p{font-size:14px!important;line-height:1.55!important;margin-top:5px!important}
body .network-home h2{font-size:28px!important;line-height:1.15!important}
body .network-home-locations{gap:0 16px!important}
body .network-home-locations a{padding:7px 0!important}
body .footer .footer-top{gap:12px 20px!important}
body .footer-top>div:first-child p{line-height:1.4!important}
body .footer-top a:not(.brand){line-height:1.4!important;padding:2px 0!important}
body .footer .footer-bottom{padding:8px 0!important;margin-top:8px!important;line-height:1.4!important}
.home-tool-disclosure{min-width:0;margin-top:14px;border:1px solid #b7dce5;border-radius:15px;background:linear-gradient(125deg,#fff,#e1f8fb);padding:0 14px;box-shadow:inset 0 1px white}
.home-tool-disclosure>summary{cursor:pointer;padding:13px 0;min-height:44px;font-size:14px;font-weight:650;color:#9f1838;line-height:1.4}
.home-tool-disclosure[open]{padding-bottom:14px}
.home-tool-disclosure .personal-path{margin-top:0!important;padding-top:8px!important;border:0}
.merch-pagination{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:17px 0;font-size:13px}
body .button{position:relative}
.site-nav-group[open]>.site-nav-dropdown{animation:tn-menu-in .18s ease-out}
@keyframes tn-menu-in{from{opacity:.6;transform:translateY(-5px)}to{opacity:1;transform:none}}
/* Keep fixed dropdowns outside the horizontal track's clipping context. */

@media(max-width:700px){
 body .selected-nav .nav-inner{width:calc(100% - 14px)!important;gap:5px!important;min-height:50px!important;flex-wrap:nowrap!important}
 body .selected-nav .brand{width:34px!important;min-width:34px!important;flex:0 0 34px!important;gap:0!important}
 body .selected-nav .brand>span{display:none!important}
 body .selected-nav .brand-symbol{width:34px!important;height:auto!important}
 body .selected-nav .nav-links,body .selected-nav .nav-links.compact-open{display:flex!important;position:static!important;inset:auto!important;order:0!important;flex:1 1 0!important;flex-basis:0!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;gap:1px!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;background:none!important;border:0!important;box-shadow:none!important;align-self:center!important}
 .selected-nav .nav-links::-webkit-scrollbar{display:none}
 body .site-nav-group{position:static!important;flex:0 0 auto!important;border:0!important;text-align:left}
 body .site-nav-group summary{font-size:12px!important;line-height:1.4!important;padding:11px 7px!important;min-height:42px!important;white-space:nowrap!important;color:#183d4e}
 body .site-nav-group summary:after{font-size:8px;margin-left:4px!important}
 body .site-nav-group[open] summary{color:#b81635;background:#e1f4f8;border-radius:9px;box-shadow:inset 0 -2px #d32242}
 body .site-nav-dropdown,body .site-nav-group:last-child .site-nav-dropdown{position:fixed!important;inset:52px 8px auto!important;width:auto!important;max-height:calc(100dvh - 120px)!important;overflow-y:auto!important;padding:9px!important;border:1px solid #accdd9!important;border-radius:14px!important;background:#f4fcff!important;box-shadow:0 10px 24px #14445935!important;text-align:left}
 body .site-nav-dropdown>p{display:block;font-size:10px;color:#9d2340}
 body .site-nav-dropdown a{min-height:42px!important;font-size:14px!important}
 body .selected-account{margin:0!important;gap:0;flex:0 0 32px}
 body .selected-account .button{width:32px!important;min-width:32px!important;height:34px;min-height:34px!important;padding:0!important;border-radius:11px!important}
 .account-label{display:none}.account-symbol{display:block;font-size:20px;line-height:1}
 body .network-event-grid{gap:12px!important}
 body .network-event-card{padding:14px!important}
 body .network-actions .button,body .launch-actions .button{font-size:12px!important;padding:10px 12px!important;min-height:42px}
 body .match-layout,body .arrival-layout{gap:16px!important}
 body .partner-words{padding-top:12px!important}
 body .share-word-art{font-size:44px!important;line-height:.85!important;min-height:0!important;height:auto!important;padding:0!important;margin:12px 0!important}
 body .share-word-art span{font-size:10px!important;margin-top:10px!important}
 body .network-home-locations{grid-template-columns:1fr 1fr!important}
 body .footer-top>div:first-child p:last-child{font-size:10px!important;margin:4px 0!important}
 body .footer .footer-top{gap:10px 15px!important}
 body .footer>.wrap{padding-top:12px!important}
 body .footer-top a:not(.brand){font-size:12px!important;line-height:1.35!important}
 body .footer .footer-bottom{font-size:10px!important}
 body .merch-grid{gap:12px!important}
}
@media(prefers-reduced-motion:reduce){.site-nav-group[open]>.site-nav-dropdown{animation:none!important}}

@media(max-width:700px){body .selected-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:linear-gradient(#faffff,#e8f7fc)!important}body .selected-account .button{width:44px!important;min-width:44px!important;font-size:10px!important}.selected-account{flex-basis:44px!important}.account-label{display:block}.account-symbol{display:none}}

.footer-link-group{min-width:0}.footer-link-group>summary{font-size:12px;font-weight:700;line-height:1.4;padding:0 0 7px;cursor:pointer;color:#284758}.footer-link-group>summary::marker{color:#c51a3c}
@media(max-width:700px){.footer-link-group{border:1px solid #bedde5;border-radius:10px;background:#effaff;padding:0 10px}.footer-link-group>summary{min-height:42px;display:list-item;align-content:center;padding:10px 0;font-size:12px}.footer-link-group[open]{padding-bottom:7px}}

/* Empty/loading states should explain themselves without reserving a whole screen. */
body .network-detail{min-height:0!important}body .network-detail:has(#network-detail-content:empty){min-height:0!important}
body .resume-simple .resume-embed{min-height:100px!important;padding:12px 0!important;height:auto!important}

/* November 17: right-aligned categories, with the original single-row header. */
@media(min-width:701px){body .selected-nav .nav-links{margin-left:auto!important;margin-right:0!important;flex:0 1 auto!important;width:auto!important;justify-content:flex-end!important}body .selected-nav .selected-account{margin-left:10px!important}}
/* Arrival card: illustration fills the stretched desktop card, compact side art on phones. */
body .arrival-card{display:flex;flex-direction:column;align-items:flex-start;padding:20px!important;gap:0;background:linear-gradient(145deg,#fff 5%,#e9fbff 65%,#f7e8ed)!important}
body .arrival-card h2{margin:15px 0 12px!important;line-height:1.12!important}
body .arrival-card p{margin:0 0 14px!important;line-height:1.55!important;font-size:14px!important}
body .arrival-card .button{margin:0!important}
.arrival-art{width:100%;min-height:160px;flex:1;margin:18px 0 0;position:relative;display:flex;align-items:center;border:1px solid #b5dce6;border-radius:19px;overflow:hidden;background:#e9faff;box-shadow:inset 0 1px white,0 7px 18px #367e9120}
.arrival-art picture{display:block;width:100%}.arrival-art img{display:block;width:100%;max-height:290px;height:auto;object-fit:contain}
.arrival-art:after{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid #ffffffb0;border-radius:inherit;background:linear-gradient(125deg,#ffffff35,transparent 40%,#dd124800)}
body .arrival-notes h3{margin:0 0 13px!important;font-size:24px!important;line-height:1.2!important}
body .arrival-notes details{padding:12px 0!important}.arrival-notes details p{line-height:1.55!important;font-size:14px!important;margin-top:9px!important}
body .arrival-notes .arrival-source-status{font-size:12px;line-height:1.5;margin:13px 0 8px!important}
body .arrival-notes>[data-live-refresh]{margin:0!important;padding:6px 0!important;min-height:38px}
body .arrival-notes>.text-link{margin-top:12px!important}
body .arrival-layout{gap:24px!important;align-items:stretch}
/* Ruby edges and pearlescent depth without reducing text contrast. */
body .selected-feature{border-top:2px solid #cc31505c!important;background:linear-gradient(135deg,#fff,#e6f9fc 75%,#f6e2e9)!important}
body .network-event-card,body .detail-panel{box-shadow:inset 0 1px #fff,0 5px 15px #25768d16;border-bottom-color:#d35b7655!important}
body .button.primary,body .button.dark{box-shadow:inset 0 2px 2px #fff8,inset 0 -3px 4px #730a2340,0 4px 10px #b8183c22!important}
body .arrival-art img{transition:transform .45s ease}.arrival-art:hover img{transform:scale(1.025)}
@media(max-width:700px){
 body .arrival-card{display:grid!important;grid-template-columns:minmax(0,1fr) 110px!important;gap:10px 12px!important;padding:15px!important;align-items:start}
 .arrival-card>.eyebrow{grid-column:1/-1;font-size:9px!important;line-height:1.5!important}
 body .arrival-card h2{grid-column:1;grid-row:2;margin:0!important;font-size:26px!important;letter-spacing:-.8px!important}
 body .arrival-card p{grid-column:1;grid-row:3;margin:0!important;font-size:13px!important;line-height:1.5!important}
 body .arrival-card>.button{grid-column:1/-1;grid-row:4;justify-self:start;min-height:42px!important;padding:10px 13px!important;font-size:12px!important}
 .arrival-art{grid-column:2;grid-row:2/4;height:100%;min-height:150px;margin:0;border-radius:15px;align-self:stretch}
 .arrival-art picture,.arrival-art img{height:100%!important;max-height:none!important;width:100%!important}.arrival-art img{object-fit:cover;object-position:center}
 body .arrival-layout{gap:16px!important}.arrival-notes h3{font-size:22px!important}
 body .idea-grid{gap:10px!important}body .idea-card{padding:16px!important;min-height:0!important}body .idea-card h3{font-size:20px!important;margin-block:10px!important}body .idea-card p{font-size:14px!important;line-height:1.5!important;margin-bottom:16px!important}
 body .intro-composer{padding:15px!important}body .community-heading p,body .lab-copy p{font-size:14px!important;line-height:1.55!important}
}
@media(prefers-reduced-motion:reduce){body .arrival-art img{transition:none!important;transform:none!important}}

@media(max-width:420px){body .arrival-card{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}body .arrival-card h2{grid-column:1!important;grid-row:2!important;font-size:27px!important}body .arrival-card p{grid-column:1!important;grid-row:3!important}body .arrival-card>.button{grid-column:1!important;grid-row:4!important}.arrival-art{grid-column:1!important;grid-row:5!important;height:140px!important;min-height:0!important}.arrival-art picture,.arrival-art img{height:140px!important}.arrival-art img{object-fit:cover!important;object-position:center 52%}}

/* A collapsed worksheet should not leave a vacant half-width desktop column. */
@media(min-width:701px){body.landing-page #community .match-layout{display:block!important}body.landing-page #community .match-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px}body.landing-page #community .match-steps>article{min-width:0;align-items:start;gap:10px;border-bottom:1px solid #c9dfe7;padding:12px!important;background:linear-gradient(135deg,#fff,#edfaff);border-radius:13px}body.landing-page #community .match-steps>article h3{font-size:22px!important;line-height:1.2!important}body.landing-page #community .match-steps>.launch-actions,body.landing-page #community .match-steps>.section-note{grid-column:1/-1;margin-top:0!important}body.landing-page #community .match-layout>.home-tool-disclosure{margin-top:13px!important}body.landing-page #community .match-layout>.home-tool-disclosure[open] .intro-composer{max-width:760px;margin:auto}}
