.ex-account-entry{display:inline-flex!important;align-items:center;justify-content:center;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 15px!important;border:1px solid #dbe4f2!important;border-radius:9px!important;background:#fff!important;color:#254979!important;font-size:13px!important;font-weight:600!important;min-height:38px;box-shadow:none!important}
.ex-account-entry:hover{background:#eef4ff!important;border-color:#9ab8ed!important}.ex-account-entry:focus:not(:focus-visible){outline:none}.ex-account-entry:focus-visible{outline:2px solid #306bea;outline-offset:3px}

.ex-cookie-notice,.ex-cookie-dialog,.ex-cookie-reopen{box-sizing:border-box;font-family:Inter,"Segoe UI",sans-serif;color:#122d52;letter-spacing:normal;text-align:left;line-height:1.5}.ex-cookie-notice *,.ex-cookie-dialog *,.ex-cookie-reopen *{box-sizing:border-box}.ex-cookie-notice[hidden],.ex-cookie-feedback[hidden]{display:none!important}
.ex-cookie-notice{position:fixed;z-index:1500;left:24px;bottom:24px;width:min(410px,calc(100vw - 48px));padding:22px;border:1px solid #d5e0ef;border-radius:18px;background:#fff;box-shadow:0 22px 64px rgba(24,55,98,.2),0 4px 12px rgba(24,55,98,.06);overflow:hidden;animation:ex-cookie-enter .28s cubic-bezier(.2,.8,.2,1) both}
.ex-cookie-notice:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:#336cf0}.ex-cookie-notice-top{display:flex;align-items:center;gap:13px}.ex-cookie-heading{min-width:0}
.ex-cookie-icon{display:inline-grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:#fff7e8;box-shadow:inset 0 0 0 1px #f2dfba}.ex-cookie-icon svg{width:29px;height:29px}.ex-cookie-icon .cookie{fill:#f2b94b}.ex-cookie-icon .chip{fill:#7c5227}.ex-cookie-icon.is-small{flex-basis:22px;width:22px;height:22px;border-radius:7px;box-shadow:none}.ex-cookie-icon.is-small svg{width:15px;height:15px}
.ex-cookie-eyebrow{display:block;margin:0 0 2px;color:#356bdc;font-size:10px;font-weight:800;letter-spacing:.14em}.ex-cookie-notice h2{margin:0;color:#102b50;font-size:20px;font-weight:760;line-height:1.2;letter-spacing:-.025em}.ex-cookie-description{margin:15px 0 19px;color:#5e7088;font-size:13px;line-height:1.65}
.ex-cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ex-cookie-actions button,.ex-cookie-save,.ex-cookie-back,.ex-cookie-close{appearance:none;font:700 12px/1.35 Inter,"Segoe UI",sans-serif;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.ex-cookie-actions button{min-height:43px;padding:10px 13px;border-radius:9px}.ex-cookie-primary{border:1px solid #3268eb;background:#3268eb;color:#fff;box-shadow:0 9px 20px rgba(50,104,235,.2)}.ex-cookie-primary:hover{border-color:#245cdd;background:#245cdd;transform:translateY(-1px)}.ex-cookie-secondary{border:1px solid #cad9ee;background:#fff;color:#284e86}.ex-cookie-secondary:hover{border-color:#91afe0;background:#f5f8ff;color:#1d55c5}
.ex-cookie-reopen{position:fixed;z-index:1400;left:16px;bottom:14px;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px 6px 7px;border:1px solid #dbe5f1;border-radius:10px;background:rgba(255,255,255,.95);color:#31527e;box-shadow:0 5px 18px rgba(23,54,96,.08);font-size:11px;font-weight:700;cursor:pointer;backdrop-filter:blur(10px)}.ex-cookie-reopen:hover{border-color:#afc5e7;background:#f7faff;color:#2457bb}.ex-cookie-reopen:has(~ .ex-cookie-notice:not([hidden])),.ex-cookie-reopen:has(~ .ex-cookie-dialog[open]){visibility:hidden}

.ex-cookie-dialog{position:fixed;inset:50% auto auto 50%;z-index:1600;width:min(640px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 32px));margin:0;padding:0;overflow:auto;transform:translate(-50%,-50%);border:1px solid #d4dfed;border-radius:20px;background:#fff;color:#173456;box-shadow:0 32px 90px rgba(16,37,70,.3);animation:ex-cookie-dialog-enter .24s cubic-bezier(.2,.8,.2,1) both}.ex-cookie-dialog::backdrop{background:rgba(17,32,55,.43);backdrop-filter:blur(3px);animation:ex-cookie-backdrop .18s ease both}
.ex-cookie-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 26px 16px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}.ex-cookie-dialog-title{display:flex;align-items:center;gap:13px}.ex-cookie-dialog h2{margin:0;color:#102c51;font-size:23px;font-weight:760;line-height:1.2;letter-spacing:-.025em}.ex-cookie-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #d8e3f0;border-radius:9px;background:#f7f9fc;color:#4f6480;font-size:22px;font-weight:400;line-height:1}.ex-cookie-close:hover{border-color:#afc3e2;background:#eef4ff;color:#245bca}.ex-cookie-dialog-description{margin:0;padding:0 26px 20px;color:#64758b;font-size:13px;line-height:1.65;border-bottom:1px solid #e5ecf5}
.ex-cookie-categories{margin:20px 26px;border:1px solid #d8e3f0;border-radius:13px;overflow:hidden;background:#fff}.ex-cookie-category{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;padding:17px 18px;border-bottom:1px solid #e3eaf3}.ex-cookie-category:last-child{border-bottom:0}.ex-cookie-category-copy{min-width:0}.ex-cookie-category-title{display:flex;align-items:baseline;gap:9px;margin-bottom:6px}.ex-cookie-category h3{margin:0;color:#1b385b;font-size:13px;font-weight:760}.ex-cookie-category small{color:#718096;font-size:10px;font-weight:700}.ex-cookie-category p{margin:0;color:#66778c;font-size:12px;line-height:1.6}
.ex-cookie-switch{position:relative;display:inline-block;flex:0 0 42px;width:42px;height:24px}.ex-cookie-switch:has(input:not(:disabled)){cursor:pointer}.ex-cookie-switch input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.ex-cookie-switch-track{position:absolute;inset:0;pointer-events:none;border:1px solid #cbd6e4;border-radius:999px;background:#dfe5ed;box-shadow:inset 0 1px 2px rgba(20,43,73,.08);transition:background-color .16s ease,border-color .16s ease}.ex-cookie-switch-track:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(20,43,73,.22);transition:transform .16s ease}.ex-cookie-switch input:checked+.ex-cookie-switch-track{border-color:#3b6fe7;background:#3b6fe7}.ex-cookie-switch input:checked+.ex-cookie-switch-track:after{transform:translateX(18px)}.ex-cookie-switch input:focus-visible+.ex-cookie-switch-track{outline:3px solid rgba(48,107,234,.35);outline-offset:3px}.ex-cookie-switch input:disabled+.ex-cookie-switch-track{opacity:.72}
.ex-cookie-feedback{margin:0 26px 14px;padding:9px 11px;border-radius:9px;background:#eef8f3;color:#327658;font-size:11px;font-weight:650}.ex-cookie-feedback.is-error{background:#fff3f2;color:#a0423b}.ex-cookie-dialog-actions{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:16px 26px 22px;border-top:1px solid #e5ecf5;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}.ex-cookie-back{min-height:40px;padding:9px 14px;border:1px solid #d5e0ee;border-radius:9px;background:#fff;color:#405c7e}.ex-cookie-back:hover{border-color:#9fb7dc;background:#f6f9fe;color:#2459bf}.ex-cookie-learn{justify-self:center;color:#47678e;font-size:11px;font-weight:650;text-decoration:none}.ex-cookie-learn:hover{text-decoration:underline;color:#245ccd}.ex-cookie-save{min-height:40px;padding:9px 18px;border:1px solid #3268eb;border-radius:9px;background:#3268eb;color:#fff;box-shadow:0 8px 18px rgba(47,102,233,.19)}.ex-cookie-save:hover{border-color:#245cdd;background:#245cdd;transform:translateY(-1px)}
.ex-cookie-notice button:focus-visible,.ex-cookie-dialog button:focus-visible,.ex-cookie-dialog a:focus-visible,.ex-cookie-reopen:focus-visible{outline:3px solid rgba(48,107,234,.38);outline-offset:3px}
@keyframes ex-cookie-enter{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}@keyframes ex-cookie-dialog-enter{from{opacity:0;transform:translate(-50%,-47%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes ex-cookie-backdrop{from{opacity:0}to{opacity:1}}

@media(max-width:760px){.ex-cookie-dialog{width:min(600px,calc(100vw - 24px))}.ex-cookie-category{gap:16px}.ex-cookie-dialog-actions{grid-template-columns:1fr 1fr}.ex-cookie-learn{grid-column:1/-1;grid-row:2}}
@media(max-width:520px){.ex-cookie-notice{left:12px;bottom:12px;width:calc(100vw - 24px);padding:18px;border-radius:16px}.ex-cookie-notice h2{font-size:18px}.ex-cookie-description{margin:13px 0 16px;font-size:12px}.ex-cookie-actions{grid-template-columns:1fr}.ex-cookie-primary{grid-row:1}.ex-cookie-dialog{inset:8px 8px auto;width:calc(100vw - 16px);max-height:calc(100vh - 32px);transform:none;border-radius:17px;animation-name:ex-cookie-sheet-enter}.ex-cookie-dialog-head{padding:18px 17px 13px}.ex-cookie-dialog-title{gap:10px}.ex-cookie-dialog-title .ex-cookie-icon{flex-basis:42px;width:42px;height:42px}.ex-cookie-dialog h2{font-size:19px}.ex-cookie-dialog-description{padding:0 17px 15px;font-size:12px}.ex-cookie-categories{margin:14px 17px}.ex-cookie-category{gap:12px;padding:14px}.ex-cookie-category-title{display:block}.ex-cookie-category small{display:block;margin-top:2px}.ex-cookie-category p{font-size:11px}.ex-cookie-dialog-actions{grid-template-columns:1fr 1fr;padding:13px 17px 17px}.ex-cookie-learn{grid-column:1/-1;grid-row:2;text-align:center;padding:2px}.ex-cookie-save,.ex-cookie-back{width:100%}.ex-account-entry{max-width:125px}@keyframes ex-cookie-sheet-enter{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.ex-cookie-notice,.ex-cookie-dialog,.ex-cookie-dialog::backdrop{animation:none}.ex-cookie-actions button,.ex-cookie-save,.ex-cookie-back,.ex-cookie-close{transition:none}}

/* Shared marketing/account header hierarchy. The workbook application toolbar is excluded. */
body:not(.template-tool) .topbar{border-bottom-color:#cfdaea!important}body:not(.template-tool) .nav-links{gap:8px}body:not(.template-tool) .nav-links a{position:relative;color:#52627a!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;font-weight:700!important}body:not(.template-tool) .nav-links a:hover{color:#2862dc!important;background:#f2f6ff!important;border-color:#e1e9f7!important;box-shadow:none!important}body:not(.template-tool) .nav-links a[aria-current="page"]{color:#2459cc!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}body:not(.template-tool) .nav-links a[aria-current="page"]:after{content:"";position:absolute;left:10px;right:10px;bottom:2px;height:2px;border-radius:999px;background:#3b73e8}body:not(.template-tool) .topbar>.lang-toggle{margin-left:10px;border-color:#dfe7f2!important;box-shadow:none!important}body:not(.template-tool) .lang-btn{min-width:37px!important;min-height:32px!important;padding:6px 9px!important;color:#5c6b80!important}body:not(.template-tool) .lang-btn.is-active{background:#5b83e8!important;color:#fff!important;box-shadow:none!important}
@media(min-width:921px){body:not(.template-tool) .brand,body:not(.template-tool) .site-brand{gap:13px}body:not(.template-tool) .logo,body:not(.template-tool) .site-logo{width:59px;height:59px;flex-basis:59px}body:not(.template-tool) .brand strong,body:not(.template-tool) .site-brand-copy strong{font-size:17.5px;line-height:1.25}body:not(.template-tool) .brand span,body:not(.template-tool) .site-brand-copy small{font-size:12.5px;line-height:1.4;color:#5d6d83}}

/* Cookie consent v16: edge-to-edge bar and bottom preference drawer. */
.ex-cookie-notice{left:50%;bottom:18px;display:grid;grid-template-columns:minmax(220px,auto) minmax(280px,1fr) auto;align-items:center;gap:22px;width:min(1180px,calc(100vw - 36px));padding:15px 17px 15px 19px;transform:translateX(-50%);border-radius:14px;animation:ex-cookie-bar-enter .28s cubic-bezier(.2,.8,.2,1) both}
.ex-cookie-notice:before{inset:0 auto 0 0;width:4px;height:auto}.ex-cookie-notice-top{gap:11px}.ex-cookie-notice .ex-cookie-icon{flex-basis:42px;width:42px;height:42px;border-radius:12px}.ex-cookie-notice .ex-cookie-icon svg{width:25px;height:25px}.ex-cookie-notice h2{font-size:17px}.ex-cookie-description{margin:0;font-size:12px;line-height:1.55}.ex-cookie-actions{display:flex;grid-template-columns:none;gap:9px}.ex-cookie-actions button{min-width:145px;min-height:40px;padding:9px 14px}
.ex-cookie-dialog{inset:auto auto 0 50%;width:min(1180px,100vw);max-width:none;max-height:min(760px,82vh);transform:translateX(-50%);border-bottom:0;border-radius:24px 24px 0 0;animation:ex-cookie-drawer-enter .3s cubic-bezier(.2,.8,.2,1) both}
.ex-cookie-dialog::backdrop{background:rgba(17,32,55,.38);backdrop-filter:blur(2px)}.ex-cookie-dialog-head{padding:22px 28px 13px}.ex-cookie-dialog-description{padding:0 28px 17px}.ex-cookie-categories{display:grid;grid-template-columns:1fr 1fr;margin:18px 28px;border-radius:12px}.ex-cookie-category{min-height:105px}.ex-cookie-category:nth-child(odd){border-right:1px solid #e3eaf3}.ex-cookie-category:nth-last-child(-n+2){border-bottom:0}.ex-cookie-dialog-actions{padding:14px 28px 18px}
@keyframes ex-cookie-bar-enter{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes ex-cookie-drawer-enter{from{opacity:0;transform:translate(-50%,36px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:820px){.ex-cookie-notice{grid-template-columns:auto 1fr}.ex-cookie-description{grid-column:1/-1}.ex-cookie-actions{grid-column:1/-1;justify-content:flex-end}.ex-cookie-dialog{width:100vw}.ex-cookie-categories{grid-template-columns:1fr}.ex-cookie-category{min-height:0}.ex-cookie-category:nth-child(odd){border-right:0}.ex-cookie-category:nth-last-child(2){border-bottom:1px solid #e3eaf3}}
@media(max-width:520px){.ex-cookie-notice{left:8px;bottom:8px;display:grid;grid-template-columns:auto 1fr;gap:11px;width:calc(100vw - 16px);padding:16px;transform:none;border-radius:16px;animation-name:ex-cookie-mobile-bar-enter}.ex-cookie-description{grid-column:1/-1;margin:0}.ex-cookie-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}.ex-cookie-actions button{min-width:0}.ex-cookie-dialog{inset:auto 0 0;width:100vw;max-height:calc(100vh - 8px);transform:none;border-radius:20px 20px 0 0;animation-name:ex-cookie-mobile-drawer-enter}.ex-cookie-dialog-head{padding:17px 16px 12px}.ex-cookie-dialog-description{padding:0 16px 14px}.ex-cookie-categories{margin:12px 16px}.ex-cookie-category{padding:13px}.ex-cookie-dialog-actions{padding:12px 16px 16px}@keyframes ex-cookie-mobile-bar-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes ex-cookie-mobile-drawer-enter{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}}

/* Cookie consent v18: full-surface identity instead of a detached accent line. */
.ex-cookie-notice{border:2px solid transparent;background:linear-gradient(105deg,#f7fbff 0%,#fff 54%,#fffaf0 100%) padding-box,linear-gradient(100deg,#2f6df3 0%,#8567ee 55%,#efb64d 100%) border-box;box-shadow:0 20px 55px rgba(26,57,104,.19),0 8px 22px rgba(72,105,178,.1)}
.ex-cookie-notice:before{display:none}.ex-cookie-notice .ex-cookie-icon{background:#fff4da;box-shadow:inset 0 0 0 1px #efd59b,0 6px 16px rgba(194,137,38,.13)}.ex-cookie-notice h2{letter-spacing:-.02em}.ex-cookie-primary{border-color:#2f66e8;background:linear-gradient(135deg,#2f6df3,#4a63eb);box-shadow:0 9px 22px rgba(48,103,234,.26)}.ex-cookie-secondary{border-color:#b9cae5;background:rgba(255,255,255,.8)}

/* Cookie consent v19: integrated full-width footer surface. */
.ex-cookie-notice{left:0;bottom:0;width:100vw;min-height:88px;padding:18px max(28px,calc((100vw - 1280px)/2));transform:none;border:0;border-radius:0;background:rgba(255,255,255,.98);box-shadow:0 -16px 42px rgba(24,53,94,.14);backdrop-filter:blur(18px);animation-name:ex-cookie-footer-enter}.ex-cookie-notice .ex-cookie-icon{flex-basis:48px;width:48px;height:48px;border-radius:14px}.ex-cookie-description{max-width:620px;font-size:13px}.ex-cookie-actions{gap:10px}.ex-cookie-actions button{min-width:160px;min-height:46px;font-size:13px}
@keyframes ex-cookie-footer-enter{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media(max-width:820px){.ex-cookie-notice{padding:18px 22px}.ex-cookie-actions{justify-content:stretch}.ex-cookie-actions button{flex:1}}
@media(max-width:520px){.ex-cookie-notice{left:0;bottom:0;width:100vw;min-height:0;padding:18px;border:0;border-radius:0;box-shadow:0 -12px 34px rgba(24,53,94,.16);animation-name:ex-cookie-footer-enter}.ex-cookie-actions{display:grid}.ex-cookie-actions button{min-height:45px}}

/* Cookie consent v20: standard action language and visible policy path. */
.ex-cookie-notice-body{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:3px}.ex-cookie-notice-link{color:#285fc8;font-size:11px;font-weight:700;text-decoration:none}.ex-cookie-notice-link:hover{text-decoration:underline}.ex-cookie-notice-link:focus-visible{outline:3px solid rgba(48,107,234,.38);outline-offset:3px;border-radius:3px}
@media(max-width:820px){.ex-cookie-notice-body{grid-column:1/-1}}

/* Stable interaction: hover must not move the hit target or restart its visual state. */
.ex-cookie-actions button,.ex-cookie-save{transform:none!important;transition:border-color .16s ease,color .16s ease,background-color .16s ease,box-shadow .16s ease}
.ex-cookie-actions .ex-cookie-primary:hover{transform:none;background:linear-gradient(135deg,#285fdc,#4059d7);box-shadow:0 10px 24px rgba(48,103,234,.3)}
.ex-cookie-save:hover{transform:none}

/* Bare cookie mark: larger artwork without a decorative yellow container. */
.ex-cookie-notice .ex-cookie-icon{flex-basis:56px;width:56px;height:56px;border-radius:0;background:transparent;box-shadow:none}
.ex-cookie-notice .ex-cookie-icon svg{width:38px;height:38px}

/* Shared page-navigation skeleton. Its shell stays stable while the body follows the destination type. */
.ex-page-transition{position:fixed;inset:0;z-index:2100;overflow:hidden;visibility:hidden;opacity:1;pointer-events:none;color:#102b50;font-family:Inter,"Segoe UI",sans-serif;background:#f7faff}
.ex-page-transition.is-visible{visibility:visible;pointer-events:auto}
.ex-page-transition-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ex-page-skeleton{--ex-skeleton:#e5edf8;--ex-skeleton-soft:#edf3fb;position:absolute;inset:0;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#f8fbff 55%,#f2f7ff 100%)}
.ex-page-skeleton span{display:block;border-radius:8px;background:var(--ex-skeleton)}
.ex-page-skeleton-header{box-sizing:border-box;display:grid;grid-template-columns:52px 170px 1fr 78px;align-items:center;gap:14px;width:min(1600px,calc(100% - 96px));height:96px;margin:0 auto;border-bottom:1px solid #dfe8f4}
.ex-page-skeleton-logo{width:48px;height:48px;border-radius:12px!important}.ex-page-skeleton-brand{width:142px;height:24px}.ex-page-skeleton-nav{justify-self:end;width:260px;height:16px}.ex-page-skeleton-language{width:74px;height:38px;border-radius:999px!important}
.ex-page-skeleton-main{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);align-items:center;gap:clamp(48px,7vw,120px);width:min(1600px,calc(100% - 96px));min-height:470px;margin:0 auto;padding:70px 0 58px}
.ex-page-skeleton-copy{display:grid;gap:15px;align-content:center}.ex-page-skeleton-eyebrow{width:150px;height:13px;margin-bottom:8px}.ex-page-skeleton-title{height:52px;border-radius:11px!important}.ex-page-skeleton-title.is-first{width:min(520px,92%)}.ex-page-skeleton-title.is-second{width:min(420px,76%)}.ex-page-skeleton-line{height:16px;background:var(--ex-skeleton-soft)!important}.ex-page-skeleton-line.is-wide{width:min(540px,94%);margin-top:15px}.ex-page-skeleton-line.is-short{width:min(390px,68%)}.ex-page-skeleton-action{width:172px;height:48px;margin-top:14px}
.ex-page-skeleton-preview{box-sizing:border-box;display:grid;grid-template-rows:52px repeat(3,1fr);gap:1px;min-height:310px;overflow:hidden;border:1px solid #dce6f3;border-radius:20px;background:#dce6f3;box-shadow:0 26px 60px rgba(38,73,122,.09)}.ex-page-skeleton-preview span{border-radius:0;background:#f8fbff}.ex-page-skeleton-preview-bar{background:#eef4fc!important}.ex-page-skeleton-preview-row.is-two{background:#f3f7fd!important}
.ex-page-skeleton-content{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;width:min(1600px,calc(100% - 96px));margin:0 auto;padding:36px 0 54px;border-top:1px solid #e2eaf5}.ex-page-skeleton-block{height:132px;border:1px solid #e0e9f5;background:rgba(255,255,255,.76)!important}.ex-page-skeleton-footer{width:min(1600px,calc(100% - 96px));height:1px;margin:0 auto;border-radius:0!important;background:#e1e9f4!important}
.ex-page-skeleton:after{content:"";position:absolute;inset:0 auto 0 -42%;width:34%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.76),transparent);transform:skewX(-12deg);animation:ex-page-shimmer 1.45s ease-in-out infinite}

.ex-page-transition[data-layout="tool"] .ex-page-skeleton-main{grid-template-columns:minmax(300px,.55fr) minmax(540px,1.45fr)}.ex-page-transition[data-layout="tool"] .ex-page-skeleton-preview{min-height:340px}.ex-page-transition[data-layout="tool"] .ex-page-skeleton-content{grid-template-columns:repeat(3,1fr)}
.ex-page-transition[data-layout="guide"] .ex-page-skeleton-main{grid-template-columns:minmax(0,1fr) minmax(430px,1fr)}.ex-page-transition[data-layout="guide"] .ex-page-skeleton-content{grid-template-columns:repeat(2,1fr)}
.ex-page-transition[data-layout="article"] .ex-page-skeleton-main{grid-template-columns:minmax(250px,.38fr) minmax(560px,1fr);align-items:start}.ex-page-transition[data-layout="article"] .ex-page-skeleton-copy{padding-top:18px}.ex-page-transition[data-layout="article"] .ex-page-skeleton-preview{min-height:390px}.ex-page-transition[data-layout="article"] .ex-page-skeleton-content{grid-template-columns:1fr}
.ex-page-transition[data-layout="account"] .ex-page-skeleton-main{grid-template-columns:minmax(360px,.8fr) minmax(460px,1.2fr)}.ex-page-transition[data-layout="account"] .ex-page-skeleton-content{grid-template-columns:repeat(2,1fr)}
.ex-page-transition[data-layout="workspace"] .ex-page-skeleton-main{grid-template-columns:220px minmax(600px,1fr);min-height:560px;padding-top:42px}.ex-page-transition[data-layout="workspace"] .ex-page-skeleton-copy{align-self:stretch;border-right:1px solid #dfe8f4}.ex-page-transition[data-layout="workspace"] .ex-page-skeleton-preview{min-height:470px}.ex-page-transition[data-layout="workspace"] .ex-page-skeleton-content{display:none}

@keyframes ex-page-shimmer{from{transform:translateX(0) skewX(-12deg)}to{transform:translateX(420%) skewX(-12deg)}}
@media(max-width:820px){.ex-page-skeleton-header{grid-template-columns:44px 1fr 66px;width:calc(100% - 36px);height:78px;gap:10px}.ex-page-skeleton-logo{width:42px;height:42px}.ex-page-skeleton-brand{width:120px;height:20px}.ex-page-skeleton-nav{display:none!important}.ex-page-skeleton-language{width:62px;height:34px}.ex-page-skeleton-main,.ex-page-transition[data-layout] .ex-page-skeleton-main{grid-template-columns:1fr;width:calc(100% - 36px);min-height:0;gap:34px;padding:48px 0 40px}.ex-page-skeleton-title{height:40px}.ex-page-skeleton-title.is-first{width:88%}.ex-page-skeleton-preview,.ex-page-transition[data-layout] .ex-page-skeleton-preview{min-height:230px}.ex-page-transition[data-layout="article"] .ex-page-skeleton-copy,.ex-page-transition[data-layout="workspace"] .ex-page-skeleton-copy{padding-top:0;border-right:0}.ex-page-skeleton-content,.ex-page-transition[data-layout] .ex-page-skeleton-content{grid-template-columns:1fr;width:calc(100% - 36px);gap:12px;padding:28px 0 40px}.ex-page-skeleton-block{height:92px}.ex-page-skeleton-block.is-three{display:none}.ex-page-skeleton-footer{width:calc(100% - 36px)}}
@media(max-width:520px){.ex-page-skeleton-header{width:calc(100% - 24px)}.ex-page-skeleton-brand{width:92px}.ex-page-skeleton-main,.ex-page-transition[data-layout] .ex-page-skeleton-main,.ex-page-skeleton-content,.ex-page-transition[data-layout] .ex-page-skeleton-content,.ex-page-skeleton-footer{width:calc(100% - 28px)}.ex-page-skeleton-main,.ex-page-transition[data-layout] .ex-page-skeleton-main{padding-top:36px}.ex-page-skeleton-title{height:34px}.ex-page-skeleton-action{width:148px;height:44px}.ex-page-skeleton-preview,.ex-page-transition[data-layout] .ex-page-skeleton-preview{min-height:200px}}
@media(prefers-reduced-motion:reduce){.ex-page-transition{transition:none}.ex-page-skeleton:after{display:none;animation:none}}

/* One product-led navigation shared by every marketing and tool page. */
.ex-global-nav{display:flex!important;align-items:center;justify-content:center;gap:5px!important;margin-left:auto}
.ex-nav-products{position:relative}
.ex-nav-products-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:#52627a;font:700 13px/1 Inter,"Segoe UI",sans-serif;cursor:pointer;transition:color .16s ease,background-color .16s ease,border-color .16s ease}
.ex-nav-products-toggle:hover,.ex-nav-products-toggle[aria-expanded="true"]{color:#2862dc;background:#f2f6ff;border-color:#e1e9f7}.ex-nav-products-toggle.is-active{color:#2459cc}.ex-nav-products-toggle.is-active:after{content:"";position:absolute;right:12px;bottom:3px;left:12px;height:2px;border-radius:99px;background:#3b73e8}.ex-nav-chevron{font-size:16px;line-height:1;transform:translateY(-1px);transition:transform .16s ease}.ex-nav-products.is-open .ex-nav-chevron{transform:rotate(180deg) translateY(1px)}
.ex-nav-menu{position:absolute;z-index:1200;top:calc(100% + 11px);left:0;display:grid;width:390px;padding:9px;border:1px solid #d7e2f0;border-radius:15px;background:rgba(255,255,255,.985);box-shadow:0 22px 55px rgba(26,57,104,.17),0 5px 16px rgba(26,57,104,.06);backdrop-filter:blur(16px)}.ex-nav-menu[hidden]{display:none!important}
body:not(.template-tool) .ex-nav-menu .ex-nav-product-link,.formula-nav .ex-nav-menu .ex-nav-product-link{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;min-height:62px;padding:9px 10px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#17375f!important;text-decoration:none!important;box-shadow:none!important}
body:not(.template-tool) .ex-nav-menu .ex-nav-product-link:hover,.formula-nav .ex-nav-menu .ex-nav-product-link:hover{background:#f2f6fd!important;color:#1d56c2!important}.ex-nav-product-code{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#eaf2ff;color:#3169dc;font-size:10px;font-weight:850;letter-spacing:.04em}.ex-nav-product-copy{display:grid;gap:3px;min-width:0}.ex-nav-product-copy strong{font-size:13px;line-height:1.25}.ex-nav-product-copy small{overflow:hidden;color:#718198;font-size:11px;font-weight:550;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.ex-nav-product-link[aria-current="page"] .ex-nav-product-code{background:#326be8;color:#fff}.ex-nav-product-link[aria-current="page"] .ex-nav-product-copy strong{color:#2457bd}body:not(.template-tool) .ex-nav-menu a[aria-current="page"]:after,.formula-nav .ex-nav-menu a[aria-current="page"]:after{display:none!important}
.ex-nav-products-toggle:focus-visible,.ex-nav-menu a:focus-visible{outline:3px solid rgba(48,107,234,.36);outline-offset:3px}
@media(max-width:760px){.ex-global-nav{display:none!important}}
@media(prefers-reduced-motion:reduce){.ex-nav-products-toggle,.ex-nav-chevron{transition:none}}

/* Desktop reading scale: every site page, including the workspace gateway, matches 110%. Only the workbook editor is excluded by its .template-tool body. */
@media (min-width: 761px) {
  html:has(> body:not(.template-tool)) { zoom: 1.1; }
}

/* Compact header refinement: quiet top level, content-sized tool menu. */
.ex-global-nav{gap:8px!important}
.ex-nav-products-toggle{gap:8px;min-height:36px;padding:7px 8px;border:0!important;border-radius:7px;background:transparent!important;color:#506078;font-size:13px;box-shadow:none!important}
.ex-nav-products-toggle:hover,.ex-nav-products-toggle[aria-expanded="true"]{border:0!important;background:transparent!important;color:#245fd3!important}.ex-nav-products-toggle.is-active:after{right:auto;bottom:1px;left:50%;width:4px;height:4px;transform:translateX(-50%);border-radius:50%;background:#3b73e8}
.ex-nav-chevron{width:7px;height:7px;margin-top:-3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;font-size:0;transform:rotate(45deg)}.ex-nav-products.is-open .ex-nav-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.ex-nav-menu{top:calc(100% + 9px);left:-8px;width:276px;padding:6px;border-color:#dbe4f0;border-radius:12px;box-shadow:0 16px 38px rgba(25,55,96,.14),0 3px 10px rgba(25,55,96,.05)}
body:not(.template-tool) .ex-nav-menu .ex-nav-product-link,.formula-nav .ex-nav-menu .ex-nav-product-link{grid-template-columns:34px minmax(0,1fr);gap:9px;min-height:46px;padding:6px 8px!important;border-radius:8px!important;color:#29415f!important}
body:not(.template-tool) .ex-nav-menu .ex-nav-product-link:hover,.formula-nav .ex-nav-menu .ex-nav-product-link:hover{background:#f4f7fc!important;color:#2459bf!important}.ex-nav-product-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#eef4fd;color:#356bd6}.ex-nav-product-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ex-nav-product-link>strong{font-size:12.5px;font-weight:720;line-height:1.2}.ex-nav-product-link[aria-current="page"]{background:#f1f6ff!important}.ex-nav-product-link[aria-current="page"] .ex-nav-product-icon{background:#326be8;color:#fff}.ex-nav-product-link[aria-current="page"]>strong{color:#2457bd}
.ex-account-entry{min-height:36px!important;padding:7px 9px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#506078!important;box-shadow:none!important}.ex-account-entry:hover{border:0!important;background:transparent!important;color:#245fd3!important}
body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link,.formula-header .ex-global-nav>.ex-nav-workspace-link{display:inline-flex!important;align-items:center;gap:8px;min-height:36px;margin-right:4px;padding:7px 8px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#245fd3!important;box-shadow:none!important;font-size:13px;font-weight:700;transition:color .16s ease,background-color .16s ease!important}
body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link:before,.formula-header .ex-global-nav>.ex-nav-workspace-link:before{display:block;width:20px;height:20px;flex:0 0 20px;border:1.5px solid currentColor;border-radius:5px;background:linear-gradient(currentColor 0 0) 3px 4px/14px 2px no-repeat,linear-gradient(currentColor 0 0) 3px 9px/6px 7px no-repeat,linear-gradient(currentColor 0 0) 11px 9px/6px 7px no-repeat;content:"";opacity:.9;box-shadow:none}
body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link:after,.formula-header .ex-global-nav>.ex-nav-workspace-link:after{display:none!important;content:none!important}
body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link:hover,.formula-header .ex-global-nav>.ex-nav-workspace-link:hover{border:0!important;background:#f3f7ff!important;color:#174eae!important;box-shadow:none!important;transform:none}
body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link:focus-visible,.formula-header .ex-global-nav>.ex-nav-workspace-link:focus-visible{outline:3px solid rgba(47,104,237,.28)!important;outline-offset:2px}
body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link[aria-current="page"],.formula-header .ex-global-nav>.ex-nav-workspace-link[aria-current="page"]{border:0!important;background:transparent!important;color:#174eae!important;box-shadow:none!important;font-weight:800}
@media(prefers-reduced-motion:reduce){body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link,.formula-header .ex-global-nav>.ex-nav-workspace-link{transition:none!important}body:not(.template-tool) .ex-global-nav>.ex-nav-workspace-link:hover,.formula-header .ex-global-nav>.ex-nav-workspace-link:hover{transform:none}}

/* Mobile navigation: a compact trigger leading to the single tools hub. */
.ex-mobile-tool-nav{display:none!important}
@media(max-width:760px){
  body:not(.template-tool) .topbar{position:relative;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important;padding:8px 0 14px!important}
  body:not(.template-tool) .topbar .brand{min-width:0;flex:1 1 auto}
  body:not(.template-tool) .topbar .brand span{display:none!important}
  body:not(.template-tool) .topbar .logo{width:42px!important;height:42px!important;flex-basis:42px!important}
  body:not(.template-tool) .topbar .brand strong{font-size:16px!important}
  body:not(.template-tool) .topbar>.ex-account-entry{order:2;margin:0!important;padding:6px 2px!important;font-size:11px!important;white-space:nowrap}
  body:not(.template-tool) .topbar>.lang-toggle{order:4;flex:0 0 auto;margin:0!important;padding:2px!important}
  body:not(.template-tool) .topbar>.lang-toggle .lang-btn{min-width:30px!important;height:32px!important;padding:0 6px!important;font-size:10px!important}
  .ex-mobile-tool-nav{position:relative;order:3;display:block!important;flex:0 0 auto}
  .ex-mobile-menu-toggle{display:grid;width:40px;height:40px;padding:10px;border:1px solid #d9e4f1;border-radius:10px;background:#fff;place-content:center;gap:4px;cursor:pointer;box-shadow:0 5px 14px rgba(35,69,116,.06)}
  .ex-mobile-menu-toggle span{display:block;width:18px;height:2px;border-radius:99px;background:#24476f;transition:transform .18s ease,opacity .18s ease}
  .ex-mobile-tool-nav.is-open .ex-mobile-menu-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .ex-mobile-tool-nav.is-open .ex-mobile-menu-toggle span:nth-child(2){opacity:0}
  .ex-mobile-tool-nav.is-open .ex-mobile-menu-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .ex-mobile-menu-panel{position:absolute;z-index:1400;top:calc(100% + 10px);right:-74px;display:grid;width:min(210px,calc(100vw - 28px));gap:5px;padding:7px;border:1px solid #d9e3f0;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 20px 48px rgba(24,53,94,.18);backdrop-filter:blur(16px)}
  .ex-mobile-menu-panel[hidden]{display:none!important}
  .ex-mobile-menu-panel a{display:grid!important;grid-template-columns:38px 1fr;align-items:center;gap:10px;min-height:54px;padding:7px 9px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#29415f!important;font:740 13px/1.2 Inter,"Segoe UI",sans-serif!important;box-shadow:none!important}
  .ex-mobile-menu-panel a[aria-current="page"]{background:#edf4ff!important;color:#2058c2!important}
  .ex-mobile-menu-panel a:hover{background:#f3f7fd!important;color:#2058c2!important}
  .ex-mobile-menu-panel .ex-nav-product-icon{width:38px;height:38px;border-radius:9px}
  .ex-mobile-menu-toggle:focus-visible,.ex-mobile-menu-panel a:focus-visible{outline:3px solid rgba(48,107,234,.34)!important;outline-offset:2px!important}
}
@media(max-width:355px){body:not(.template-tool) .topbar>.ex-account-entry{display:none!important}}
@media(prefers-reduced-motion:reduce){.ex-mobile-menu-toggle span{transition:none}}

/* Legal routes stay discoverable on every shell that owns a footer. */
.ex-legal-links{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;color:#7a899d;font-size:11px;line-height:1.5}
.ex-legal-links a{color:#536b88;text-decoration:none;text-underline-offset:3px}
.ex-legal-links a:hover{text-decoration:underline;color:#245dcc}
.ex-legal-links a:focus-visible{outline:3px solid rgba(47,104,237,.3);outline-offset:3px;border-radius:3px}
.guest-footer .ex-legal-links{justify-content:center;width:100%;margin-top:8px}

/* Guests keep the explicit login action; the circular identity appears only for authenticated users. */
.ex-account-entry{display:inline-flex!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;padding:7px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#506078!important;overflow:visible!important;box-shadow:none!important}.ex-account-entry:hover{border:0!important;background:transparent!important;color:#245fd3!important}.ex-account-entry[data-session="user"]{display:grid!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #5d8eed!important;border-radius:50%!important;background:linear-gradient(145deg,#2f68ed,#6f9ef5)!important;color:#fff!important;place-items:center;box-shadow:0 8px 20px rgba(47,104,237,.22)!important}.ex-profile-login-label{font-size:12px;font-weight:650;white-space:nowrap}.ex-profile-avatar{display:grid;width:100%;height:100%;font-size:14px;font-weight:850;place-items:center}.ex-profile-avatar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.ex-profile-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ex-account-entry[data-session="user"] .ex-profile-avatar{width:34px;height:34px;overflow:hidden;border:2px solid rgba(255,255,255,.9);border-radius:50%;background:#edf4ff}.ex-account-entry[data-session="user"] .ex-profile-avatar img{border-radius:50%}
.ex-login-welcome{position:fixed;z-index:10040;right:max(20px,calc((100vw - 1180px)/2));bottom:24px;display:grid;grid-template-columns:42px minmax(0,1fr) 30px;align-items:center;gap:12px;width:min(390px,calc(100vw - 32px));padding:14px;border:1px solid #cfddf4;border-radius:16px;background:rgba(255,255,255,.97);color:#152b4b;box-shadow:0 22px 60px rgba(18,45,79,.22);animation:ex-welcome-in .22s ease-out both;backdrop-filter:blur(14px)}.ex-login-welcome>.ex-profile-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(145deg,#2f68ed,#6f9ef5);color:#fff;overflow:hidden}.ex-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}.ex-login-welcome-copy{min-width:0}.ex-login-welcome-copy strong,.ex-login-welcome-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ex-login-welcome-copy strong{font-size:14px}.ex-login-welcome-copy span{margin-top:3px;color:#64748b;font-size:11px}.ex-login-welcome-close{display:grid;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:#64748b;font-size:20px;place-items:center}.ex-login-welcome-close:hover{background:#edf3ff;color:#17366c}.ex-login-welcome.is-leaving{animation:ex-welcome-out .18s ease-in both}@keyframes ex-welcome-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes ex-welcome-out{to{opacity:0;transform:translateY(8px)}}html[data-theme="dark"] .ex-login-welcome{border-color:#334b69;background:rgba(16,30,49,.97);color:#edf4ff}html[data-theme="dark"] .ex-login-welcome-copy span{color:#9fb1c6}@media(max-width:680px){.ex-login-welcome{right:12px;bottom:18px}}@media(prefers-reduced-motion:reduce){.ex-login-welcome,.ex-login-welcome.is-leaving{animation:none}}
@media(max-width:760px){body:not(.template-tool) .topbar>.ex-account-entry{display:inline-flex!important;order:2;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:6px 2px!important}body:not(.template-tool) .topbar>.ex-account-entry[data-session="user"]{display:grid!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important}}
@media(max-width:355px){body:not(.template-tool) .topbar>.ex-account-entry{display:inline-flex!important}body:not(.template-tool) .topbar>.ex-account-entry[data-session="user"]{display:grid!important}}

/* Fixed consent surfaces also stay inside the physical viewport after the desktop scale is applied. */
@media (min-width: 761px) {
  html:has(> body:not(.template-tool)) .ex-cookie-notice,
  html:has(> body:not(.template-tool)) .ex-cookie-dialog,
  html:has(> body:not(.template-tool)) .ex-cookie-reopen { zoom: 1; }
  html:has(> body:not(.template-tool)) .ex-cookie-notice {
    left: 0;
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) auto;
    gap: 22px;
    width: 90.91vw;
    max-width: none;
    min-height: 0;
    height: auto;
    padding: 15px max(19px, calc((90.91vw - 1200px) / 2));
    align-items: center;
    transform: none;
    animation: none;
  }
  html:has(> body:not(.template-tool)) .ex-cookie-notice .ex-cookie-notice-top,
  html:has(> body:not(.template-tool)) .ex-cookie-notice .ex-cookie-notice-body,
  html:has(> body:not(.template-tool)) .ex-cookie-notice .ex-cookie-actions { min-width: 0; align-self: center; }
  html:has(> body:not(.template-tool)) .ex-cookie-notice .ex-cookie-notice-body { max-width: none; }
  html:has(> body:not(.template-tool)) .ex-cookie-notice .ex-cookie-actions { justify-self: end; }
  html:has(> body:not(.template-tool)) .ex-cookie-dialog {
    left: max(0px, calc((90.91vw - 1100px) / 2));
    width: min(1100px, 90.91vw);
    transform: none;
    animation: none;
  }
}

/* Shared site theme control. The workbook editor is intentionally excluded. */
.ex-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:38px;min-height:36px;padding:7px 9px;border:1px solid #dce5f1;border-radius:999px;background:rgba(255,255,255,.76);color:#405875;font:750 11px/1 Inter,"Segoe UI",sans-serif;cursor:pointer;box-shadow:none;transition:color .16s ease,background-color .16s ease,border-color .16s ease}
.ex-theme-toggle:hover{border-color:#adc4e8;background:#f4f8ff;color:#245dcc}.ex-theme-toggle:focus-visible{outline:3px solid rgba(47,104,237,.34);outline-offset:3px}.ex-theme-icon{display:grid;width:18px;height:18px;place-items:center}.ex-theme-icon svg{grid-area:1/1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ex-theme-moon{display:none}.ex-theme-label{white-space:nowrap}
html[data-theme="dark"] .ex-theme-sun{display:none}html[data-theme="dark"] .ex-theme-moon{display:block}

/* Dark presentation for the public site shell; product artwork keeps its own brand colors. */
html[data-theme="dark"] body:not(.template-tool){--home-ink:#edf4ff;--home-muted:#aabbd0;--home-line:#2a405d;--home-paper:#142238;--home-wash:#182b47;--legal-ink:#edf4ff;--legal-text:#b8c8da;--legal-muted:#91a5bc;--legal-line:#2a405d;--legal-blue-soft:#172b49;--help-ink:#edf4ff;--help-muted:#aabbd0;--help-line:#2a405d;--hub-ink:#edf4ff;--hub-muted:#aabbd0;--hub-line:#2a405d;--hub-bg:#0d1727;--hub-shadow:0 24px 65px rgba(0,0,0,.28);--workspace-ink:#edf4ff;--workspace-muted:#aabbd0;--workspace-line:#2a405d;--workspace-surface:#142238;--ink:#edf4ff;--muted:#aabbd0;--line:#2a405d;--paper:#142238;--wash:#101d31;min-height:100vh;color:#edf4ff!important;background:radial-gradient(circle at 18% 0,rgba(47,104,237,.16),transparent 31%),radial-gradient(circle at 88% 44%,rgba(64,143,224,.1),transparent 27%),linear-gradient(180deg,#101c2e 0%,#0b1422 100%)!important;background-attachment:fixed!important}
html[data-theme="dark"] body:not(.template-tool) :is(.site-shell-header,.site-shell,.formula-header,.tools-header,.converter-header){background:transparent!important}
html[data-theme="dark"] body:not(.template-tool) :is(.topbar,.formula-nav){border-color:#2b405c!important}
html[data-theme="dark"] body:not(.template-tool) :is(.brand strong,.site-brand strong,.formula-brand strong,.converter-brand strong,.footer-brand-link,.footer-column strong,.site-footer-brand strong){color:#edf4ff!important}
html[data-theme="dark"] body:not(.template-tool) :is(.brand span,.site-brand small,.formula-brand small,.converter-brand small,.site-footer-brand p,.footer-column a,.site-footer-bottom){color:#9eb1c8!important}
html[data-theme="dark"] body:not(.template-tool) :is(.nav-links a,.formula-nav nav a,.ex-account-entry,.ex-profile-login-label){color:#b9c8da!important}
html[data-theme="dark"] body:not(.template-tool) :is(.nav-links a:hover,.formula-nav nav a:hover,.ex-account-entry:hover){background:#172942!important;color:#fff!important}
html[data-theme="dark"] body:not(.template-tool) :is(.lang-toggle,.formula-language,.converter-language,.ex-theme-toggle){border-color:#344a67!important;background:#142238!important;color:#d4e0ef!important}
html[data-theme="dark"] body:not(.template-tool) .ex-theme-toggle:hover{background:#1b3150!important;color:#fff!important}
html[data-theme="dark"] body:not(.template-tool) :is(.landing-hero h1,.landing-section-head h2,.flow-intro h2,.product-copy h2,.tools-hero h1,.card-content strong,.workspace-session-notice strong,.workspace-heading h2,.legal-hero h1,.legal-section h2,.legal-section h3,.help-hero h1,.help-section h2,.help-feature-title h3,.formula-hero h1,.library-intro h2,.converter-hero h1,.workbench-head h2){color:#edf4ff!important}
html[data-theme="dark"] body:not(.template-tool) :is(.landing-lead,.landing-section-head p,.flow-intro>p,.product-copy>p,.flow-step p,.tools-hero-copy>p:last-child,.card-content>span,.workspace-session-notice p,.launch-copy>span,.legal-lead,.legal-section p,.legal-section li,.help-lead,.answer,.formula-hero-copy>p,.library-intro>p,.converter-hero-copy>p,.workbench-description){color:#aebed1!important}
html[data-theme="dark"] body:not(.template-tool) :is(.hub-tool-card,.workspace-feature-card,.workspace-launch-card:not(.is-primary),.workspace-table-wrap,.workspace-search,.help-search,.help-facts,.help-legal-grid a,.help-route article,.help-tour,.help-feature-grid article,.help-product-grid article,.help-product-shot,.formula-card,.formula-search,.formula-detail,.converter-workbench,.file-selection,.tool-search,.category-filters button,.tool-card.is-selected){border-color:#2d4563!important;background:#142238!important;color:#edf4ff!important;box-shadow:0 20px 52px rgba(0,0,0,.2)!important}
html[data-theme="dark"] body:not(.template-tool) :is(.workspace-library-bar,.preview-head,.converter-preview th,.workbook-bar,.workbook-summary,.card-visual,.desktop-workspace-callout){border-color:#2b405c!important;background:#172942!important;color:#c7d5e5!important}
html[data-theme="dark"] body:not(.template-tool) :is(.legal-doc-nav a,.legal-toc a){color:#aebed1!important}
html[data-theme="dark"] body:not(.template-tool) :is(.legal-doc-nav a:hover,.legal-doc-nav a[aria-current="page"],.legal-toc a:hover,.legal-toc a.is-current){color:#79a9ff!important}
html[data-theme="dark"] body:not(.template-tool) .legal-section strong{color:#e3ecf8!important}
html[data-theme="dark"] body:not(.template-tool) .legal-section code{border-color:#334a68;background:#13243c;color:#8db7ff}
html[data-theme="dark"] body:not(.template-tool) :is(.site-footer,.site-shell-footer,.converter-footer,.footer-statement,.site-footer-bottom,.landing-section,.flow-list,.flow-step,.product-story+.product-story){border-color:#293e59!important}
html[data-theme="dark"] body:not(.template-tool) .ex-cookie-notice{background:rgba(15,27,45,.98);color:#edf4ff;box-shadow:0 -16px 42px rgba(0,0,0,.36)}
html[data-theme="dark"] body:not(.template-tool) .ex-cookie-notice h2{color:#edf4ff}html[data-theme="dark"] body:not(.template-tool) .ex-cookie-description{color:#afc0d4}html[data-theme="dark"] body:not(.template-tool) .ex-cookie-secondary{border-color:#425a78;background:#172942;color:#dce8f7}
html[data-theme="dark"] body:not(.template-tool) .ex-cookie-dialog{border-color:#354b68;background:#101d30;color:#edf4ff}html[data-theme="dark"] body:not(.template-tool) .ex-cookie-dialog h2,html[data-theme="dark"] body:not(.template-tool) .ex-cookie-category h3{color:#edf4ff}html[data-theme="dark"] body:not(.template-tool) .ex-cookie-category{border-color:#30445f;background:#14243a}html[data-theme="dark"] body:not(.template-tool) .ex-cookie-category p,html[data-theme="dark"] body:not(.template-tool) .ex-cookie-dialog-description{color:#aebed1}

/* The homepage owns a full-bleed light hero layer, so its dark palette must be
   completed at component level instead of relying only on the body theme. */
html[data-theme="dark"] body.landing-home .landing-hero-visual{
  background:
    radial-gradient(circle at 50% 78%,rgba(63,120,236,.28),transparent 36%),
    radial-gradient(circle at 13% 55%,rgba(49,91,154,.3),transparent 28%),
    linear-gradient(180deg,#101e33 0%,#0d1a2d 49%,#0b1525 100%)!important;
}
html[data-theme="dark"] body.landing-home .landing-hero-visual:after{background:linear-gradient(180deg,rgba(12,24,41,0),rgba(11,21,37,.46))!important}
html[data-theme="dark"] body.landing-home .landing-hero h1>span{color:#eef5ff!important;-webkit-text-fill-color:#eef5ff!important}
html[data-theme="dark"] body.landing-home .landing-hero h1>em{color:#67a0ff!important;-webkit-text-fill-color:#67a0ff!important}
html[data-theme="dark"] body.landing-home .landing-hero-copy .landing-kicker{color:#79aaff!important}
html[data-theme="dark"] body.landing-home .landing-hero-copy .landing-lead{color:#b8c8dc!important}
html[data-theme="dark"] body.landing-home .topbar :is(.brand strong,.brand span){color:#edf4ff!important}
html[data-theme="dark"] body.landing-home .topbar .nav-links a{color:#c3d1e1!important}
html[data-theme="dark"] body.landing-home .topbar .nav-links a:hover{color:#fff!important;background:#1a2e49!important}
html[data-theme="dark"] body.landing-home .hero-3d-floor{border-color:rgba(99,148,232,.34);background:linear-gradient(155deg,rgba(31,55,90,.96),rgba(24,45,77,.78));box-shadow:0 -30px 90px rgba(19,61,133,.32)}
html[data-theme="dark"] body.landing-home .hero-3d-halo{background:radial-gradient(ellipse,rgba(57,119,239,.34),rgba(44,91,177,.15) 48%,transparent 72%)}
html[data-theme="dark"] body.landing-home :is(.flow-step,.product-stage:not(.compare-console-stage),.landing-account){border-color:#2d4563!important;background:linear-gradient(145deg,#162842,#101d31)!important;box-shadow:0 24px 58px rgba(0,0,0,.24)!important}
html[data-theme="dark"] body.landing-home .product-stage :is(.formula-stagebar,.compare-stage-head){border-color:#2d4563!important;background:#172942!important}
html[data-theme="dark"] body.landing-home .product-stage :is(.formula-stagebar>b,.compare-stage-head strong){color:#dce8f7!important}
html[data-theme="dark"] body.landing-home .landing-action:not(.primary){border-color:#38516f!important;background:#162943!important;color:#dce8f7!important}
html[data-theme="dark"] body.landing-home .landing-action:not(.primary):hover{border-color:#5678a5!important;background:#1b3150!important;color:#fff!important}

/* Complete dark-theme coverage for content that owns fixed light-theme colors. */
html[data-theme="dark"] body:not(.template-tool) :is(h1,h2,h3,h4){color:#edf4ff!important}
html[data-theme="dark"] body:not(.template-tool) .footer-statement span{color:#91a5bc!important}
html[data-theme="dark"] body:not(.template-tool) .footer-statement strong{color:#edf4ff!important}
html[data-theme="dark"] body:not(.template-tool) :is(.site-footer-brand p,.footer-column a,.site-footer-bottom,.ex-legal-links a){color:#9fb1c6!important}
html[data-theme="dark"] body:not(.template-tool) :is(.footer-column strong,.site-footer-brand strong){color:#edf4ff!important}

/* Homepage copy uses fixed colors; product mockups remain deliberately light. */
html[data-theme="dark"] body.landing-home :is(.flow-step h3,.landing-account h2){color:#edf4ff!important}
html[data-theme="dark"] body.landing-home :is(.flow-signal,.flow-signal span,.landing-account-copy>p:last-child,.workspace-mobile-detail,.formula-copy-side>p){color:#aebed1!important}
html[data-theme="dark"] body.landing-home .flow-number{background:#1d3a63!important;color:#8ab4ff!important}
html[data-theme="dark"] body.landing-home .flow-signal i{background:#79a9ff!important}
html[data-theme="dark"] body.landing-home :is(.workspace-stage,.converter-stage,.product-formulas .formula-stage){border-color:#8faed7!important;background:#f7faff!important;box-shadow:0 24px 58px rgba(0,0,0,.28)!important}
html[data-theme="dark"] body.landing-home .converter-hub>strong{color:#26486f!important}
html[data-theme="dark"] body.landing-home .converter-hub>small{color:#657b97!important}
html[data-theme="dark"] body.landing-home .landing-account{background:radial-gradient(circle at 86% 10%,rgba(70,126,236,.2),transparent 32%),linear-gradient(145deg,#172b47,#101d31)!important}

/* Help center: readable surfaces, meaningful icons and coherent sticky navigation. */
html[data-theme="dark"] body.help-page :is(.help-facts,.help-tour,.help-feature-grid article,.help-product-grid article,.help-legal,.help-aside){border-color:#2d4563!important;background:linear-gradient(145deg,#162842,#111f34)!important;box-shadow:0 20px 52px rgba(0,0,0,.2)!important}
html[data-theme="dark"] body.help-page .help-categories{border-color:#2b405c!important;background:rgba(13,24,40,.94)!important}
html[data-theme="dark"] body.help-page .help-categories a{color:#b7c7da!important}
html[data-theme="dark"] body.help-page .help-categories a:hover{border-color:#405b7c!important;background:#1a2e49!important;color:#fff!important}
html[data-theme="dark"] body.help-page :is(.help-facts-head strong,.help-facts li strong,.help-route li strong,.help-tour-copy h3,.help-callout-grid strong,.help-feature-grid h4,.help-product-grid h4,.help-section summary,.help-legal-grid strong,.help-empty h2){color:#e8f1ff!important}
html[data-theme="dark"] body.help-page :is(.help-facts li div span,.help-guide-heading span,.help-feature-title>span,.help-route li span,.help-tour-copy p,.help-tour-copy ul,.help-tour-copy ol,.help-callout-grid span,.help-feature-grid p,.help-product-grid p,.help-section header small,.help-legal>div>span,.help-legal-grid small,.help-search-status,.help-empty p){color:#aebed1!important}
html[data-theme="dark"] body.help-page .help-search{border-color:#38516f!important;background:#14243a!important;box-shadow:0 18px 45px rgba(0,0,0,.22)!important}
html[data-theme="dark"] body.help-page .help-search input{color:#edf4ff!important}
html[data-theme="dark"] body.help-page .help-search input::placeholder{color:#8296ae!important}
html[data-theme="dark"] body.help-page .help-search kbd{border-color:#405875!important;background:#1b3150!important;color:#cbd8e7!important}
html[data-theme="dark"] body.help-page .help-fact-icon{border:1px solid #365173!important;background:#1b3150!important;color:#8cb5ff!important}
html[data-theme="dark"] body.help-page .help-fact-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="dark"] body.help-page .help-facts-head{border-color:#304660!important}
html[data-theme="dark"] body.help-page .help-route{border-color:#2d4563!important;background:#2d4563!important}
html[data-theme="dark"] body.help-page .help-route li{background:#142238!important}
html[data-theme="dark"] body.help-page .help-callout-grid>div{border-color:#344d6b!important;background:#192c47!important}
html[data-theme="dark"] body.help-page .help-section details{border-color:#2b405c!important;background:transparent!important;box-shadow:none!important}
html[data-theme="dark"] body.help-page .help-section summary:after{border-color:#3a5474!important;background:#1a2e49!important;color:#8bb4ff!important}
html[data-theme="dark"] body.help-page .answer-links a{background:#1a3150!important;color:#8bb4ff!important}
html[data-theme="dark"] body.help-page .help-legal-grid a{border-color:#344d6b!important;background:#192c47!important}
html[data-theme="dark"] body.help-page .help-product-shot,html[data-theme="dark"] body.help-page .help-product-grid figure{border-color:#3b5879!important;background:#101d31!important;box-shadow:0 18px 42px rgba(0,0,0,.24)!important}
html[data-theme="dark"] body.help-page .help-product-shot figcaption{color:#aebed1!important}

/* Account form is a native dark surface instead of a white panel with white text. */
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] #account{border-color:#2d4563!important;background:#111f34!important;box-shadow:0 28px 80px rgba(0,0,0,.3)!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] :is(.layout,.auth-card,.guest-footer){border-color:#2b405c!important;background:#142238!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .intro{background:radial-gradient(circle at 35% 35%,rgba(42,111,179,.2),transparent 58%),linear-gradient(145deg,#172b47,#101d31)!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] :is(.intro h2,.auth-card h1,.field){color:#edf4ff!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] :is(.intro>.muted,.auth-description,.auth-switch,.auth-divider,.guest-footer,.auth-legal,.guest-action-copy small){color:#aebed1!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .auth-tabs{border-color:#344a67!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .auth-tabs a{color:#aebed1!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .auth-tabs a[aria-current]{color:#8bb4ff!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .field input{border-color:#344d6b!important;background:#192c47!important;color:#edf4ff!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .field input:focus{border-color:#6f9df2!important;background:#1c3150!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .password-control button{color:#b9c9da!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .google-action{border-color:#405a79!important;background:#192c47!important;color:#edf4ff!important}
html[data-theme="dark"] body[data-excelxtr-session-owner="account"] .intro-guest{color:#8bb4ff!important;text-decoration-color:#587aa8!important}

/* Legal pages keep the side index and closing statement readable to the end. */
html[data-theme="dark"] body.legal-page .legal-document-picker{border-color:#2d4563!important;background:#142238!important}
html[data-theme="dark"] body.legal-page .legal-toc a::before{color:#7790ab!important}
html[data-theme="dark"] body.legal-page .legal-section{border-color:#2a405d!important}

/* The legal rail is navigation, not a floating card; it must blend with the
   page and stop before the footer. */
html[data-theme="dark"] body.legal-page .legal-document-picker{border-color:transparent!important;background:transparent!important;box-shadow:none!important}

/* Homepage product artwork remains a coherent light miniature in dark mode. */
html[data-theme="dark"] body.landing-home .product-formulas .formula-stagebar{
  border-color:#d8e3f1!important;
  background:#fff!important;
  color:#31527e!important;
}
html[data-theme="dark"] body.landing-home .product-formulas .formula-stagebar>b{color:#31527e!important}
html[data-theme="dark"] body.landing-home .product-formulas .formula-stagebar>small{color:#70839b!important}
html[data-theme="dark"] body.landing-home .product-formulas .formula-search{
  border-color:#c9d8eb!important;
  background:#fff!important;
  color:#17365f!important;
  box-shadow:0 10px 28px rgba(35,72,124,.08)!important;
}
html[data-theme="dark"] body.landing-home .product-formulas .formula-search input{color:#17365f!important}
html[data-theme="dark"] body.landing-home .product-formulas .formula-search input::placeholder{color:#74869e!important}

/* FAQ rows use separators only; action links remain visible without creating
   a second large rectangle inside the document column. */
html[data-theme="dark"] body.help-page .help-section details{background:transparent!important;box-shadow:none!important}
html[data-theme="dark"] body.help-page .answer-links a{border:1px solid #3c5878!important;background:transparent!important;color:#8bb4ff!important}

/* Help-center dark mode follows the same open document structure as light
   mode. Large content wrappers blend into the page; only real controls and
   separators remain visible. */
html[data-theme="dark"] body.help-page:not(.template-tool) .help-search{
  border-color:#324965!important;
  background:rgba(20,36,58,.48)!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) .help-search:focus-within{
  border-color:#6f9df2!important;
  box-shadow:0 0 0 3px rgba(79,132,235,.18)!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) .help-search input:focus-visible{outline:none!important;box-shadow:none!important}
html[data-theme="dark"] body.help-page:not(.template-tool) .help-categories{
  border-color:#263b55!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) :is(.help-facts,.help-tour,.help-legal,.help-aside){
  border-color:rgba(72,101,138,.28)!important;
  background:transparent!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) :is(.help-feature-grid article,.help-product-grid article){
  border-color:rgba(72,101,138,.28)!important;
  background:rgba(20,36,58,.2)!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) .help-section details{
  border-color:#263b55!important;
  background:transparent!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) .help-product-shot figcaption{display:none!important}

/* Tool hub orbit: replace the flat gray disk with the same layered navy/blue
   material used by the surrounding cards. The actual SVG tool marks stay
   visible and keep their meaning. */
html[data-theme="dark"] body.tools-hub-page .tools-hero-orbit{
  border-color:#355274!important;
  background:radial-gradient(circle at 34% 27%,#284f80 0%,#1b385c 35%,#132843 68%,#101d31 100%)!important;
  box-shadow:inset 0 0 0 40px rgba(112,165,255,.055),0 30px 68px rgba(0,0,0,.27)!important;
}
html[data-theme="dark"] body.tools-hub-page .tools-hero-orbit::before{border-color:rgba(128,174,247,.34)!important}
html[data-theme="dark"] body.tools-hub-page .tools-hero-orbit::after{border-color:rgba(128,174,247,.24)!important}
html[data-theme="dark"] body.tools-hub-page .orbit-core{
  border-color:#5e7fa8!important;
  background:linear-gradient(145deg,#f8fbff,#eaf2ff)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.3)!important;
}
html[data-theme="dark"] body.tools-hub-page .orbit-mark{
  border-color:#46668e!important;
  background:linear-gradient(145deg,#213d61,#142741)!important;
  color:#8db7ff!important;
  box-shadow:0 15px 35px rgba(0,0,0,.28)!important;
}

/* The compare workbench is one continuous dark instrument panel. */
html[data-theme="dark"] body.compare-page .compare-workbench{
  border-color:#304a69!important;
  background:linear-gradient(145deg,#162842,#111f34)!important;
  box-shadow:0 24px 65px rgba(0,0,0,.25)!important;
}
html[data-theme="dark"] body.compare-page .compare-workbench-head{border-color:#304660!important}
html[data-theme="dark"] body.compare-page .compare-workbench-head h2{color:#edf4ff!important}
html[data-theme="dark"] body.compare-page .compare-workbench-head p{color:#8bb4ff!important}
html[data-theme="dark"] body.compare-page .tool-hero .tool-lead{color:#b6c7da!important}
html[data-theme="dark"] body.compare-page .compare-facts{color:#8fa6c0!important}
html[data-theme="dark"] body.compare-page .compare-steps{border-color:#304660!important}
html[data-theme="dark"] body.compare-page .compare-steps span{color:#8296ae!important}
html[data-theme="dark"] body.compare-page .compare-steps span.is-active,
html[data-theme="dark"] body.compare-page .compare-steps span.is-complete{color:#8bb4ff!important}
html[data-theme="dark"] body.compare-page .compare-upload-card+.compare-upload-card{border-color:#304660!important}
html[data-theme="dark"] body.compare-page .compare-file-number{background:#1d3a63!important;color:#8ab4ff!important}
html[data-theme="dark"] body.compare-page .compare-file-heading strong{color:#e8f1ff!important}
html[data-theme="dark"] body.compare-page .compare-file-heading small{color:#9fb1c6!important}

/* Converter summary and action areas now share one coherent dark workbench. */
html[data-theme="dark"] body.converter-page .converter-workbench{
  border-color:#304a69!important;
  background:linear-gradient(145deg,#162842,#111f34)!important;
}
html[data-theme="dark"] body.converter-page .workbench-summary{
  border-color:#304660!important;
  background:linear-gradient(145deg,#1a2e49,#142238)!important;
}
html[data-theme="dark"] body.converter-page .workbench-head span{color:#8bb4ff!important}
html[data-theme="dark"] body.converter-page .converter-context{color:#8bb4ff!important}
html[data-theme="dark"] body.converter-page .converter-facts{color:#8fa6c0!important}
html[data-theme="dark"] body.converter-page .conversion-line{border-color:#344d6b!important}
html[data-theme="dark"] body.converter-page .conversion-line span{color:#91a5bc!important}
html[data-theme="dark"] body.converter-page .conversion-line strong{color:#e8f1ff!important}
html[data-theme="dark"] body.converter-page .process-steps{border-color:#344d6b!important}
html[data-theme="dark"] body.converter-page .process-steps span{color:#8296ae!important}
html[data-theme="dark"] body.converter-page .process-steps span.is-active{color:#8bb4ff!important}
html[data-theme="dark"] body.converter-page .conversion-note{color:#9fb1c6!important}
html[data-theme="dark"] body.converter-page .text-action{color:#8bb4ff!important}
@media(max-width:760px){.ex-theme-toggle{order:3;width:38px;height:38px;padding:0}.ex-theme-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.ex-mobile-tool-nav{order:4}.lang-toggle{order:5!important}}
@media(prefers-reduced-motion:reduce){.ex-theme-toggle{transition:none}}

/* v55: route transitions follow the selected theme before navigation paints. */
html[data-theme="dark"] .ex-page-transition{color:#e8f1ff;background:#0b1626}
html[data-theme="dark"] .ex-page-skeleton{
  --ex-skeleton:#203651;
  --ex-skeleton-soft:#192d47;
  background:linear-gradient(145deg,#0b1626 0%,#101e31 55%,#0d1a2b 100%);
}
html[data-theme="dark"] .ex-page-skeleton-header,
html[data-theme="dark"] .ex-page-skeleton-content{border-color:#263c58}
html[data-theme="dark"] .ex-page-transition[data-layout="workspace"] .ex-page-skeleton-copy{border-color:#263c58}
html[data-theme="dark"] .ex-page-skeleton-preview{border-color:#2b4361;background:#2b4361;box-shadow:0 26px 60px rgba(0,0,0,.24)}
html[data-theme="dark"] .ex-page-skeleton-preview span{background:#152842}
html[data-theme="dark"] .ex-page-skeleton-preview-bar{background:#1b3150!important}
html[data-theme="dark"] .ex-page-skeleton-preview-row.is-two{background:#182c47!important}
html[data-theme="dark"] .ex-page-skeleton-block{border-color:#2b4361;background:rgba(24,44,71,.72)!important}
html[data-theme="dark"] .ex-page-skeleton-footer{background:#263c58!important}
html[data-theme="dark"] .ex-page-skeleton:after{background:linear-gradient(90deg,transparent,rgba(139,180,255,.1),transparent)}

/* The sticky help index is a real opaque layer, so headings never show through it. */
body.help-page .help-categories{
  isolation:isolate;
  background:#f8fbff!important;
  box-shadow:0 0 0 100vmax #f8fbff;
  clip-path:inset(0 -100vmax);
  backdrop-filter:none!important;
}
html[data-theme="dark"] body.help-page:not(.template-tool) .help-categories{
  border-color:#263b55!important;
  background:#0d1828!important;
  box-shadow:0 0 0 100vmax #0d1828!important;
  backdrop-filter:none!important;
}

/* Quick answers read as open content: no card frame and no icon tiles. */
body.help-page .help-facts{border:0!important;background:transparent!important;box-shadow:none!important}
body.help-page .help-facts li{grid-template-columns:24px minmax(0,1fr);gap:10px}
body.help-page .help-fact-icon,
html[data-theme="dark"] body.help-page .help-fact-icon{width:24px;height:24px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}
body.help-page .help-fact-icon svg,
html[data-theme="dark"] body.help-page .help-fact-icon svg{width:22px;height:22px;stroke-width:1.75}

/* Contextual action marks replace the repeated text-arrow glyph. */
.ex-action-icon{display:inline-grid!important;width:20px;height:20px;flex:0 0 20px;margin:0!important;place-items:center;color:currentColor}
.ex-action-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-create .ex-action-icon{width:19px;height:19px;flex-basis:19px}
.mobile-tool-card .ex-action-icon,.card-action .ex-action-icon{width:19px;height:19px;flex-basis:19px}
.workspace-launch-card .ex-action-icon{width:24px;height:24px;flex-basis:24px}
.help-fact-link,.help-guide-heading>a,.help-product-grid a,.product-link,.account-create,#workspace-session-action,.workspace-cta,.formula-action-zone>a,.desktop-workspace-callout a,.card-action{display:inline-flex;align-items:center;gap:9px}

/* Navigation and brand text never acquire a browser underline after restore/scroll. */
body:not(.template-tool) :is(.brand,.site-brand,.site-shell-footer a,.site-footer a,.footer-column a,.footer-brand-link,.help-categories a,.help-aside a){text-decoration:none!important}

/* Dark cookie preferences are one coherent surface, including the sticky
   heading and action rows. */
html[data-theme="dark"] body:not(.template-tool) :is(.ex-cookie-dialog-head,.ex-cookie-dialog-actions){border-color:#30445f!important;background:rgba(16,29,48,.98)!important}
html[data-theme="dark"] body:not(.template-tool) .ex-cookie-categories{border-color:#30445f!important;background:#101d30!important}
html[data-theme="dark"] body:not(.template-tool) :is(.ex-cookie-close,.ex-cookie-back){border-color:#3a5270!important;background:#172942!important;color:#dce8f7!important}
html[data-theme="dark"] body:not(.template-tool) .ex-cookie-learn{color:#8cb5ff!important}

/* Formula directory: every fixed light surface and low-contrast text receives
   an explicit dark counterpart. */
html[data-theme="dark"] body:not(.template-tool) .library-content{border-color:#2d4563!important;background:#101d31!important;box-shadow:0 26px 70px rgba(0,0,0,.24)!important}
html[data-theme="dark"] body:not(.template-tool) :is(.library-toolbar,.category-list){border-color:#2d4563!important;background:#111f34!important}
html[data-theme="dark"] body:not(.template-tool) .formula-search input{background:transparent!important;color:#edf4ff!important}
html[data-theme="dark"] body:not(.template-tool) .formula-search input::placeholder{color:#8296ae!important}
html[data-theme="dark"] body:not(.template-tool) .formula-search kbd{border-color:#405875!important;background:#1b3150!important;color:#cbd8e7!important}
html[data-theme="dark"] body:not(.template-tool) .category-list button{border-color:#344d6b!important;background:#162842!important;color:#b8c8da!important}
html[data-theme="dark"] body:not(.template-tool) .category-list button:hover{border-color:#5678a5!important;background:#1b3150!important;color:#fff!important}
html[data-theme="dark"] body:not(.template-tool) .category-list button.is-active{border-color:#3975ef!important;background:#326fee!important;color:#fff!important}
html[data-theme="dark"] body:not(.template-tool) .formula-card h3{color:#edf4ff!important}
html[data-theme="dark"] body:not(.template-tool) .formula-card h3 small{color:#9fb1c6!important}
html[data-theme="dark"] body:not(.template-tool) .formula-card p{color:#b3c3d6!important}
html[data-theme="dark"] body:not(.template-tool) .formula-card dt{color:#91a5bc!important}
html[data-theme="dark"] body:not(.template-tool) .formula-card code{background:transparent!important;color:#8cb5ff!important}
html[data-theme="dark"] body:not(.template-tool) .formula-card .tag{border-color:#365173!important;background:#1b3150!important;color:#8cb5ff!important}
html[data-theme="dark"] body:not(.template-tool) .load-more{border-color:#405b7c!important;background:#172942!important;color:#8cb5ff!important}

/* Converter catalogue and format picker are a single dark-theme system. */
html[data-theme="dark"] body.converter-page :is(.tool-card,.tool-picker .tool-card){border-color:#2d4563!important;background:#142238!important;color:#edf4ff!important;box-shadow:none!important}
html[data-theme="dark"] body.converter-page :is(.tool-card:hover,.tool-picker .tool-card:hover){border-color:#4b6b91!important;background:#172942!important}
html[data-theme="dark"] body.converter-page :is(.tool-card.is-selected,.tool-picker .tool-card.is-selected){border-color:#4f86ef!important;background:#1a2e49!important;box-shadow:inset 0 0 0 1px #4f86ef!important}
html[data-theme="dark"] body.converter-page .tool-route-format:first-child b{color:#e8f1ff!important}
html[data-theme="dark"] body.converter-page .tool-route-format:last-child b{color:#8cb5ff!important}
html[data-theme="dark"] body.converter-page .tool-picker .tool-route>i{background:#1d3a63!important;color:#8cb5ff!important}
html[data-theme="dark"] body.converter-page .tool-card p{color:#aebed1!important}
html[data-theme="dark"] body.converter-page .tool-formats span{color:#91a5bc!important}
html[data-theme="dark"] body.converter-page .category-filters{border-color:#2d4563!important;background:transparent!important}
html[data-theme="dark"] body.converter-page .category-filters button,
html[data-theme="dark"] body.converter-page .category-filters button.is-active{border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme="dark"] body.converter-page .category-filters button{color:#9fb1c6!important}
html[data-theme="dark"] body.converter-page .category-filters button:hover{color:#fff!important}
html[data-theme="dark"] body.converter-page .category-filters button.is-active{color:#8cb5ff!important}
html[data-theme="dark"] body.converter-page .tool-search input{background:transparent!important;color:#edf4ff!important}
html[data-theme="dark"] body.converter-page .tool-search input::placeholder{color:#8296ae!important}
html[data-theme="dark"] body.converter-page .tool-picker{border-color:#38516f!important;background:#101d31!important;color:#edf4ff!important;box-shadow:0 30px 90px rgba(0,0,0,.48)!important}
html[data-theme="dark"] body.converter-page .tool-picker::backdrop{background:rgba(5,12,22,.68)!important;backdrop-filter:blur(6px)}
html[data-theme="dark"] body.converter-page .tool-picker-shell{background:#101d31!important;scrollbar-color:#526b8b #101d31}
html[data-theme="dark"] body.converter-page .tool-picker .directory-heading h2{color:#edf4ff!important}
html[data-theme="dark"] body.converter-page .tool-picker .directory-heading .eyebrow{color:#79a9ff!important}
html[data-theme="dark"] body.converter-page .tool-picker .tool-search{border-color:#38516f!important;background:#14243a!important;box-shadow:none!important}
html[data-theme="dark"] body.converter-page .tool-picker .category-filters{background:#101d31!important}
html[data-theme="dark"] body.converter-page .picker-close{border-color:#3a5474!important;background:#172942!important;color:#dce8f7!important}
html[data-theme="dark"] body.converter-page .picker-close:hover{border-color:#5f7fa7!important;background:#1b3150!important;color:#fff!important}
html[data-theme="dark"] body.converter-page .empty-tools{color:#aebed1!important}

/* All desktop public families share the same 1240px content rail, so the
   header, page body and footer align instead of changing width by route. */
@media(min-width:641px){.tools-shell{width:min(1240px,calc(100% - 40px))!important}}
@media(min-width:621px){.formula-nav,body:has(>.formula-header)>main,body:has(>.formula-header)>footer{width:min(1240px,calc(100% - 40px))!important}}
@media(min-width:601px){.legal-shell{width:min(1240px,calc(100% - 40px))!important}}


/* Compact public-shell preferences: the icon conveys the action; accessible
   names retain the current destination for keyboard and screen-reader users. */
body:not(.template-tool) .ex-theme-toggle{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  gap:0!important;
  border-radius:10px!important;
}
body:not(.template-tool) .ex-theme-icon,
body:not(.template-tool) .ex-theme-icon svg{width:17px;height:17px}
body:not(.template-tool) .ex-theme-label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body:not(.template-tool) :is(.lang-toggle,.formula-language).ex-language-control{
  display:inline-grid!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin-left:6px!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  box-shadow:none!important;
  place-items:center;
}
body:not(.template-tool) .ex-language-control>[data-lang]{display:none!important}
.ex-language-toggle{
  display:grid;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid #dce5f1;
  border-radius:10px;
  background:rgba(255,255,255,.76);
  color:#405875;
  cursor:pointer;
  place-items:center;
  transition:color .16s ease,background-color .16s ease,border-color .16s ease;
}
.ex-language-toggle:hover{border-color:#adc4e8;background:#f4f8ff;color:#245dcc}
.ex-language-toggle:focus-visible{outline:3px solid rgba(47,104,237,.34);outline-offset:3px}
.ex-language-toggle span,.ex-language-toggle svg{display:block;width:17px;height:17px}
.ex-language-toggle svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="dark"] body:not(.template-tool) :is(.lang-toggle,.formula-language).ex-language-control{
  border:0!important;
  background:transparent!important;
}
html[data-theme="dark"] body:not(.template-tool) .ex-language-toggle{
  border-color:#344a67;
  background:#142238;
  color:#d4e0ef;
}
html[data-theme="dark"] body:not(.template-tool) .ex-language-toggle:hover{background:#1b3150;color:#fff}
@media(prefers-reduced-motion:reduce){.ex-language-toggle{transition:none}}


/* Public header polish: shared rail, logo scale, compact account action and
   readable custom tooltips for icon-only preferences. */
body:not(.template-tool) .tools-header>.tools-shell{padding-top:22px}
body:not(.template-tool) .tools-header .brand{gap:12px}
body:not(.template-tool) .tools-header .logo{
  width:59px;
  height:59px;
  flex:0 0 59px;
}
body:not(.template-tool) .tools-header .brand-copy strong{font-size:17.5px;letter-spacing:.2px}
body:not(.template-tool) .tools-header .brand-copy span{margin-top:2px;font-size:12.5px}
body:not(.template-tool) :is(.nav-links a,.formula-nav nav a,.ex-account-entry){text-decoration:none!important}
.landing-account .account-action-zone .account-create{
  width:auto!important;
  min-width:0!important;
  padding-inline:18px!important;
  justify-content:center!important;
  gap:10px!important;
}
:is(.ex-theme-toggle,.ex-language-toggle){
  position:relative;
}
:is(.ex-theme-toggle,.ex-language-toggle)::before,
:is(.ex-theme-toggle,.ex-language-toggle)::after{
  position:absolute;
  z-index:80;
  right:auto;
  left:50%;
  pointer-events:none;
  opacity:0;
  transition:opacity .14s ease,transform .14s ease;
}
:is(.ex-theme-toggle,.ex-language-toggle)::before{
  content:"";
  top:calc(100% + 4px);
  width:8px;
  height:8px;
  background:#081524;
  transform:translate(-50%,-3px) rotate(45deg);
}
:is(.ex-theme-toggle,.ex-language-toggle)::after{
  content:attr(data-tooltip);
  top:calc(100% + 8px);
  max-width:190px;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:7px;
  background:#081524;
  box-shadow:0 9px 24px rgba(5,15,28,.25);
  color:#f4f8ff;
  font:700 11px/1.2 Inter,"Segoe UI",sans-serif;
  letter-spacing:0;
  text-align:left;
  white-space:nowrap;
  transform:translate(-50%,-3px);
}
:is(.ex-theme-toggle,.ex-language-toggle):is(:hover,:focus-visible)::before,
:is(.ex-theme-toggle,.ex-language-toggle):is(:hover,:focus-visible)::after{
  opacity:1;
  transform:translate(-50%,0) rotate(45deg);
}
:is(.ex-theme-toggle,.ex-language-toggle):is(:hover,:focus-visible)::after{transform:translate(-50%,0)}
:is(.ex-theme-toggle,.ex-language-toggle):focus-visible{outline:2px solid rgba(47,104,237,.58);outline-offset:2px}
@media(max-width:760px){
  body:not(.template-tool) .tools-header>.tools-shell{padding-top:8px}
  body:not(.template-tool) .tools-header .logo{width:42px;height:42px;flex-basis:42px}
  body:not(.template-tool) .tools-header .brand-copy span{display:none}
}
@media(max-width:640px){
  .landing-account .account-action-zone .account-create{width:100%!important}
}
@media(prefers-reduced-motion:reduce){
  :is(.ex-theme-toggle,.ex-language-toggle)::before,
  :is(.ex-theme-toggle,.ex-language-toggle)::after{transition:none}
}
