kalei/initial mockups/screens/guide/65-guide-checkin-conversati...

355 lines
13 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=390, initial-scale=1">
<title>Kalei — Guide Check-In</title>
<link rel="stylesheet" href="../../assets/design-system.css">
<style>
.goal-context-header {
background: var(--kalei-navy);
border-bottom: 1px solid var(--twilight);
padding: var(--space-3) var(--space-4);
display: flex;
align-items: center;
gap: var(--space-3);
flex-shrink: 0;
}
.goal-context-ring {
width: 44px;
height: 44px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.goal-context-ring svg { position: absolute; transform: rotate(-90deg); }
.goal-context-pct {
font-size: 11px;
font-weight: 700;
color: var(--emerald-light);
position: relative;
z-index: 1;
}
.goal-context-info { flex: 1; min-width: 0; }
.goal-context-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--emerald);
margin-bottom: 2px;
}
.goal-context-title {
font-size: 14px;
font-weight: 600;
color: var(--pure-light);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.chat-frame {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.chat-area {
flex: 1;
overflow-y: auto;
padding: var(--space-4) var(--space-4) var(--space-2);
display: flex;
flex-direction: column;
gap: var(--space-3);
}
.chat-area::-webkit-scrollbar { display: none; }
/* Guide bubble — prismatic border card */
.guide-bubble {
background: var(--kalei-navy);
border-radius: 16px 16px 16px 4px;
padding: var(--space-3) var(--space-4);
position: relative;
max-width: 85%;
align-self: flex-start;
}
.guide-bubble::before {
content: '';
position: absolute;
inset: -1px;
border-radius: 17px 17px 17px 5px;
background: linear-gradient(135deg, var(--amethyst), var(--sapphire), var(--emerald), var(--amber));
z-index: -1;
}
.guide-bubble-header {
display: flex;
align-items: center;
gap: var(--space-2);
margin-bottom: var(--space-2);
}
.guide-icon-sm {
font-size: 12px;
background: linear-gradient(135deg, var(--amethyst), var(--sapphire), var(--emerald), var(--amber));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
line-height: 1;
}
.guide-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--amethyst-light);
}
.guide-bubble p {
font-size: 14px;
line-height: 1.55;
color: var(--soft-light);
margin: 0;
}
.guide-bubble .stat-highlight {
color: var(--emerald-light);
font-weight: 600;
}
/* User bubble */
.user-bubble {
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: 16px 16px 4px 16px;
padding: var(--space-3) var(--space-4);
max-width: 80%;
align-self: flex-end;
font-size: 14px;
line-height: 1.55;
color: var(--soft-light);
}
.proof-point {
display: flex;
align-items: center;
gap: var(--space-2);
margin-top: var(--space-2);
padding: var(--space-2) var(--space-3);
background: rgba(16,185,129,0.06);
border-radius: var(--radius-md);
border-left: 2px solid var(--emerald);
}
.proof-point-text {
font-size: 12px;
color: var(--emerald-light);
font-weight: 500;
}
.if-then-block {
background: rgba(139,92,246,0.06);
border-radius: var(--radius-md);
border: 1px solid rgba(139,92,246,0.2);
padding: var(--space-3);
margin-top: var(--space-2);
}
.if-then-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--amethyst-light);
margin-bottom: var(--space-1);
}
.if-then-text {
font-size: 13px;
color: var(--soft-light);
line-height: 1.5;
}
.input-accessory {
height: 64px;
background: var(--kalei-navy);
border-top: 1px solid var(--twilight);
display: flex;
align-items: center;
gap: var(--space-2);
padding: 0 var(--space-3);
flex-shrink: 0;
}
.chat-input {
flex: 1;
height: 40px;
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-full);
padding: 0 var(--space-4);
font-family: var(--font-primary);
font-size: 15px;
color: var(--pure-light);
outline: none;
transition: border-color 0.2s ease-out;
}
.chat-input::placeholder { color: var(--faint-light); }
.chat-input:focus { border-color: var(--amethyst); }
.send-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, var(--amethyst), var(--emerald));
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: none;
flex-shrink: 0;
box-shadow: 0 0 12px rgba(139,92,246,0.3);
transition: opacity 0.2s ease-out;
}
.send-btn:hover { opacity: 0.85; }
.past-checkins-link {
text-align: center;
padding: var(--space-2) 0;
font-size: 12px;
color: var(--amethyst-light);
text-decoration: none;
flex-shrink: 0;
background: var(--kalei-navy);
border-top: 1px solid var(--twilight);
}
@keyframes breathing {
0%, 100% { opacity: 0.6; transform: scale(1); }
50% { opacity: 1; transform: scale(1.05); }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
</style>
</head>
<body>
<div class="device-frame">
<div class="status-bar">
<span class="time">9:41</span>
<div class="icons">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="7" width="2.5" height="5" rx="0.5" fill="#E2E8F0" opacity="0.4"/><rect x="4.5" y="5" width="2.5" height="7" rx="0.5" fill="#E2E8F0" opacity="0.6"/><rect x="8" y="3" width="2.5" height="9" rx="0.5" fill="#E2E8F0" opacity="0.8"/><rect x="11.5" y="1" width="2.5" height="11" rx="0.5" fill="#E2E8F0"/></svg>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M 2,8 C 4,4 12,4 14,8" stroke="#E2E8F0" stroke-width="1.2" fill="none" stroke-linecap="round"/><path d="M 4,10 C 6,7 10,7 12,10" stroke="#E2E8F0" stroke-width="1" fill="none" opacity="0.8" stroke-linecap="round"/><circle cx="8" cy="12" r="1.2" fill="#E2E8F0"/></svg>
<svg width="24" height="12" viewBox="0 0 24 12" fill="none"><rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="#E2E8F0" stroke-width="1" opacity="0.5"/><rect x="22" y="3" width="2" height="6" rx="1" fill="#E2E8F0" opacity="0.3"/><rect x="2" y="2" width="16" height="8" rx="1.5" fill="#10B981" opacity="0.9"/></svg>
</div>
</div>
<div class="nav-header">
<a class="nav-back" href="../lens/27-lens-goal-detail.html">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none">
<path d="M12 4L6 10L12 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
<span class="nav-title">Weekly Check-In</span>
<span class="nav-action"></span>
</div>
<!-- Goal context banner -->
<div class="goal-context-header">
<div class="goal-context-ring">
<svg width="44" height="44" viewBox="0 0 44 44">
<defs>
<linearGradient id="ci-grEm" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#6EE7B7"/>
<stop offset="100%" stop-color="#059669"/>
</linearGradient>
</defs>
<circle cx="22" cy="22" r="18" fill="none" stroke="var(--twilight)" stroke-width="2.5"/>
<!-- 65% of circumference: 2πr ≈ 113.1, 65% = 73.5, remainder = 39.6 -->
<circle cx="22" cy="22" r="18" fill="none" stroke="url(#ci-grEm)" stroke-width="2.5"
stroke-dasharray="73.5 39.6" stroke-linecap="round"/>
</svg>
<span class="goal-context-pct">65%</span>
</div>
<div class="goal-context-info">
<div class="goal-context-label">Active Goal</div>
<div class="goal-context-title">Present with confidence</div>
</div>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" style="color: var(--faint-light); flex-shrink: 0;">
<path d="M6 4L10 8L6 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="chat-frame">
<div class="chat-area">
<!-- Guide opens with specific data reference -->
<div class="guide-bubble" style="animation: fadeIn 0.4s ease-out both;">
<div class="guide-bubble-header">
<span class="guide-icon-sm"></span>
<span class="guide-label">The Guide</span>
</div>
<p>I noticed something this week, Alex. You've had <span class="stat-highlight">3 Turns about presentations</span> in the last 7 days — Wednesday's "I completely bombed my presentation" was the most recent. How did the rest of that day actually go?</p>
</div>
<!-- User response -->
<div class="user-bubble" style="animation: fadeIn 0.4s ease-out 0.15s both; opacity: 0;">
Honestly, not as bad as I expected. My manager said the data was solid. I just froze at the start and never recovered mentally.
</div>
<!-- Guide follow-up — names the pattern specifically -->
<div class="guide-bubble" style="animation: fadeIn 0.4s ease-out 0.3s both; opacity: 0;">
<div class="guide-bubble-header">
<span class="guide-icon-sm"></span>
<span class="guide-label">The Guide</span>
</div>
<p>That gap — between how you experience it and how it lands — keeps showing up. Your mind calls it a bomb; your manager calls it solid. That's Catastrophizing doing its thing.</p>
<div class="proof-point">
<svg width="12" height="12" viewBox="0 0 12 12" fill="none">
<path d="M6 1L10 6L6 11L2 6Z" fill="var(--emerald)" opacity="0.9"/>
</svg>
<span class="proof-point-text">Catastrophizing: your most common fragment (7 of 47 Turns)</span>
</div>
</div>
<!-- Guide asks for real-world practice check -->
<div class="guide-bubble" style="animation: fadeIn 0.4s ease-out 0.45s both; opacity: 0;">
<div class="guide-bubble-header">
<span class="guide-icon-sm"></span>
<span class="guide-label">The Guide</span>
</div>
<p>Since you started "Present with confidence" on Feb 5, have there been any moments outside the app — even tiny ones — where you held your ground in a room?</p>
</div>
<!-- User response -->
<div class="user-bubble" style="animation: fadeIn 0.4s ease-out 0.6s both; opacity: 0;">
Yeah, actually. I pushed back on a timeline in a standup last week. Normally I'd just say nothing.
</div>
<!-- Guide closes with celebration and if-then -->
<div class="guide-bubble" style="animation: fadeIn 0.4s ease-out 0.75s both; opacity: 0;">
<div class="guide-bubble-header">
<span class="guide-icon-sm"></span>
<span class="guide-label">The Guide</span>
</div>
<p>That's exactly the kind of evidence this goal is built on. Pushing back on a timeline is <span class="stat-highlight">presenting with confidence</span> — just without the slides. Want to save that as evidence?</p>
<div class="if-then-block">
<div class="if-then-label">This week's focus</div>
<div class="if-then-text">If I notice I'm freezing at the start of a presentation, <strong style="color: var(--amethyst-light);">then</strong> I'll say one sentence out loud — anything — to break the silence.</div>
</div>
</div>
</div>
<a class="past-checkins-link" href="66-guide-checkin-summary.html">View check-in summary →</a>
<div class="input-accessory">
<input class="chat-input" type="text" placeholder="Reply to the Guide...">
<button class="send-btn">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M13 8L3 3.5L5 8L3 12.5L13 8Z" fill="white"/>
</svg>
</button>
</div>
</div>
</div>
<script>
// Stagger chat bubbles on load
document.querySelectorAll('.guide-bubble, .user-bubble').forEach((el, i) => {
if (!el.style.animationDelay) return;
el.style.opacity = '0';
});
</script>
</body>
</html>