/* Investor OS demonstration: the Cabinet's walnut and brass on the shared
   dashboard shell (assets/dashboard-shell.css, copied from site/assets).
   The same overrides the Data Room sponsor dashboard uses, plus the two
   rail groups and the link cards for the live founders tabs. */
:root {
  --navy: #3B2A1E;
  --ink: #3B2A1E;
  --ink-soft: #C9B59E;
  --ink-faint: #F0E8DE;
  --kpi-c1: #3B2A1E;
  --kpi-c6: #8C6D3F;
  --notes-accent: #3B2A1E;
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
}
.sh-brand img { height: 34px; }
.io-divider { width: 1px; height: 30px; background: var(--border-2); }
.io-name { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.io-live { font-size: 0.86rem; font-weight: 600; color: var(--navy); background: var(--card-2); border: 1px solid var(--border-2); padding: 9px 16px; border-radius: var(--r1); text-decoration: none; }
.io-live:hover { border-color: var(--champagne); background: #FFF6E4; }

.io-group { margin: 0; padding: 0 14px 6px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8C6D3F; }
.io-group-2 { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.sh-rail-nav.stage-tabs button[aria-selected="true"] { background: #F3EBDF; color: var(--navy); }
.sh-rail-nav.stage-tabs button[data-pane="dataroom"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.sh-rail-nav.stage-tabs button[data-pane="sponsor"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.sh-rail-nav.stage-tabs button[data-pane="coo"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.sh-rail-nav.stage-tabs button[data-pane="sales"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 6-7'/%3E%3C/svg%3E"); }
.sh-rail-nav.stage-tabs button[data-pane="reporting"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E"); }
.sh-rail-nav.stage-tabs button[data-pane="nydesk"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.io-sample { margin: auto 12px 0; font-size: 0.76rem; color: var(--text-3); line-height: 1.35; }
.sh-rail-legend { margin-top: 0; }

.io-hero { position: relative; isolation: isolate; border-radius: var(--r3); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); padding: 26px 28px; color: #fff; background: linear-gradient(120deg, #2B1E15 0%, #4A3526 60%, #8C6D3F 140%); }
.io-hero-kicker { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #F6E7B8; margin-bottom: 4px; }
.io-hero-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.02em; }
.io-hero-sub { display: block; font-size: 0.9rem; opacity: 0.9; margin-top: 4px; }

.io-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; align-items: start; }
.io-two > * { min-width: 0; }
.sh-kpi-wrap { border: 1px solid rgba(140,109,63,0.5); border-radius: var(--r2); padding: 18px 18px 16px; background: var(--bg-2); }
.io-desk { border: 1px solid rgba(140,109,63,0.5); position: sticky; top: 84px; }
.guide-panel.inline { padding: 20px 22px 18px; }
.chat-log { max-height: 420px; min-height: 160px; }
.spk-note { font-size: 0.74rem; color: var(--text-3); margin: 10px 0 0; }
.kpi-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi-grid.five { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sh-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sh-row { grid-template-columns: 1fr; }

/* The live cards: a pane that points at the real founders tab. */
.io-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 14px; }
.io-link h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.io-link p { margin: 0; font-size: 0.9rem; color: var(--text-2); line-height: 1.5; }
.io-link a { white-space: nowrap; font-size: 0.86rem; font-weight: 700; color: #2B1B00; background: var(--champagne); padding: 11px 18px; border-radius: var(--r1); text-decoration: none; }
.io-link a:hover { background: var(--highlight); color: #fff; }
.io-link .url { display: block; margin-top: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: var(--text-3); overflow-wrap: anywhere; }
.io-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.io-steps li { background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: 16px 18px; box-shadow: var(--shadow); }
.io-steps b { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8C6D3F; margin-bottom: 6px; }
.io-steps span { font-size: 0.88rem; color: var(--text); line-height: 1.45; }
.io-path { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.io-path i { font-style: normal; color: #8C6D3F; }
.io-path b { background: #F3EBDF; color: var(--navy); border-radius: 999px; padding: 5px 12px; font-weight: 700; }

/* Tables and notes, the room's conventions. */
.dr-table-wrap { overflow-x: auto; }
.sh-table th, .sh-table td { white-space: normal; }
.sh-table th, .sh-table td.l { text-align: left; }
.sh-table td.dr-q { min-width: 16ch; }
.kpi .value { font-size: 1.45rem; }
.sh-table td.dr-status { text-align: left; white-space: nowrap; }
.sh-table tr[data-state="open"] td.dr-status, .sh-table tr[data-state="warn"] td.dr-status { color: #8A5B00; font-weight: 600; }
.sh-table tr[data-state="answered"] td.dr-status, .sh-table tr[data-state="signed"] td.dr-status, .sh-table tr[data-state="on"] td.dr-status { color: var(--on); }
.sh-table tr[data-state="off"] td.dr-status { color: var(--off); font-weight: 600; }
.sh-table tr[data-state="invited"] td.dr-status, .sh-table tr[data-state="none"] td.dr-status { color: var(--text-3); }
.sh-table td.dr-q { max-width: 40ch; white-space: normal; }
.sh-table td.l { text-align: left; }
.sh-notes { list-style: none; margin: 0; padding: 0; }
.sh-notes li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 2px; border-top: 1px solid var(--border); }
.sh-notes li:first-child { border-top: 0; padding-top: 4px; }
.sh-note-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; margin-top: 8px; background: var(--text-3); }
.sh-notes li[data-state="open"] .sh-note-dot { background: #D9A441; }
.sh-notes li[data-state="answered"] .sh-note-dot { background: var(--on); }
.sh-note-body { min-width: 0; flex: 1 1 auto; }
.sh-note-text { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--text); }
.sh-note-meta { margin: 5px 0 0; font-size: 0.74rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 4px 0; }
.sh-note-meta span + span::before { content: "·"; margin: 0 7px; }
.sh-note-state { font-weight: 700; }
.sh-notes li[data-state="open"] .sh-note-state { color: #8A5B00; }
.sh-notes li[data-state="answered"] .sh-note-state { color: var(--on); }
.chat-msg.visitor { background: var(--navy); }
.chat-form input:focus, .io-live:focus-visible, .io-link a:focus-visible { outline: 2px solid #8C6D3F; outline-offset: 2px; }

@media (max-width: 1100px) { .io-two { grid-template-columns: 1fr; } .io-desk { position: static; } }
@media (max-width: 760px) { .io-steps { grid-template-columns: 1fr; } .io-link { grid-template-columns: 1fr; } .io-group-2 { border-top: 0; padding-top: 0; } }
