/* Public downloads: the shared portal shell stays the same for every visitor. */
.downloads-page { max-width: 1180px; padding-bottom: 64px; line-height: 1.55; }
.downloads-page :where(h1, h2, h3, h4, p) { margin: 0; }
.downloads-page a { text-decoration: none; }
.downloads-page button { font: inherit; cursor: pointer; }
.dl-intro { padding: 60px 0 34px; }
.dl-eyebrow { color: #63735b; font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.dl-intro-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-top: 18px; }
.planori-site .downloads-page h1 { font-size: clamp(38px, 4.6vw, 60px); font-weight: 650; letter-spacing: -2.5px; line-height: 1.08; }
.dl-intro h1 span { display: block; color: var(--blue); }
.dl-intro p { max-width: 590px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.dl-release-pill { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; max-width: 100%; margin-top: 12px; padding: 9px 13px; border: 1px solid #d4dfcb; border-radius: 99px; background: #edf2e7; color: #526d45; font-size: 12px; overflow-wrap: anywhere; }
.dl-release-pill > span { flex: 0 0 7px; width: 7px; height: 7px; background: #638751; border-radius: 50%; }
.dl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-card { display: flex; flex-direction: column; min-width: 0; padding: 28px 27px 23px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.dl-card.is-detected { border-color: #8aa8f3; box-shadow: 0 0 0 3px #2259e808; }
.dl-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 54px; margin-bottom: 21px; }
.dl-os-icon { display: block; width: 39px; height: 42px; flex-shrink: 0; color: var(--ink); }
.dl-os-icon svg { display: block; width: 100%; height: 100%; }
.dl-card[data-platform="windows"] .dl-os-icon { color: var(--blue); }
.dl-detected { padding: 6px 8px; border-radius: 5px; color: var(--blue); background: #edf3ff; font-size: 10px; font-weight: 650; text-align: right; }
.downloads-page .dl-card h2 { font-size: 27px; letter-spacing: -.8px; }
.dl-os-description { min-height: 44px; margin: 7px 0 20px; color: var(--muted); font-size: 14px; }
.dl-file-info { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 12px; }
.dl-arch { padding: 5px 9px; border-radius: 5px; background: #f0f3f6; color: #4c6078; }
.dl-format { color: #69788b; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.planori-site .dl-download { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 49px; margin-top: auto; padding: 14px 16px; border-radius: 7px; color: white; background: var(--blue); font-size: 14px; font-weight: 650; }
.planori-site .dl-download:hover { background: var(--blue-hover); }
.dl-download > span { font-size: 22px; font-weight: 400; line-height: 1; }
.dl-file-size { margin-top: 8px; color: var(--muted); font-size: 12px; }
.dl-install-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: 6px; padding-top: 8px; color: #576980; font-size: 13px; }
.dl-install-link:hover { color: var(--blue); }
.dl-entry-note { margin: 22px 0 52px; color: var(--muted); font-size: 13px; }
.dl-entry-note strong { color: var(--ink); font-weight: 550; }
.dl-setup { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.dl-setup-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 27px 31px; border-bottom: 1px solid var(--line); }
.downloads-page .dl-setup-head h2 { font-size: 24px; letter-spacing: -.7px; }
.dl-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 7px; background: #f0f3f6; }
.dl-tabs button { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 5px; color: #65758a; background: transparent; font-size: 13px; }
.dl-tabs button[aria-pressed="true"] { color: var(--ink); background: white; box-shadow: 0 1px 4px #172b4513; font-weight: 650; }
.dl-setup-content { padding: 29px 31px; }
.dl-instructions + .dl-instructions { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.downloads-page.is-enhanced .dl-instructions { margin: 0; padding: 0; border: 0; }
.downloads-page .dl-instructions-title { margin-bottom: 24px; font-size: 18px; }
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.dl-steps li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 13px; }
.dl-steps li > span { padding-top: 2px; color: #688152; font-size: 13px; }
.downloads-page .dl-steps h4 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.4; }
.dl-steps p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.dl-terminal { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; padding: 18px 20px; border-radius: 8px; background: #172b45; color: #f1f5fc; }
.dl-terminal pre { min-width: 0; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-terminal code { font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
.dl-terminal button { flex-shrink: 0; min-height: 40px; padding: 8px 12px; border: 1px solid #63748a; border-radius: 5px; background: transparent; color: #e6edf8; font-size: 12px; }
.dl-terminal button:hover { background: #2b405b; }
.dl-command-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.dl-help { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.dl-help summary { color: var(--ink); font-weight: 550; cursor: pointer; }
.dl-help p { max-width: 820px; padding-top: 13px; color: var(--muted); line-height: 1.75; }
.dl-help code { overflow-wrap: anywhere; }
.dl-copy-status { margin-top: 12px; color: var(--muted); font-size: 12px; }
.dl-copy-status:empty { display: none; }
.dl-setup-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 15px 31px; border-top: 1px solid #edf0ec; background: #fafbf9; color: var(--muted); font-size: 12px; }
.dl-setup-footer a, .dl-help a, .dl-faq a, .dl-release-info > a, .dl-empty a { color: var(--blue); }
.dl-requirements { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 60px; padding: 50px 0 44px; }
.downloads-page .dl-requirements h2 { margin-bottom: 15px; font-size: 27px; letter-spacing: -.8px; line-height: 1.2; }
.dl-requirements p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.dl-requirements dl { margin: 0; }
.dl-requirements dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.dl-requirements dl > div:first-child { padding-top: 0; }
.dl-requirements dt { font-weight: 600; }
.dl-requirements dd { margin: 0; color: var(--muted); }
.dl-bottom-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; padding: 32px 0 28px; border-top: 1px solid var(--line); }
.downloads-page .dl-bottom-grid h2 { margin-bottom: 22px; font-size: 25px; letter-spacing: -.7px; }
.dl-faq details { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dl-faq summary { cursor: pointer; font-weight: 550; }
.dl-faq p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.dl-release-info { align-self: start; padding: 28px; border-radius: 12px; background: #eaf0e2; }
.dl-release-date { margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.downloads-page .dl-release-info h3 { margin-bottom: 12px; font-size: 16px; }
.dl-release-notes { margin: 0; font: inherit; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-release-info > a { display: inline-block; margin-top: 20px; font-size: 13px; }
.dl-mandatory { margin: 12px 0; color: #8b3c24; font-size: 13px; font-weight: 650; }
.dl-history { margin-top: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.dl-history > summary { font-weight: 600; cursor: pointer; }
.dl-history article { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.dl-history h3 { margin-bottom: 8px; font-size: 18px; }
.dl-empty { margin-bottom: 40px; padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.dl-empty p { margin-top: 12px; color: var(--muted); }
@media (max-width: 1000px) {
  .dl-card { padding: 23px 20px; }
  .dl-setup-head { align-items: flex-start; flex-direction: column; }
  .dl-requirements { grid-template-columns: 230px minmax(0, 1fr); gap: 35px; }
  .dl-bottom-grid { gap: 30px; }
  .dl-steps { gap: 20px; }
}
@media (max-width: 760px) {
  .dl-intro { padding-top: 36px; }
  .dl-intro-row { flex-direction: column; gap: 18px; }
  .dl-release-pill { margin-top: 0; }
  .dl-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dl-card-top { height: 42px; margin-bottom: 15px; }
  .dl-os-description { min-height: 0; margin-bottom: 18px; }
  .dl-entry-note { margin-bottom: 30px; }
  .dl-steps, .dl-requirements, .dl-bottom-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-steps { gap: 25px; }
  .dl-requirements { gap: 26px; padding-block: 34px; }
  .dl-terminal { align-items: flex-start; flex-direction: column; gap: 14px; }
  .dl-terminal pre { max-width: 100%; }
  .dl-setup-head, .dl-setup-content { padding: 22px; }
  .dl-setup-footer { padding-inline: 22px; }
}
@media (max-width: 420px) {
  .planori-site .downloads-page h1 { font-size: 40px; letter-spacing: -1.5px; }
  .dl-intro p { font-size: 15px; }
  .downloads-page .dl-setup-head h2 { font-size: 23px; }
  .dl-setup-head, .dl-setup-content { padding: 20px; }
  .dl-tabs { width: 100%; }
  .dl-tabs button { flex: 1; padding-inline: 9px; }
  .dl-requirements dl > div { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; font-size: 12px; }
  .dl-release-info { padding: 22px; }
}
