/* insolvencyapi.com: Labs (/labs and /labs/<tool>), from the approved previews: the Labs list (.lbody), a tool page (.tbody) and its sample answer (.sample). */
.lbody { background: var(--paper); }
  .lbody .in { max-width: 1240px; margin: 0 auto; padding: 48px 24px 64px; }
  .demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border: 1px solid #E3DDCF; border-radius: var(--r); overflow: hidden; background: #FBF9F4; }
  .demo .l { padding: 28px; border-right: 1px solid #E3DDCF; }
  .stage2 { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 11.5px; white-space: nowrap; }
  .stage2 i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .stage2.pv { background: rgba(90,95,176,.12); color: #4A4E9A; } .stage2.bt { background: rgba(58,110,168,.12); color: #2F5B8C; } .stage2.cs { background: rgba(184,137,62,.14); color: #8A6328; }
  .demo h3, .lgrid h3, .how h3 { font-weight: 300; letter-spacing: -.01em; color: var(--ink); }
  .demo h3 { font-size: 26px; margin-top: 14px; } .demo p.d { margin-top: 8px; font-size: 14px; color: #4A5565; line-height: 1.6; }
  .demo form { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 10px; margin-top: 22px; }
  .demo input { height: 46px; border: 1px solid #DCD6C8; border-radius: var(--r); padding: 0 14px; font: 14px 'IBM Plex Sans', sans-serif; background: #fff; color: var(--ink); outline: none; } .demo input:focus { border-color: var(--brass); }
  .demo form .btn { height: 46px; width: 100%; min-width: 0; background: var(--ink); color: var(--on-ink); border: 0; cursor: pointer; font: 14px 'IBM Plex Sans', sans-serif; }
  .demo .eg { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #7A8394; align-items: center; }
  .demo .eg a { height: 28px; padding: 0 11px; border: 1px solid #DCD6C8; border-radius: 14px; display: inline-flex; align-items: center; background: #fff; color: #2E3A4B; cursor: pointer; white-space: nowrap; }
  .demo .r2 { padding: 28px; background: #F6F2E9; min-height: 330px; display: flex; flex-direction: column; justify-content: center; }
  .demo .idle { text-align: center; color: #7A8394; font-size: 13.5px; }
  .demo .idle svg { width: 46px; height: 46px; color: #C9C1AF; margin-bottom: 10px; }
  .ld2 { display: grid; gap: 12px; }
  .ld2 .tx { display: flex; justify-content: space-between; font-size: 13px; color: #4A5565; } .ld2 .tx b { font: 400 13px 'IBM Plex Mono', monospace; color: var(--ink); }
  .ld2 .bb { height: 4px; border-radius: 2px; background: #E6E0D3; overflow: hidden; } .ld2 .bb i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .12s; }
  .ld2 .cc { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
  .ld2 .cc span { height: 24px; border-radius: 6px; background: #EEE9DE; color: #9AA0AA; font: 10.5px 'IBM Plex Mono', monospace; display: grid; place-items: center; transition: background .2s, color .2s; }
  .ld2 .cc span.dn { background: var(--ink); color: var(--on-ink); } .ld2 .cc span.hit { background: #B8893E; color: #13202F; }
  .res { display: grid; gap: 12px; }
  .res .top3 { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .res .nm3 { font-size: 20px; color: var(--ink); } .res .nm3 small { display: block; font-size: 12.5px; color: #7A8394; margin-top: 3px; }
  .res .verdict { height: 28px; padding: 0 12px; border-radius: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; white-space: nowrap; }
  .res .verdict.w { background: rgba(184,137,62,.16); color: #8A6328; } .res .verdict.c { background: rgba(63,138,110,.12); color: #2F6F57; }
  .tlx { list-style: none; border-left: 2px solid #E3DDCF; margin-left: 6px; padding-left: 18px; display: grid; gap: 12px; }
  .tlx li { position: relative; font-size: 13.5px; color: #2E3A4B; } .tlx li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #B8893E; box-shadow: 0 0 0 3px #F6F2E9; }
  .tlx li small { display: block; font: 11.5px 'IBM Plex Mono', monospace; color: #7A8394; margin-bottom: 2px; }
  .res .acts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .res .acts2 a { height: 40px; display: grid; place-items: center; border-radius: var(--r); font-size: 13px; border: 1px solid #DCD6C8; background: #fff; color: var(--ink); } .res .acts2 a.p { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
  .lgrid { margin-top: 48px; } .lgrid h3 { font-size: 26px; } .lgrid p.l { margin-top: 6px; font-size: 14px; color: #4A5565; }
  .lcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
  .lc { background: #FBF9F4; border: 1px solid #E3DDCF; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
  .lc:hover { transform: translateY(-3px); border-color: rgba(184,137,62,.6); }
  .lc .vis2 { height: 150px; background: var(--ink); padding: 16px; position: relative; overflow: hidden; }
  .lc .bd { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
  .lc .bd .row4 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .lc .bd .t2 { font-size: 16px; color: var(--ink); }
  .lc .bd p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: #4A5565; }
  .lc .bd .ft { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7A8394; }
  .lc .bd .ft a, .lc .bd .ft .go { color: var(--ink); border-bottom: 1px solid var(--brass); white-space: nowrap; }
  a.lc { color: inherit; text-decoration: none; }
  .how { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .how > div { padding: 22px; border-radius: var(--r); background: #FBF9F4; border: 1px solid #E3DDCF; position: relative; }
  .how .n3 { font: 300 32px/1 'IBM Plex Sans', sans-serif; color: #C9B48A; }
  .how h3 { font-size: 18px; margin-top: 10px; } .how p { margin-top: 6px; font-size: 13.5px; color: #4A5565; line-height: 1.55; }
  .how > div:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 50%; width: 12px; height: 12px; border-top: 1.5px solid #C9B48A; border-right: 1.5px solid #C9B48A; transform: translateY(-50%) rotate(45deg); }
  .ccta { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 28px; border-radius: var(--r); background: var(--ink); color: var(--on-ink); }
  .ccta p { font-size: 20px; font-weight: 300; color: #F2EEE5; } .ccta p small { display: block; font-size: 13.5px; color: var(--on-ink-dim); margin-top: 4px; }
  .ccta .b2 { display: grid; grid-template-columns: 190px 190px; gap: 12px; } .ccta .btn { height: 46px; width: 100%; min-width: 0; }
  @media (max-width: 980px) {
    .ccta { flex-direction: column; align-items: stretch; } .ccta .b2 { grid-template-columns: 1fr 1fr; }
    .demo, .lcards, .how { grid-template-columns: minmax(0, 1fr); } .demo .l { border-right: 0; border-bottom: 1px solid #E3DDCF; }
    .demo form { grid-template-columns: minmax(0, 1fr) 96px; } .demo .l, .demo .r2 { padding: 22px; }
    .how > div:not(:last-child)::after { display: none; } .ld2 .cc { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  }


  .tbody { background: var(--paper); }
  .tbody .in { max-width: 1240px; margin: 0 auto; padding: 40px 24px 64px; }
  .tgrid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
  .tside { position: sticky; top: 120px; display: grid; gap: 16px; }
  .tside .card6 { background: #FBF9F4; border: 1px solid #E3DDCF; border-radius: var(--r); padding: 20px; }
  .tside h4 { font-weight: 400; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8A6328; margin-bottom: 12px; }
  .tside ul.kv { list-style: none; display: grid; gap: 10px; font-size: 13px; color: #4A5565; }
  .tside ul.kv li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #E3DDCF; padding-bottom: 8px; }
  .tside ul.kv li:last-child { border-bottom: 0; padding-bottom: 0; }
  .tside ul.kv li span:last-child { color: var(--ink); text-align: right; }
  .tside .toc { list-style: none; display: grid; gap: 2px; }
  .tside .toc a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: #4A5565; }
  .tside .toc a:hover, .tside .toc a.on { background: #EEE9DE; color: var(--ink); }
  .tside .toc a i { width: 6px; height: 6px; border-radius: 50%; background: #C9C1AF; } .tside .toc a.on i { background: var(--brass); }
  .tside .btn { height: 44px; width: 100%; min-width: 0; }
  .tside .btn.ink { background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); }
  .tsec { margin-bottom: 44px; scroll-margin-top: 120px; }
  .tsec .demo { grid-template-columns: minmax(0, 1fr); } .tsec .demo .l { border-right: 0; border-bottom: 1px solid #E3DDCF; } .tsec .demo .r2 { min-height: 240px; }
  .tsec h2 { font-weight: 300; font-size: 26px; letter-spacing: -.01em; color: var(--ink); }
  .tsec p.l { margin-top: 8px; font-size: 14.5px; color: #4A5565; line-height: 1.6; max-width: 720px; }
  .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
  .steps3 div { background: #FBF9F4; border: 1px solid #E3DDCF; border-radius: var(--r); padding: 18px; }
  .steps3 b { display: block; font: 300 26px/1 'IBM Plex Sans', sans-serif; color: #C9B48A; }
  .steps3 span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink); }
  .steps3 small { display: block; margin-top: 6px; font-size: 13px; color: #4A5565; line-height: 1.5; }
  .code2 { margin-top: 18px; background: #0E1826; border: 1px solid #22344B; border-radius: var(--r); overflow: hidden; }
  .code2 .tb { display: flex; align-items: center; height: 46px; border-bottom: 1px solid #1E2C40; padding: 0 8px 0 6px; }
  .code2 .tb a { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 13px; color: var(--on-ink-dim); position: relative; cursor: pointer; }
  .code2 .tb a.on { color: #F2EEE5; } .code2 .tb a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--brass); }
  .code2 .tb .cp { margin-left: auto; width: 84px; height: 30px; border: 1px solid #2B3D55; border-radius: 8px; display: grid; place-items: center; font-size: 12px; color: var(--on-ink-dim); cursor: pointer; }
  .code2 .lbl { display: flex; justify-content: space-between; padding: 10px 20px 0; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #7D889B; }
  .code2 .lbl .ok { letter-spacing: 0; text-transform: none; font: 11.5px 'IBM Plex Mono', monospace; color: #8FC9B1; }
  .code2 pre { margin: 0; padding: 12px 20px 18px; font: 12.5px/1.75 'IBM Plex Mono', monospace; color: #C9CFDA; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; overflow-x: hidden; }
  .code2 .sep2 { border-top: 1px solid #1E2C40; }
  .k1 { color: #D9B26F; } .k2 { color: #8FB9A8; } .k3 { color: #7D889B; } .k4 { color: #9FB4D8; }
  .ptable { margin-top: 18px; border: 1px solid #E3DDCF; border-radius: var(--r); overflow: hidden; background: #FBF9F4; }
  .ptable .pr2 { display: grid; grid-template-columns: 180px 110px 110px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 50px; padding: 10px 18px; border-bottom: 1px solid #ECE7DB; font-size: 13.5px; color: #2E3A4B; }
  .ptable .pr2:last-child { border-bottom: 0; }
  .ptable .pr2.h3 { background: #EEE9DE; min-height: 40px; font-size: 12px; letter-spacing: .04em; color: #7A8394; }
  .ptable code { font: 12.5px 'IBM Plex Mono', monospace; color: var(--ink); background: #EEE9DE; padding: 2px 7px; border-radius: 6px; }
  .ptable .req { display: inline-flex; height: 22px; padding: 0 9px; border-radius: 11px; align-items: center; font-size: 11.5px; background: rgba(184,137,62,.14); color: #8A6328; white-space: nowrap; }
  .ptable .opt { display: inline-flex; height: 22px; padding: 0 9px; border-radius: 11px; align-items: center; font-size: 11.5px; background: #ECE8DF; color: #5B6473; white-space: nowrap; }
  .ptable .ty { font: 12px 'IBM Plex Mono', monospace; color: #5A5FB0; }
  .faqs2 { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .faqs2 div { background: #FBF9F4; border: 1px solid #E3DDCF; border-radius: var(--r); padding: 18px 20px; }
  .faqs2 b { font-weight: 400; font-size: 15px; color: var(--ink); display: block; margin-bottom: 6px; } .faqs2 p { font-size: 13.5px; color: #4A5565; line-height: 1.55; }
  .rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
  .rel a { display: flex; flex-direction: column; gap: 8px; background: #FBF9F4; border: 1px solid #E3DDCF; border-radius: var(--r); padding: 18px; transition: border-color .2s, transform .2s; }
  .rel a:hover { border-color: rgba(184,137,62,.6); transform: translateY(-2px); }
  .rel a span.t2 { font-size: 15px; color: var(--ink); } .rel a small { font-size: 13px; color: #4A5565; line-height: 1.5; }
  @media (max-width: 980px) {
    .tgrid, .steps3, .faqs2, .rel { grid-template-columns: minmax(0, 1fr); } .tside { position: static; order: -1; } .tside .toc-card { display: none; }
    .ptable .pr2 { grid-template-columns: minmax(0, 1fr) 84px; } .ptable .pr2 > :nth-child(2) { display: none; } .ptable .pr2 > :nth-child(4) { grid-column: 1 / 3; }
    .ptable .pr2.h3 > :nth-child(4) { display: none; }
    .code2 .tb a { padding: 0 9px; font-size: 12px; }
  }


  .sample { border: 1px solid #E3DDCF; border-radius: var(--r); overflow: hidden; background: #FBF9F4; }
  .sample .sv { background: var(--ink); padding: 22px; min-height: 230px; position: relative; }
  .sample .sb { padding: 20px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .sample .sb div { border: 1px solid #E3DDCF; border-radius: var(--r); padding: 12px 14px; background: #fff; }
  .sample .sb b { display: block; font: 300 22px/1 'IBM Plex Sans', sans-serif; color: var(--ink); } .sample .sb span { display: block; margin-top: 6px; font-size: 12px; color: #7A8394; }
  .sample .sh3 { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 0; }
  .sample .sh3 .t { font-size: 15px; color: var(--ink); }
  .soon { border: 1px dashed #C9B48A; border-radius: var(--r); padding: 26px; background: #FBF9F4; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: center; }
  .soon h3 { font-weight: 300; font-size: 24px; color: var(--ink); } .soon p { margin-top: 8px; font-size: 14px; color: #4A5565; line-height: 1.6; }
  .soon form { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; }
  .soon input { height: 44px; border: 1px solid #DCD6C8; border-radius: var(--r); padding: 0 14px; font: 14px 'IBM Plex Sans', sans-serif; background: #fff; outline: none; }
  .soon button { height: 44px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--on-ink); font: 14px 'IBM Plex Sans', sans-serif; cursor: pointer; }
  .soon .ok3 { display: none; height: 44px; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--r); background: rgba(63,138,110,.1); color: #2F6F57; font-size: 13.5px; }
  .soon.sent form { display: none; } .soon.sent .ok3 { display: flex; }
  .planned { display: inline-flex; margin-left: 10px; height: 22px; padding: 0 9px; border-radius: 11px; align-items: center; font-size: 11.5px; background: rgba(184,137,62,.14); color: #8A6328; vertical-align: 4px; }
  @media (max-width: 980px) { .sample .sb, .soon { grid-template-columns: minmax(0, 1fr); } }
