/* Partner and client portals: catalogue, documents, slide decks and the access page. */
.pbar { border-bottom: 1px solid var(--line); background: var(--black); position: sticky; top: 0; z-index: 10; }
.pbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.pbar .where { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pbar .where .sep { width: 1px; height: 22px; background: var(--line-2); flex: none; }
.pbar .where span { color: var(--soft); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar .tag { font-size: 13px; color: var(--t5); border: 1px solid rgba(255,178,63,.4); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pbar .acts { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.pbar .acts a { color: var(--soft); text-decoration: none; white-space: nowrap; }
.pbar .acts a:hover { color: var(--bone); }
@media (max-width: 640px) { .pbar .tag, .pbar .where .sep, .pbar .where span { display: none; } }

/* Catalogue */
.cat-head { padding: 64px 0 28px; display: grid; gap: 16px; }
.cat-head h1 { font-size: clamp(34px, 5vw, 60px); }
.signed { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--soft); padding: 12px 16px; border: 1px solid rgba(63,194,138,.35); background: rgba(63,194,138,.06); border-radius: 10px; width: fit-content; max-width: 100%; }
.signed::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3FC28A; box-shadow: 0 0 10px #3FC28A; }
.group { margin: 44px 0 0; }
.group h2 { font-size: 20px; margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.group h2 small { color: var(--ash); font-weight: 400; font-size: 15px; }
.items { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: none; }
.items li { border-bottom: 1px solid var(--line); }
.items a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 18px; align-items: baseline; padding: 20px 4px; text-decoration: none; }
.items a:hover { background: var(--char); }
.items .n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 22px; color: var(--blue); line-height: 1.2; }
.items li.hl .n { color: var(--t4); }
.items .t { font-size: 19px; font-weight: 600; display: block; }
.items .d { color: var(--ash); font-size: 16px; display: block; margin-top: 2px; max-width: 46em; }
.items .k { font-size: 13px; color: var(--ash); white-space: nowrap; text-align: right; }
.items .k b { display: block; font-weight: 500; color: var(--soft); }
@media (max-width: 600px) { .items a { grid-template-columns: 36px minmax(0, 1fr); } .items .k { grid-column: 2; text-align: left; } .items .k b { display: inline; margin-right: 8px; } }
.next-steps { margin: 64px 0 80px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--char); display: grid; gap: 10px; }
.next-steps h2 { margin: 0; font-size: 22px; }
.next-steps p { margin: 0; color: var(--soft); max-width: 60em; }
.next-steps a { color: var(--blue-hi); }

/* Documents */
.doc { padding-top: 48px; padding-bottom: 40px; }
.doc article { max-width: 760px; color: #DCDDE1; font-size: 17.5px; line-height: 1.7; }
.doc article > :first-child { margin-top: 0; }
.doc h1 { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -.005em; color: var(--bone); margin: 0 0 22px; text-wrap: balance; }
.doc h2 { font-size: 26px; line-height: 1.2; color: var(--bone); margin: 52px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 20px; color: var(--bone); margin: 34px 0 10px; }
.doc h4 { font-size: 17.5px; color: var(--bone); margin: 26px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc li > ul, .doc li > ol { margin: 6px 0; }
.doc strong { color: var(--bone); }
.doc a { color: var(--blue-hi); text-underline-offset: 3px; }
.doc blockquote { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid var(--t4); color: var(--soft); }
.doc code { font-family: var(--mono); font-size: .86em; background: var(--char-2); padding: 1px 5px; border-radius: 4px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.doc input[type=checkbox] { accent-color: var(--blue); margin: 0 6px 0 -1.3em; transform: translateY(1px); }
.doc li:has(> input[type=checkbox]) { list-style: none; }
.doc .tbl { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 10px; max-width: 100%; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--char); color: var(--bone); font-weight: 600; font-size: 14.5px; }
.doc tr:last-child td { border-bottom: 0; }
.doc .tbl.wide table { min-width: 680px; }
.pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 56px 0 72px; max-width: 760px; }
.pager a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; min-width: 0; }
.pager a:hover { border-color: var(--blue); }
.pager small { color: var(--ash); font-size: 13px; }
.pager b { font-weight: 600; overflow-wrap: anywhere; }
.pager .nx { text-align: right; grid-column: 2; }

/* Diagrams rebuilt for the web */
.dia { margin: 8px 0 26px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--char); color: var(--soft); font-size: 15px; line-height: 1.45; overflow-x: auto; }
.dia .cap { color: var(--ash); font-size: 13.5px; margin: 14px 0 0; }
.flow { display: flex; align-items: stretch; gap: 10px; min-width: 620px; }
.flow > div { flex: 1; border: 1px solid var(--line-2); border-top: 3px solid var(--blue); border-radius: 10px; padding: 12px 14px; background: var(--black); }
.flow > div.hot { border-top-color: var(--t4); }
.flow b { color: var(--bone); display: block; margin-bottom: 4px; }
.flow i { align-self: center; color: var(--ash); font-style: normal; }
.shared { margin-top: 12px; border: 1px solid rgba(46,139,255,.5); border-radius: 10px; padding: 10px 14px; color: var(--bone); background: rgba(46,139,255,.08); }
.tl { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 0; min-width: 640px; }
.tl > div { border-left: 2px solid var(--line-2); padding: 0 14px 4px; position: relative; }
.tl > div::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--black); border: 2px solid var(--blue); }
.tl > div.hot::before { border-color: var(--t4); }
.tl small { display: block; color: var(--ash); font-size: 13px; padding-left: 4px; }
.tl b { color: var(--bone); display: block; margin: 6px 0 4px; }
.tl .gate { margin-top: 8px; font-size: 13px; color: var(--t5); }
.arch { display: grid; gap: 10px; min-width: 620px; }
.arch .row { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 10px; }
.arch .box { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: var(--black); }
.arch .box b { color: var(--bone); display: block; }
.arch .be { border-color: rgba(46,139,255,.6); background: rgba(46,139,255,.07); }
.arch .lbl { color: var(--ash); font-size: 13px; }
.fam { display: grid; gap: 12px; min-width: 620px; }
.fam .eng { border: 2px solid var(--blue); border-radius: 12px; padding: 12px 16px; background: rgba(46,139,255,.07); color: var(--bone); }
.fam .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fam .row div { border: 2px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; }
.fam .row div.live { border: 2px solid var(--t4); background: rgba(255,106,19,.07); }
.fam b { color: var(--bone); display: block; }

/* Decks */
.deck { padding-top: 32px; padding-bottom: 64px; }
.deck .tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.deck .tools h1 { font-size: clamp(26px, 3.4vw, 40px); }
.deck .tools .r { display: flex; gap: 10px; flex-wrap: wrap; }
.slides { display: grid; gap: 22px; max-width: 1200px; }
.sf { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.sf .stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.sf-num { font-size: 13px; color: var(--ash); margin: -14px 0 0; }
.notes { display: none; margin: -10px 0 0; padding: 14px 16px; border-left: 3px solid var(--t5); background: var(--char); color: var(--soft); font-size: 15.5px; border-radius: 0 10px 10px 0; max-width: 1200px; }
.show-notes .notes { display: block; }
.present { position: fixed; inset: 0; z-index: 100; background: #000; display: none; }
.present.on { display: block; }
.present .sf { position: absolute; inset: 0; margin: auto; border: 0; border-radius: 0; width: min(100vw, 177.78vh); height: auto; }
.present .hint { position: absolute; left: 16px; bottom: 12px; color: #666; font-size: 13px; }
.present button { position: absolute; top: 12px; right: 12px; }
/* Slide content defaults (slides set their own sizes inline) */
.stage section { position: relative; width: 1920px; height: 1080px; box-sizing: border-box; overflow: hidden; }
.stage section p, .stage section h1, .stage section h2, .stage section h3 { margin: 0; }
.stage section ul, .stage section ol { margin: 0; padding-left: 1.3em; }
.stage section li { margin: 0 0 .25em; }
.stage section table { border-collapse: separate; border-spacing: 0; width: 100%; overflow: hidden; }
.stage section th, .stage section td { text-align: left; padding: 14px 26px; border-bottom: 1px solid #2A2C31; vertical-align: top; }
.stage section tr:last-child td { border-bottom: 0; }
.stage section aside { display: none; }
.stage .xline { position: absolute; transform-origin: 0 50%; }
.stage .xarrow { flex: none; align-self: center; }

/* Access */
.access { padding-top: 56px; padding-bottom: 80px; }
.access .head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 36px; }
.access h1 { font-size: clamp(32px, 4.6vw, 54px); }
.choose { display: flex; gap: 10px; flex-wrap: wrap; }
.choose a { text-decoration: none; border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 999px; color: var(--soft); font-size: 15px; }
.choose a[aria-current="page"] { border-color: var(--blue); color: var(--bone); background: rgba(46,139,255,.1); }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--char); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h2 { margin: 0; font-size: 18px; }
.card-head span { color: var(--ash); font-size: 13px; }
.nda { max-height: 60vh; overflow-y: auto; padding: 22px; color: var(--soft); font-size: 15px; }
.nda h3 { color: var(--bone); font-size: 15px; margin: 20px 0 6px; }
.nda h3:first-of-type { margin-top: 4px; }
.nda p { margin: 0 0 10px; }
.nda .num { font-family: var(--mono); color: var(--blue-hi); margin-right: 8px; }
.hint-end { padding: 12px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ash); }
.hint-end.done { color: #3FC28A; }
form.sign { padding: 22px; display: grid; gap: 14px; }
.f { display: grid; gap: 6px; }
.f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 480px) { .f2 { grid-template-columns: minmax(0, 1fr); } }
form.sign label { font-size: 13.5px; color: var(--soft); font-weight: 500; }
form.sign input[type=text], form.sign input[type=email], form.sign input[type=password] { width: 100%; background: var(--black); color: var(--bone); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px; }
form.sign input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,139,255,.25); }
form.sign input.sig { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 20px; border-style: dashed; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.err { color: #FF8A73; font-size: 14.5px; margin: 0; min-height: 1.2em; }
form.sign .btn[disabled] { opacity: .45; cursor: not-allowed; }
.fine { font-size: 13px; color: var(--ash); margin: 0; }

/* Confidentiality */
.conf { background: #1E1408; border-bottom: 1px solid #4A3212; color: #FFD9A8; font-size: 13.5px; line-height: 1.45; }
.conf .wrap { padding-top: 9px; padding-bottom: 9px; }
.conf b { color: #FFE7C7; }
.disc { margin: 0 0 26px !important; padding: 12px 16px; border-left: 3px solid var(--t5); background: var(--char); border-radius: 0 10px 10px 0; color: var(--soft); font-size: 15px; line-height: 1.5; max-width: 760px; }
.disc b { color: var(--bone); }
.deck .disc { margin-bottom: 20px !important; }
footer.site .legal { font-size: 13.5px; max-width: 62em; }
.wm-print { display: none; }
@media print {
  .pbar, .pager, .tools .r, .present, .sf-num, footer.site a, .skip { display: none !important; }
  body { background: #fff; color: #111; }
  .conf { background: #fff; color: #111; border: 1px solid #999; }
  .conf b { color: #111; }
  .doc article, .doc h1, .doc h2, .doc h3, .doc h4, .doc strong, .doc th { color: #111; }
  .doc th { background: #eee; } .doc .tbl, .doc th, .doc td { border-color: #ccc; }
  .doc a { color: #111; } .disc { background: #f4f4f4; color: #111; } .disc b { color: #111; }
  .dia { background: #fff; color: #111; border-color: #ccc; } .dia b { color: #111; }
  footer.site { color: #333; }
  .sf { break-inside: avoid; margin-bottom: 12px; }
  .wm-print { display: block; position: fixed; inset: -20%; transform: rotate(-30deg); font: 600 18px/3 var(--body); color: rgba(0,0,0,.07); word-spacing: 8px; pointer-events: none; z-index: 999; overflow: hidden; }
}

.tz-block { margin: 8px 0 12px; display: grid; gap: 12px; max-width: 1100px; }
.tz-block h2 { margin: 0; font-size: 20px; font-weight: 600; }
.tz-note { margin: 0; color: var(--ash); font-size: 14px; }
