1
0
This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Timmy-time-dashboard/static/css/mission-control.css
2026-03-20 16:10:42 -04:00

2550 lines
69 KiB
CSS

/* ═══════════════════════════════════════════════════════════════
mission-control.css — Page-specific styles extracted from
Jinja2 templates. Loaded globally via base.html so the
browser can cache everything in one request.
Organisation: one section per template / component, alpha order.
═══════════════════════════════════════════════════════════════ */
/* ── Toast notifications ──────────────────────────────────── */
.mc-toast-container {
position: fixed;
top: 68px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 8px;
pointer-events: none;
max-width: 380px;
}
.mc-toast {
pointer-events: auto;
background: rgba(12, 6, 24, 0.94);
backdrop-filter: blur(20px) saturate(1.3);
-webkit-backdrop-filter: blur(20px) saturate(1.3);
border: 1px solid rgba(124, 58, 237, 0.12);
border-radius: var(--radius-md);
padding: 10px 16px;
font-family: var(--font);
font-size: 12px;
color: var(--text);
letter-spacing: 0.04em;
line-height: 1.5;
opacity: 0;
transform: translateX(40px) scale(0.96);
transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.mc-toast.show {
opacity: 1;
transform: translateX(0) scale(1);
}
.mc-toast.info { border-left: 3px solid var(--green); }
.mc-toast.warn { border-left: 3px solid var(--amber); }
.mc-toast.error { border-left: 3px solid var(--red); }
.mc-toast .mc-toast-msg { display: inline; }
@media (max-width: 768px) {
.mc-toast-container {
top: 56px;
right: 10px;
left: 10px;
max-width: none;
}
}
/* ── Connection status indicator ──────────────────────────── */
.mc-conn-status {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.12em;
color: var(--text-dim);
margin-left: 14px;
}
.mc-conn-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
background: var(--text-dim);
transition: background 0.3s, box-shadow 0.3s;
}
.mc-conn-dot.green {
background: var(--green);
box-shadow: 0 0 6px var(--green);
animation: connPulseGreen 2s ease-in-out infinite;
}
.mc-conn-dot.amber {
background: var(--amber);
box-shadow: 0 0 6px var(--amber);
animation: connPulseAmber 1.5s ease-in-out infinite;
}
.mc-conn-dot.red {
background: var(--red);
box-shadow: 0 0 6px var(--red);
animation: connPulseRed 1s ease-in-out infinite;
}
@keyframes connPulseGreen {
0%, 100% { box-shadow: 0 0 6px var(--green); }
50% { box-shadow: 0 0 10px var(--green), 0 0 18px rgba(0, 232, 122, 0.25); }
}
@keyframes connPulseAmber {
0%, 100% { box-shadow: 0 0 6px var(--amber); }
50% { box-shadow: 0 0 10px var(--amber), 0 0 18px rgba(255, 184, 0, 0.25); }
}
@keyframes connPulseRed {
0%, 100% { box-shadow: 0 0 6px var(--red); }
50% { box-shadow: 0 0 12px var(--red), 0 0 22px rgba(255, 68, 85, 0.3); }
}
/* ── Briefing ─────────────────────────────────────────────── */
.briefing-container { max-width: 680px; }
.briefing-header {
border-left: 3px solid var(--amber);
padding-left: 1rem;
}
.briefing-greeting {
font-size: 1.6rem;
font-weight: 700;
color: var(--amber);
letter-spacing: 0.04em;
font-family: var(--font);
}
.briefing-timestamp {
font-size: 0.75rem;
color: var(--text-dim);
margin-top: 0.25rem;
}
.briefing-ts-val { color: var(--text); }
.briefing-prose {
font-size: 1rem;
line-height: 1.75;
color: var(--text-bright);
white-space: pre-wrap;
word-break: break-word;
}
/* Approval cards */
.approval-card {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 1rem;
margin-bottom: 0.75rem;
background: rgba(24, 10, 45, 0.5);
transition: border-color 0.2s;
}
.approval-card.approved {
border-color: var(--green);
opacity: 0.7;
}
.approval-card.rejected {
border-color: var(--red);
opacity: 0.7;
}
.approval-card-title {
font-weight: 600;
font-size: 0.95rem;
color: var(--text-bright);
margin-bottom: 0.25rem;
}
.approval-card-desc {
font-size: 0.85rem;
color: var(--text);
margin-bottom: 0.5rem;
}
.approval-card-action {
font-size: 0.8rem;
color: var(--text-dim);
font-family: var(--font);
margin-bottom: 0.75rem;
border-left: 2px solid var(--border);
padding-left: 0.5rem;
}
.impact-badge {
font-size: 0.7rem;
padding: 0.2em 0.5em;
border-radius: 4px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.impact-low { background: var(--green-dim); color: var(--green); }
.impact-medium { background: var(--amber-dim); color: var(--amber); }
.impact-high { background: var(--red-dim); color: var(--red); }
.approval-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.btn-approve {
background: var(--green-dim);
color: var(--green);
border: 1px solid var(--green);
border-radius: var(--radius-sm);
padding: 0.4rem 0.9rem;
font-size: 0.82rem;
font-family: var(--font);
cursor: pointer;
min-height: 44px;
transition: background 0.15s;
touch-action: manipulation;
}
.btn-approve:hover { background: rgba(0, 232, 122, 0.2); }
.btn-reject {
background: transparent;
color: var(--red);
border: 1px solid var(--red);
border-radius: var(--radius-sm);
padding: 0.4rem 0.9rem;
font-size: 0.82rem;
font-family: var(--font);
cursor: pointer;
min-height: 44px;
transition: background 0.15s;
touch-action: manipulation;
}
.btn-reject:hover { background: rgba(255, 68, 85, 0.1); }
.no-approvals {
text-align: center;
color: var(--text-dim);
padding: 2rem 0;
font-size: 0.9rem;
}
.btn-refresh {
background: transparent;
color: var(--text);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 0.3rem 0.7rem;
font-size: 0.75rem;
font-family: var(--font);
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: border-color 0.15s;
}
.btn-refresh:hover { border-color: var(--purple); color: var(--text-bright); }
@media (max-width: 576px) {
.briefing-greeting { font-size: 1.3rem; }
.briefing-prose { font-size: 0.95rem; }
}
/* ── Calm ─────────────────────────────────────────────────── */
.calm-container { max-width: 600px; margin: 0 auto; padding: 20px; }
.calm-header { text-align: center; margin-bottom: 30px; }
.calm-title { font-size: 2.5rem; font-weight: 700; color: var(--text-bright); letter-spacing: 0.05em; }
.calm-subtitle { font-size: 1.1rem; color: var(--text-dim); margin-top: 5px; }
.calm-container .task-card {
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 25px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
}
.calm-container .task-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
.now-card {
background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(124, 58, 237, 0.1) 100%);
border-color: rgba(124, 58, 237, 0.4);
}
.now-card .task-title { font-size: 2.2rem; font-weight: 800; color: var(--green); margin-bottom: 15px; }
.now-card .task-description { font-size: 1.1rem; color: var(--text); line-height: 1.6; margin-bottom: 20px; }
.now-card .task-actions { display: flex; gap: 15px; justify-content: center; }
.now-card .task-btn { padding: 12px 25px; font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s ease; }
.now-card .task-btn-complete { background: var(--green); color: var(--bg-secondary); border: none; }
.now-card .task-btn-complete:hover { background: var(--green-dark); }
.now-card .task-btn-defer { background: var(--bg-tertiary); color: var(--text); border: 1px solid var(--border); }
.now-card .task-btn-defer:hover { background: var(--bg-tertiary-hover); }
.next-card {
background: var(--bg-tertiary);
border-color: var(--border);
padding: 15px 20px;
}
.next-card .task-title { font-size: 1.3rem; font-weight: 600; color: var(--info); margin-bottom: 5px; }
.next-card .task-description { font-size: 0.9rem; color: var(--text-dim); max-height: 40px; overflow: hidden; }
.later-section {
background: var(--bg-tertiary);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
margin-top: 20px;
}
.later-summary { padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 600; color: var(--text-bright); }
.later-summary:hover { background: var(--bg-tertiary-hover); border-radius: var(--radius-lg); }
.later-content { padding: 10px 20px 20px; border-top: 1px solid var(--border); }
.later-task-item { padding: 8px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: center; }
.later-task-item:last-child { border-bottom: none; }
.later-task-title { font-size: 0.95rem; color: var(--text); }
.later-task-actions .task-btn { font-size: 0.75rem; padding: 5px 10px; }
.empty-state { text-align: center; color: var(--text-dim); padding: 40px 20px; font-size: 1rem; }
.ritual-btn { display: block; width: fit-content; margin: 20px auto; padding: 10px 20px; background: var(--purple); color: white; border-radius: var(--radius-md); text-decoration: none; font-weight: 600; }
.ritual-btn:hover { opacity: 0.9; }
/* ── Calm rituals ─────────────────────────────────────────── */
.ritual-container { max-width: 700px; margin: 0 auto; padding: 30px; background: var(--bg-secondary); border-radius: var(--radius-lg); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.ritual-header { text-align: center; margin-bottom: 30px; }
.ritual-title { font-size: 2rem; font-weight: 700; color: var(--text-bright); margin-bottom: 10px; }
.ritual-subtitle { font-size: 1rem; color: var(--text-dim); line-height: 1.5; }
.ritual-message { font-size: 1.1rem; color: var(--text); line-height: 1.6; margin-bottom: 30px; }
.ritual-container .form-group label { display: block; font-size: 0.9rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.ritual-container .form-group input[type="text"],
.ritual-container .form-group textarea,
.ritual-container .form-group input[type="number"] { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-tertiary); color: var(--text); font-size: 1rem; }
.ritual-container .form-group textarea { min-height: 100px; resize: vertical; }
.ritual-container .form-group input[type="text"]:focus,
.ritual-container .form-group textarea:focus,
.ritual-container .form-group input[type="number"]:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2); }
.form-actions { display: flex; justify-content: flex-end; margin-top: 30px; }
.form-actions button { padding: 12px 25px; font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s ease; border: none; }
.form-actions .btn-submit { background: var(--green); color: var(--bg-secondary); }
.form-actions .btn-submit:hover { background: var(--green-dark); }
.mit-section { border: 1px dashed var(--border); padding: 20px; border-radius: var(--radius-md); margin-top: 25px; background: rgba(124, 58, 237, 0.05); }
.mit-section h4 { color: var(--purple); margin-top: 0; margin-bottom: 15px; font-size: 1.1rem; }
/* ── Creative ─────────────────────────────────────────────── */
.creative-container { max-width: 1200px; margin: 0 auto; }
.creative-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 20px;
}
.creative-title {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: 0.08em;
}
.creative-subtitle {
font-size: 0.8rem;
color: var(--text-dim);
margin-top: 2px;
}
.creative-stats {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.creative-stat-box {
background: var(--glass-bg);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 8px 14px;
text-align: center;
min-width: 60px;
}
.creative-stat-val {
font-size: 1.1rem;
font-weight: 700;
color: var(--text-bright);
}
.creative-stat-label {
font-size: 0.6rem;
color: var(--text-dim);
letter-spacing: 0.06em;
}
.persona-card .card-header strong { color: var(--text-bright); }
.persona-card .card-body { font-size: 0.85rem; }
.persona-card .card-body p { color: var(--text-dim); }
.pipeline-badge {
display: inline-block;
font-size: 0.7rem;
padding: 2px 8px;
border-radius: 3px;
font-weight: 600;
letter-spacing: 0.04em;
}
@media (max-width: 768px) {
.creative-title { font-size: 1.1rem; }
.creative-header { flex-direction: column; }
.creative-stats { width: 100%; }
.creative-stat-box { flex: 1; }
}
/* ── Experiments ──────────────────────────────────────────── */
.experiments-container { max-width: 1000px; margin: 0 auto; }
.exp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.exp-title { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); }
.exp-subtitle { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }
.exp-config { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-dim); }
.exp-config span { background: var(--glass-bg); border: 1px solid var(--border); padding: 4px 10px; border-radius: 6px; }
.exp-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.exp-table th { text-align: left; padding: 8px 12px; color: var(--text-dim); border-bottom: 1px solid var(--border); font-weight: 600; }
.exp-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.exp-table tr:hover { background: var(--glass-bg); }
.metric-good { color: var(--success); }
.metric-bad { color: var(--danger); }
.btn-start { background: var(--accent); color: #fff; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; }
.btn-start:hover { opacity: 0.9; }
.btn-start:disabled { opacity: 0.4; cursor: not-allowed; }
.disabled-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 8px; }
/* ── Hands ────────────────────────────────────────────────── */
.hand-card {
transition: all 0.2s ease;
border-left: 3px solid transparent;
}
.hand-card:hover {
background-color: rgba(255, 255, 255, 0.03);
}
.hand-card.running { border-left-color: #0dcaf0; }
.hand-card.scheduled { border-left-color: #198754; }
.hand-card.paused { border-left-color: #ffc107; }
.hand-card.error { border-left-color: #dc3545; }
/* Hands-specific status dots (extends base .status-dot) */
.hand-card .status-dot.running { background-color: #0dcaf0; animation: pulse-hand 1.5s infinite; }
.hand-card .status-dot.scheduled { background-color: #198754; }
.hand-card .status-dot.paused { background-color: #ffc107; }
.hand-card .status-dot.error { background-color: #dc3545; }
.hand-card .status-dot.idle { background-color: #6c757d; }
@keyframes pulse-hand {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
/* ── Marketplace ──────────────────────────────────────────── */
.market-container { max-width: 1000px; margin: 0 auto; }
.market-header {
border-left: 3px solid var(--orange);
padding-left: 1rem;
margin-bottom: 20px;
}
.market-title {
font-size: 1.4rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: 0.08em;
}
.market-subtitle { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }
.market-stats { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.market-stats .up { color: var(--green); }
.market-agent {
display: flex;
align-items: flex-start;
gap: 14px;
padding: 16px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: rgba(24, 10, 45, 0.6);
margin-bottom: 10px;
transition: border-color 0.2s;
}
.market-agent:hover { border-color: rgba(124, 58, 237, 0.3); }
.market-agent-price {
text-align: right;
min-width: 100px;
flex-shrink: 0;
}
.price-amount {
font-size: 1.3rem;
font-weight: 700;
color: var(--orange);
font-family: var(--font);
}
.price-label { font-size: 0.7rem; color: var(--text-dim); }
.price-stat { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }
.price-stat .earned { color: var(--green); }
.how-step {
text-align: center;
padding: 20px 12px;
}
.how-step-num {
font-size: 1.6rem;
font-weight: 700;
color: var(--purple);
margin-bottom: 8px;
font-family: var(--font);
}
.how-step h3 { font-size: 0.9rem; color: var(--text-bright); margin-bottom: 6px; }
.how-step p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
@media (max-width: 768px) {
.market-title { font-size: 1.1rem; }
.market-agent { flex-direction: column; gap: 10px; }
.market-agent-price { text-align: left; min-width: unset; }
.price-amount { font-size: 1.1rem; }
}
/* ── Mobile ───────────────────────────────────────────────── */
@media (min-width: 769px) {
.mobile-only { display: none; }
}
@media (max-width: 768px) {
.desktop-message { display: none; }
}
.mobile-only {
display: flex;
flex-direction: column;
gap: 12px;
padding-bottom: 20px;
}
.quick-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
padding: 14px;
}
.quick-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 52px;
border-radius: var(--radius-md);
font-family: var(--font);
font-size: 13px;
font-weight: 600;
letter-spacing: 0.06em;
text-decoration: none;
color: var(--text-bright);
border: 1px solid var(--border);
background: rgba(24, 10, 45, 0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transition: transform 0.1s, border-color 0.2s, box-shadow 0.2s;
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
.quick-btn:hover { color: var(--text-bright); text-decoration: none; }
.quick-btn:active { transform: scale(0.96); }
.quick-btn.voice {
border-color: var(--border-glow);
background: rgba(124, 58, 237, 0.15);
}
.quick-btn.voice:active {
box-shadow: 0 0 18px rgba(124, 58, 237, 0.3);
}
.mobile-chat-wrap {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
}
.mobile-chat-log {
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 14px;
max-height: 300px;
}
.mobile-chat-input {
display: flex;
gap: 8px;
padding: 10px 14px;
padding-bottom: max(10px, env(safe-area-inset-bottom));
background: rgba(24, 10, 45, 0.9);
border-top: 1px solid var(--border);
}
.mobile-chat-input input {
flex: 1;
background: rgba(8, 4, 18, 0.75);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text-bright);
font-family: var(--font);
font-size: 16px;
padding: 14px 16px;
min-height: 56px;
}
.mobile-chat-input input:focus {
outline: none;
border-color: var(--border-glow);
box-shadow: 0 0 0 1px var(--border-glow), 0 0 8px rgba(124, 58, 237, 0.2);
}
.mobile-chat-input input::placeholder { color: var(--text-dim); }
.mobile-chat-input button {
background: var(--border-glow);
border: none;
border-radius: var(--radius-md);
color: var(--text-bright);
font-family: var(--font);
font-size: 12px;
font-weight: 700;
padding: 0 16px;
min-height: 44px;
letter-spacing: 0.1em;
transition: background 0.15s, transform 0.1s;
touch-action: manipulation;
}
.mobile-chat-input button:active { transform: scale(0.96); }
.mobile-agents-list {
padding: 14px;
display: flex;
flex-direction: column;
gap: 8px;
}
.mobile-chat-msg {
margin-bottom: 12px;
}
.mobile-chat-msg .meta {
font-size: 10px;
letter-spacing: 0.1em;
margin-bottom: 3px;
}
.mobile-chat-msg.user .meta { color: var(--orange); }
.mobile-chat-msg.timmy .meta { color: var(--purple); }
.mobile-chat-msg .bubble {
background: rgba(24, 10, 45, 0.8);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 10px 12px;
font-size: 13px;
line-height: 1.6;
color: var(--text);
}
.mobile-chat-msg.timmy .bubble {
border-left: 3px solid var(--purple);
}
.mobile-chat-msg.user .bubble {
border-color: var(--border-glow);
}
/* ── Mobile Local (on-device LLM) ────────────────────────── */
.local-wrap {
display: flex;
flex-direction: column;
gap: 12px;
padding-bottom: 20px;
max-width: 600px;
margin: 0 auto;
}
.model-status {
padding: 14px;
display: flex;
flex-direction: column;
gap: 10px;
}
.model-status-row {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
letter-spacing: 0.08em;
}
.model-status-label { color: var(--text-dim); }
.model-status-value { color: var(--text-bright); font-weight: 600; }
.model-status-value.ready { color: #4ade80; }
.model-status-value.loading { color: #facc15; }
.model-status-value.error { color: #f87171; }
.model-status-value.offline { color: var(--text-dim); }
.progress-wrap {
display: none;
flex-direction: column;
gap: 6px;
padding: 0 14px 14px;
}
.progress-wrap.active { display: flex; }
.progress-bar-outer {
height: 6px;
background: rgba(8, 4, 18, 0.75);
border-radius: 3px;
overflow: hidden;
}
.progress-bar-inner {
height: 100%;
width: 0%;
background: linear-gradient(90deg, var(--border-glow), #a78bfa);
border-radius: 3px;
transition: width 0.3s;
}
.progress-text {
font-size: 10px;
color: var(--text-dim);
letter-spacing: 0.06em;
min-height: 14px;
}
.model-select-wrap {
padding: 0 14px 14px;
}
.model-select {
width: 100%;
background: rgba(8, 4, 18, 0.75);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text-bright);
font-family: var(--font);
font-size: 13px;
padding: 10px 12px;
min-height: 44px;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237c7c8a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
touch-action: manipulation;
}
.model-select:focus {
outline: none;
border-color: var(--border-glow);
}
.model-actions {
display: flex;
gap: 8px;
padding: 0 14px 14px;
}
.model-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 44px;
border-radius: var(--radius-md);
font-family: var(--font);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
border: 1px solid var(--border);
background: rgba(24, 10, 45, 0.6);
color: var(--text-bright);
cursor: pointer;
transition: transform 0.1s, border-color 0.2s;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.model-btn:active { transform: scale(0.96); }
.model-btn.primary {
border-color: var(--border-glow);
background: rgba(124, 58, 237, 0.2);
}
.model-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.local-chat-wrap {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
}
.local-chat-log {
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 14px;
max-height: 400px;
min-height: 200px;
}
.local-chat-input {
display: flex;
gap: 8px;
padding: 10px 14px;
padding-bottom: max(10px, env(safe-area-inset-bottom));
background: rgba(24, 10, 45, 0.9);
border-top: 1px solid var(--border);
}
.local-chat-input input {
flex: 1;
background: rgba(8, 4, 18, 0.75);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text-bright);
font-family: var(--font);
font-size: 16px;
padding: 14px 16px;
min-height: 56px;
}
.local-chat-input input:focus {
outline: none;
border-color: var(--border-glow);
box-shadow: 0 0 0 1px var(--border-glow), 0 0 8px rgba(124, 58, 237, 0.2);
}
.local-chat-input input::placeholder { color: var(--text-dim); }
.local-chat-input button {
background: var(--border-glow);
border: none;
border-radius: var(--radius-md);
color: var(--text-bright);
font-family: var(--font);
font-size: 12px;
font-weight: 700;
padding: 0 16px;
min-height: 44px;
min-width: 64px;
letter-spacing: 0.1em;
transition: background 0.15s, transform 0.1s;
touch-action: manipulation;
}
.local-chat-input button:active { transform: scale(0.96); }
.local-chat-input button:disabled { opacity: 0.4; }
.local-msg { margin-bottom: 12px; }
.local-msg .meta {
font-size: 10px;
letter-spacing: 0.1em;
margin-bottom: 3px;
}
.local-msg.user .meta { color: var(--orange); }
.local-msg.timmy .meta { color: var(--purple); }
.local-msg.system .meta { color: var(--text-dim); }
.local-msg .bubble {
background: rgba(24, 10, 45, 0.8);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 10px 12px;
font-size: 13px;
line-height: 1.6;
color: var(--text);
word-break: break-word;
}
.local-msg.timmy .bubble { border-left: 3px solid var(--purple); }
.local-msg.user .bubble { border-color: var(--border-glow); }
.local-msg.system .bubble {
border-color: transparent;
background: rgba(8, 4, 18, 0.5);
font-size: 11px;
color: var(--text-dim);
}
.backend-badge {
display: inline-block;
font-size: 9px;
letter-spacing: 0.1em;
padding: 2px 6px;
border-radius: 3px;
vertical-align: middle;
margin-left: 6px;
}
.backend-badge.local {
background: rgba(74, 222, 128, 0.15);
color: #4ade80;
border: 1px solid rgba(74, 222, 128, 0.3);
}
.backend-badge.server {
background: rgba(250, 204, 21, 0.15);
color: #facc15;
border: 1px solid rgba(250, 204, 21, 0.3);
}
.model-stats {
padding: 0 14px 14px;
font-size: 10px;
color: var(--text-dim);
letter-spacing: 0.06em;
display: none;
}
.model-stats.visible { display: block; }
/* ── Router status ────────────────────────────────────────── */
.mc-providers-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.mc-provider-card {
background: rgba(10, 15, 30, 0.6);
border: 1px solid var(--mc-border);
border-radius: 0.5rem;
padding: 1rem;
}
.mc-provider-card.provider-healthy { border-left: 4px solid #28a745; }
.mc-provider-card.provider-degraded { border-left: 4px solid #ffc107; }
.mc-provider-card.provider-unhealthy { border-left: 4px solid #dc3545; }
.provider-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.provider-header h3 { margin: 0; font-size: 1.1rem; }
.provider-meta {
display: flex;
gap: 0.5rem;
margin-bottom: 0.5rem;
font-size: 0.85rem;
color: var(--mc-text-secondary);
}
.provider-circuit {
font-size: 0.85rem;
margin-bottom: 0.75rem;
padding: 0.25rem 0.5rem;
background: rgba(0,0,0,0.3);
border-radius: 0.25rem;
}
.circuit-closed { color: #28a745; }
.circuit-open { color: #dc3545; }
.circuit-half_open { color: #ffc107; }
.provider-metrics {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0.5rem;
text-align: center;
}
.metric {
padding: 0.5rem;
background: rgba(0,0,0,0.2);
border-radius: 0.25rem;
}
.metric-value {
display: block;
font-size: 1.1rem;
font-weight: 600;
color: var(--mc-gold);
}
.metric-label {
display: block;
font-size: 0.75rem;
color: var(--mc-text-secondary);
}
.mc-alert-small {
margin-top: 0.75rem;
padding: 0.5rem;
font-size: 0.85rem;
}
/* ── Self-coding journal ──────────────────────────────────── */
.journal-list {
max-height: 600px;
overflow-y: auto;
}
.journal-entry {
border-left: 3px solid transparent;
transition: all 0.2s ease;
}
.journal-entry:hover { background-color: rgba(255, 255, 255, 0.03); }
.journal-entry.success { border-left-color: #198754; }
.journal-entry.failure { border-left-color: #dc3545; }
.journal-entry.rollback { border-left-color: #fd7e14; }
.stat-card {
transition: transform 0.2s ease;
}
.stat-card:hover { transform: translateY(-2px); }
.journal-list::-webkit-scrollbar { width: 6px; }
.journal-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); }
.journal-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }
.journal-list::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
/* ── Spark intelligence ───────────────────────────────────── */
.spark-container { max-width: 1400px; margin: 0 auto; }
.spark-header {
border-left: 3px solid var(--purple);
padding-left: 1rem;
margin-bottom: 20px;
}
.spark-title {
font-size: 1.4rem;
font-weight: 700;
color: var(--purple);
letter-spacing: 0.08em;
font-family: var(--font);
}
.spark-subtitle {
font-size: 0.75rem;
color: var(--text-dim);
margin-top: 0.25rem;
}
.spark-status-val {
color: var(--purple);
font-weight: 600;
}
.spark-stat-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.75rem;
}
.spark-stat {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: rgba(8, 4, 18, 0.5);
}
.spark-stat-label {
font-size: 0.65rem;
color: var(--text-dim);
letter-spacing: 0.1em;
text-transform: uppercase;
}
.spark-stat-value {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
font-family: var(--font);
}
.spark-event-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.4rem 0;
border-bottom: 1px solid var(--border);
}
.spark-event-row:last-child { border-bottom: none; }
.spark-event-count {
font-weight: 600;
color: var(--text);
font-family: var(--font);
}
.spark-event-type-badge {
font-size: 0.65rem;
padding: 0.15em 0.5em;
border-radius: 3px;
letter-spacing: 0.05em;
font-weight: 600;
background: rgba(59, 26, 92, 0.4);
color: var(--text);
}
.spark-type-task_posted .spark-event-type-badge,
.spark-event-type-badge.spark-type-task_posted { background: rgba(124, 58, 237, 0.2); color: var(--purple); }
.spark-type-bid_submitted .spark-event-type-badge,
.spark-event-type-badge.spark-type-bid_submitted { background: rgba(255, 122, 42, 0.2); color: var(--orange); }
.spark-type-task_assigned .spark-event-type-badge,
.spark-event-type-badge.spark-type-task_assigned { background: rgba(0, 232, 122, 0.15); color: var(--green); }
.spark-type-task_completed .spark-event-type-badge,
.spark-event-type-badge.spark-type-task_completed { background: rgba(0, 232, 122, 0.2); color: var(--green); }
.spark-type-task_failed .spark-event-type-badge,
.spark-event-type-badge.spark-type-task_failed { background: rgba(255, 68, 85, 0.2); color: var(--red); }
.spark-type-agent_joined .spark-event-type-badge,
.spark-event-type-badge.spark-type-agent_joined { background: rgba(168, 85, 247, 0.2); color: var(--purple); }
.spark-type-prediction_result .spark-event-type-badge,
.spark-event-type-badge.spark-type-prediction_result { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.spark-advisory {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 0.75rem;
margin-bottom: 0.75rem;
background: rgba(24, 10, 45, 0.5);
}
.spark-advisory.priority-high { border-left: 3px solid var(--red); }
.spark-advisory.priority-medium { border-left: 3px solid var(--orange); }
.spark-advisory.priority-low { border-left: 3px solid var(--green); }
.spark-advisory-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.25rem;
}
.spark-advisory-cat {
font-size: 0.6rem;
color: var(--text-dim);
letter-spacing: 0.08em;
}
.spark-advisory-priority {
font-size: 0.65rem;
color: var(--text);
font-family: var(--font);
}
.spark-advisory-title {
font-weight: 600;
font-size: 0.9rem;
color: var(--text-bright);
margin-bottom: 0.25rem;
}
.spark-advisory-detail {
font-size: 0.8rem;
color: var(--text);
margin-bottom: 0.4rem;
line-height: 1.4;
}
.spark-advisory-action {
font-size: 0.75rem;
color: var(--purple);
font-style: italic;
border-left: 2px solid var(--purple);
padding-left: 0.5rem;
}
.spark-prediction {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 0.6rem;
margin-bottom: 0.6rem;
background: rgba(8, 4, 18, 0.5);
}
.spark-prediction.evaluated { border-left: 3px solid var(--green); }
.spark-prediction.pending { border-left: 3px solid var(--orange); }
.spark-pred-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.3rem;
}
.spark-pred-task {
font-size: 0.75rem;
color: var(--text);
font-family: var(--font);
}
.spark-pred-accuracy {
font-weight: 700;
font-size: 0.85rem;
font-family: var(--font);
}
.spark-pred-pending-badge {
font-size: 0.6rem;
background: var(--amber-dim);
color: var(--amber);
padding: 0.1em 0.4em;
border-radius: 3px;
font-weight: 600;
}
.spark-pred-detail { font-size: 0.75rem; color: var(--text); }
.spark-pred-item { padding: 0.1rem 0; }
.spark-pred-label { color: var(--text-dim); font-weight: 600; }
.spark-pred-actual {
margin-top: 0.3rem;
padding-top: 0.3rem;
border-top: 1px dashed var(--border);
color: var(--text-bright);
}
.spark-pred-time {
font-size: 0.6rem;
color: var(--text-dim);
margin-top: 0.3rem;
font-family: var(--font);
}
.spark-memory-card {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 0.6rem;
margin-bottom: 0.6rem;
background: rgba(8, 4, 18, 0.5);
}
.spark-memory-card.mem-pattern { border-left: 3px solid var(--green); }
.spark-memory-card.mem-anomaly { border-left: 3px solid var(--red); }
.spark-memory-card.mem-insight { border-left: 3px solid var(--purple); }
.spark-mem-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.25rem;
}
.spark-mem-type {
font-size: 0.6rem;
letter-spacing: 0.08em;
color: var(--text-dim);
font-weight: 600;
}
.spark-mem-confidence {
font-size: 0.65rem;
color: var(--text);
font-family: var(--font);
}
.spark-mem-content {
font-size: 0.8rem;
color: var(--text-bright);
line-height: 1.4;
}
.spark-mem-meta {
font-size: 0.6rem;
color: var(--text-dim);
margin-top: 0.3rem;
}
.spark-timeline-scroll {
max-height: 70vh;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.spark-event {
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 0.5rem;
margin-bottom: 0.5rem;
background: rgba(8, 4, 18, 0.5);
}
.spark-event-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.2rem;
}
.spark-event-importance { font-size: 0.5rem; color: var(--purple); }
.spark-event-desc { font-size: 0.8rem; color: var(--text-bright); }
.spark-event-meta {
font-size: 0.65rem;
color: var(--text-dim);
font-family: var(--font);
margin-top: 0.15rem;
}
.spark-event-time {
font-size: 0.6rem;
color: var(--text-dim);
font-family: var(--font);
}
@media (max-width: 992px) {
.spark-title { font-size: 1.1rem; }
.spark-stat-value { font-size: 1.1rem; }
}
@media (max-width: 768px) {
.spark-timeline-scroll { max-height: 50vh; }
}
/* ── Swarm live ───────────────────────────────────────────── */
.swarm-container {
max-width: 1200px;
margin: 0 auto;
}
.swarm-header-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.swarm-title {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: 0.08em;
}
.swarm-log-box {
height: 200px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
background: rgba(24, 10, 45, 0.6);
padding: 12px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
font-family: var(--font);
font-size: 12px;
}
@media (max-width: 768px) {
.swarm-title { font-size: 1rem; }
.swarm-log-box { height: 160px; font-size: 11px; }
}
.activity-feed-panel {
margin-bottom: 16px;
}
.activity-feed {
max-height: 300px;
overflow-y: auto;
background: rgba(24, 10, 45, 0.6);
padding: 12px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
}
.activity-item {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 8px 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
animation: fadeIn 0.3s ease;
}
.activity-item:last-child { border-bottom: none; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}
.activity-icon {
font-size: 16px;
flex-shrink: 0;
width: 24px;
text-align: center;
}
.activity-content {
flex: 1;
min-width: 0;
}
.activity-label {
font-weight: 600;
color: var(--text-bright);
font-size: 12px;
}
.activity-desc {
color: var(--text-dim);
font-size: 11px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.activity-meta {
display: flex;
gap: 8px;
font-size: 10px;
color: var(--text-dim);
margin-top: 2px;
}
.activity-time {
font-family: var(--font);
color: var(--amber);
}
.activity-source { opacity: 0.7; }
.activity-empty {
color: var(--text-dim);
font-size: 12px;
text-align: center;
padding: 20px;
}
.activity-badge {
display: inline-block;
width: 8px;
height: 8px;
background: #28a745;
border-radius: 50%;
margin-left: 8px;
animation: pulse-activity 2s infinite;
}
@keyframes pulse-activity {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
/* ── Tasks (Kanban) ───────────────────────────────────────── */
.tasks-container { max-width: 1400px; margin: 0 auto; }
.tasks-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.tasks-title {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: 0.08em;
}
.tasks-columns {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 16px;
}
@media (max-width: 992px) {
.tasks-columns { grid-template-columns: 1fr; }
}
.task-column-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.task-column-title {
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.1em;
color: var(--text-dim);
}
.task-card {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 12px;
margin-bottom: 10px;
background: rgba(24, 10, 45, 0.6);
transition: border-color 0.2s;
}
.task-card:hover { border-color: rgba(124, 58, 237, 0.3); }
.task-card.priority-urgent { border-left: 3px solid var(--red, #ef4444); }
.task-card.priority-high { border-left: 3px solid var(--amber, #f59e0b); }
.task-card.priority-normal { border-left: 3px solid var(--info, #4ea8de); }
.task-card.priority-low { border-left: 3px solid var(--text-dim); }
.task-card-title {
font-weight: 600;
font-size: 0.9rem;
color: var(--text-bright);
margin-bottom: 4px;
}
.task-card-desc {
font-size: 0.8rem;
color: var(--text);
margin-bottom: 6px;
max-height: 3em;
overflow: hidden;
}
.task-card-meta {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-bottom: 8px;
}
.task-badge {
font-size: 0.65rem;
padding: 0.15em 0.5em;
border-radius: 3px;
font-weight: 600;
letter-spacing: 0.05em;
background: var(--bg-tertiary);
color: var(--text);
}
.task-badge-urgent { background: rgba(239,68,68,0.2); color: var(--red, #ef4444); }
.task-badge-high { background: rgba(245,158,11,0.2); color: var(--amber, #f59e0b); }
.task-badge-running { background: rgba(59,130,246,0.2); color: #60a5fa; }
.task-badge-completed { background: rgba(16,185,129,0.2); color: var(--green, #10b981); }
.task-badge-failed { background: rgba(239,68,68,0.2); color: var(--red, #ef4444); }
.task-badge-vetoed { background: rgba(107,114,128,0.2); color: #9ca3af; }
.task-badge-paused { background: rgba(245,158,11,0.2); color: var(--amber, #f59e0b); }
.task-actions {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.task-btn {
font-size: 0.7rem;
padding: 4px 12px;
border: none;
border-radius: var(--radius-sm, 4px);
cursor: pointer;
font-weight: 600;
letter-spacing: 0.04em;
font-family: var(--font);
}
.task-btn-approve { background: var(--green, #10b981); color: #000; }
.task-btn-approve:hover { opacity: 0.85; }
.task-btn-modify { background: var(--purple, #7c3aed); color: #fff; }
.task-btn-modify:hover { opacity: 0.85; }
.task-btn-veto { background: var(--red, #ef4444); color: #fff; }
.task-btn-veto:hover { opacity: 0.85; }
.task-btn-pause { background: var(--amber, #f59e0b); color: #000; }
.task-btn-cancel { background: var(--bg-tertiary); color: var(--text); border: 1px solid var(--border); }
.task-btn-retry { background: var(--info, #4ea8de); color: #000; }
.task-result {
font-size: 0.75rem;
color: var(--text);
margin-top: 6px;
padding: 6px;
background: rgba(0,0,0,0.2);
border-radius: 4px;
max-height: 4em;
overflow: hidden;
cursor: pointer;
}
.task-result.expanded { max-height: none; }
.task-steps {
margin-top: 6px;
font-size: 0.7rem;
}
.task-step { padding: 2px 0; color: var(--text-dim); }
.task-step.running { color: #60a5fa; }
.task-step.completed { color: var(--green, #10b981); }
.task-time {
font-size: 0.6rem;
color: var(--text-dim);
font-family: var(--font);
margin-top: 4px;
}
/* Task create modal */
.task-modal-overlay {
display: none;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.6);
z-index: 1000;
align-items: center;
justify-content: center;
}
.task-modal-overlay.open { display: flex; }
.task-modal {
background: var(--bg-secondary, #1a0a2e);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 24px;
max-width: 480px;
width: 90%;
}
.task-modal h3 {
margin: 0 0 16px;
font-size: 1rem;
color: var(--text-bright);
}
.task-modal label {
display: block;
font-size: 0.75rem;
color: var(--text-dim);
margin-bottom: 4px;
letter-spacing: 0.05em;
}
.task-modal input, .task-modal textarea, .task-modal select {
width: 100%;
padding: 8px;
margin-bottom: 12px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--bg-tertiary, #0a0f1e);
color: var(--text);
font-family: var(--font);
font-size: 0.85rem;
}
.task-modal textarea { min-height: 80px; resize: vertical; }
.task-modal-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
margin-top: 8px;
}
.empty-column {
text-align: center;
padding: 24px;
color: var(--text-dim);
font-size: 0.8rem;
}
/* ── Thinking ─────────────────────────────────────────────── */
.thinking-container { max-width: 680px; }
.thinking-header {
border-left: 3px solid var(--purple);
padding-left: 1rem;
}
.thinking-title {
font-size: 1.6rem;
font-weight: 700;
color: var(--purple);
letter-spacing: 0.04em;
font-family: var(--font);
}
.thinking-subtitle {
font-size: 0.75rem;
color: var(--text-dim);
margin-top: 0.25rem;
}
.thought-card {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 1rem;
margin-bottom: 0.75rem;
background: rgba(24, 10, 45, 0.5);
transition: border-color 0.2s;
}
.thought-card:hover { border-color: var(--purple); }
.thought-content {
font-size: 0.95rem;
line-height: 1.65;
color: var(--text-bright);
white-space: pre-wrap;
word-break: break-word;
}
.thought-meta {
display: flex;
gap: 0.75rem;
align-items: center;
margin-bottom: 0.5rem;
flex-wrap: wrap;
}
.thought-time {
font-size: 0.72rem;
color: var(--text-dim);
font-family: var(--font);
}
.seed-badge {
font-size: 0.68rem;
padding: 0.15em 0.5em;
border-radius: 4px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.seed-existential { background: rgba(138, 43, 226, 0.2); color: #c084fc; }
.seed-swarm { background: rgba(0, 232, 122, 0.15); color: var(--green); }
.seed-scripture { background: rgba(255, 193, 7, 0.15); color: var(--amber); }
.seed-creative { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
.seed-memory { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.seed-freeform { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.thought-chain-link {
font-size: 0.72rem;
color: var(--text-dim);
text-decoration: none;
font-family: var(--font);
}
.thought-chain-link:hover { color: var(--purple); }
.no-thoughts {
text-align: center;
color: var(--text-dim);
padding: 3rem 0;
font-size: 0.9rem;
}
@media (max-width: 576px) {
.thinking-title { font-size: 1.3rem; }
.thought-content { font-size: 0.9rem; }
}
/* ── Tools ────────────────────────────────────────────────── */
.tools-container { max-width: 1200px; margin: 0 auto; }
.tools-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 20px;
}
.tools-title {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: 0.08em;
}
.tools-subtitle {
font-size: 0.8rem;
color: var(--text-dim);
margin-top: 2px;
}
.tools-stat-box {
background: var(--glass-bg);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 10px 18px;
text-align: center;
}
.tools-stat-val {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-bright);
}
.tools-stat-label {
font-size: 0.7rem;
color: var(--text-dim);
letter-spacing: 0.08em;
}
.tool-card { height: 100%; }
.tool-card .card-title {
font-size: 0.85rem;
letter-spacing: 0.04em;
}
.tool-card .card-text {
font-size: 0.8rem;
color: var(--text-dim);
line-height: 1.5;
}
@media (max-width: 768px) {
.tools-title { font-size: 1.1rem; }
.tools-header { flex-direction: column; }
}
/* ── Upgrades queue ───────────────────────────────────────── */
.mc-section { margin-bottom: 2rem; }
.mc-section-title {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
}
.upgrades-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.upgrade-card {
background: rgba(10, 15, 30, 0.6);
border: 1px solid var(--mc-border);
border-radius: 0.5rem;
padding: 1rem;
}
.upgrade-pending { border-left: 4px solid #ffc107; }
.upgrade-approved { border-left: 4px solid #17a2b8; }
.upgrade-applied { border-left: 4px solid #28a745; }
.upgrade-rejected { border-left: 4px solid #6c757d; }
.upgrade-failed { border-left: 4px solid #dc3545; }
.upgrade-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
}
.upgrade-header h3 { margin: 0; font-size: 1.1rem; }
.upgrade-meta {
display: flex;
gap: 1rem;
font-size: 0.85rem;
color: var(--mc-text-secondary);
margin-bottom: 0.5rem;
}
.upgrade-files {
font-size: 0.9rem;
margin-bottom: 0.5rem;
font-family: monospace;
}
.upgrade-test-status { margin-bottom: 0.75rem; }
.test-passed { color: #28a745; }
.test-failed { color: #dc3545; }
.upgrade-actions { display: flex; gap: 0.5rem; }
.upgrades-history .upgrade-card {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1rem;
}
.upgrade-desc { flex: 1; }
.upgrade-time { font-size: 0.85rem; color: var(--mc-text-secondary); }
.upgrade-error { color: #dc3545; cursor: help; }
/* ── Voice ────────────────────────────────────────────────── */
.voice-page {
max-width: 600px;
margin: 0 auto;
text-align: center;
}
.voice-button {
width: 160px;
height: 160px;
border-radius: 50%;
background: linear-gradient(135deg, var(--border-glow), var(--purple));
border: none;
color: white;
font-size: 3.5rem;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.3s;
display: flex;
align-items: center;
justify-content: center;
margin: 30px auto;
box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
.voice-button:hover {
transform: scale(1.05);
box-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
}
.voice-button:active, .voice-button.listening {
transform: scale(0.95);
background: linear-gradient(135deg, var(--red), var(--red-dim));
box-shadow: 0 0 60px rgba(255, 68, 85, 0.5);
animation: pulse-listen 1s infinite;
}
@keyframes pulse-listen {
0%, 100% { box-shadow: 0 0 40px rgba(255, 68, 85, 0.5); }
50% { box-shadow: 0 0 80px rgba(255, 68, 85, 0.8); }
}
.voice-status {
font-size: 1rem;
color: var(--text-dim);
margin-bottom: 16px;
letter-spacing: 0.06em;
}
.voice-result {
background: rgba(24, 10, 45, 0.8);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 16px;
margin-top: 20px;
text-align: left;
}
.voice-transcript {
font-size: 0.95rem;
margin-bottom: 12px;
color: var(--text);
}
.voice-response {
color: var(--purple);
font-style: italic;
}
.voice-tips {
margin-top: 24px;
padding: 16px;
background: rgba(24, 10, 45, 0.6);
border: 1px solid var(--border);
border-radius: var(--radius-md);
text-align: left;
}
.voice-tips h3 {
font-size: 0.85rem;
color: var(--text-bright);
margin-bottom: 10px;
}
.voice-tips ul {
color: var(--text-dim);
line-height: 2;
padding-left: 18px;
font-size: 0.85rem;
}
@media (max-width: 768px) {
.voice-button { width: 140px; height: 140px; font-size: 3rem; }
}
/* ── Voice enhanced ───────────────────────────────────────── */
.voice-enhanced-page {
max-width: 600px;
margin: 0 auto;
}
.wave-container {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
height: 60px;
margin: 20px 0;
}
.wave-bar {
width: 4px;
background: var(--purple);
border-radius: 2px;
animation: wave 1s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 40%; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 100%; }
.wave-bar:nth-child(6) { animation-delay: 0.3s; height: 80%; }
.wave-bar:nth-child(7) { animation-delay: 0.2s; height: 60%; }
.wave-bar:nth-child(8) { animation-delay: 0.1s; height: 40%; }
.wave-bar:nth-child(9) { animation-delay: 0s; height: 20%; }
@keyframes wave {
0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
50% { transform: scaleY(1); opacity: 1; }
}
.wave-container:not(.listening) .wave-bar {
animation: none;
height: 10%;
opacity: 0.3;
}
.voice-btn-row {
text-align: center;
margin-bottom: 16px;
}
.voice-btn-row button {
padding: 12px 32px;
font-size: 1rem;
font-family: var(--font);
font-weight: 700;
letter-spacing: 0.08em;
min-height: 48px;
border-radius: var(--radius-md);
cursor: pointer;
touch-action: manipulation;
transition: transform 0.1s, box-shadow 0.2s;
}
.voice-btn-row button:active { transform: scale(0.96); }
#start-btn {
background: var(--border-glow);
border: none;
color: var(--text-bright);
}
#stop-btn {
background: var(--red);
border: none;
color: white;
}
#status-text {
text-align: center;
color: var(--text-dim);
margin-bottom: 16px;
font-size: 0.85rem;
letter-spacing: 0.06em;
}
.result-box {
background: rgba(24, 10, 45, 0.8);
border: 1px solid var(--border);
padding: 14px;
border-radius: var(--radius-md);
margin-bottom: 10px;
font-size: 0.9rem;
color: var(--text);
}
.result-box.timmy-reply {
border-left: 3px solid var(--purple);
}
.result-box strong {
color: var(--text-dim);
font-size: 0.75rem;
letter-spacing: 0.08em;
display: block;
margin-bottom: 6px;
}
.result-box.timmy-reply strong { color: var(--purple); }
#audio-player {
width: 100%;
margin-top: 10px;
border-radius: var(--radius-md);
}
/* ── Notification dropdown ──────────────────────────── */
.mc-notif-btn {
background: none;
cursor: pointer;
position: relative;
}
.mc-notif-menu {
right: 0;
left: auto;
min-width: 280px;
max-height: 350px;
overflow-y: auto;
}
.mc-notif-list {
padding: 6px;
}
.mc-notif-empty {
color: var(--text-dim);
font-size: 0.8rem;
text-align: center;
padding: 12px;
}
.mc-notif-item {
padding: 6px 8px;
border-bottom: 1px solid var(--border);
font-size: 0.8rem;
}
.mc-notif-title {
color: var(--text-bright);
}
.mc-notif-ts {
color: var(--text-dim);
font-size: 0.7rem;
}
.notif-badge {
display: inline-block;
width: 8px;
height: 8px;
background: var(--red);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
.notif-badge.hidden {
display: none;
}
/* ── Mobile notification button ─────────────────────── */
.mc-mobile-notif-btn {
background: none;
border: none;
cursor: pointer;
width: 100%;
text-align: left;
font: inherit;
color: inherit;
padding: inherit;
}
/* ── Index page: sovereignty score ───────────────────── */
.sov-section {
margin-bottom: 24px;
}
.sov-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 12px;
}
.sov-score-value {
font-size: 3rem;
font-weight: 700;
}
.sov-score-label {
font-weight: 600;
}
.sov-score-detail {
font-size: 0.875rem;
color: var(--text-muted);
}
.sov-bar-track {
background: var(--bg-tertiary);
height: 8px;
border-radius: 4px;
overflow: hidden;
}
.sov-bar-fill {
height: 100%;
width: 0%;
transition: width 0.5s;
}
/* ── Index page: section headings ────────────────────── */
.mc-section-heading {
margin-bottom: 12px;
}
.mc-section-gap {
margin-bottom: 24px;
}
/* ── Index page: grok mode ───────────────────────────── */
.mc-card-spaced {
margin-top: 24px;
}
.grok-badge-standby {
background: #666;
}
.grok-toggle-box {
border: 2px solid #666;
border-radius: 12px;
padding: 16px;
background: var(--bg-secondary);
}
.grok-toggle-row {
display: flex;
justify-content: space-between;
align-items: center;
}
.grok-toggle-title {
font-weight: 700;
font-size: 1.1rem;
color: #666;
}
.grok-toggle-desc {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 4px;
}
.grok-activate-btn {
background: #666;
color: #000;
border: none;
border-radius: 8px;
padding: 8px 20px;
cursor: pointer;
font-weight: 700;
font-family: inherit;
}
.grok-active .grok-toggle-box {
border-color: #00ff88;
}
.grok-active .grok-toggle-title {
color: #00ff88;
}
.grok-active .grok-activate-btn {
background: #00ff88;
}
/* ── Index page: heartbeat ───────────────────────────── */
.hb-log-wrap {
margin-top: 16px;
}
.hb-log {
height: 100px;
overflow-y: auto;
background: var(--bg-tertiary);
padding: 12px;
border-radius: 8px;
font-family: monospace;
font-size: 0.75rem;
}
.hb-log-placeholder {
color: var(--text-muted);
}
/* ── Index page: chat history ────────────────────────── */
.chat-history-container {
max-height: 300px;
overflow-y: auto;
}
.chat-history-msg {
margin-bottom: 12px;
padding: 8px;
border-radius: 4px;
}
.chat-history-msg--user {
background: var(--bg-tertiary);
}
.chat-history-placeholder {
color: var(--text-muted);
}
.chat-history-fallback {
color: var(--text-muted);
text-align: center;
padding: 20px;
}
.chat-history-fallback-sub {
font-size: 0.875rem;
}
/* ── Index page: dependency cards (JS-built) ─────────── */
.dep-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.dep-card-details {
font-size: 0.875rem;
color: var(--text-muted);
margin-bottom: 8px;
}
.dep-card-score {
font-size: 0.75rem;
}
/* ── Heartbeat log entries ───────────────────────────── */
.hb-entry {
margin-bottom: 2px;
}
.hb-entry-ts {
color: var(--text-muted);
}
.hb-entry-ok {
color: var(--success);
}
/* ── Grok badge states ───────────────────────────────── */
.grok-badge-active {
background: #00ff88;
color: #000;
}
/* ── Loading placeholder (shared) ────────────────────── */
.mc-loading-placeholder {
font-size: 11px;
color: var(--text-dim);
letter-spacing: 0.08em;
}
/* ── Agent chat: Grok button ────────────────────────────── */
.mc-btn-grok {
background: var(--bg-card);
color: var(--green);
border: 1px solid var(--green);
font-size: 0.7rem;
font-family: var(--font);
font-weight: 700;
letter-spacing: 0.08em;
white-space: nowrap;
padding: 4px 10px;
border-radius: var(--radius-sm);
cursor: pointer;
transition: background 0.15s, box-shadow 0.15s;
touch-action: manipulation;
}
.mc-btn-grok:hover {
background: rgba(0, 232, 122, 0.12);
box-shadow: 0 0 10px rgba(0, 232, 122, 0.25);
}
/* ── Shared page-level elements ─────────────────────────── */
.page-title {
font-size: 1.4rem;
font-weight: 700;
color: var(--text-bright);
letter-spacing: 0.1em;
text-transform: uppercase;
margin: 0 0 4px;
}
.mc-text-secondary {
color: var(--text-dim);
font-size: 0.85rem;
margin: 0;
}
/* ── Shared buttons ─────────────────────────────────────── */
.mc-btn {
font-family: var(--font);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.08em;
padding: 6px 14px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: transparent;
color: var(--text);
cursor: pointer;
transition: border-color 0.15s, color 0.15s, background 0.15s;
touch-action: manipulation;
}
.mc-btn:hover {
border-color: var(--purple);
color: var(--text-bright);
}
.mc-btn-primary {
background: var(--border-glow);
border-color: var(--border-glow);
color: var(--text-bright);
}
.mc-btn-primary:hover {
background: var(--purple);
border-color: var(--purple);
}
.mc-btn-small {
font-size: 0.65rem;
padding: 3px 10px;
min-height: 28px;
}
/* ── Memory Browser ─────────────────────────────────────── */
.mc-stats-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
gap: 10px;
padding: 16px;
border-bottom: 1px solid var(--border);
}
.mc-stat-card {
text-align: center;
padding: 10px 6px;
background: rgba(24, 10, 45, 0.6);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
}
.mc-stat-value {
font-size: 1.4rem;
font-weight: 700;
color: var(--text-bright);
line-height: 1.2;
}
.mc-stat-label {
font-size: 0.65rem;
color: var(--text-dim);
letter-spacing: 0.1em;
text-transform: uppercase;
margin-top: 2px;
}
.mc-search-section {
padding: 16px;
border-bottom: 1px solid var(--border);
}
.mc-search-form {
display: flex;
gap: 8px;
}
.mc-search-input {
flex: 1;
background: rgba(8, 4, 18, 0.75);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-bright);
font-family: var(--font);
font-size: 13px;
padding: 10px 12px;
transition: border-color 0.15s, box-shadow 0.15s;
min-height: 44px;
}
.mc-search-input:focus {
outline: none;
border-color: var(--border-glow);
box-shadow: 0 0 0 1px var(--border-glow), 0 0 10px rgba(124, 58, 237, 0.25);
}
.mc-search-input::placeholder {
color: var(--text-dim);
}
.mc-search-info {
font-size: 0.8rem;
color: var(--text-dim);
margin: 8px 0 0;
}
.mc-results-section {
padding: 16px;
border-bottom: 1px solid var(--border);
}
.mc-results-section h3 {
font-size: 0.85rem;
color: var(--text-dim);
letter-spacing: 0.12em;
text-transform: uppercase;
margin: 0 0 12px;
}
.memory-entry {
padding: 12px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: rgba(24, 10, 45, 0.5);
margin-bottom: 10px;
}
.memory-header {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 6px;
}
.memory-source {
font-size: 0.75rem;
font-weight: 600;
color: var(--text-bright);
letter-spacing: 0.06em;
}
.mc-badge {
font-size: 0.6rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
padding: 2px 8px;
border-radius: 2px;
background: rgba(168, 85, 247, 0.2);
color: var(--purple);
}
.memory-score {
font-size: 0.7rem;
color: var(--green);
margin-left: auto;
}
.memory-content {
font-size: 0.85rem;
color: var(--text);
line-height: 1.6;
word-break: break-word;
white-space: pre-wrap;
}
.memory-meta {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-top: 8px;
font-size: 0.7rem;
color: var(--text-dim);
}
.mc-empty-state {
text-align: center;
padding: 24px 16px;
color: var(--text-dim);
}
.mc-empty-state p:first-child {
color: var(--text);
margin-bottom: 4px;
}
.mc-facts-section {
padding: 16px;
}
.mc-section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.mc-section-header h3 {
font-size: 0.85rem;
color: var(--text-dim);
letter-spacing: 0.12em;
text-transform: uppercase;
margin: 0;
}
.mc-inline-form {
display: flex;
gap: 8px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.mc-inline-form .mc-input {
flex: 1;
min-width: 0;
}
.mc-fact-list {
list-style: none;
padding: 0;
margin: 0;
}
.memory-fact {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 0;
border-bottom: 1px solid rgba(59, 26, 92, 0.3);
}
.memory-fact:last-child {
border-bottom: none;
}
.fact-content {
flex: 1;
min-width: 0;
word-break: break-word;
}
.fact-btn-del {
color: var(--red) !important;
}
@media (max-width: 768px) {
.page-title { font-size: 1.1rem; }
.mc-stats-row {
grid-template-columns: repeat(2, 1fr);
padding: 12px;
gap: 8px;
}
.mc-stat-card { padding: 8px 4px; }
.mc-stat-value { font-size: 1.1rem; }
.mc-search-section { padding: 12px; }
.mc-search-form { flex-direction: column; }
.mc-search-input { font-size: 16px; }
.mc-results-section { padding: 12px; }
.mc-facts-section { padding: 12px; }
.mc-section-header { flex-wrap: wrap; }
.mc-inline-form { flex-direction: column; }
.memory-fact { gap: 6px; }
.mc-btn-small {
min-height: 36px;
padding: 4px 12px;
font-size: 0.7rem;
}
}
/* ═══════════════════════════════════════════════════════════════
DB Explorer
═══════════════════════════════════════════════════════════════ */
.db-explorer-container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
.db-explorer-header { margin-bottom: 0.5rem; }
.db-explorer-title { font-size: 1.4rem; font-weight: 700; color: var(--text-bright); letter-spacing: 0.05em; }
.db-explorer-subtitle { font-size: 0.75rem; color: var(--text-dim); }
.db-list { display: flex; flex-direction: column; gap: 2px; }
.db-list-item {
display: flex; justify-content: space-between; align-items: center;
padding: 0.45rem 0.6rem; border-radius: 4px;
color: var(--text); text-decoration: none;
transition: background 0.15s;
}
.db-list-item:hover { background: var(--bg-card); color: var(--text-bright); }
.db-list-item.active { background: var(--purple); color: var(--text-bright); }
.db-name { font-size: 0.8rem; font-weight: 600; }
.db-size { font-size: 0.7rem; color: var(--text-dim); }
.db-list-item.active .db-size { color: var(--text-bright); opacity: 0.7; }
.db-table-wrap { max-height: 500px; overflow: auto; }
.db-table { font-size: 0.75rem; }
.db-table th { position: sticky; top: 0; background: var(--bg-panel); color: var(--green); font-weight: 600; white-space: nowrap; z-index: 1; }
.db-table td { vertical-align: top; }
.db-cell { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-cell:hover { white-space: normal; word-break: break-all; }
.db-truncated { font-size: 0.7rem; color: var(--amber); padding: 0.3rem 0; }
/* ── Tower ────────────────────────────────────────────────────────────── */
.tower-container { max-width: 1400px; margin: 0 auto; }
.tower-header { margin-bottom: 1rem; }
.tower-title { font-size: 1.6rem; font-weight: 700; color: var(--green); letter-spacing: 0.15em; }
.tower-subtitle { font-size: 0.85rem; color: var(--text-dim); }
.tower-conn-badge { font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 3px; letter-spacing: 0.08em; }
.tower-conn-live { color: var(--green); border: 1px solid var(--green); }
.tower-conn-offline { color: var(--red); border: 1px solid var(--red); }
.tower-conn-connecting { color: var(--amber); border: 1px solid var(--amber); }
.tower-phase-card { min-height: 300px; }
.tower-phase-thinking { border-left: 3px solid var(--purple); }
.tower-phase-predicting { border-left: 3px solid var(--orange); }
.tower-phase-advising { border-left: 3px solid var(--green); }
.tower-scroll { max-height: 50vh; overflow-y: auto; }
.tower-empty { text-align: center; color: var(--text-dim); padding: 16px; font-size: 0.85rem; }
.tower-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; text-align: center; }
.tower-stat-label { display: block; font-size: 0.65rem; color: var(--text-dim); letter-spacing: 0.1em; }
.tower-stat-value { display: block; font-size: 1.1rem; font-weight: 700; color: var(--text-bright); }
.tower-event { padding: 8px; margin-bottom: 6px; border-left: 3px solid var(--border); border-radius: 3px; background: var(--bg-card); }
.tower-etype-task_posted { border-left-color: var(--purple); }
.tower-etype-bid_submitted { border-left-color: var(--orange); }
.tower-etype-task_completed { border-left-color: var(--green); }
.tower-etype-task_failed { border-left-color: var(--red); }
.tower-etype-agent_joined { border-left-color: var(--purple); }
.tower-etype-tool_executed { border-left-color: var(--amber); }
.tower-ev-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tower-ev-badge { font-size: 0.65rem; font-weight: 600; color: var(--text-bright); letter-spacing: 0.08em; }
.tower-ev-dots { font-size: 0.6rem; color: var(--amber); }
.tower-ev-desc { font-size: 0.8rem; color: var(--text); }
.tower-ev-time { font-size: 0.65rem; color: var(--text-dim); margin-top: 2px; }
.tower-pred { padding: 8px; margin-bottom: 6px; border-radius: 3px; background: var(--bg-card); border-left: 3px solid var(--orange); }
.tower-pred-done { border-left-color: var(--green); }
.tower-pred-pending { border-left-color: var(--amber); }
.tower-pred-head { display: flex; justify-content: space-between; align-items: center; }
.tower-pred-task { font-size: 0.75rem; font-weight: 600; color: var(--text-bright); font-family: monospace; }
.tower-pred-acc { font-size: 0.75rem; font-weight: 700; }
.tower-pred-detail { font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; }
.tower-advisory { padding: 8px; margin-bottom: 6px; border-radius: 3px; background: var(--bg-card); border-left: 3px solid var(--border); }
.tower-adv-high { border-left-color: var(--red); }
.tower-adv-medium { border-left-color: var(--orange); }
.tower-adv-low { border-left-color: var(--green); }
.tower-adv-head { display: flex; justify-content: space-between; font-size: 0.65rem; margin-bottom: 4px; }
.tower-adv-cat { font-weight: 600; color: var(--text-dim); letter-spacing: 0.08em; }
.tower-adv-prio { font-weight: 700; color: var(--amber); }
.tower-adv-title { font-size: 0.85rem; font-weight: 600; color: var(--text-bright); }
.tower-adv-detail { font-size: 0.8rem; color: var(--text); margin-top: 2px; }
.tower-adv-action { font-size: 0.75rem; color: var(--green); margin-top: 4px; font-style: italic; }