Files
beantownbabeandClaude Sonnet 5 8d82a6d2ca Extract Opportunities into its own module; track Conference Scout as code
- opportunities/: opportunities.html (markup), opportunities.js (calendar,
  event list, scout list, drill-view logic), opportunities.css — loaded by
  index.html via fetch + dynamic <script>, replacing the inline copy that
  used to live directly in the monolith
- Shared shell (index.html) no longer hardcodes Opportunities-specific
  drill-view config; the module registers itself into HERO_NAV_BY_TAB /
  DRILL_CONFIG / DRILL_DEFAULT_VIEW at load time, and setDrillView now
  tolerates scopes that haven't registered yet
- agents/conference-scout/: the scheduled cloud routine's actual definition
  (schedule, model, tools, full prompt) as a tracked config.json, plus a
  README covering where it really runs (Anthropic's cloud, no server-side
  component here), how to keep it in sync, how to recreate it if deleted,
  and its current WebFetch/egress limitation

Team/Directory/Marketing/Sales remain inline in index.html for now — a
separate, larger pass given their size and interdependencies.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 13:26:32 +02:00

81 lines
4.1 KiB
CSS

/* ---------- Opportunities (calendar) ---------- */
.opp-loading { color: #9aa7b4; font-size: 0.9rem; padding: 40px 0; text-align: center; }
.opp-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.opp-month-label { font-size: 1.15rem; font-weight: 800; color: #1b3a5c; }
.opp-nav-btn {
font-family: inherit; font-size: 0.85rem; font-weight: 700; color: #2d6a9f;
background: #fff; border: 1px solid #e0e7ef; border-radius: 6px; padding: 6px 12px; cursor: pointer;
}
.opp-nav-btn:hover { background: #e8f0fe; }
.opp-today-btn { margin-left: 8px; }
.opp-cal-grid {
border-top: 1px solid #e0e7ef; border-left: 1px solid #e0e7ef;
}
.opp-cal-weekdays, .opp-cal-week {
display: grid; grid-template-columns: repeat(7, 1fr);
}
.opp-cal-week { position: relative; }
.opp-cal-weekday {
text-align: center; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
letter-spacing: 0.04em; color: #6b7a8d; padding: 8px 0;
border-right: 1px solid #e0e7ef; border-bottom: 1px solid #e0e7ef; background: #f7f9fc;
}
.opp-cal-cell {
min-height: 96px; border-right: 1px solid #e0e7ef; border-bottom: 1px solid #e0e7ef;
padding: 8px;
}
.opp-cal-cell.outside { background: #fafbfc; }
.opp-cal-cell.outside .opp-cal-daynum { color: #c3cdd8; }
.opp-cal-daynum { font-size: 0.82rem; font-weight: 700; color: #1a2533; }
.opp-cal-cell.today .opp-cal-daynum {
display: inline-flex; align-items: center; justify-content: center;
width: 22px; height: 22px; border-radius: 50%; background: #2d6a9f; color: #fff;
}
.opp-cal-event-bar {
position: absolute; height: 20px; line-height: 20px; border-radius: 4px;
background: #2d6a9f; color: #fff; font-size: 0.72rem; font-weight: 700;
padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
cursor: default;
}
.opp-cal-event-bar .opp-cal-event-title { color: #ffd43b; font-weight: 800; text-decoration: none; }
a.opp-cal-event-title:hover { text-decoration: underline; }
.opp-cal-event-bar .opp-cal-event-loc { color: #fff; font-weight: 600; opacity: 0.82; margin-left: 6px; }
.opp-cal-event-bar.continues-left { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.opp-cal-event-bar.continues-right { border-top-right-radius: 0; border-bottom-right-radius: 0; }
#tab-opportunities .drill-view { padding: 0; }
.opp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .opp-layout { grid-template-columns: 1fr; } }
.opp-list-card { padding: 24px; }
.opp-list-heading { margin: 0 0 16px; font-size: 1.05rem; font-weight: 800; color: #1b3a5c; }
.opp-list { display: flex; flex-direction: column; gap: 10px; }
.opp-list-empty { color: #6b7a8d; font-size: 0.9rem; }
.opp-list-row {
display: flex; align-items: flex-start; gap: 12px; padding: 12px;
border: 1px solid #e0e7ef; border-radius: 8px; cursor: pointer;
transition: border-color 0.15s, background 0.15s;
}
.opp-list-row:hover { border-color: #2d6a9f; background: #f7f9fc; }
.opp-list-meta {
flex: 0 0 128px; display: flex; flex-direction: column; gap: 3px;
font-size: 0.82rem; line-height: 1.5;
}
.opp-list-dates { font-weight: 700; color: #1a2533; }
.opp-list-loc, .opp-list-attendee { color: #6b7a8d; }
.opp-list-link {
display: inline-block; margin-top: 3px; font-size: 0.78rem; font-weight: 700;
color: #2d6a9f; text-decoration: underline;
}
.opp-list-about { flex: 1; border-left: 1px solid #eef1f5; padding-left: 16px; }
.opp-scout-note {
background: #fbf0df; border: 1px solid #f3ddb8; border-radius: 8px;
padding: 12px 14px; margin-bottom: 16px; font-size: 0.82rem; line-height: 1.55; color: #7a4a06;
}
.opp-scout-note strong { color: #b45f06; }
.opp-list-badge {
display: inline-block; background: #fbf0df; color: #b45f06; font-weight: 800;
font-size: 0.78rem; border-radius: 20px; padding: 5px 12px; text-decoration: none; white-space: nowrap;
}
a.opp-list-badge:hover { text-decoration: underline; }
.opp-list-abstract { margin: 8px 0 0; font-size: 0.82rem; line-height: 1.55; color: #3d4c5c; }