:root {
  color-scheme: light;
  /* Website palette (website/assets/site.css): navy primary, amber pulse accent, mint labels. */
  --brand-950: #0f1830;
  --brand-900: #17233f;
  --brand-800: #1c2a4c;
  --brand-700: #22305a;
  --brand-600: #17233f;
  --brand-500: #e0961f;
  --brand-200: #c9d3e3;
  --brand-100: #e1e7f0;
  --brand-50: #edf1f6;
  --mint: #1f7259;
  --focus: #d97a00;
  --ink-950: #15203a;
  --ink-800: #22304f;
  --ink-700: #34405a;
  --ink-600: #556179;
  --ink-500: #5f6a80;
  --line: #dce2ec;
  --line-strong: #c3cbda;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --success: #0b7a63;
  --success-soft: #e8f7f2;
  --warning: #a16207;
  --warning-soft: #fff8e7;
  --danger: #b4233a;
  --danger-soft: #fff1f2;
  --shadow-sm: 0 7px 24px rgba(39, 43, 76, .08);
  --shadow-lg: 0 24px 70px rgba(39, 43, 76, .14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink-950);
  background:
    radial-gradient(circle at 7% 2%, rgba(190, 228, 214, .42), transparent 24rem),
    radial-gradient(circle at 97% 16%, rgba(15, 138, 112, .07), transparent 26rem),
    var(--canvas);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-900);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.guide-skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  color: #fff;
  background: var(--brand-900);
  font-weight: 700;
}

.guide-skip-link:focus {
  top: 0;
}

.wrap {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.guide-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(205, 210, 225, .84);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.guide-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.guide-brand {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-950);
  text-decoration: none;
}

.guide-brand-mark {
  flex: 0 0 auto;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(23, 35, 63, .18);
}

.guide-brand-copy {
  line-height: 1.18;
}

.guide-brand-name {
  display: block;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .01em;
}

.guide-brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 12px;
}

.guide-language-link {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.guide-language-link:hover {
  color: var(--brand-800);
  background: var(--brand-50);
}

.guide-local-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .84);
}

.guide-local-nav strong {
  margin-right: 4px;
  color: var(--ink-700);
  font-size: 13px;
}

.guide-local-nav a {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.prerequisite-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.prerequisite-grid li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-600);
  background: #fff;
  font-size: 14px;
}

.prerequisite-grid li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.prerequisite-grid strong {
  color: var(--ink-800);
}

.guide-language-link {
  margin-left: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  padding: 78px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
  letter-spacing: -.025em;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 780;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 760;
}

h3 {
  margin-bottom: 9px;
  font-size: 19px;
  font-weight: 730;
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: var(--ink-600);
  font-size: 19px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  box-shadow: 0 10px 24px rgba(23, 35, 63, .22);
}

.button-primary:hover {
  color: #fff;
  background: var(--brand-800);
}

.button-secondary {
  color: var(--ink-700);
  border-color: var(--line-strong);
  background: #fff;
}

.trust-row {
  margin: 27px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.trust-row li {
  padding: 6px 10px;
  border: 1px solid #dce0ed;
  border-radius: 999px;
  color: var(--ink-600);
  background: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 650;
}

.product-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(.5deg);
}

.window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: #fafafd;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8dbe5;
}

.window-title {
  margin-left: 7px;
  color: var(--ink-500);
  font-size: 11px;
}

.window-body {
  padding: 18px;
  background: #f7f8fc;
}

.mini-brandbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 14px;
}

.mini-brandbar .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: none;
}

.mini-brand-text strong {
  display: block;
  font-size: 13px;
}

.mini-brand-text span {
  color: var(--ink-500);
  font-size: 9px;
}

.readiness-card {
  display: grid;
  grid-template-columns: 1fr 122px;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--brand-200);
  border-radius: 14px;
  background: #fff;
}

.readiness-card small {
  color: var(--brand-700);
  font-weight: 750;
}

.readiness-card h3 {
  margin: 5px 0 7px;
  font-size: 20px;
}

.readiness-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 11px;
}

.report-button {
  margin-top: 13px;
  display: inline-block;
  padding: 8px 13px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-600);
  font-size: 10px;
  font-weight: 700;
}

.status-orbit {
  display: grid;
  place-items: center;
  align-self: center;
  aspect-ratio: 1;
  border: 11px solid var(--brand-50);
  border-top-color: var(--brand-500);
  border-radius: 50%;
  color: var(--brand-800);
  font-size: 12px;
  font-weight: 800;
}

.metric-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.metric {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.metric span {
  display: block;
  color: var(--ink-500);
  font-size: 9px;
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.metric.success strong {
  color: var(--success);
}

.section {
  padding: 76px 0;
}

.section-white {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--ink-600);
  font-size: 17px;
}

.section-heading .eyebrow {
  color: var(--mint);
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: guide-step;
}

.step-card {
  position: relative;
  min-height: 218px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: guide-step;
}

.step-card::before {
  content: counter(guide-step, decimal-leading-zero);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 11px;
  color: var(--brand-800);
  background: var(--brand-50);
  font-size: 12px;
  font-weight: 850;
}

.step-card::after {
  content: "";
  position: absolute;
  left: 72px;
  right: 24px;
  top: 41px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-200), transparent);
}

.step-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
}

.step-card p + p {
  margin-top: 10px;
}

/* Long, unequal step text reads as a list: title column beside a capped text column. */
.steps-detailed {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.step-card code {
  overflow-wrap: anywhere;
}

.steps-detailed .step-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 44em);
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  align-items: start;
}

:lang(en) .steps-detailed .step-card {
  grid-template-columns: minmax(180px, 260px) minmax(0, 40em);
}

.steps-detailed .step-card::before {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 16px;
}

.steps-detailed .step-card::after {
  right: auto;
  width: 160px;
}

.steps-detailed .step-card h3 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}

.steps-detailed .step-body {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.callout {
  margin-top: 24px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  border: 1px solid #ecd39a;
  border-left: 4px solid var(--brand-500);
  border-radius: 14px;
  color: var(--ink-700);
  background: #fff3d9;
}

.callout-mark {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-600);
  font-size: 13px;
  font-weight: 800;
}

.callout p {
  margin: 0;
}

.figure-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.microsoft-overview-figure h3,
.microsoft-flow-figure h3 {
  margin: 0 0 18px;
  color: var(--ink-800);
}

.microsoft-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.microsoft-flow li {
  position: relative;
  min-width: 0;
  min-height: 168px;
  padding: 17px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
}

.microsoft-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 0;
  height: 0;
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--brand-500);
  content: "";
  transform: translateY(-50%);
}

.flow-step-number {
  width: 27px;
  height: 27px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-700);
  font-size: 13px;
  font-weight: 800;
}

.microsoft-flow li strong {
  display: block;
  color: var(--ink-800);
  font-size: 14px;
  line-height: 1.4;
}

.microsoft-flow li p {
  margin: 8px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.55;
}

.microsoft-flow-compact li {
  min-height: 156px;
  padding: 15px 13px;
}

.microsoft-flow-branch {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #f2d28a;
  border-left: 4px solid var(--warning);
  border-radius: 10px;
  color: #754b05;
  background: var(--warning-soft);
  font-size: 14px;
}

.microsoft-flow-branch strong {
  color: #694204;
}

.figure-stage {
  padding: 28px;
  background:
    linear-gradient(rgba(225, 231, 240, .62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 231, 240, .62) 1px, transparent 1px),
    #fafbff;
  background-size: 22px 22px;
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #171827;
}

.guide-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #f8f9fc;
}

.demo-video:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.shot-link {
  display: block;
  color: var(--brand-700);
  text-decoration: none;
  cursor: zoom-in;
}

.shot-link:hover .guide-shot {
  border-color: var(--brand-500);
}

.shot-open {
  display: inline-flex;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-grid.shot-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.image-caption {
  margin: 9px 0 0;
  color: var(--ink-600);
  font-size: 13px;
}

figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-600);
  background: #fff;
  font-size: 13px;
}

.ribbon-demo {
  overflow: hidden;
  border: 1px solid #d8d9df;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(39, 43, 76, .11);
}

.ribbon-tabs {
  height: 36px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 0 14px;
  border-bottom: 1px solid #e2e2e6;
  color: #2f3038;
  font-size: 12px;
}

.ribbon-tabs span {
  padding-bottom: 8px;
}

.ribbon-tabs .active {
  border-bottom: 3px solid var(--brand-700);
  font-weight: 700;
}

.ribbon-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 118px;
}

.ribbon-group {
  position: relative;
  display: grid;
  place-items: center;
  padding: 13px 10px 25px;
  border-right: 1px solid #dedfe5;
  text-align: center;
}

.ribbon-group:last-child {
  border-right: 0;
}

.ribbon-icon {
  position: relative;
  width: 36px;
  height: 32px;
  margin-bottom: 7px;
  border: 2px solid var(--ink-600);
  border-radius: 5px;
}

.ribbon-icon.folder {
  border-radius: 3px 5px 5px 5px;
}

.ribbon-icon.folder::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -8px;
  width: 17px;
  height: 8px;
  border: 2px solid var(--ink-600);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.ribbon-icon.page::after {
  content: "+";
  position: absolute;
  right: -8px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-600);
  font-size: 14px;
  font-weight: 800;
}

.ribbon-icon.mail::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 6px;
  height: 12px;
  border-bottom: 2px solid var(--ink-600);
  transform: rotate(32deg);
}

.ribbon-icon.help {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-700);
  border-color: var(--brand-500);
  font-size: 20px;
  font-weight: 800;
}

.ribbon-label {
  color: var(--ink-800);
  font-size: 12px;
  line-height: 1.25;
}

.ribbon-group-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  color: var(--ink-500);
  font-size: 9px;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.section-gap {
  margin-top: 22px;
}

.content-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.content-card > p {
  margin: 0;
  color: var(--ink-600);
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: var(--ink-700);
  font-size: 14px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--success);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 900;
}

.notebook-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.notebook-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 12px;
}

.notebook-row:last-child {
  border-bottom: 0;
}

.notebook-row.header {
  min-height: 38px;
  color: var(--ink-600);
  background: #f8f9fc;
  font-size: 10px;
  font-weight: 750;
}

.status-pill {
  width: max-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0a6e5a;
  background: var(--success-soft);
  font-size: 10px;
  font-weight: 750;
}

.baseline-demo {
  padding: 22px;
  border: 1px solid var(--brand-200);
  border-radius: 14px;
  background: #fff;
}

.baseline-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.baseline-top strong {
  display: block;
  font-size: 18px;
}

.baseline-top span {
  color: var(--ink-500);
  font-size: 11px;
}

.progress-value {
  color: var(--brand-700) !important;
  font-size: 18px !important;
  font-weight: 800;
}

.progress-track {
  height: 9px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--brand-50);
}

.progress-track::before {
  content: "";
  width: 64%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
}

.progress-meta {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-500);
  font-size: 10px;
}

.source-diagram {
  display: grid;
  grid-template-columns: 1fr 72px 1.25fr 72px 1fr;
  align-items: center;
  gap: 10px;
}

.source-node {
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.source-node.primary {
  border-color: var(--brand-200);
  background: linear-gradient(180deg, #fff, var(--brand-50));
}

.source-node.optional {
  border-style: dashed;
  background: #fbfbfd;
}

.source-node strong,
.source-node span {
  display: block;
}

.source-node span {
  margin-top: 5px;
  color: var(--ink-500);
  font-size: 11px;
}

.source-arrow {
  position: relative;
  height: 2px;
  background: var(--brand-200);
}

.source-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--brand-500);
  transform: translateX(8px);
}

.report-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
}

.report-flow li {
  position: relative;
  min-height: 112px;
  padding: 17px 13px;
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.report-flow li::before {
  content: "✓";
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  color: var(--success);
  background: var(--success-soft);
  font-size: 11px;
}

.report-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  width: 15px;
  height: 2px;
  background: var(--line-strong);
}

.mode-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mode-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.mode-card strong {
  display: block;
  margin-bottom: 6px;
}

.mode-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
}

.storage-diagram {
  display: grid;
  grid-template-columns: 1fr 58px 1fr;
  align-items: center;
  gap: 14px;
}

.storage-box {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.storage-box.program {
  background: #fafafd;
}

.storage-box.data {
  border-color: #bfe8dc;
  background: linear-gradient(180deg, #fff, var(--success-soft));
}

.storage-box p {
  margin: 8px 0 0;
  color: var(--ink-600);
  font-size: 12px;
}

.storage-divider {
  text-align: center;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 750;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.notice {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.notice-label {
  width: max-content;
  margin-bottom: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--brand-700);
  background: var(--brand-50);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.notice p {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

summary {
  position: relative;
  padding: 17px 48px 17px 19px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  color: var(--brand-700);
  font-size: 20px;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

.detail-copy {
  padding: 0 19px 18px;
  color: var(--ink-600);
  font-size: 15px;
}

.detail-copy p {
  max-width: 46em;
  margin: 0;
}

.detail-copy p + p {
  margin-top: 10px;
}

.guide-site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  background: #fff;
  font-size: 13px;
}

.guide-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-footer-brand {
  color: var(--ink-700);
  font-weight: 750;
}

.print-note {
  display: none;
}

@media (max-width: 980px) {
  .guide-header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    padding-top: 10px;
  }

  .guide-language-link {
    margin-left: auto;
  }

  .steps.steps-detailed {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-detailed .step-card {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    column-gap: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-window {
    max-width: 700px;
    transform: none;
  }

  .steps,
  .notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prerequisite-grid {
    grid-template-columns: 1fr;
  }

  .prerequisite-grid li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .microsoft-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .microsoft-flow li,
  .microsoft-flow-compact li {
    min-height: 0;
    padding: 17px 18px;
  }

  .microsoft-flow li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -12px;
    left: 50%;
    border-width: 8px 6px 0;
    border-color: var(--brand-500) transparent transparent;
    transform: translateX(-50%);
  }

  .source-diagram {
    grid-template-columns: 1fr;
  }

  .source-arrow {
    width: 2px;
    height: 38px;
    margin: 0 auto;
  }

  .source-arrow::after {
    right: -4px;
    top: auto;
    bottom: -7px;
    border-left-color: transparent;
    border-top-color: var(--brand-500);
    transform: none;
  }

  .report-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .report-flow li::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(calc(100% - 28px), var(--content));
  }

  .guide-header-inner {
    min-height: 64px;
  }

  .guide-brand-subtitle {
    display: none;
  }

  .guide-language-link {
    padding: 7px 9px;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .steps,
  .split-grid,
  .notice-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .notice-grid.shot-pair {
    grid-template-columns: 1fr;
  }

  /* On phones the multi-row header scrolls away instead of covering the long guide. */
  .guide-site-header {
    position: static;
  }

  html {
    scroll-padding-top: 12px;
  }

  .step-card {
    min-height: 0;
  }

  .step-card::before {
    margin-bottom: 18px;
  }

  .steps-detailed .step-card {
    display: block;
  }

  .steps-detailed .step-card::after {
    right: 24px;
    width: auto;
  }

  .steps-detailed .step-card h3 {
    margin-bottom: 9px;
  }

  .readiness-card {
    grid-template-columns: 1fr;
  }

  .status-orbit {
    width: 110px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .figure-stage {
    padding: 16px;
  }

  .demo-image-row {
    grid-template-columns: 1fr;
  }

  .guide-local-nav {
    gap: 7px;
    padding-block: 13px;
  }

  .guide-local-nav strong {
    flex-basis: 100%;
  }

  .ribbon-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .ribbon-group:nth-child(2) {
    border-right: 0;
  }

  .ribbon-group:nth-child(-n+2) {
    border-bottom: 1px solid #dedfe5;
  }

  .notebook-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 10px;
  }

  .notebook-row.header {
    display: none;
  }

  .report-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .report-flow li {
    min-height: 0;
    padding: 11px 14px;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 14px;
  }

  .report-flow li::before {
    margin: 0;
  }

  .storage-diagram {
    grid-template-columns: 1fr;
  }

  .storage-divider {
    padding: 2px 0;
  }

  .guide-footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

/* At 200% zoom or on landscape phones a sticky header would cover much of the viewport. */
@media (max-height: 560px) {
  .guide-site-header {
    position: static;
  }

  html {
    scroll-padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    --canvas: #fff;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10pt;
  }

  .guide-site-header,
  .hero-actions,
  .guide-language-link,
  .guide-skip-link {
    display: none !important;
  }

  .wrap {
    width: 100%;
  }

  .hero,
  .section {
    padding: 22px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .product-window,
  .figure-card,
  .content-card,
  .step-card,
  details {
    break-inside: avoid;
    box-shadow: none;
  }

  details .detail-copy {
    display: block;
  }

  .print-note {
    display: block;
  }
}
/* Owner 2026-11-12 round 2: four-step entry and native accessible image dialog. */
.guide-intro { padding-block: 36px 24px; }
.guide-steps { display: grid; gap: 48px; padding-bottom: 48px; }
.guide-step { min-width: 0; }
.guide-step h2 { margin-bottom: 12px; }
.guide-step > p { max-width: 70ch; margin-bottom: 20px; }
.guide-step .shot-link { display: block; }
.guide-step .demo-video { display: block; width: 100%; margin-top: 20px; }
.guide-reference { padding-bottom: 48px; }
.guide-details { padding-block: 18px; border-top: 1px solid #dce2ec; }
.guide-details > summary { cursor: pointer; color: #17233f; font-size: 1.1rem; font-weight: 650; }
.details-content { padding-top: 20px; }
.image-lightbox { position: fixed; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); margin: auto; padding: 16px; border: 1px solid #c3cbda; border-radius: 8px; background: #f5f7fa; }
.image-lightbox::backdrop { background: rgba(23, 35, 63, 0.72); }
.image-lightbox img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 120px); margin: 12px auto 0; object-fit: contain; }
#lightbox-close { display: block; margin-left: auto; min-width: 44px; min-height: 44px; padding: 8px 16px; border: 1px solid #17233f; border-radius: 6px; color: #fff; background: #17233f; font: inherit; cursor: pointer; }
.guide-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .guide-steps { gap: 32px; }
  .guide-step > p { margin-bottom: 16px; }
}
@media print {
  .image-lightbox { display: none; }
}

/* Keep the guide title visible when the compact header wraps on phones. */
.guide-site-header .guide-brand-subtitle { display: block; }

/* Owner 2026-11-12 direction B: two columns on desktop (text left, media right, about 700px) so the four steps stay short. */
@media (min-width: 761px) {
  .guide-step { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); grid-template-rows: auto auto 1fr auto; column-gap: clamp(24px, 4vw, 48px); align-items: start; }
  .guide-step > h2 { grid-area: 1 / 1; }
  .guide-step > p { grid-area: 2 / 1; margin-bottom: 0; }
  .guide-step > .shot-link { grid-area: 1 / 2 / 4 / 3; max-width: 720px; }
  .guide-step > .demo-video { grid-area: 4 / 2; max-width: 720px; margin-top: 20px; }
}
