@font-face { font-family: "Trade Gothic Next"; src: url("brand/TradeGothicNextLTPro-Lt.otf"); font-weight: 300; }
@font-face { font-family: "Trade Gothic Next"; src: url("brand/TradeGothicNextLTPro-Rg.otf"); font-weight: 400; }
@font-face { font-family: "Trade Gothic Next"; src: url("brand/TradeGothicNextLTPro-Bd.otf"); font-weight: 700; }
@font-face { font-family: "Trade Gothic Next HvCn"; src: url("brand/TradeGothicNextLTPro-HvCn.otf"); font-weight: 800; }

:root {
  --navy: #021E42; --french-blue: #0024BC; --beige: #F7F6F3; --white: #FFFFFF;
  --sky: #AAC8E6; --orange: #FF6423; --kraft: #C8A07D;
  --text: #111; --muted: #5f6672; --line: #e3e1db; --card: var(--white); --bg: var(--beige);
  --radius: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 "Trade Gothic Next", Arial, sans-serif; }
h1, h2, h3 { font-family: "Trade Gothic Next HvCn", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; color: var(--navy); letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: 30px; line-height: 1.1; } h2 { font-size: 20px; } h3 { font-size: 16px; }
a { color: var(--french-blue); }
button, .button { font: 700 13px "Trade Gothic Next", Arial, sans-serif; letter-spacing: .02em; border: 1px solid var(--navy); background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary, .button.secondary { background: transparent; color: var(--navy); }
button.link { background: none; border: 0; color: inherit; padding: 0; font-weight: 400; }
button:disabled { opacity: .5; cursor: default; }
input, textarea, select { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--white); color: var(--text); width: 100%; }
textarea { min-height: 50vh; resize: vertical; line-height: 1.6; }
.muted { color: var(--muted); } .pad { padding: 24px; } .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

.top { background: var(--navy); color: var(--white); display: flex; align-items: center; gap: 20px; padding: 10px 24px; position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: "Trade Gothic Next HvCn", Arial, sans-serif; font-size: 20px; }
.brand img { width: 30px; height: 30px; }
.search { flex: 1; max-width: 560px; } .search input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--white); }
.search input::placeholder { color: rgba(255,255,255,.6); }
nav { display: flex; gap: 18px; align-items: center; margin-left: auto; } nav a { color: var(--white); text-decoration: none; opacity: .85; } nav a:hover { opacity: 1; }

main { max-width: 980px; margin: 0 auto; padding: 28px 16px 80px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0; overflow-x: auto; }
.tabs button { background: none; color: var(--muted); border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 12px; }
.tabs button.active { color: var(--navy); border-bottom-color: var(--french-blue); }

.meeting-list { list-style: none; padding: 0; margin: 0; }
.meeting-list li { border-bottom: 1px solid var(--line); }
.meeting-list a { display: block; padding: 14px 4px; text-decoration: none; color: inherit; }
.meeting-list a:hover { background: rgba(2,30,66,.03); }
.meeting-list .title { font-weight: 700; color: var(--navy); }
.meeting-list .summary { color: var(--muted); font-size: 14px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: var(--beige); color: var(--muted); border: 1px solid var(--line); }
.badge.processing, .badge.recording { background: #eef3fb; color: var(--french-blue); border-color: var(--sky); }
.badge.failed { background: #fff1ea; color: #b23a0b; border-color: var(--orange); }
.badge.company { background: var(--navy); color: var(--white); border-color: var(--navy); }

.notes { font-size: 16px; } .notes h1, .notes h2, .notes h3 { margin-top: 1.4em; }
.notes ul { padding-left: 1.3em; } .notes li { margin: .25em 0; }
.summary-box { font-size: 17px; border-left: 3px solid var(--french-blue); padding: 4px 0 4px 14px; margin-bottom: 18px; }
.actions li { list-style: none; margin-left: -1.3em; } .actions li::before { content: "☐ "; color: var(--french-blue); }

/* Screen frames and note images inside notes; clicking opens them full size. */
.shot { display: block; margin: 12px 0; }
.shot img { display: block; max-width: 100%; max-height: 520px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.shot .caption { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.thumbs .shot { margin: 0; width: 160px; }
.thumbs .shot img { width: 160px; height: 100px; object-fit: cover; }
.cost summary { cursor: pointer; color: var(--navy); }
.cost ul { padding-left: 1.2em; margin: 10px 0; font-size: 14px; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
table.glossary { width: 100%; border-collapse: collapse; font-size: 14px; }
table.glossary th, table.glossary td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.glossary th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.glossary input, table.glossary select { padding: 5px 7px; min-width: 110px; }
.nowrap { white-space: nowrap; }
.usage { list-style: none; padding: 0; margin: 8px 0; } .usage li { border-bottom: 1px solid var(--line); padding: 6px 0; }
select.move { width: auto; padding: 4px 8px; font-size: 13px; }
.preview { font-size: 13px; white-space: pre-wrap; margin-top: 2px; }

.transcript p { margin: 0 0 10px; } .transcript .t { color: var(--muted); font-size: 12px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.transcript .who { font-weight: 700; color: var(--navy); margin-right: 4px; }
.speakers { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; align-items: center; }

.status { padding: 12px 16px; border-radius: var(--radius); margin: 12px 0; background: #eef3fb; color: var(--navy); border: 1px solid var(--sky); }
.status.failed { background: #fff1ea; border-color: var(--orange); }
.signin { max-width: 420px; margin: 12vh auto; text-align: center; }
.signin img { width: 84px; margin-bottom: 16px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: 999px; font-size: 14px; }
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 460px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(2,30,66,.4); }
pre.code { background: var(--navy); color: var(--white); padding: 12px 14px; border-radius: 8px; overflow-x: auto; font-size: 13px; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 640px) { .top { flex-wrap: wrap; } .search { order: 3; flex-basis: 100%; max-width: none; } .speakers { grid-template-columns: 1fr; } }
