/* Presentation refresh; runtime, manifest and installers retain their original bytes. */
:root {
  --ink: #17334c;
  --muted: #586b7c;
  --line: #dce5ed;
  --navy: #002e60;
  --orange: #ff790f;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { background: #f5f7fa; }
a { color: #184d7c; }
a:hover { color: #002e60; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #126ac0; outline-offset: 4px; }
button, a, summary { touch-action: manipulation; }

/* Installation site */
.landing-page { background: #fff; font-size: 15px; }
.site-shell { max-width: 1184px; padding: 0 48px; margin: 0 auto; }
.site-header { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.site-brand { display: block; flex-shrink: 0; }
.site-brand img { display: block; width: 260px; max-width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav .preview-link { padding: 11px 16px; border: 1px solid var(--line); border-radius: 7px; }
.preview-link span { margin-left: 10px; }
.site-nav .preview-link:hover { background: #f5f8fb; border-color: #a6bbce; }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 12px 18px; background: var(--navy); color: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.landing-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; padding: 72px 0 76px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: #38604c; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.excel-symbol { display: inline-flex; width: 25px; height: 27px; align-items: center; justify-content: center; background: #21734b; border-radius: 4px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.landing-hero h1 { margin: 0; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.13; font-weight: 650; letter-spacing: -2px; }
.landing-hero h1 > span { color: #59758f; }
.hero-description { max-width: 420px; margin: 23px 0 30px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.platform-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 430px; scroll-margin-top: 24px; }
.platform-card { display: flex; align-items: center; gap: 15px; padding: 17px 19px; color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 9px; text-decoration: none; transition: background .18s, transform .18s, box-shadow .18s; }
.platform-card:hover { color: #fff; background: #104575; transform: translateY(-2px); box-shadow: 0 6px 16px #002e601c; }
.platform-card .platform-icon { width: 26px; height: 26px; flex: 0 0 26px; }
.platform-card strong { display: block; font-size: 15px; font-weight: 600; }
.platform-card small { display: block; margin-top: 4px; font-size: 11px; color: #d2e1ef; }
.platform-card small span { margin-left: 5px; }
.requirements { margin: 16px 0 13px; max-width: 430px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.key-link { font-size: 12px; font-weight: 500; text-decoration: none; }
.key-link span { padding-left: 5px; }

/* Worksheet illustration uses placeholders, rather than invented economic data. */
.workbook-preview { min-width: 0; margin: 0; padding-top: 8px; }
.workbook-window { background: #fff; border: 1px solid #d2dfe9; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 48px #002e600e, 0 4px 12px #002e6008; transform: rotate(-1deg); }
.workbook-title { display: flex; align-items: center; gap: 10px; padding: 14px 17px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 500; }
.workbook-mark { font-size: 14px; padding-right: 2px; font-weight: 700; }
.window-dots { margin-left: auto; color: #adc5dd; letter-spacing: 3px; }
.workbook-tabs { display: flex; gap: 23px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #f9fbfd; font-size: 10px; color: #6b7e90; }
.workbook-tabs span { padding: 13px 0 10px; }
.workbook-tabs .active { color: var(--navy); border-bottom: 2px solid var(--orange); font-weight: 600; }
.workbook-formula { display: flex; align-items: center; gap: 13px; padding: 12px 0; font-size: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cell-address { padding: 0 20px; border-right: 1px solid var(--line); font-size: 11px; }
.fx { color: #8498a8; font-size: 15px; font-style: italic; }
.workbook-formula code { font-family: Consolas, "SFMono-Regular", monospace; font-size: 10px; color: #235b45; }
.worksheet { overflow: hidden; }
.worksheet table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10px; }
.worksheet th { width: 30px; height: 29px; background: #f7f9fb; color: #7a8e9f; font-size: 9px; font-weight: 400; text-align: center; border-right: 1px solid #e9eef3; border-bottom: 1px solid #e9eef3; }
.worksheet thead th:nth-child(2), .worksheet thead th:nth-child(3) { width: 42%; }
.worksheet thead th:last-child { width: 10%; }
.worksheet td { padding: 8px 13px; border-right: 1px solid #e9eef3; border-bottom: 1px solid #e9eef3; white-space: nowrap; color: #687e90; }
.worksheet .selected-cell { position: relative; outline: 2px solid #34775a; outline-offset: -2px; color: #254e3c; background: #f7fbf8; font-weight: 600; }
.worksheet .selected-cell::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 5px; height: 5px; background: #34775a; }
.worksheet .series-code { color: var(--navy); font-weight: 600; }
.cell-placeholder { display: block; width: 44%; height: 5px; margin: 3px 0; border-radius: 2px; background: #e7edf2; }
.cell-placeholder.wide { width: 87%; }
.cell-placeholder.medium { width: 66%; }
.cell-placeholder.value { width: 30%; margin-left: auto; background: #d5e5dd; }
.worksheet .sheet-gap th, .worksheet .sheet-gap td { height: 18px; padding-top: 2px; padding-bottom: 2px; }
.worksheet .data-header td { background: #f0f5fa; color: var(--navy); font-weight: 600; }
.workbook-bottom { display: flex; align-items: center; gap: 18px; background: #f6f8fa; font-size: 10px; color: #7b8e9e; padding: 0 14px; }
.sheet-tab { padding: 11px 13px 9px; background: #fff; color: #276045; font-weight: 600; border-bottom: 2px solid #34775a; }
.workbook-ready { display: flex; align-items: center; gap: 5px; margin-left: auto; font-size: 9px; }
.workbook-ready i { width: 5px; height: 5px; background: #4f8b6a; border-radius: 50%; }
.workbook-preview figcaption { margin-top: 22px; text-align: center; color: #536c81; font-size: 12px; }
.caption-line { display: inline-block; width: 20px; height: 2px; margin-right: 7px; vertical-align: middle; background: var(--orange); }
.workbook-preview figcaption small { display: block; margin-top: 5px; font-size: 9px; color: #7a8d9d; }

.getting-started { border-top: 1px solid var(--line); padding: 44px 0 35px; }
.section-intro { margin-bottom: 30px; }
.overline { margin: 0 0 10px; font-size: 10px; letter-spacing: .12em; color: #697f91; font-weight: 700; }
.section-intro h2 { font-size: 27px; letter-spacing: -.7px; font-weight: 600; }
.section-intro > p:last-child { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; list-style: none; margin: 0; padding: 0; }
.setup-steps li { min-width: 0; padding-left: 17px; border-left: 1px solid var(--line); }
.step-index { display: block; font-size: 11px; color: #ac652c; font-weight: 600; margin-bottom: 12px; letter-spacing: .04em; }
.setup-steps h3 { font-size: 15px; font-weight: 600; margin-bottom: 11px; }
.setup-steps p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; }
.setup-steps p code { color: #254963; font-size: 10px; background: #f1f5f8; padding: 2px 4px; border-radius: 3px; overflow-wrap: anywhere; }
.setup-formula { display: block; font-size: 10px; color: #235b45; padding: 10px; border-radius: 5px; background: #f2f7f4; margin-top: 12px; overflow-wrap: anywhere; }
.installation-notes { margin: 0 0 42px; }
.installation-help { background: #f6f8fb; border: 1px solid #e5ebf1; border-radius: 8px; }
.installation-help summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; list-style: none; font-size: 12px; font-weight: 600; color: #234967; }
.installation-help summary::-webkit-details-marker { display: none; }
.expand-symbol { font-size: 20px; line-height: 1; font-weight: 400; }
.installation-help[open] .expand-symbol { transform: rotate(45deg); }
.installation-help > div { padding: 0 20px 15px; max-width: 820px; }
.installation-help p { margin: 0 0 8px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.upgrade-note { font-size: 11px; color: var(--muted); margin: 16px 0 0; }
.site-footer { border-top: 1px solid var(--line); padding: 27px 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.site-footer strong { font-size: 14px; color: var(--navy); }
.site-footer strong span { font-weight: 400; color: #6b8092; }
.site-footer p { font-size: 10px; margin: 6px 0 0; color: #718493; line-height: 1.6; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 23px; padding-top: 3px; font-size: 11px; }
.site-footer nav a { text-decoration: none; }
.site-footer .distribution-note { grid-column: 1 / -1; margin: 0; font-size: 9px; }

/* Excel task pane and browser preview retain the working runtime DOM. */
.taskpane-page .pane-shell { max-width: 540px; padding: 0 20px; }
.taskpane-page .brand-header, .help-page .brand-header { padding: 25px 0 21px; border-bottom: 1px solid var(--line); }
.taskpane-page .brand-header img { width: 252px; max-width: 100%; }
.taskpane-page .intro { padding: 23px 0; }
.taskpane-page .eyebrow { font-size: 11px; letter-spacing: .1em; gap: 7px; }
.taskpane-page .product-label { color: #72869a; font-size: 10px; font-weight: 500; }
.taskpane-page .intro-description { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 8px; }
.taskpane-page #app-body { gap: 16px; }
.taskpane-page .card { border-radius: 12px; border-color: #e0e7ee; padding: 22px; box-shadow: 0 3px 12px #002e6004; }
.taskpane-page h2 { font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.taskpane-page .section-heading { gap: 13px; margin-bottom: 17px; }
.taskpane-page .section-number { border: 0; border-radius: 6px; background: #eff4f9; color: #486c8d; min-width: 29px; height: 29px; line-height: 29px; text-align: center; margin-top: 2px; font-size: 10px; }
.taskpane-page .helper, .taskpane-page .section-description { color: #586b7c; font-size: 12px; line-height: 1.8; }
.taskpane-page .section-description { margin-top: 3px; font-size: 11px; }
.taskpane-page label { color: #294a64; margin-top: 15px; font-size: 12px; }
.taskpane-page input, .taskpane-page #browser-preview select { min-height: 44px; font-size: 12px; border-color: #cfdae4; border-radius: 7px; color: var(--ink); }
.taskpane-page input::placeholder { color: #8899a8; }
.taskpane-page input:focus, .taskpane-page #browser-preview select:focus { border-color: #407bb2; }
.taskpane-page .button { border-radius: 7px; min-height: 43px; font-size: 12px; }
.taskpane-page .button-primary { box-shadow: 0 2px 4px #002e6010; }
.taskpane-page .button-primary:hover { background: #184d7c; }
.taskpane-page .button-secondary { border-color: #d9e3ec; background: #fafcfe; }
.taskpane-page .button-secondary:hover { background: #eef4f9; }
.taskpane-page .button:disabled { opacity: .5; box-shadow: none; }
.taskpane-page .notice { padding: 14px 16px; border-color: #ebdfc8; border-radius: 9px; background: #fcf9f2; color: #725b36; font-size: 11px; line-height: 1.8; }
.taskpane-page #browser-mode { background: #edf4fa; color: #41627d; border-color: #dbe7f1; }
.taskpane-page .notice strong { color: inherit; font-size: 12px; }
.taskpane-page .text-button { color: #6d7e8c; font-size: 11px; }
.taskpane-page .formula { background: #f1f6f3; border-left: 2px solid #639274; border-radius: 0 6px 6px 0; color: #285a40; font-size: 11px; padding: 14px 12px; }
.taskpane-page .disclosure { border-color: #e7edf3; }
.taskpane-page .disclosure summary { font-size: 12px; }
.taskpane-page .small-label { color: #8394a2; }
.taskpane-page .resource-links { justify-content: center; gap: 18px; padding: 21px 0 4px; font-size: 11px; }
.taskpane-page .resource-links a { color: #698093; text-decoration: none; }
.taskpane-page .pane-footer { padding-top: 16px; padding-bottom: 24px; color: #8091a0; }
.taskpane-page .preview-result { border-radius: 6px; }
.taskpane-page .preview-result td { border-color: #e2e9f0; }

.help-page .pane-shell { max-width: 800px; padding: 0 28px; }
.help-page .brand-header img { width: 260px; max-width: 100%; }
.help-page .help-content { padding: 36px 0 40px; }
.help-page .help-content h1 { font-size: 34px; font-weight: 600; letter-spacing: -1px; margin-bottom: 32px; }
.help-page .help-content h2 { font-size: 18px; padding-top: 26px; margin: 28px 0 13px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.help-page .help-content p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.help-page .help-content code { font-size: 11px; color: #2c536f; background: #eaf0f5; border-radius: 3px; padding: 2px 4px; }
.help-page .resource-links { gap: 22px; padding-top: 22px; }

@media (max-width: 960px) {
  .site-shell { padding: 0 32px; }
  .landing-hero { gap: 32px; padding: 56px 0; }
  .platform-card { gap: 11px; padding: 15px 13px; }
  .hero-description { font-size: 15px; }
  .setup-steps { gap: 22px; }
  .workbook-formula { gap: 9px; }
  .cell-address { padding: 0 12px; }
  .workbook-formula code { font-size: 9px; }
}
@media (max-width: 740px) {
  .site-header { min-height: 94px; gap: 20px; }
  .site-brand img { width: 210px; }
  .site-nav { gap: 12px; font-size: 11px; }
  .site-nav .preview-link { padding: 9px 11px; }
  .site-nav > a:first-child { display: none; }
  .landing-hero { grid-template-columns: 1fr; gap: 40px; padding: 43px 0; }
  .landing-hero h1 { font-size: 46px; }
  .hero-description { max-width: 490px; margin-bottom: 24px; }
  .workbook-preview { max-width: 520px; width: 100%; margin: 0 auto; padding: 5px 4px 0; }
  .workbook-formula code { font-size: 11px; }
  .workbook-formula { gap: 13px; }
  .workbook-preview figcaption { margin-top: 19px; }
  .getting-started { padding-top: 34px; }
  .setup-steps { grid-template-columns: 1fr; gap: 26px; }
  .setup-steps li { padding-left: 20px; }
  .setup-steps p { max-width: 520px; }
  .setup-formula { display: inline-block; }
  .step-index { margin-bottom: 7px; }
  .site-footer { grid-template-columns: 1fr; gap: 15px; }
  .site-footer nav { gap: 22px; }
}
@media (max-width: 420px) {
  .site-shell { padding: 0 21px; }
  .site-brand img { width: 176px; }
  .site-header { min-height: 85px; gap: 10px; }
  .site-nav .preview-link { padding: 9px 10px; font-size: 10px; }
  .preview-link span { margin-left: 3px; }
  .landing-hero { padding-top: 34px; }
  .landing-hero h1 { font-size: 39px; letter-spacing: -1.5px; }
  .hero-eyebrow { margin-bottom: 20px; font-size: 10px; }
  .hero-description { font-size: 14px; margin-top: 19px; }
  .platform-downloads { gap: 10px; }
  .platform-card { gap: 10px; padding: 15px 12px; }
  .platform-card .platform-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .platform-card strong { font-size: 14px; }
  .platform-card small { font-size: 10px; }
  .workbook-formula code { font-size: 9px; }
  .workbook-tabs { gap: 20px; }
  .worksheet td { padding-left: 8px; padding-right: 8px; font-size: 9px; }
  .section-intro h2 { font-size: 24px; }
  .taskpane-page .pane-shell { padding: 0 15px; }
  .taskpane-page .card { padding: 18px; }
  .taskpane-page .brand-header img { width: 230px; }
  .taskpane-page .button-row { gap: 7px; }
  .taskpane-page .button-row .button { padding-left: 8px; padding-right: 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .platform-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .platform-card, .workbook-window, .installation-help { border: 1px solid CanvasText; }
  .cell-placeholder { background: GrayText; }
}
