/* The folio is a document on a workbench. All presentation stays outside printed documents. */
@media screen {
  .nx-site .ka-folio {
    --ka-ink: #e7f0f1;
    --ka-muted: #b1c3c9;
    --ka-mint: #97ebd8;
    --ka-line: #526a74;
    position: relative; isolation: isolate; min-width: 0;
    border: 1px solid #607781; border-radius: 10px 10px 5px 5px;
    background: radial-gradient(ellipse at 15% 30%, #36525924, transparent 58%), linear-gradient(145deg, #172a34, #0b151d 75%);
    box-shadow: inset 0 1px #c8d8df25, 0 4px 0 #0a141b, 0 5px 0 #58717c66, 0 20px 45px #0003;
    color: var(--ka-ink); font: 400 16px/1.75 var(--nx-font, 'Manrope', system-ui, sans-serif);
  }
  .nx-site .ka-folio::before {
    position: absolute; inset: 7px 7px auto; height: 1px; content: ''; pointer-events: none;
    background: linear-gradient(90deg, #c8d8df55, #c8d8df08 40%, #97ebd827 85%, transparent);
  }
  .nx-site .ka-heading {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start;
    gap: 26px; padding: 29px 30px 25px; border-bottom: 1px solid #78939d35;
  }
  .nx-site .ka-heading-main { min-width: 0; }
  .nx-site .ka-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
  .nx-site .ka-service { color: #bfe1d9; font-size: 12px; line-height: 1.6; font-weight: 500; letter-spacing: .025em; }
  .nx-site .ka-specimen { padding-left: 14px; border-left: 1px solid #8b9da35c; color: var(--ka-muted); font-size: 12px; line-height: 1.6; }
  .nx-site .ka-title { margin: 0; max-width: 26ch; color: #edf3f2; font-size: clamp(23px, 2vw, 29px); font-weight: 500; line-height: 1.28; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
  .nx-site .ka-purpose { margin: 0; max-width: 65ch; color: var(--ka-muted); font-size: 14px; line-height: 1.8; }
  .nx-site .ka-workbench { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 28px; align-items: stretch; padding: 27px 30px 31px; }
  .nx-site .ka-stage { display: flex; min-width: 0; flex-direction: column; }
  .nx-site .ka-object { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; min-height: 224px; margin: 0 0 22px; padding: 0 1px 15px; }
  .nx-site .ka-object::before {
    position: absolute; z-index: -2; left: 10%; right: 10%; bottom: 15px; height: 37%; content: ''; pointer-events: none;
    border-radius: 50%; background: radial-gradient(ellipse, #81c7b619, transparent 68%);
  }
  .nx-site .ka-object::after {
    position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; content: ''; pointer-events: none;
    background: linear-gradient(90deg, transparent, #97ebd86b 20%, #c8d8df7d 50%, #97ebd833 80%, transparent);
  }
  .nx-site .ka-object-support {
    position: absolute; z-index: -1; bottom: 9px; left: 18%; width: 64%; height: 36px;
    border: 1px solid #7d97a044; border-radius: 50%; transform: skewX(-18deg);
    background: linear-gradient(160deg, #c8d8df0b, #0b151d66); box-shadow: 0 5px 0 #0a151ccc, 0 6px 0 #708d9833;
  }
  .nx-site .ka-illustration { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-width: 420px; aspect-ratio: 420 / 220; object-fit: contain; filter: drop-shadow(0 12px 14px #0004); }
  .nx-site .ka-field-group { margin-top: auto; min-width: 0; }
  .nx-site .ka-instruction { margin: 0 0 12px; color: #c5d4d6; font-size: 14px; line-height: 1.6; font-weight: 500; }
  .nx-site .ka-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .nx-site .ka-field {
    position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 64px;
    padding: 12px 13px; border: 1px solid #5f778159; border-radius: 6px;
    background: linear-gradient(135deg, #263d4766, #12232b66); color: #bacbd0;
    font: 500 14px/1.55 var(--nx-font, 'Manrope', system-ui, sans-serif); text-align: left;
    box-shadow: inset 0 1px #c8d8df08; cursor: pointer; transition: border-color .16s, color .16s, background-color .16s;
  }
  .nx-site .ka-field-label { min-width: 0; overflow-wrap: break-word; }
  .nx-site .ka-field-joint { display: block; flex: 0 0 6px; width: 6px; height: 6px; border: 1px solid #95aeb8; transform: rotate(45deg); }
  .nx-site .ka-field-state { position: absolute; right: 10px; top: 8px; width: 12px; height: 1px; background: #94a9b133; }
  .nx-site .ka-field:hover { color: #eff5f4; border-color: #a0bbc5a6; background-color: #38535b77; }
  .nx-site .ka-field[aria-pressed="true"] {
    border-color: #a4c5c5; color: #edf6f1;
    background: linear-gradient(135deg, #3e575966, #27423d88);
    box-shadow: inset 0 1px #d2e5df22, inset 0 -2px #97ebd873, 0 4px 10px #0002;
  }
  .nx-site .ka-field[aria-pressed="true"] .ka-field-joint { border-color: #b9eddd; background: #b9eddd; box-shadow: 0 0 0 3px #97ebd80d; }
  .nx-site .ka-field[aria-pressed="true"] .ka-field-state { background: #dcb581; }
  .nx-site .ka-field:focus-visible { outline: 2px solid #bcf4e3; outline-offset: 4px; }
  .nx-site .ka-paper {
    position: relative; display: flex; min-width: 0; flex-direction: column;
    border: 1px solid #c8d8d1; border-radius: 3px 11px 3px 3px;
    background: linear-gradient(125deg, #edf0e9, #dce5df 60%, #d4e0da);
    color: #20363b; box-shadow: inset 1px 0 #f8faf3, 3px 3px 0 #abc0b94d, 6px 6px 0 #6c85824d, 0 12px 28px #0003;
  }
  .nx-site .ka-paper::before {
    position: absolute; right: -1px; top: -1px; width: 23px; height: 23px; content: ''; pointer-events: none;
    border-radius: 0 10px 0 3px; background: linear-gradient(45deg, #b0c4bd 49%, #90a9a4 50%, #d3e2db 54%);
    box-shadow: -1px 1px 0 #627f7926;
  }
  .nx-site .ka-paper::after {
    position: absolute; left: 10px; top: 29px; bottom: 26px; width: 2px; content: ''; pointer-events: none;
    background: linear-gradient(#68877c33, #68877c11 25%, #68877c11 75%, #68877c33);
  }
  .nx-site .ka-reading-panel { min-width: 0; padding: 29px 26px 28px 31px; }
  .nx-site .ka-paper-caption { display: block; padding-bottom: 14px; border-bottom: 1px solid #738b804d; color: #4c6666; font-size: 12px; font-weight: 500; line-height: 1.65; letter-spacing: .03em; }
  .nx-site .ka-section-title { margin: 20px 0 15px; color: #20383c; font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: break-word; }
  .nx-site .ka-section-copy { margin: 0; color: #30494c; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
  .nx-site .ka-review { display: flex; align-items: start; gap: 13px; margin-top: auto; padding: 22px 26px 25px 31px; border-top: 1px solid #8fa69a5c; background: #b9cfc02e; }
  .nx-site .ka-review-mark { display: block; position: relative; flex: 0 0 16px; width: 16px; height: 20px; margin-top: 3px; border: 1px solid #6c8b7d; border-radius: 2px; }
  .nx-site .ka-review-mark::before { position: absolute; top: 5px; left: 3px; width: 8px; height: 5px; border-bottom: 1.5px solid #365e50; border-left: 1.5px solid #365e50; transform: rotate(-45deg); content: ''; }
  .nx-site .ka-review-copy { min-width: 0; }
  .nx-site .ka-review-title { margin: 0 0 9px; color: #28483e; font-size: 14px; font-weight: 600; line-height: 1.6; letter-spacing: 0; }
  .nx-site .ka-review-text { margin: 0; color: #3f5a51; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
  .nx-site .ka-full-document { margin: 24px 0 0; padding: 0; border: 1px solid #788e9759; border-radius: 6px; background: #11212a66; }
  .nx-site .ka-full-document > summary { min-height: 48px; padding: 14px 18px; color: #d0e1dd; font-size: 14px; font-weight: 500; line-height: 1.6; cursor: pointer; }
  .nx-site .ka-full-document > summary::marker { color: #b6cdbf; }
  .nx-site .ka-full-document > summary:hover { background: #2b474955; color: #eff8f3; }
  .nx-site .ka-full-document > summary:focus-visible { outline: 2px solid #bcf4e3; outline-offset: 4px; }
  .nx-site .ka-full-document[open] > summary { border-bottom: 1px solid #788e9759; }

  @media (max-width: 1100px) {
    .nx-site .ka-heading { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 27px 26px 23px; }
    .nx-site .ka-title { max-width: 36ch; font-size: 26px; }
    .nx-site .ka-workbench { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 23px 26px 29px; }
    .nx-site .ka-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 20px; align-items: center; }
    .nx-site .ka-object { min-height: 184px; margin: 0; padding-bottom: 13px; }
    .nx-site .ka-field-group { margin-top: 0; }
    .nx-site .ka-fields { grid-template-columns: minmax(0, 1fr); }
    .nx-site .ka-field { min-height: 48px; padding: 11px 13px; }
    .nx-site .ka-reading-panel { padding: 26px 28px 28px; }
    .nx-site .ka-review { padding: 22px 28px 25px; }
  }
  @media (max-width: 680px) {
    .nx-site .ka-heading { padding: 25px 22px 22px; }
    .nx-site .ka-title { font-size: 24px; }
    .nx-site .ka-workbench { gap: 24px; padding: 20px 22px 27px; }
    .nx-site .ka-stage { display: flex; align-items: stretch; gap: 0; }
    .nx-site .ka-object { min-height: 0; margin: 0 0 22px; }
    .nx-site .ka-illustration { max-width: 400px; }
    .nx-site .ka-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-site .ka-field { min-height: 62px; }
    .nx-site .ka-paper { box-shadow: inset 1px 0 #f8faf3, 2px 2px 0 #abc0b94d, 4px 4px 0 #6c85824d, 0 10px 22px #0002; }
    .nx-site .ka-section-title { font-size: 22px; }
    .nx-site .ka-reading-panel { padding: 25px 23px; }
    .nx-site .ka-review { padding: 21px 23px 24px; }
  }
  @media (max-width: 420px) {
    .nx-site .ka-heading { padding: 25px 17px 20px; }
    .nx-site .ka-kicker { gap: 7px 11px; }
    .nx-site .ka-specimen { padding-left: 11px; }
    .nx-site .ka-title { font-size: 23px; }
    .nx-site .ka-workbench { padding: 18px 17px 24px; }
    .nx-site .ka-fields { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .nx-site .ka-field { min-height: 48px; padding: 12px 14px; }
    .nx-site .ka-object { margin-bottom: 18px; }
    .nx-site .ka-reading-panel { padding: 24px 20px; }
    .nx-site .ka-section-title { font-size: 21px; }
    .nx-site .ka-review { gap: 10px; padding: 20px; }
    .nx-site .ka-full-document > summary { padding-inline: 15px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nx-site .ka-field { transition: none; }
  }
}
