/* ==========================================================================
   Keli app screenshot — a static mock of the desktop app on first open.

   Deliberately does NOT use the Modernist tokens: this is a picture of a
   macOS app sitting inside the page, not site chrome. It keeps its own
   system font stack, its own greys and its own rounded corners, all scoped
   under .keli-app so nothing here reaches the rest of the site.

   Authored at 1360×860; .app-frame in site.css scales it to fit.
   ========================================================================== */

.keli-app,
.keli-app * { box-sizing: border-box; }

.keli-app {
  width: 1360px;
  height: 860px;
  display: flex;
  overflow: hidden;
  background: #fcfcfd;
  border-radius: 12px;
  box-shadow: 0 40px 90px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .08);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, ui-sans-serif, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  font-size: 13px;
  line-height: 1.5;
  color: #1c2024;
  -webkit-font-smoothing: antialiased;
}

.keli-app svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  display: block;
  flex: none;
}

/* — Sidebar ————————————————————————————————————————————————————————————— */
.keli-sidebar {
  width: 256px;
  flex-shrink: 0;
  background: #f9f9fb;
  border-right: 1px solid rgba(217, 217, 224, .6);
  display: flex;
  flex-direction: column;
}

.keli-traffic {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  flex-shrink: 0;
}
.keli-traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.keli-traffic .is-close { background: #ff5f57; }
.keli-traffic .is-min { background: #febc2e; }
.keli-traffic .is-zoom { background: #28c840; }

.keli-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  margin-top: 8px;
}
.keli-group--flush { padding: 0 8px; margin-top: 2px; }

.keli-item {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
}
.keli-item.is-active { background: #f0f0f3; font-weight: 500; }
.keli-item.is-dim { color: rgba(28, 32, 36, .7); }
.keli-item--tree { padding: 0 12px; }
.keli-item--child { padding: 0 12px 0 24px; }
.keli-item > span:first-of-type ~ span,
.keli-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.keli-item kbd {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .025em;
  color: rgba(28, 32, 36, .5);
}
.keli-chevron { color: #60646c; }

.keli-section-head {
  display: flex;
  align-items: center;
  height: 24px;
  margin: 16px 8px 0;
  padding: 0 8px 0 10px;
}
.keli-section-head span {
  font-size: 11px;
  font-weight: 300;
  color: #60646c;
}
.keli-section-head svg {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: rgba(96, 100, 108, .6);
}

/* Status dots sit in a 16px well so their labels line up with icon rows. */
.keli-dot-well {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.keli-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.keli-dot--done { background: #2fbe54; }
.keli-dot--waiting { background: #e8933a; }

.keli-account {
  margin-top: auto;
  border-top: 1px solid rgba(217, 217, 224, .6);
  padding: 6px 0 6px 6px;
}
.keli-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #011627;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* — Main pane ——————————————————————————————————————————————————————————— */
.keli-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fcfcfd;
}
.keli-topbar {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.keli-topbar svg { color: #838383; }
.keli-topbar span { font-size: 13px; color: #60646c; }

.keli-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}
.keli-stage-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}

.keli-greeting {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.keli-greeting h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -.02em;
  color: #1c2024;
  font-family: inherit;
}
.keli-greeting p { margin: 0; font-size: 13px; color: #60646c; }

.keli-composer {
  margin-top: 24px;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  background: #fcfcfd;
  padding: 12px 16px 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.keli-composer-placeholder {
  min-height: 44px;
  font-size: 13px;
  color: #838383;
  padding-top: 2px;
}
.keli-composer-bar {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.keli-tool {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #838383;
}
.keli-effort {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  color: #838383;
}
.keli-effort svg { width: 12px; height: 12px; }
.keli-send {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #011627;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keli-starters {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.keli-starter {
  border: 1px solid #e0e1e6;
  border-radius: 12px;
  background: #fcfcfd;
  padding: 14px;
}
.keli-starter-title { font-size: 13px; font-weight: 500; color: #1c2024; }
.keli-starter-body {
  margin-top: 2px;
  font-size: 12px;
  line-height: 17px;
  color: #60646c;
}
