/* ============ transcript window ============ */
.transcript {
  padding: 12px 16px; height: 300px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 9px;
}
.t-line { display: grid; grid-template-columns: 52px 1fr; gap: 10px; font-size: 12.5px; line-height: 1.5; }
.t-speaker { font-weight: 700; color: var(--sc, var(--frost-70)); font-size: 11.5px; padding-top: 1px; text-align: right; }
.t-text { color: var(--frost-70); }
.t-line.typing .t-text::after {
  content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px;
  vertical-align: -2px; background: var(--accent); border-radius: 2px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ============ writeup (markdown) ============ */
.writeup { padding: 14px 18px 16px; height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.writeup-mini { height: auto; max-height: 250px; padding: 10px 12px 12px; }
.ai-block { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.ai-block.show { opacity: 1; transform: none; }
.writeup h1 {
  font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 4px;
}
.writeup .w-date { font-size: 11px; color: var(--frost-35); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.writeup h2 {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 14px 0 7px;
}
.writeup ul { list-style: none; }
.writeup li { position: relative; font-size: 12.5px; line-height: 1.55; color: var(--frost-70); padding-left: 16px; margin-bottom: 5px; }
.writeup li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--frost-35); }
.writeup li.task { padding-left: 24px; }
.writeup li.task::before {
  width: 13px; height: 13px; border-radius: 4px; top: 3px; left: 0;
  background: transparent; border: 1.5px solid var(--frost-35);
}
.writeup li .t-who { color: var(--sc, var(--frost)); font-weight: 600; }
.writeup p { font-size: 12.5px; line-height: 1.6; color: var(--frost-70); margin-bottom: 6px; }
.writeup .w-you li::before { background: var(--accent); }

/* ============ privacy strip ============ */
.privacy-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.pchip { font-size: 12.5px; padding: 8px 15px; color: var(--frost-70); }
.pchip svg { width: 15px; height: 15px; color: var(--accent); }

/* ============ dmg window ============ */
.dmg-body {
  display: flex; align-items: center; justify-content: center; gap: 38px;
  padding: 44px 20px 30px;
}
.dmg-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dmg-name { font-size: 12.5px; color: var(--frost-70); }
.app-tile {
  width: 86px; height: 86px; border-radius: 21px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #6faaea, #3c7ed2 60%, #2f66b4);
  box-shadow: 0 14px 30px -8px rgba(38, 92, 170, .55), inset 0 1px 0 rgba(255,255,255,.35);
}
.app-tile svg { width: 58px; height: 58px; color: #fff; fill: currentColor; }
.folder-tile { width: 86px; height: 86px; display: flex; align-items: center; justify-content: center; }
.folder-tile svg { width: 74px; height: 74px; color: #7fb6f2; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.dmg-arrow { width: 30px; height: 30px; color: var(--frost-35); }
.dmg-foot { text-align: center; padding: 0 16px 20px; font-size: 12.5px; color: var(--frost-50); }

/* ============ terminal ============ */
.win-bar-dark { background: rgba(10, 12, 17, .5); }
.win-terminal { background: linear-gradient(rgba(255,255,255,.02), transparent), rgba(11, 13, 19, .84); }
.term-body { padding: 16px 18px 20px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.9; user-select: text; -webkit-user-select: text; }
.t-com { color: var(--frost-35); }
.t-cmd { color: var(--frost); word-break: break-all; }
.t-prompt { color: var(--accent); margin-right: 8px; }
.t-cursor { width: 8px; height: 15px; background: var(--frost-70); animation: caret 1.1s steps(2) infinite; margin-top: 2px; }
.term-copy {
  position: absolute; right: 12px;
  font-size: 11.5px; font-weight: 600; color: var(--frost-70);
  padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.08);
}
.term-copy:hover { background: rgba(255,255,255,.15); color: var(--frost); }

/* ============ install side + colophon ============ */
.install-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.req-widget { border-radius: 15px; padding: 13px 17px; }
.req-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--frost-70); padding: 4px 0; }
.req-row svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.colophon { text-align: center; font-size: 11.5px; color: var(--frost-35); }
.colo-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 9px; }
.colo-links a { font-size: 12.5px; color: var(--frost-70); text-decoration: none; }
.colo-links a:hover { color: var(--accent); }

/* ============ about window ============ */
.win-about {
  position: fixed; z-index: 45; left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  width: min(330px, 88vw);
}
.about-body { padding: 30px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-tile-lg { width: 76px; height: 76px; border-radius: 19px; margin-bottom: 8px; }
.app-tile-lg svg { width: 50px; height: 50px; }
.about-body h2 { font-family: var(--f-display); font-size: 21px; font-weight: 800; }
.about-ver { font-size: 11.5px; color: var(--frost-35); }
.about-line { font-size: 13px; color: var(--frost-70); margin-top: 6px; }
.about-fine { font-size: 11px; color: var(--frost-35); line-height: 1.6; margin-top: 10px; }

/* ============ open-source window ============ */
.win-os {
  position: fixed; z-index: 45; left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  width: min(380px, 90vw);
}
.os-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

