/* Non-modal windows in the persistent outer document, below the live header. */
body dialog.asset-window401[open]{position:fixed!important;inset:var(--asset-header401,80px) 0 0!important;margin:0!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:calc(100dvh - var(--asset-header401,80px))!important;max-height:none!important;border:1px solid #363636!important;border-radius:0!important;background:#1a1a1a!important;color:#edf2f6!important;padding:72px clamp(20px,4vw,64px) 30px!important;overflow:auto!important;overscroll-behavior:contain;z-index:2400!important;box-shadow:0 14px 45px #0005!important;font-family:Montserrat,Arial,sans-serif}
body dialog.asset-window401[data-asset-window401="small"]{inset:auto 12px 12px auto!important;width:min(440px,calc(100vw - 24px))!important;height:min(560px,calc(100dvh - var(--asset-header401,80px) - 24px))!important;border-radius:18px!important;padding:66px 18px 20px!important}
body dialog.asset-window401[data-asset-window401="minimized"]{inset:auto 12px calc(12px + var(--asset-stack401,0)*56px) auto!important;width:min(330px,calc(100vw - 24px))!important;height:48px!important;min-height:0!important;padding:0!important;border-radius:14px!important;overflow:hidden!important}
body dialog.asset-window401[data-asset-window401="minimized"]>:not(.asset-window-bar401){display:none!important}
body .asset-window401>.asset-window-bar401{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;box-sizing:border-box;padding:8px 16px;background:#1a1a1a;color:#f1f6f8;border-bottom:1px solid #383838;z-index:40}
body .asset-window401[data-asset-window401="minimized"]>.asset-window-bar401{min-height:48px;border-bottom:0;padding:6px 9px}.asset-window-bar401>strong{font-size:13px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.asset-window-bar401>div{display:flex;align-items:center;gap:5px;flex:none}body .asset-window-bar401 [data-window-action401]{display:grid!important;place-items:center!important;min-width:30px!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;margin:0!important;border-radius:8px!important;border:1px solid #4c4c4c!important;background:#292929!important;color:#f1f6f8!important;font:inherit;cursor:pointer}.asset-window-bar401 [data-window-action401][hidden]{display:none!important}.asset-window-bar401 [data-window-action401]:hover:where(:not(main, main *, dialog, dialog *), #account-drawer, #account-drawer *){background:#393939!important}.asset-window-bar401 [data-window-action401]:focus-visible{outline:2px solid #85d0df;outline-offset:2px}.asset-window-bar401 svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body .asset-window401:not(.site-popup-window) :is(.wm-close331,.onboarding-close399,[data-wallet-close],.funds-close157,[data-token-close]){display:none!important}body .asset-window401:not(.site-popup-window) :is(h1,h2,h3,h4,strong,b,label,legend,dt,dd){color:#edf2f6!important}body .asset-window401:not(.site-popup-window) :is(p,small,span){color:#c4d1da!important}body .asset-window401 a{color:#88d3e1}body .asset-window401:not(.site-popup-window) :is(input,select,textarea){background:#202020!important;color:#f1f6f8!important;border-color:#545454!important;accent-color:#79c6d5}body .asset-window401:not(.site-popup-window) input::placeholder{color:#aabac5!important;opacity:1}body .asset-window401:not(.site-popup-window) :is(.wm-card331,.wm-overview331,.wm-form331,.wm-security331,.wm-favorites331>div,.wm-details331,.wm-address331,.wm-note331,.wm-value331,.token-market177,.token-holding177,.token-stats177,.token-info177,.token-history177,.token-about177,.onboarding-safety399,.onboarding-success399,.wallet-upcoming167,.app-invite61,.transactions58 article,.transaction-row72){background:#232323!important;border-color:#393939!important;color:#edf2f6!important}body .asset-window401:not(.site-popup-window) :is(.wm-body331,.token-body177){max-width:1240px!important;margin-inline:auto;width:100%;padding:20px 0!important;box-sizing:border-box}body .asset-window401 .wm-header331{position:static!important;background:none!important;padding:0 0 16px!important;border-color:#393939!important}body .asset-window401 .wm-grid331{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))!important}body .asset-window401 .token-columns177{grid-template-columns:minmax(0,1.4fr) minmax(250px,.6fr)}body .asset-window401[data-asset-window401="small"] :is(.token-columns177,.wm-grid331){grid-template-columns:1fr!important}body .asset-window401 .onboarding-options399 button{background:#252525!important;border-color:#627783!important;color:#edf2f6!important}body .asset-window401:not(.site-popup-window) :is(.onboarding-actions399 button,.onboarding-link399,.wm-form331 button,.wm-add331){background:#446f7b!important;color:#fff!important;border-color:#77bac8!important}body .asset-window401:not(.site-popup-window) [role="alert"]{color:#ffb2c8!important}body .asset-window401 .token-chart177 text{fill:#c2d0da!important}body .asset-window401 .token-chart177 line{stroke:#52616d!important}body .asset-window401 .wm-value331 strong{color:#f6fafc!important}body .asset-window401 button:disabled{opacity:.5}
@media(max-width:650px){body dialog.asset-window401[open]{padding:66px 16px 20px!important}.asset-window-bar401>strong{font-size:11px}.asset-window-bar401>div{gap:4px}body .asset-window401>.asset-window-bar401{padding-inline:10px}body .asset-window401 .token-columns177{grid-template-columns:1fr!important}}
body .asset-window401:not(.site-popup-window) :is(.funds-content157,.funds-row157,.funds-scan157,.funds-content157 form,.wm-favorites331,.wm-overview331>div,.token-info177 dl,.token-info177 dl>div,.token-holding177,.token-market177,.token-price177,.token-periods177 button,.token-actions177 button,.wm-details331>div){background:#232323!important;border-color:#393939!important;color:#edf2f6!important}body .asset-window401 .onboarding-options399 span{color:#d1dce3!important}body .asset-window401 .token-periods177 button[aria-pressed=true]{background:#447581!important;color:#fff!important}body .asset-window401 .wm-card331>header{background:#232323!important}body .asset-window401 .wm-form331 label,body .asset-window401 .wm-address331 b{overflow-wrap:anywhere}
body .asset-window401.offer-details400 :is(.plan317,.subscription-notes317,.welcome321,.subscription-help317,.subscription-comparison321,.pricing-comparison th,.pricing-comparison td,.pricing-comparison thead,.pricing-comparison tfoot,.plan-access393,.plan-cashback334){background:#232323!important;color:#edf2f6!important;border-color:#393939!important}body .asset-window401.offer-details400 .plan-status317{background:#446472!important;color:#fff!important}body .asset-window401.offer-details400 .pricing-comparison{color:#edf2f6!important}body .asset-window401.offer-details400 .plan-cta317{background:#477d8b!important;color:#fff!important}body .asset-window401.offer-details400 .subscriptions321{max-width:1400px;margin-inline:auto}

/* One fixed window, one sticky toolbar, one content area: no inherited modal centering. */
body dialog.asset-window401[open]{display:block!important;transform:none!important;translate:none!important;scale:none!important;rotate:none!important;animation:none!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;z-index:1900!important;isolation:isolate;scrollbar-gutter:stable;scroll-padding-top:76px;background:#1a1a1a!important}
body dialog.asset-window401[data-asset-window401="small"]{padding:0!important;border:1px solid #414141!important}
body .asset-window401>.asset-window-bar401{position:sticky!important;top:0!important;inset-inline:auto!important;margin:0!important;width:100%;min-height:56px;background:#1a1a1a;border-bottom:1px solid #393939;box-shadow:0 8px 20px #0002}
body .asset-window401>.asset-window-content412{padding:28px clamp(16px,4vw,64px) 36px;max-width:1440px;width:100%;margin:0 auto;box-sizing:border-box}
body .asset-window401[data-asset-window401="small"]>.asset-window-content412{padding:22px 18px 28px}
body .asset-window401 .asset-window-bar401 [data-window-action401]{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}
body .asset-window401>.asset-window-bar401>div{margin-inline-start:auto}
body .asset-window401[data-asset-window401="minimized"]>.asset-window-content412{display:none!important}
body .asset-window401[data-asset-window401="minimized"]>.asset-window-bar401{min-height:48px;padding-block:5px}
body .asset-window401:not(.site-popup-window) :is(h2,h3){line-height:1.25;letter-spacing:-.02em}body .asset-window401 h2{font-size:clamp(24px,3vw,34px)}
body .asset-window401:not(.site-popup-window) :is(.wm-card331,.token-market177,.token-holding177,.wallet-upcoming167,.onboarding-safety399){border-radius:18px!important}
body .asset-window401:not(.site-popup-window) :is(.wm-overview331,.wm-note331){border-radius:14px!important}body .asset-window401 .onboarding-safety399{padding:18px!important}
body .asset-window401 .token-bar177{position:static;background:none;border:0;padding:0 0 16px}
body .asset-window401 .wm-header331{max-width:1240px;margin-inline:auto}body .asset-window401 .onboarding-actions399{gap:12px;flex-wrap:wrap}
body .asset-window401:not(.site-popup-window) :is(.onboarding399,.wallet-upcoming167,.app-invite61){max-width:780px;margin-inline:auto}
@media(max-width:650px){body .asset-window401>.asset-window-content412{padding:22px 16px 32px}body .asset-window401>.asset-window-bar401{padding:8px 12px}.asset-window-bar401>strong{font-size:12px}}

/* The toolbar carries the window title; keep its accessible source out of the layout. */
body .asset-window401 .asset-window-title416{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body .asset-window401:not(.site-popup-window) :is(.wm-body331,.token-body177){padding-top:0!important}
body .asset-window401>.asset-window-content412>p:first-of-type{margin-top:0}

body dialog.asset-window401{overflow-anchor:none;scroll-behavior:auto!important}
.asset-window401 .asset-feature-availability{margin:.6rem auto;color:inherit;text-align:center;font-size:.9rem}

/* The transaction frame is shared by all site windows. The feature owns its form. */
body dialog.asset-window401[open] {
  --window-gradient:linear-gradient(145deg,#172730 0%,#29373f 9%,#81939b 23%,#dde6e8 42%,#f2f6f6 70%,#fff 100%);
  --window-toolbar:linear-gradient(90deg,#191a1d 0%,#2d3d45 45%,#68939c 100%);
  background:var(--window-gradient)!important;
}
body .asset-window401>.asset-window-bar401 {background:var(--window-toolbar);color:white}
body .site-popup-window>.asset-window-content412 {container-type:inline-size;min-width:0}
body dialog.site-popup-window [data-window-surface][open] {
  position:relative!important;inset:auto!important;transform:none!important;translate:none!important;
  box-sizing:border-box!important;width:100%!important;max-width:var(--surface-width,860px)!important;
  min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
  margin:0 auto!important;border:1px solid #dae5e7!important;border-radius:18px!important;
  background:#fff;color:#26353d;box-shadow:0 10px 32px #16252d24;
}
body dialog.site-popup-window :is(.map-dialog123,#place-map-dialog,#stay-lightbox61)[data-window-surface] {--surface-width:1200px}
body dialog.site-popup-window [data-window-surface] > header:first-child {border-top-left-radius:inherit;border-top-right-radius:inherit}
body dialog.site-popup-window [data-window-surface]>header :is(button[aria-label^="Fermer"],button[data-profile-close351]) {display:none!important}
body dialog.site-popup-window .profile-edit351>.profile-edit-header351 {background:transparent;color:#26353d;border-bottom:1px solid #dce6e9}
body dialog.site-popup-window .profile-edit-header351 :is(h2,p) {color:#26353d!important}
body dialog.site-popup-window .profile-edit-header351 span {color:#396f7c!important}
body dialog.site-popup-window .profile-edit351 .profile-edit-body351 {max-height:none;overflow:visible}
body dialog.site-popup-window .profile-edit351 .profile-edit-footer351 {border-radius:0 0 18px 18px}
@container (max-width:640px) {
  .site-popup-window .profile-edit351 :is(.profile-edit-body351,.profile-edit-pair351,.profile-edit-networks351>div) {grid-template-columns:minmax(0,1fr)}
  .site-popup-window .profile-edit351 :is(.profile-edit-body351,.profile-edit-header351,.profile-edit-footer351) {padding:16px}
  .site-popup-window .profile-edit351 .profile-edit-footer351 {align-items:stretch;flex-direction:column;gap:8px}
  .site-popup-window .profile-edit351 .profile-edit-footer351>div {display:flex;flex-wrap:wrap;gap:8px}
}

body dialog.asset-window401[open]>.asset-window-bar401 {
  padding-inline:clamp(12px,3vw,36px);border-bottom:1px solid #526771;
}
body .asset-window401 .asset-window-bar401>strong {color:#f1f7f8;font-size:1rem;font-weight:650}
@media(max-width:420px){body dialog.asset-window401[open]>.asset-window-bar401 {padding-inline:9px;gap:6px}}

/* Long windows can use the entire stage. Complete sections stay together in reading order. */
body dialog.asset-window401[open][data-asset-window401="full"][data-window-wide] > .asset-window-content412 {
  max-width:none;
  padding:clamp(6px,.6vw,9px) clamp(8px,1.25vw,22px);
}
body dialog.site-popup-window[data-asset-window401="full"][data-window-wide] [data-window-surface][open] {
  max-width:none!important;
  overflow-wrap:anywhere;
}
body dialog.asset-window401[data-asset-window401="full"][data-window-wide] :is(.tx-shell412,.tx-card412,.wm-body331,.token-body177,.wm-header331,.subscriptions321,.onboarding399,.wallet-upcoming167,.app-invite61) {
  max-width:none!important;
  min-width:0;
}
@container (min-width:720px) {
  .site-popup-window[data-asset-window401="full"][data-window-wide] .publication-dialog378[open] {
    display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);
    column-gap:clamp(16px,2cqw,32px);align-items:start;
  }
  .site-popup-window[data-window-wide] .publication-dialog378 .editor-head378 {grid-column:1/-1}
  .site-popup-window[data-window-wide] .publication-dialog378 .editor-settings378 {grid-column:1;margin-block:12px 0}
  .site-popup-window[data-window-wide] .publication-dialog378 .editor-body378 {grid-column:2;min-width:0;margin-block-start:12px}
  .site-popup-window[data-asset-window401="full"][data-window-wide] .profile-edit351 .profile-edit-body351 {
    grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 22px;gap:12px 24px;
  }
}
@container (min-width:1000px) {
  .site-popup-window[data-asset-window401="full"][data-window-wide] .profile-edit351 .profile-edit-body351:has(.profile-edit-networks351[open]) {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .site-popup-window[data-window-wide] .profile-edit-networks351[open] {grid-column:auto;border-top:0;padding-top:0}
  .site-popup-window[data-window-wide] .profile-edit-networks351[open]>div {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
}

.concealed-amount {display:inline-block;vertical-align:baseline;user-select:none;pointer-events:none}
.concealed-amount > [aria-hidden] {display:inline-block;color:inherit;font:inherit;filter:blur(.16em)}
@container (min-width:720px) {
  .site-popup-window[data-asset-window401="full"][data-window-wide] .profile-edit351 > .profile-edit-header351 {padding:12px 22px}
  .site-popup-window[data-window-wide] .profile-edit-header351 > div {
    display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:3px 24px;
  }
  .site-popup-window[data-window-wide] .profile-edit-header351 span {grid-column:1/-1}
  .site-popup-window[data-window-wide] .profile-edit-header351 h2 {margin:0;font-size:1.375rem}
  .site-popup-window[data-window-wide] .profile-edit-header351 p {margin:0;align-self:center}
  .site-popup-window[data-window-wide] .profile-edit351 .profile-edit-field351 {margin-bottom:8px;gap:4px}
  .site-popup-window[data-window-wide] .profile-edit351 .profile-edit-body351 h3 {margin:0 0 10px}
  .site-popup-window[data-window-wide] .profile-edit351 .profile-edit-footer351 {padding:8px 22px}
  .site-popup-window[data-window-wide] .profile-edit-body351 > section:first-child {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;column-gap:12px;
  }
  .site-popup-window[data-window-wide] .profile-edit-body351 > section:first-child > :is(h3,small,.profile-edit-pair351) {grid-column:1/-1}
}

/* The toolbar and the work surface share the window. Only the work surface scrolls. */
body dialog.asset-window401[open]:not([data-asset-window401="minimized"]) {
  display:grid!important;grid-template-rows:auto minmax(0,1fr);
  overflow:visible!important;scrollbar-gutter:auto;border-radius:0!important;
}
body dialog.asset-window401[open]:not([data-asset-window401="minimized"]) > .asset-window-content412 {
  box-sizing:border-box;align-self:stretch;justify-self:stretch;
  width:100%;height:100%;max-width:none;min-width:0;min-height:0;margin:0;padding:0!important;
  overflow:auto;overscroll-behavior:contain;border:0;border-radius:0;box-shadow:none;
}
body dialog.asset-window401[open]:not([data-asset-window401="minimized"]) > .asset-window-bar401 {
  position:relative!important;inset:auto!important;border-radius:0;
}
body dialog.site-popup-window:not([data-asset-window401="minimized"]) > .asset-window-content412 {
  display:flex;flex-direction:column;
}
body dialog.site-popup-window:not([data-asset-window401="minimized"]) [data-window-surface][open] {
  flex:1 0 auto;max-width:none!important;margin:0!important;border:0!important;
  border-radius:0!important;box-shadow:none;
}
body dialog.site-popup-window:not([data-asset-window401="minimized"]) [data-window-surface]>:is(header,footer),
body dialog.site-popup-window:not([data-asset-window401="minimized"]) .profile-edit351 .profile-edit-footer351 {border-radius:0}
body dialog.site-popup-window:not([data-asset-window401="minimized"]) .profile-edit351>form {flex:1}
body dialog.site-popup-window:not([data-asset-window401="minimized"]) .profile-edit-footer351 {margin-top:auto}
body dialog.asset-window401[open]:not([data-asset-window401="minimized"]):not(.site-popup-window,.transaction412,.lock-window) > .asset-window-content412 {
  padding:clamp(12px,2vw,28px)!important;background:#20272d;
}

body dialog.asset-window401[open] > .asset-window-bar401 {background:var(--window-toolbar)!important;gap:8px}
body dialog.asset-window401 .asset-window-bar401 > .window-context401 {
  display:flex;align-items:center;gap:9px;padding:0 11px;max-width:100%;min-width:0;min-height:38px;
  border:1px solid #92b9c45e;border-radius:12px;background:#243137;box-sizing:border-box;
}
body dialog.asset-window401 .asset-window-bar401 .window-context401 > span {
  color:white!important;-webkit-text-fill-color:white!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:600 .875rem/1.25 Montserrat,sans-serif;
}
body dialog.asset-window401 .asset-window-bar401 .window-context401 > svg {
  flex:0 0 18px;width:18px;height:18px;fill:none!important;stroke:#9dd3db!important;stroke-width:1.6;stroke-linejoin:round;
}
body dialog.transaction412.asset-window401:not([data-asset-window401=minimized]) .asset-window-bar401:has(>.tx-operation-picker) > .window-context401 {display:none}
body.social-feed-page, body.social-feed-page *, dialog[data-feed-window], dialog[data-feed-window] * {
  -webkit-user-select:none;user-select:none;
}
:is(body.social-feed-page,dialog[data-feed-window]) :is(input,textarea,[contenteditable="true"],[contenteditable=""],[contenteditable="plaintext-only"],[contenteditable="true"] *) {
  -webkit-user-select:text!important;user-select:text!important;
}

/* Open over the current page. The Fil keeps an outer margin even when enlarged. */
body dialog.asset-window401[open]:is([data-window-expanded="false"],[data-feed-window]):not([data-asset-window401="minimized"]) {
  --floating-window-gap:clamp(10px,2.5vmin,26px);
  --floating-window-height:calc(100dvh - var(--asset-header401,80px) - 2 * var(--floating-window-gap));
  inset:calc(var(--asset-header401,80px) + var(--floating-window-gap)) 0 var(--floating-window-gap)!important;
  margin:auto!important;width:min(680px,calc(100% - 2 * var(--floating-window-gap)))!important;
  height:fit-content!important;min-height:0!important;max-height:var(--floating-window-height)!important;
  padding:4px!important;overflow:visible!important;box-sizing:border-box!important;
  border:1px solid #cee2e2e8!important;border-radius:20px!important;
  background:rgb(226 242 243 / 79%)!important;backdrop-filter:blur(14px);
  box-shadow:0 18px 66px #122b3b38,0 2px 9px #16303b24!important;
}
body dialog.asset-window401[open]:is([data-window-expanded="false"],[data-feed-window])[data-window-wide]:not([data-asset-window401="minimized"]) {
  width:min(920px,calc(100% - 2 * var(--floating-window-gap)))!important;
}
body dialog.asset-window401[open]:is([data-window-expanded="false"],[data-feed-window])[data-asset-window401="small"] {
  width:min(420px,calc(100% - 2 * var(--floating-window-gap)))!important;inset:auto 12px 12px auto!important;
}
body dialog.asset-window401[open]:is([data-window-expanded="false"],[data-feed-window]):not([data-asset-window401="minimized"]) > .asset-window-bar401 {
  border-radius:15px 15px 0 0;padding-inline:10px;min-height:48px;
}
body dialog.asset-window401[open]:is([data-window-expanded="false"],[data-feed-window]):not([data-asset-window401="minimized"]) > .asset-window-content412 {
  height:auto;max-height:calc(var(--floating-window-height) - 62px);border-radius:0 0 15px 15px;overflow:auto;
}
body dialog.asset-window401[open]:is([data-window-expanded="false"],[data-feed-window]) [data-window-surface][open] {
  min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;
}

body dialog.asset-window401[data-feed-window][data-window-expanded="true"][open]:not([data-asset-window401="minimized"]) {
  width:calc(100% - 2 * var(--floating-window-gap))!important;height:var(--floating-window-height)!important;
}
body dialog.asset-window401[data-feed-window][data-window-expanded="true"]>.asset-window-content412 {flex:1}

.publication-dialog378 .publication-editor-form {display:contents}
.site-popup-window [data-window-surface] :is([data-editor-close],.id-scan-close309) {display:none!important}

body dialog.site-popup-window.feed-messages-window[open][data-window-expanded="false"]:not([data-asset-window401=minimized]){
 width:min(1024px,calc(100% - 2 * var(--floating-window-gap)))!important;
 height:min(680px,var(--floating-window-height))!important;
}
body dialog.site-popup-window.feed-messages-window[open]:not([data-asset-window401=minimized]){grid-template-rows:minmax(0,1fr)!important}
body dialog.site-popup-window.feed-messages-window[open]:not([data-asset-window401=minimized]) > .asset-window-bar401{display:none!important}
body dialog.site-popup-window.feed-messages-window[open]:not([data-asset-window401=minimized]) > .asset-window-content412{width:100%;height:100%!important;max-height:none!important;min-height:0;overflow:hidden!important;border-radius:15px!important}
.feed-messages-window iframe{display:block;width:100%;height:100%;min-height:0;flex:1 1 0;border:0;background:white}
body dialog.asset-window401[open]:is(.feed-messages-window,.comment-detail-window)[data-window-expanded="true"]:not([data-asset-window401=minimized]){
 z-index:3050!important;inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;
}
body dialog.asset-window401[open]:is(.feed-messages-window,.comment-detail-window)[data-window-expanded="true"]:not([data-asset-window401=minimized]) > :is(.asset-window-bar401,.asset-window-content412){border-radius:0!important;max-height:none!important}

.comment-detail-hitarea{position:relative;isolation:isolate}
body .comment-detail-hitarea > .comment-detail-trigger{
 position:absolute!important;inset:0!important;z-index:1;display:block;width:100%!important;height:100%!important;
 margin:0;padding:0!important;border:0!important;border-radius:9px;background:transparent!important;box-shadow:none!important;cursor:pointer;
}
.comment-detail-hitarea:has(> .comment-detail-trigger:is(:hover:where(:not(main, main *, dialog, dialog *), #account-drawer, #account-drawer *),:focus-visible)){background:#e7f3fb;border-radius:9px}
.comment-detail-hitarea > .comment-detail-trigger:focus-visible{outline:2px solid #42839a;outline-offset:2px}
.comment-detail-hitarea :is(a,button:not(.comment-detail-trigger),input,textarea){position:relative;z-index:2}
.comment-detail-window .comment-detail{box-sizing:border-box;width:100%;max-width:920px;margin:0 auto;padding:clamp(16px,3.2vw,30px);color:#253440;background:white;overflow-wrap:anywhere}
.comment-detail-window .asset-window-content412{background:white}
.comment-detail-source{display:grid;gap:7px;margin:0 0 20px;padding:0;background:transparent}
.comment-detail-source strong{font-size:1.06rem}
.comment-detail-source p{margin:0;font:inherit;line-height:1.55;white-space:pre-wrap}
.comment-detail-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #dbe5e8;padding:0 0 8px}
.comment-detail-tabs button,.comment-detail-back{border:0;background:transparent;padding:8px 10px;border-radius:8px;color:#334954;font:600 .88rem/1.35 Montserrat,sans-serif;cursor:pointer}
.comment-detail-back{justify-self:start;padding-inline-start:0}
.comment-detail-tabs button span{margin-left:5px;font-variant-numeric:tabular-nums}
.comment-detail-tabs button[aria-pressed=true],.comment-detail-tabs button:hover:where(:not(main, main *, dialog, dialog *), #account-drawer, #account-drawer *),.comment-detail-entry:is(button):hover:where(:not(main, main *, dialog, dialog *), #account-drawer, #account-drawer *){background:#e5f2fa;color:#194856}
.comment-detail-activity{list-style:none;margin:0;padding:0}
.comment-detail-activity li+li{border-top:1px solid #e0e9ec}
.comment-detail-entry{display:grid;gap:5px;width:100%;box-sizing:border-box;padding:13px 9px;border:0;border-radius:8px;text-align:start;color:inherit;background:transparent;font:inherit;line-height:1.4}
button.comment-detail-entry{cursor:pointer}
.comment-detail-entry span,.comment-detail-empty{font-size:.9rem;color:#48616b}
.comment-detail-empty{margin:18px 0 4px}

.comment-detail .comment-edit-action{width:fit-content}
.comment-edit-form,.comment-edit-form label{display:grid;gap:8px}
.comment-edit-form label{font-weight:600}
.comment-edit-form textarea{box-sizing:border-box;width:100%;min-height:82px;resize:vertical;padding:10px;border:1px solid #b8cdd2;border-radius:10px;font:inherit;color:#273d46;background:white}
.comment-edit-controls{display:flex;justify-content:flex-end;gap:8px}
.comment-edit-controls button,.comment-detail .comment-edit-action{padding:8px 13px;border:1px solid #c7d9dd;border-radius:9px;background:white;color:#314b57;font:600 .875rem/1.4 Montserrat,sans-serif;cursor:pointer}
.comment-edit-controls [type=submit]{background:#35535f;color:white;border-color:#35535f}
.comment-edit-note{margin:0;color:#49616e;font-size:.8rem}

/* The expanded window meets the lower edge of the live site header. */
body dialog.asset-window401[open][data-window-layout="wide"][data-window-expanded]:not([data-asset-window401="minimized"]) {
  inset:var(--asset-header401,0px) 0 0!important;margin:0!important;
  width:100%!important;max-width:none!important;height:calc(100dvh - var(--asset-header401,0px))!important;
  max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body dialog.asset-window401[open][data-window-layout="wide"][data-window-expanded]:not([data-asset-window401="minimized"]) > :is(.asset-window-bar401,.asset-window-content412) {
  border-radius:0!important;max-height:none!important;
}
body dialog.asset-window401[open][data-window-layout="wide"]:not([data-asset-window401="minimized"])>.asset-window-content412 {flex:1;min-height:0}
body dialog.asset-window401[open][data-window-layout="fullscreen"][data-window-expanded="true"]:not([data-asset-window401="minimized"]) {
  inset:0!important;margin:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;
  border:0!important;padding:0!important;border-radius:0!important;z-index:3050!important;
}
body dialog.asset-window401[data-window-layout],
body dialog.asset-window401[data-window-layout] > :is(.asset-window-bar401,.asset-window-content412),
body .feed-messages-window iframe {animation:none!important;transition:none!important}

/* The toolbar moves the floating window; maximized windows use their own frame. */
body dialog.asset-window401[open][data-window-layout="window"]:not([data-asset-window401="minimized"]),
body.messages-page[data-message-window="window"]:not(.messages-frame) #main {
  translate:var(--window-offset-x,0px) var(--window-offset-y,0px)!important;
}
.asset-window401[data-window-layout="window"]:not([data-asset-window401="minimized"]) > .asset-window-bar401,
body.messages-page[data-message-window="window"] .message-windowbar,
body.messages-frame[data-frame-layout="window"] .message-windowbar {
  cursor:move;touch-action:none;user-select:none;
}

/* Reserve the caption and navigation first. The media takes the space left. */
body dialog.site-popup-window.asset-window401[open][data-window-layout="window"]:has(#stay-lightbox61):not([data-asset-window401="minimized"]) {
  width:min(980px,calc(100% - 2 * var(--floating-window-gap)))!important;
  height:min(680px,var(--floating-window-height))!important;
}
body dialog.site-popup-window.asset-window401[open]:has(#stay-lightbox61):not([data-asset-window401="minimized"]) > .asset-window-content412 {
  display:grid;grid-template-rows:minmax(0,1fr);height:100%!important;max-height:none!important;overflow:hidden!important;
}
body dialog.site-popup-window.asset-window401[open] #stay-lightbox61[data-window-surface][open] {
  display:grid!important;grid-template-rows:minmax(0,1fr) auto;
  height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important;background:#181c21;
}
#stay-lightbox61[data-window-surface] > .media-header64 {display:none}
#stay-lightbox61[data-window-surface] > .media-stage64 {position:relative;padding:0}
#stay-lightbox61[data-window-surface] .media-stage64 > :is(img,[data-media-video]) {
  position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;border-radius:0;
}
#stay-lightbox61[data-window-surface] .media-footer64 {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:clamp(6px,2vw,16px);padding:6px clamp(8px,2vw,16px);background:#181c21;
}
#stay-lightbox61[data-window-surface] .media-footer64 p {max-height:none;overflow:visible;overflow-wrap:anywhere}
