kalei/initial mockups/screens/guide/69-guide-bridge-integration...

294 lines
11 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=390, initial-scale=1">
<title>Kalei — Guide Integration Bridge</title>
<link rel="stylesheet" href="../../assets/design-system.css">
<style>
.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; }
.chat-session-frame {
display: flex;
flex-direction: column;
height: calc(var(--device-height) - var(--status-bar-height) - var(--nav-header-height) - 64px);
}
.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(--sapphire));
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);
}
.nav-close {
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--deep-glass);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
text-decoration: none;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(16px); }
to { opacity: 1; transform: translateY(0); }
}
/* Integration bridge card */
.integration-card {
background: var(--kalei-navy);
border-radius: var(--radius-xl);
padding: var(--space-4);
position: relative;
animation: slideUp 0.45s ease-out 0.5s both;
}
.integration-card::before {
content: '';
position: absolute;
inset: -1px;
border-radius: 17px;
background: linear-gradient(135deg, var(--amethyst), var(--sapphire), var(--emerald), var(--amber));
z-index: -1;
}
.integration-header {
display: flex;
align-items: center;
gap: var(--space-2);
margin-bottom: var(--space-3);
}
.integration-icon {
font-size: 14px;
font-weight: 700;
background: linear-gradient(135deg, var(--amethyst), var(--sapphire), var(--emerald), var(--amber));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.integration-title {
font-size: 14px;
font-weight: 600;
color: var(--pure-light);
}
.keepsake-quote {
font-size: 14px;
font-style: italic;
color: var(--sapphire-light);
padding: var(--space-2) var(--space-3);
border-left: 2px solid var(--sapphire);
background: rgba(59,130,246,0.06);
border-radius: 0 var(--radius-md) var(--radius-md) 0;
margin-bottom: var(--space-3);
line-height: 1.6;
}
.keepsake-meta {
font-size: 11px;
color: var(--faint-light);
margin-top: var(--space-1);
}
.current-quote {
font-size: 14px;
font-style: italic;
color: var(--amber-light);
padding: var(--space-2) var(--space-3);
border-left: 2px solid var(--amber);
background: rgba(245,158,11,0.06);
border-radius: 0 var(--radius-md) var(--radius-md) 0;
margin-bottom: var(--space-3);
line-height: 1.6;
}
.current-meta {
font-size: 11px;
color: var(--faint-light);
margin-top: var(--space-1);
}
.integration-body {
font-size: 13px;
color: var(--soft-light);
line-height: 1.55;
margin-bottom: var(--space-4);
}
.integration-actions {
display: flex;
gap: var(--space-2);
}
.int-btn-primary {
flex: 1;
height: 42px;
background: var(--amethyst);
color: var(--pure-light);
font-size: 13px;
font-weight: 600;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 0 14px rgba(139,92,246,0.25);
transition: background 0.2s ease-out;
}
.int-btn-primary:hover { background: var(--amethyst-light); }
.int-btn-ghost {
flex: 1;
height: 42px;
background: transparent;
color: var(--dim-light);
font-size: 13px;
font-weight: 500;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
border: 1px solid var(--twilight);
transition: color 0.2s ease-out;
}
.int-btn-ghost:hover { color: var(--soft-light); }
.session-timer {
font-size: 12px;
color: var(--dim-light);
font-variant-numeric: tabular-nums;
}
</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="../mirror/15-mirror-home.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>
<div style="display:flex; flex-direction:column; align-items:center; position:absolute; left:50%; transform:translateX(-50%);">
<span class="nav-title" style="position:static; transform:none;">Mirror Session</span>
<span class="session-timer">12:47</span>
</div>
<a class="nav-close" href="../mirror/19-mirror-reflection.html">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
<path d="M2 2L12 12M12 2L2 12" stroke="var(--dim-light)" stroke-width="1.5" stroke-linecap="round"/>
</svg>
</a>
</div>
<div class="chat-session-frame">
<div class="chat-area">
<!-- Earlier messages (faded — mirror session in progress) -->
<div class="chat-bubble ai" style="opacity: 0.5; animation: fadeIn 0.3s ease-out both;">
Welcome, Alex. I'm here to listen. What's been on your mind?
</div>
<div class="chat-bubble user" style="opacity: 0.5; animation: fadeIn 0.3s ease-out 0.1s both;">
I've been catastrophizing again. Every meeting I walk out of feeling like I've failed, even when nothing actually went wrong.
</div>
<div class="chat-bubble ai" style="opacity: 0.5; animation: fadeIn 0.3s ease-out 0.2s both;">
That gap between what happens and how you experience it — that sounds familiar. What does "failing" feel like in those moments?
</div>
<div class="chat-bubble user" style="opacity: 0.5; animation: fadeIn 0.3s ease-out 0.3s both;">
Like everyone noticed and I'm the only one who doesn't belong in the room.
</div>
<!-- Last AI message — picks up the echo -->
<div class="chat-bubble ai" style="animation: fadeIn 0.3s ease-out 0.4s both;">
"Everyone noticed" — that's a pattern I've heard before. You've turned a version of this thought already, and you wrote something that pushed back on it.
</div>
<!-- Integration bridge card after last message -->
<div class="integration-card">
<div class="integration-header">
<span class="integration-icon"></span>
<span class="integration-title">A fragment echoes a pattern from your Turns</span>
</div>
<!-- Past Turn keepsake -->
<div class="keepsake-quote">
"Everyone sees my failures — but nobody actually told me that. I invented their reaction."
<div class="keepsake-meta">Saved from Turn · Feb 18, 2026 · Mind Reading</div>
</div>
<!-- Current Mirror fragment -->
<div class="current-quote">
"Everyone noticed and I'm the only one who doesn't belong."
<div class="current-meta">Today's Mirror session · just now · Catastrophizing</div>
</div>
<div class="integration-body">
Same story, different day. The first time you named it — then reframed it. Which version is closer to what actually happened in those meetings?
</div>
<div class="integration-actions">
<a class="int-btn-primary" href="../you/40-evidence-wall-mid.html">See your Evidence Wall</a>
<a class="int-btn-ghost" href="../mirror/16-mirror-session.html">Keep writing</a>
</div>
</div>
</div>
<div class="input-accessory">
<input class="chat-input" type="text" placeholder="Write freely...">
<button class="send-btn">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M15 9L3 4L5.5 9L3 14L15 9Z" fill="var(--void)" stroke="none"/>
</svg>
</button>
</div>
</div>
</div>
</body>
</html>