/* "Peeks": a few Compass cards, drawn larger, floating on a tinted panel (the way Brex, Ramp, Attio and Navan show
   their product). Built on css/coded.css (colours, font, icons). Sample figures only. A peek: <div class="pk">…</div>, 640 x 400. */
.pk { --blue: #1565c0; --text: #1f2937; --muted: #6b7280; --border: #e5e7eb; --green: #2e7d32; --orange: #ed6c02;
  position: relative; width: 640px; height: 400px; overflow: hidden; border-radius: 18px; box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); font-size: 15px; line-height: 1.4;
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(144,190,249,.45) 0%, rgba(144,190,249,0) 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(203,220,246,.7) 0%, rgba(203,220,246,0) 60%),
    linear-gradient(160deg, #f3f7fd 0%, #e9f0fa 100%);
  box-shadow: inset 0 0 0 1px rgba(21,101,192,.08); }
.pk::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(21,101,192,.16) 1px, transparent 1.3px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(70% 70% at 80% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 80% 20%, #000 0%, transparent 75%); }
.pk *, .pk *::before, .pk *::after { box-sizing: border-box; }
.pk .i { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* cards */
.pk .c { position: absolute; background: #fff; border-radius: 14px; border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 22px 44px -20px rgba(20,40,90,.32); padding: 18px 20px; }
.pk .c.back { box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 14px 30px -18px rgba(20,40,90,.22); }
.pk .fade { -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 98%); mask-image: linear-gradient(to bottom, #000 58%, transparent 98%); }
.pk .lab { font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.pk .big { font-size: 30px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.pk .val { font-size: 21px; font-weight: 700; line-height: 1.2; margin-top: 2px; }
.pk .note { font-size: 13px; color: var(--muted); }
.pk .row { display: flex; align-items: center; gap: 10px; }
.pk .sp { margin-left: auto; }
.pk .ttl { font-size: 17px; font-weight: 700; }

/* KPI tile, icon square, chip */
.pk .tile { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; position: relative; }
.pk .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; }
.pk .ico .i { width: 20px; height: 20px; }
.pk .tile .ico { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; }
.pk .tile .ico .i { width: 17px; height: 17px; }
.pk .g { background: #e8f5e9; color: var(--green); } .pk .o { background: #fff3e0; color: var(--orange); }
.pk .b { background: #e1f5fe; color: #0277bd; } .pk .p { background: #f3e5f5; color: #6a1b9a; }
.pk .chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 14px; border: 1px solid rgba(15,23,42,.07); box-shadow: 0 12px 28px -14px rgba(20,40,90,.35); white-space: nowrap; }
.pk .chip .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.pk .chip .dot .i { width: 15px; height: 15px; }

/* placeholder bars for details that don't matter */
.pk .bar { height: 9px; border-radius: 5px; background: #e9edf3; }

/* booking steps */
.pk .steps { display: flex; gap: 6px; margin-top: 14px; }
.pk .steps span { flex: 1; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12.5px; font-weight: 600; background: #eef1f5; color: #9ca3af; }
.pk .steps .d { background: #e3f2fd; color: var(--blue); } .pk .steps .on { background: var(--blue); color: #fff; }
.pk .steps .i { width: 15px; height: 15px; }
.pk .av { width: 34px; height: 34px; border-radius: 50%; background: #1976d2; color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; flex: none; }
.pk .ln { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; }
.pk .ln + .ln { border-top: 1px solid #f0f2f5; }
.pk .profit { margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: #e8f5e9; display: flex; justify-content: space-between; align-items: baseline; }
.pk .profit b { font-size: 26px; color: var(--green); letter-spacing: -.01em; }

/* peeks on the website: a peek replaces a screen frame (js/coded-icons.js scales it to fit) */
.cx-fit > .pk { transform-origin: 0 0; }
.pk-frame { align-self: center; margin-right: 44px; }
@media (max-width: 960px) { .pk-frame { margin-right: 28px; } }
.pk-frame, .pk-shot, .cx-fit { min-width: 0; max-width: 100%; }
.pk-shot { overflow: hidden; }
