/* Exchange Certificate Manager screen tour: the same desk, window and banner as the Win11 Image Prep demo. */
:root {
  --bg: #efe8e1;
  --win: #ffffff;
  --soft: #f7f3ef;
  --raised: #f4ede6;
  --text: #302923;
  --heading: #201a16;
  --muted: #625850;
  --border: #75401f30;
  --border-strong: #75401f6b;
  --copper: #8a4e2e;
  --copper-dark: #60351f;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; font: 15px/1.5 Inter, "Segoe UI", system-ui, sans-serif; color: var(--text); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.demo-banner { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 16px; background: #201a16; color: #fff; font: 13px/1.4 Inter, "Segoe UI", system-ui, sans-serif; text-align: center; }
.demo-banner a { color: #f2c4a3; }

.desk { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 24px 16px 32px; }
.window { width: 100%; max-width: 1320px; background: var(--win); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: 0 24px 60px rgba(60, 30, 10, .18); display: flex; flex-direction: column; overflow: hidden; }

.titlebar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 0 0 14px; border-bottom: 1px solid var(--border); background: var(--soft); font-size: 13px; }
.app-icon { width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--copper), var(--copper-dark)); box-shadow: inset 0 0 0 3px #ffffff55; }
.title { font-weight: 700; color: var(--heading); }
.ver { color: var(--muted); }
.winctl { margin-left: auto; display: flex; height: 100%; }
.winctl i { width: 46px; display: block; position: relative; }
.winctl i::after { content: ""; position: absolute; left: 18px; top: 19px; width: 10px; height: 1px; background: var(--muted); }
.winctl i:nth-child(2)::after { top: 14px; height: 10px; background: none; border: 1px solid var(--muted); }
.winctl i:nth-child(3)::after { top: 19px; transform: rotate(45deg); }
.winctl i:nth-child(3)::before { content: ""; position: absolute; left: 18px; top: 19px; width: 10px; height: 1px; background: var(--muted); transform: rotate(-45deg); }

.body { display: grid; grid-template-columns: 210px minmax(0, 1fr); }

.screens { background: var(--soft); border-right: 1px solid var(--border); padding: 18px 12px; }
.screens ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.screens li { counter-increment: s; }
.screens button { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: none; border: 0; border-radius: 8px; padding: 9px 10px; color: var(--text); font-weight: 600; cursor: pointer; }
.screens button::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--copper-dark); background: var(--raised); border: 1px solid var(--border-strong); }
.screens button:hover { background: var(--raised); }
.screens button[aria-current] { background: var(--raised); color: var(--copper-dark); }
.screens button[aria-current]::before { background: var(--copper); border-color: var(--copper); color: #fff; }

.stage { padding: 18px; outline: none; background: #e9e1d9; }
.stage figure { margin: 0; }
.stage img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(60, 30, 10, .12); background: #fff; }
.stage img.splash { width: min(620px, 100%); margin: 40px auto; border: 0; box-shadow: none; background: transparent; }
.stage figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; max-width: 900px; }
.stage figcaption strong { color: var(--heading); font-size: 17px; }
.stage figcaption span { color: var(--muted); }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border); background: var(--soft); }
.footer-status { color: var(--muted); font-size: 13px; }
.footer-actions { display: flex; gap: 8px; }
.btn { border-radius: 7px; padding: 7px 16px; font-weight: 700; cursor: pointer; border: 1px solid var(--border-strong); }
.btn.primary { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn.ghost { background: #fff; color: var(--copper-dark); }
.btn:disabled { opacity: .45; cursor: default; }

@media (max-width: 760px) {
  .body { grid-template-columns: 1fr; }
  .screens { border-right: 0; border-bottom: 1px solid var(--border); padding: 10px; overflow-x: auto; }
  .screens ol { display: flex; gap: 4px; }
  .screens button { white-space: nowrap; }
  .stage { padding: 10px; }
}
