/* Notetaker. The same quiet look as the PC and phone apps: a flat white page, a slim navy rail,
   FinTalent's navy, periwinkle and CartoGothic, hierarchy from type and space, one accent colour for
   things you can press, and status as coloured text. No cards, shadows or gradients on the page. */

@font-face { font-family: CG; font-weight: 400; font-style: normal; font-display: block; src: url(/fonts/CartoGothicStd-Book.woff2) format('woff2'); }
@font-face { font-family: CG; font-weight: 700; font-style: normal; font-display: block; src: url(/fonts/CartoGothicStd-Bold.woff2) format('woff2'); }
@font-face { font-family: CG; font-weight: 400; font-style: italic; font-display: block; src: url(/fonts/CartoGothicStd-Italic.woff2) format('woff2'); }
@font-face { font-family: CG; font-weight: 700; font-style: italic; font-display: block; src: url(/fonts/CartoGothicStd-BoldItalic.woff2) format('woff2'); }

:root {
  --navy: #040253; --navy-3: #02012e; --peri: #8EA6FC; --peri-soft: #C3D0FD; --peri-mid: #B4C3FD;
  --ink: #1B1B2B; --muted: #4A4A55; --soft: #6E7391; --faint: #A3A8C2; --accent: #3F52BF; --pale: #F5F7FF; --pale-2: #E9EEFF;
  --rule: #E3E7F5; --line: #E3E7F5; --danger: #B3261E; --ok: #1F8A55; --warn: #A66A00; --bg: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 13.5px/1.5 CG, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--navy); }
button { font-family: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; color: var(--navy); }
svg { display: block; }
form { margin: 0; }
.muted { color: var(--faint); margin: 0; font-size: 13.5px; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons, status ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; font: 700 13px/1 CG; padding: 2px 16px 0; border-radius: 10px; border: 0; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, box-shadow .15s, opacity .15s; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 32px; padding: 2px 12px 0; font-size: 12.5px; border-radius: 8px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover:not(:disabled) { background: #0d0b7a; color: #fff; }
.btn-peri { background: var(--peri); color: var(--navy); }
.btn-line, .btn-ghost { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 1px var(--rule); }
.btn-line:hover:not(:disabled), .btn-ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--peri); background: var(--pale); }

/* a pill is coloured text now, not a filled badge */
.pill, .tag { display: inline-flex; align-items: center; font: 400 12px/1.4 CG; color: var(--soft); white-space: nowrap; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.bad, .tag.bad { color: var(--danger); } .pill.peri, .tag { color: var(--accent); }

.av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--pale-2); color: var(--accent); font: 700 10.5px/1 CG; padding-top: 2px; }
.av.sm { width: 22px; height: 22px; font-size: 8.5px; margin-right: -6px; box-shadow: 0 0 0 2px #fff; }
.av.sq { border-radius: 9px; padding-top: 0; }
.av svg { width: 15px; height: 15px; }

/* ---------- the rail ---------- */
body:has(> .top) { display: grid; grid-template-columns: 204px minmax(0, 1fr); min-height: 100vh; }
.top { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--navy); color: #fff; padding: 0 9px 12px; }
.top-logo { display: flex; align-items: center; gap: 10px; height: 64px; padding: 6px 8px 0; color: #fff !important; }
.top-logo img { height: 24px; }
.top-logo span { font: 700 15px/1 CG; letter-spacing: .01em; }
.top-nav { display: grid; gap: 2px; margin-top: 10px; }
.top-nav a { display: flex; align-items: center; gap: 13px; height: 38px; padding: 2px 10px 0; border-radius: 9px; font: 700 13.5px/1 CG; color: var(--peri-soft); transition: background .15s, color .15s; }
.top-nav a svg { width: 18px; height: 18px; flex: none; margin-top: -2px; }
.top-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.top-nav a.on { background: rgba(142,166,252,.2); color: #fff; }
.nav-n { margin-left: auto; font: 700 11px/1 CG; background: var(--peri); color: var(--navy); border-radius: 99px; padding: 4px 7px 2px; }
.top-right { margin-top: auto; display: grid; gap: 2px; border-top: 1px solid rgba(195,208,253,.18); padding-top: 8px; }
.top-right button { display: flex; align-items: center; gap: 13px; width: 100%; height: 38px; padding: 2px 10px 0; border: 0; border-radius: 9px; background: none; cursor: pointer; font: 700 13.5px/1 CG; color: var(--peri-soft); text-align: left; box-shadow: none; }
.top-right button:hover { background: rgba(255,255,255,.08); color: #fff; }
.top-right button svg { width: 18px; height: 18px; flex: none; margin-top: -2px; }
.sync { font-size: 11.5px; color: var(--peri-soft); opacity: .75; padding: 2px 10px 6px 41px; white-space: nowrap; }
.sync.bad { color: #FFB4AB; opacity: 1; }

.toast { position: fixed; z-index: 30; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--navy); color: #fff; font: 400 14px CG; padding: 12px 18px 10px; border-radius: 10px; box-shadow: 0 10px 30px rgba(2,1,46,.25); animation: toast 4.5s forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px); } 6%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); visibility: hidden; } }

/* ---------- page frame ---------- */
.page { min-width: 0; padding-bottom: 80px; }
.wrap { max-width: 1120px; padding: 0 44px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 34px 0 22px; flex-wrap: wrap; }
.page-head h1 { font: 400 26px/1.2 CG; letter-spacing: -.01em; }
.sub { margin: 4px 0 0; color: var(--faint); font-size: 13.5px; }
.stats { display: flex; gap: 22px; }
.stats div { display: flex; align-items: baseline; gap: 7px; }
.stats b { font: 700 15px/1 CG; color: var(--navy); }
.stats span { font-size: 13px; color: var(--faint); }

.banner { margin-bottom: 18px; }
.card { padding: 0; }
.card-h, .block h2, .day h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 10.5px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.block { margin-top: 30px; }
.count { font: 400 10.5px/1 CG; letter-spacing: 0; color: var(--faint); }
.count::before { content: '· '; }
.empty { padding: 14px 0; color: var(--faint); font-size: 13.5px; }
.empty b { font-weight: 400; }
.empty p { display: none; }

/* ---------- Upcoming ---------- */
.filter { display: flex; gap: 22px; margin: -4px 0 22px; border-bottom: 1px solid var(--rule); }
.filter a { display: inline-flex; align-items: baseline; gap: 6px; font: 700 11px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); padding: 10px 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.filter a span { font-weight: 400; letter-spacing: 0; }
.filter a:hover { color: var(--ink); }
.filter a.on { color: var(--navy); border-bottom-color: var(--accent); }
.day { margin-bottom: 26px; }
.ev { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 13px 14px; margin: 0 -14px; border-radius: 12px; transition: background .12s; }
.ev:hover { background: var(--pale); }
.ev-time b { display: block; font: 400 13.5px/1.4 CG; color: var(--ink); }
.ev-time span { font-size: 12px; color: var(--faint); }
.ev-title { font: 700 13.5px/1.4 CG; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.is-off .ev-title { color: var(--soft); font-weight: 400; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 3px; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); }
.chip svg { width: 13px; height: 13px; }
.meta-text { font-size: 12px; color: var(--faint); }
.ev-state { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 12.5px; }
.ev-reason { color: var(--faint); }
.ev-reason.is-opt, .ev-reason.is-opt a { color: var(--danger); }
.ev-joins { font-size: 12px; color: var(--faint); }
.ev-actions { display: flex; align-items: center; gap: 6px; }

.switch { position: relative; width: 40px; height: 24px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: #D5DAEA; transition: background .18s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(4,2,83,.3); transition: transform .18s; }
.switch.on { background: var(--accent); }
.switch.on i { transform: translateX(16px); }
.switch:disabled { cursor: not-allowed; opacity: .45; }

.menu { position: relative; }
.menu summary { list-style: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--faint); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: var(--pale-2); color: var(--navy); }
.menu summary svg { width: 18px; height: 18px; }
.menu-gap { width: 32px; }
.menu-pop { position: absolute; right: 0; top: 38px; z-index: 15; width: 300px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 12px 32px rgba(2,1,46,.14), 0 0 0 1px var(--rule); }
.menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 8px; font: 400 14px/1.3 CG; color: var(--ink); cursor: pointer; }
.menu-pop button:hover { background: var(--pale); }
.menu-pop button svg { width: 16px; height: 16px; color: var(--danger); flex: none; }
.menu-pop button b { display: block; font-weight: 400; color: var(--ink); }
.menu-pop button small { display: block; font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.menu-pop button span:last-child { min-width: 0; }
.menu-pop .av { width: 26px; height: 26px; font-size: 9px; }
.menu-h { margin: 6px 10px 4px; padding-top: 8px; border-top: 1px solid var(--rule); font: 700 10px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.menu-h:first-child { border-top: 0; padding-top: 2px; }
.menu-people { max-height: 260px; overflow-y: auto; }

/* ---------- Meetings ---------- */
.search { display: flex; align-items: center; gap: 10px; padding: 0 13px; height: 38px; width: min(380px, 100%); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.search svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.search input { flex: 1; border: 0; outline: 0; font: 400 14px CG; padding: 2px 0 0; background: transparent; color: var(--ink); min-width: 0; }
.m-list { display: flex; flex-direction: column; }
.m-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px auto; gap: 18px; align-items: center; padding: 12px 14px; margin: 0 -14px; border-radius: 12px; color: inherit; transition: background .12s; }
.m-row:hover { background: var(--pale); color: inherit; }
.m-date { display: flex; align-items: baseline; gap: 5px; }
.m-date b { font: 400 13.5px/1.4 CG; color: var(--ink); }
.m-date span { font: 400 13.5px/1.4 CG; color: var(--ink); }
.m-title { font: 700 13.5px/1.4 CG; color: var(--ink); }
.m-people { display: flex; align-items: center; margin-top: 3px; font-size: 12px; color: var(--faint); min-width: 0; }
.m-people > span:last-child { margin-left: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-dur { font-size: 13px; color: var(--ink); }
.m-dur span { display: block; font-size: 12px; color: var(--faint); }
.m-pills { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- a meeting ---------- */
.m-hero { padding: 26px 0 6px; }
.crumb { font-size: 13px; color: var(--faint); }
.crumb::before { content: '\2039\00a0\00a0'; }
.crumb:hover { color: var(--accent); }
.m-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: 13.5px; }
.m-body { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; margin-top: 22px; align-items: start; }
.m-side { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 24px; }
/* our own player: one row */
.player { --p: 0%; display: flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 8px 10px; border-radius: 12px; background: var(--pale); }
.player audio { display: none; }
.pl-bar { position: relative; flex: 1; min-width: 80px; height: 16px; cursor: pointer; touch-action: none; margin: 0 4px; }
.pl-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 4px; border-radius: 2px; background: var(--pale-2); }
.pl-fill { position: absolute; left: 0; top: 6px; height: 4px; width: var(--p); border-radius: 2px; background: var(--accent); }
.pl-knob { position: absolute; top: 2px; left: var(--p); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .12s; }
.pl-bar:hover .pl-knob, .pl-bar:focus-visible .pl-knob, .player.playing .pl-knob { transform: scale(1); }
.pl-now, .pl-total { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
.player button, .pl-dl { flex: none; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--soft); border-radius: 50%; transition: background .12s, color .12s; }
.pl-skip, .pl-dl { width: 34px; height: 34px; }
.pl-skip svg, .pl-dl svg { width: 20px; height: 20px; }
.pl-skip:hover, .pl-dl:hover, .pl-speed:hover { background: var(--pale-2); color: var(--navy); }
.pl-play { width: 38px; height: 38px; background: var(--navy) !important; color: #fff !important; }
.pl-play:hover { background: #0d0b7a !important; }
.pl-play svg { width: 17px; height: 17px; }
.pl-play .i-pause, .player.playing .pl-play .i-play { display: none; }
.player.playing .pl-play .i-pause { display: block; }
.pl-speed { width: 40px; height: 30px; border-radius: 8px !important; font: 700 12px/1 CG; font-variant-numeric: tabular-nums; }
.player.broken { opacity: .5; pointer-events: none; }

/* a meeting's header and details */
.m-top { display: flex; align-items: center; gap: 16px; margin: 10px 0 4px; }
.m-title-form { flex: 1; min-width: 0; }
.m-title-input { width: 100%; font: 400 26px/1.2 CG; letter-spacing: -.01em; color: var(--navy); border: 0; outline: 0; background: none; padding: 5px 8px 3px; margin-left: -8px; border-radius: 8px; text-overflow: ellipsis; transition: background .12s, box-shadow .12s; }
.m-title-input:hover { background: var(--pale); }
.m-title-input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.m-top-end { flex: none; display: flex; align-items: center; gap: 10px; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.kv > span { flex: none; font-size: 13px; color: var(--soft); }
.kv > form, .kv > div { min-width: 0; }
.kv .sel { min-width: 180px; }
.kv-stack { display: block; padding: 12px 0 14px; }
.kv-stack > span { display: block; margin-bottom: 8px; }
.kv .rec { margin: 0 0 8px; }
.kv .link-form { margin-top: 8px; }
.card-h .count { text-transform: none; }

/* settings: one narrow column of rows */
.settings { max-width: 660px; }
.settings .block { margin-top: 26px; }
.settings .kv > span { font-size: 13.5px; color: var(--ink); }
.settings .kv .count { margin-left: 6px; }
.set-text input { width: 280px; height: 38px; font: 400 13.5px CG; color: var(--ink); padding: 2px 13px 0; border: 0; border-radius: 10px; outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.set-lines textarea { display: block; width: 100%; resize: vertical; font: 400 13.5px/1.6 CG; color: var(--ink); padding: 11px 13px; border: 0; border-radius: 10px; outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.set-text input:focus, .set-lines textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.set-lines .btn { margin-top: 10px; }

/* our own dropdown */
.sel { position: relative; display: inline-block; min-width: 140px; }
.link-form .sel { flex: 1; min-width: 0; }
.sel-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 38px; padding: 2px 12px 0 13px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font: 400 13.5px/1 CG; color: var(--ink); cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: box-shadow .15s; }
.sel-btn::after { content: ''; flex: none; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg); transition: transform .15s; }
.sel-btn:hover { box-shadow: inset 0 0 0 1px var(--peri-mid); }
.sel.open .sel-btn, .sel-btn:focus-visible { box-shadow: inset 0 0 0 1.5px var(--accent); outline: 0; }
.sel.open .sel-btn::after { transform: rotate(225deg); margin-top: 3px; }
.sel-list { position: absolute; left: 0; min-width: 100%; top: calc(100% + 4px); z-index: 20; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 12px 32px rgba(2,1,46,.14), 0 0 0 1px var(--rule); max-height: 280px; overflow-y: auto; }
.sel-list button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px 7px; border-radius: 7px; cursor: pointer; font: 400 13.5px/1.3 CG; color: var(--ink); white-space: nowrap; }
.sel-list button:hover, .sel-list button.on { background: var(--pale); }
.sel-list button.picked { font-weight: 700; color: var(--navy); }
.rec b { display: block; font-weight: 700; color: var(--ink); }
.rec small, .people small, .matches small { display: block; font-size: 12px; color: var(--faint); }
.rec { margin: 0 0 10px; } .rec a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.matches { list-style: none; margin: 8px 0 12px; padding: 0; }
.matches li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule); }
.matches li b { font-weight: 700; color: var(--ink); }
.matches small { word-break: break-all; }
.people small { text-transform: none; overflow: hidden; text-overflow: ellipsis; }
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.people li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.people li > span:nth-child(2) { flex: 1; min-width: 0; }
.people b { font-weight: 400; color: var(--ink); font-size: 13.5px; }
.link-form { display: flex; gap: 6px; margin-top: 10px; }
.link-form input, .link-form select { flex: 1; min-width: 0; height: 38px; font: 400 13.5px CG; padding: 2px 12px 0; border: 0; border-radius: 8px; outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.link-form input:focus, .link-form select:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.rec-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.find-person { position: relative; }
.find-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 12px 32px rgba(2,1,46,.14), 0 0 0 1px var(--rule); max-height: 320px; overflow-y: auto; }
.find-list button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 7px; cursor: pointer; font: inherit; }
.find-list button:hover, .find-list button.on { background: var(--pale); }
.find-list b { display: block; font: 700 13.5px/1.35 CG; color: var(--ink); }
.find-list small { display: block; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.m-main { min-height: 420px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs button { display: inline-flex; align-items: baseline; gap: 6px; font: 700 11px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); background: none; border: 0; padding: 10px 0 12px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button span { font-weight: 400; letter-spacing: 0; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--navy); border-bottom-color: var(--accent); }
.panel { padding: 20px 0 28px; }
.js .panel:not(.on) { display: none; }

.ts { flex: none; font: 700 11.5px/1 CG; color: var(--accent); background: none; border: 0; border-radius: 6px; padding: 4px 4px 3px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ts:hover { background: var(--pale-2); }

.tr-tools { display: flex; gap: 8px; margin-bottom: 14px; }
.tr-find { flex: 1; height: 38px; font: 400 13.5px CG; padding: 2px 13px 0; border: 0; border-radius: 10px; outline: 0; box-shadow: inset 0 0 0 1px var(--rule); }
.tr-find:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.u { display: flex; align-items: flex-start; gap: 14px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; scroll-margin: 120px; }
.u .ts { margin-top: 1px; min-width: 48px; text-align: left; }
.u.same .ts { margin-top: 0; }
.ml-main { min-width: 0; }
.u:not(.same) { margin-top: 8px; }
.u.same { padding-top: 2px; }
.u-body b { display: block; font: 700 12.5px/1.3 CG; color: var(--ink); margin-bottom: 2px; }
.u-body p { margin: 0; line-height: 1.6; }
.u.playing { background: var(--pale); }
.u.hide { display: none; }
mark { background: rgba(142,166,252,.4); color: inherit; border-radius: 3px; padding: 0 1px; }

.notes-tools { display: flex; gap: 8px; margin-bottom: 18px; }
.rewrite { flex: 1; display: flex; gap: 8px; }
.rewrite input { flex: 1; min-width: 0; height: 32px; font: 400 13px CG; padding: 2px 12px 0; border: 0; border-radius: 8px; outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.rewrite input:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.notes-error { color: var(--danger); font-size: 13px; margin: 0 0 14px; }
.notes-edit textarea { display: block; width: 100%; min-height: 320px; resize: vertical; font: 400 13.5px/1.65 CG; color: var(--ink); padding: 14px 16px; border: 0; border-radius: 10px; outline: 0; box-shadow: inset 0 0 0 1px var(--rule); margin-bottom: 12px; }
.notes-edit textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.notes { line-height: 1.65; color: var(--muted); }
.notes h3 { font: 700 13.5px/1.4 CG; color: var(--ink); margin: 20px 0 6px; }
.notes h3:first-child { margin-top: 0; }
.notes p { margin: 0 0 10px; }
.notes ul { padding-left: 20px; margin: 0 0 10px; }
.notes li { margin: 3px 0; }
.notes li::marker { color: var(--peri); }
.notes .ts { margin-left: 2px; }

.props { width: 100%; border-collapse: collapse; font-size: 14px; }
.props th { text-align: left; font: 700 10.5px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); padding: 0 10px 10px 0; border-bottom: 1px solid var(--rule); }
.props td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.props .old { color: var(--faint); text-decoration: line-through; }
.props .old i, .r-prop .old i { text-decoration: none; }
.props .new { color: var(--ink); font-weight: 700; }
.props q { display: block; margin-top: 4px; font-size: 12.5px; color: var(--soft); font-style: italic; }
.props .act { display: flex; gap: 6px; justify-content: flex-end; }
.props tr.st-rejected td { opacity: .55; }

.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.todo li > span { flex: 1; }
.todo small { display: block; font-size: 12px; color: var(--faint); }
.todo li.done > span { color: var(--faint); text-decoration: line-through; }
.tick { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--faint); background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.done .tick { background: var(--accent); border-color: var(--accent); color: #fff; }
.tick svg { width: 13px; height: 13px; }

/* ---------- Review ---------- */
.r-card, .r-row { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.r-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.r-head b { font: 700 14.5px/1.35 CG; color: var(--ink); }
.r-head span { font-size: 12.5px; color: var(--faint); }
.r-prop { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0 0; font-size: 14px; }
.r-prop .old { color: var(--faint); text-decoration: line-through; }
.r-prop .new { color: var(--ink); font-weight: 700; }
.arrow { font-size: 12px; color: var(--faint); }
.r-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.r-acts { display: flex; gap: 8px; align-items: center; }
.r-acts .link-form { margin: 0; width: 320px; }

/* ---------- Never record ---------- */
.add-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; max-width: 640px; }
.add-form label { display: flex; flex-direction: column; gap: 6px; font: 400 12px/1.4 CG; color: var(--soft); }
.add-form .grow { flex: 1; min-width: 200px; }
.add-form input, .add-form select { height: 38px; font: 400 13.5px CG; color: var(--ink); padding: 2px 13px 0; border: 0; border-radius: 10px; background: #fff; outline: 0; box-shadow: inset 0 0 0 1px var(--rule); }
.add-form input:focus, .add-form select:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.o-list { padding: 0; max-width: 760px; }
.o-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; scroll-margin: 100px; }
.o-row + .o-row { border-top: 1px solid var(--rule); }
.o-row:target { background: var(--pale); }
.o-main { flex: 1; min-width: 0; }
.o-main b { display: block; font-weight: 700; color: var(--ink); }
.o-main small { font-size: 12px; color: var(--faint); }
.o-hits { font-size: 12.5px; color: var(--accent); }

/* ---------- sign-in ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--navy); }
.login-card { width: min(380px, 100%); background: #fff; border-radius: 16px; padding: 32px 30px; }
.login-card img { height: 24px; }
.login-tag { margin: 10px 0 24px; font: 700 10.5px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.login-card h1 { font: 400 26px/1.2 CG; margin-bottom: 18px; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form label { display: flex; flex-direction: column; gap: 6px; font: 700 13.5px/1.4 CG; color: var(--ink); }
.login-form input[type=email], .login-form input[type=password], .login-form input[type=text] { font: 400 14.5px CG; padding: 11px 13px 9px; border: 0; border-radius: 10px; outline: 0; box-shadow: inset 0 0 0 1px var(--rule); }
.login-form input:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.login-check { flex-direction: row !important; align-items: center; font-weight: 400 !important; }
.login-error { color: var(--danger); margin: 0 0 14px; }
.login-help { color: var(--soft); margin: 0 0 14px; }

/* ---------- narrow ---------- */
@media (max-width: 980px) {
  .m-body { grid-template-columns: 1fr; gap: 28px; }
  .m-side { position: static; }
  .ev { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .ev-state { grid-column: 2; grid-row: 2; }
  .ev-actions { grid-column: 3; grid-row: 1 / span 2; }
  .r-prop { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body:has(> .top) { display: block; }
  .top { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 6px 10px; }
  .top-logo { height: 44px; padding: 0 6px; }
  .top-nav { display: flex; margin: 0; order: 3; flex-basis: 100%; overflow-x: auto; }
  .top-right { margin: 0 0 0 auto; display: flex; border: 0; padding: 0; }
  .top-right button span, .sync { display: none; }
  .wrap { padding: 0 18px; }
  .m-row { grid-template-columns: 84px minmax(0, 1fr); }
  .m-dur, .m-pills { grid-column: 2; justify-content: flex-start; }
  .ev { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; }
  .ev-title { white-space: normal; }
  .menu-pop { width: min(300px, calc(100vw - 32px)); }
  .props, .props tbody, .props tr, .props td { display: block; }
  .props thead { display: none; }
  .r-acts .link-form { width: 100%; }
  .stats { gap: 14px; }
}

/* A meeting before and while it is recorded: Joe's own notes, and Record inside the PC app. */
.mn { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; }
.mn:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.mn-tools { display: flex; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.mn-tools button { width: 30px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--soft); font: 400 13px/1 CG, system-ui, sans-serif; cursor: pointer; }
.mn-tools button:hover { background: var(--pale-2); color: var(--navy); }
.mn-tools button b { font-weight: 700; }
.mn-tools svg { width: 15px; height: 15px; }
.my-notes { min-height: 340px; outline: 0; padding: 14px 16px 16px; font: 400 13.5px/1.6 CG, system-ui, sans-serif; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.my-notes:empty::before { content: attr(data-placeholder); color: var(--faint); }
.my-notes ul, .my-notes ol { margin: 4px 0; padding-left: 22px; }
.my-notes b, .my-notes strong { font-weight: 700; }
.btn-rec { background: var(--danger); color: #fff; }
.btn-rec:hover:not(:disabled) { background: #9a1f18; color: #fff; }
.btn-rec:disabled { opacity: .55; cursor: default; }
.btn-rec svg { width: 14px; height: 14px; }
.ev-title a { color: inherit; }
.ev-title a:hover { color: var(--accent); }

/* Home: what the PC can do, today's meetings, then the ones before. */
.home { padding-top: 26px; padding-bottom: 60px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; }
.tile { display: flex; align-items: center; gap: 14px; height: 60px; padding: 2px 16px 0; border-radius: 12px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); transition: background .12s, box-shadow .12s; }
.tile:hover { background: var(--pale); box-shadow: inset 0 0 0 1px var(--peri); color: var(--navy); }
.tile i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pale-2); color: var(--accent); flex: none; margin-top: -2px; }
.tile i svg { width: 17px; height: 17px; }
.tile b { flex: 1; font: 700 14px/1 CG; }
.tile > svg { width: 15px; height: 15px; color: var(--faint); margin-top: -2px; }
.eyebrow { margin: 0 0 6px; font: 700 10.5px/1 CG; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.h-date { font: 400 26px/1.2 CG; letter-spacing: -.01em; margin-bottom: 26px; }
.h-sec { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font: 700 13.5px/1.2 CG; color: var(--ink); }
.h-sec span { font-weight: 400; color: var(--faint); }
.h-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 34px; }
.h-card { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; align-items: center; min-height: 74px; padding: 12px 18px 12px 20px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); transition: box-shadow .12s, background .12s; }
.h-card:hover { box-shadow: inset 0 0 0 1px var(--peri); color: var(--ink); }
.h-card.is-past { background: #EFF0F4; box-shadow: none; }
.h-card.is-past:hover { background: #E8EAF0; }
.h-card.is-next { background: #DCE4FF; box-shadow: none; }
.h-card.is-next:hover { background: #D3DDFF; }
.h-time, .h-main { display: block; min-width: 0; color: inherit; }
.h-time { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-right: 16px; }
.h-main { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; border-left: 1px solid rgba(4, 2, 83, .1); }
.h-time b { display: block; font: 700 13.5px/1.4 CG; }
.h-time span { display: block; font-size: 12px; color: var(--soft); }
.h-time span.is-soon { color: var(--accent); }
.h-time span.is-now { color: var(--danger); }
.h-main b { display: block; font: 700 13.5px/1.4 CG; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 5px; font-size: 12px; color: var(--soft); }
.h-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.h-meta svg { width: 13px; height: 13px; }
.h-faces { gap: 0 !important; }
.h-faces .av { width: 20px; height: 20px; font-size: 8px; margin-right: -5px; box-shadow: 0 0 0 2px #fff; }
.h-card.is-next .h-faces .av { box-shadow: 0 0 0 2px #DCE4FF; background: #fff; }
.h-card.is-past .h-faces .av { box-shadow: 0 0 0 2px #EFF0F4; }
.h-faces + span { margin-left: 4px; }
.hp { height: 20px; padding: 1px 9px 0; border-radius: 99px; font: 700 11px/1 CG; background: rgba(4, 2, 83, .07); color: var(--soft); }
.hp.ok { background: #DDF3E6; color: #17703F; }
.hp.warn { background: #FBEFD5; color: #8A5800; }
.hp.bad { background: #FBE0DD; color: var(--danger); }
.hp.peri { background: #E3E9FF; color: var(--accent); }
.h-card.is-next .hp.peri { background: #fff; }
.h-acts { display: flex; align-items: center; gap: 8px; }
.btn-start, .btn-join { height: 36px; padding: 2px 16px 0; border-radius: 99px; font: 700 13px/1 CG; gap: 8px; }
.btn-start { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--peri); }
.btn-start:hover { background: var(--pale); color: var(--navy); }
.btn-start i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: -2px; }
.btn-join { background: var(--navy); color: #fff; }
.btn-join:hover { background: #0d0b7a; color: #fff; }
.btn-join svg { width: 15px; height: 15px; margin-top: -2px; }
.h-now { position: relative; height: 1px; margin: 6px 0; background: var(--danger); opacity: .55; }
.h-now i { position: absolute; left: -16px; top: -4px; width: 9px; height: 9px; border-radius: 2px; background: var(--danger); }
.btn-round { border-radius: 99px; padding-left: 16px; padding-right: 16px; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .h-card { grid-template-columns: 112px minmax(0, 1fr); row-gap: 10px; }
  .h-acts { grid-column: 2; padding-left: 18px; }
}

/* Link record: a chip that opens the Spott search, as CoRecruit's does. */
.linker > summary { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 2px 13px 0; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); font: 700 12.5px/1 CG; color: var(--accent); cursor: pointer; list-style: none; user-select: none; }
.linker > summary::-webkit-details-marker { display: none; }
.linker > summary::before { content: '+'; font: 400 15px/1 CG; margin-top: -2px; }
.linker > summary:hover, .linker[open] > summary { box-shadow: inset 0 0 0 1px var(--peri); background: var(--pale); }
.linker .link-form { margin-top: 8px; }
.find-list button { display: flex; align-items: center; gap: 10px; }
.find-list button > span:last-child { min-width: 0; }
.find-list .av { width: 26px; height: 26px; font-size: 9.5px; }
.h-acts form { display: contents; }
