main:has([data-article=lightfold]){background:#0e0e0e;display:flow-root}.article-page[data-article=lightfold]{--ink:#ededed;--body:#ededed;--muted:#cdcdcd;--line:#ffffff26;max-width:768px;color:var(--ink)}[data-article=lightfold] .page-heading h1{align-items:center;gap:14px;display:flex}[data-article=lightfold] .page-heading h1:before{content:"";background:#000 url(/media/lightfold/mark.jpg) 50%/cover;border-radius:10px;width:52px;height:52px}[data-article=lightfold] .prose{font:400 16px/26px -apple-system-body,ui-sans-serif,-apple-system,system-ui,Segoe UI,Helvetica,Arial,sans-serif}.article-page[data-article=lightfold] .lf-response>*{margin:16px 0 0}.article-page[data-article=lightfold] .lf-response>:first-child{margin-top:0}.article-page[data-article=lightfold] .lf-response h2{letter-spacing:normal;text-wrap:wrap;margin:24px 0 0;font-family:inherit;font-size:18px;font-weight:600;line-height:28px}.article-page[data-article=lightfold] .lf-response h2+p,.article-page[data-article=lightfold] .lf-response ul{margin-top:8px}.article-page[data-article=lightfold] .lf-response li{margin:0;padding:0}.lf-response strong{font-weight:600}.lf-flow,.lf-card,.lf-definition{border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.lf-flow{border-radius:16px}.lf-response img{width:100%;height:auto;display:block}.lf-row{align-items:center;gap:8px;display:flex}.lf-row>div{min-width:0}.lf-row strong,.lf-row span,.lf-caption,.lf-bits{display:block}.lf-response svg{flex-shrink:0;width:24px;height:24px;display:block}.lf-input svg{width:32px;height:32px}.lf-flow>svg{width:18px;height:18px;color:var(--muted)}.lf-result svg{color:#00c950}.lf-centered{text-align:center;justify-content:center}.lf-band{text-align:center;background:#303030;border-radius:8px;gap:4px;padding:8px;display:grid}.lf-response .lf-caption{color:var(--muted);margin:0;font-size:14px;line-height:1.3}.lf-bits{color:var(--muted);font-size:14px;line-height:20px}.lf-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lf-card{min-width:0}.lf-chart{gap:8px;display:grid}.lf-chart-label{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;display:grid}.lf-value{white-space:nowrap;font-weight:500}.lf-track{background:#212121;border-radius:6px;height:13px;overflow:hidden}.lf-track>div{border-radius:inherit;background:#9299a3;height:100%}.lf-track:last-of-type>div{background:#27966c}.lf-use svg{color:var(--muted)}.lf-use span{font-size:14px;line-height:20px}[data-article=lightfold] .lf-rule{background:var(--line);border:0;height:1px;margin:24px 0}.lf-definition{padding:16px}[data-article=lightfold] .lf-definition h3{letter-spacing:normal;margin:0;font-size:24px;font-weight:600;line-height:32px}[data-article=lightfold] .article-end:empty{display:none}@media (max-width:430px){.lf-card{padding:10px}.lf-cards{gap:8px}}.article-page[data-article=lightfold] .lf-response>h3{letter-spacing:normal;margin:28px 0 0;font-size:1.0625rem;font-weight:600;line-height:1.45}.lf-evidence,.lf-recovery{border:1px solid var(--line);border-radius:12px;padding:16px}.lf-photo-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lf-photo-pair img{border-radius:5px}.lf-photo-pair strong{margin-top:6px;font-size:.9375rem;display:block}.lf-evidence figcaption{color:var(--muted);margin:12px 0 0;font-size:.875rem;line-height:1.5}.lf-recovery-title,.lf-recovery-key{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.lf-recovery-title span{font-variant-numeric:tabular-nums}.lf-recovery-bar{background:repeating-linear-gradient(130deg,#30343b 0 4px,#41464e 4px 6px);border-radius:6px;height:14px;margin:10px 0;overflow:hidden}.lf-recovery-bar:before{content:"";background:#27966c;width:65.4%;height:100%;display:block}.lf-recovery-key{color:var(--muted);flex-wrap:wrap;justify-content:flex-start;gap:4px 24px;font-size:.875rem}.lf-recovery-key i{background:#27966c;border-radius:2px;width:9px;height:9px;margin-right:6px;display:inline-block}.lf-recovery-key span:last-child i{background:#59606b}.article-page[data-article=lightfold] .lf-comparison table{width:100%;margin:0;line-height:1.45;display:table}.lf-comparison :is(th,td){text-align:start;vertical-align:top;border:0;padding:10px 8px}.lf-comparison tr+tr,.lf-comparison tbody{border-top:1px solid var(--line)}.lf-comparison thead th{color:var(--muted);font-size:.8125rem;font-weight:500}.lf-comparison tbody th{width:51%;font-size:.9375rem;font-weight:400}.lf-comparison td{font-variant-numeric:tabular-nums}.lf-comparison tr>:first-child{padding-left:0}.lf-comparison tr>:last-child{padding-right:0}@media (max-width:430px){.lf-evidence,.lf-recovery{padding:12px}.lf-photo-pair{gap:8px}.lf-comparison :is(th,td){padding-inline:5px}.lf-comparison tbody th{width:45%}}
:root:has([data-article=cryptography-explained]){--bg:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0e0e0e);--ink:var(--lightningcss-light,#171717)var(--lightningcss-dark,#ededed);--body:var(--ink);--muted:var(--lightningcss-light,#575757)var(--lightningcss-dark,#cdcdcd);--line:var(--lightningcss-light,#00000026)var(--lightningcss-dark,#ffffff26);--surface:var(--lightningcss-light,#f5f5f5)var(--lightningcss-dark,#212121)}:root:not([data-theme=light]):has([data-article=cryptography-explained]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.article-page[data-article=cryptography-explained]{width:min(100% - 32px,768px);max-width:768px;font-family:-apple-system-body,ui-sans-serif,-apple-system,system-ui,Segoe UI,Helvetica,Apple Color Emoji,Arial,sans-serif,Segoe UI Emoji,Segoe UI Symbol}[data-article=cryptography-explained] .page-heading{flex-direction:column;margin:0 0 8px;display:flex}[data-article=cryptography-explained] .page-heading .byline{order:-1;margin:0 0 12px}[data-article=cryptography-explained] .page-heading h1{letter-spacing:normal;text-wrap:wrap;font-family:inherit;font-size:20px;font-weight:600;line-height:28px}.crypto-prose{--rsa:#64748b;--ecc:#0d9488;--divider:var(--lightningcss-light,#00000017)var(--lightningcss-dark,#ffffff12);color:var(--ink);overflow-wrap:break-word;font-size:16px;line-height:26px}.crypto-prose .publication-body{flex-direction:column;display:flex}.crypto-prose .publication-body>div{display:contents}.crypto-prose .publication-body>div>*,.crypto-prose .publication-body>.crypto-factor{margin:16px 0 0}.crypto-prose .publication-body>div:first-child>:first-child{margin-top:0}.crypto-prose .publication-body>div>:is(h2,h3){letter-spacing:normal;text-wrap:wrap;margin-top:24px;font-size:18px;font-weight:600;line-height:28px}.crypto-prose .publication-body>div>h3{font-size:16px;line-height:26px}.crypto-prose .publication-body>div>:is(h2,h3)+p,.crypto-prose .publication-body>div>ul{margin-top:8px}.crypto-prose strong,.crypto-prose th,.crypto-recap dt{font-weight:600}.crypto-prose ul{padding-left:32px}.crypto-prose table{border-collapse:collapse;text-align:left;width:100%;font-size:14px;line-height:20px}.crypto-prose th,.crypto-prose td{vertical-align:top;padding:8px}.crypto-prose th:first-child,.crypto-prose td:first-child{padding-left:0}.crypto-prose th:last-child,.crypto-prose td:last-child{padding-right:0}.crypto-prose tr:not(:last-child),.crypto-prose thead{border-bottom:1px solid var(--divider)}.crypto-keyspace :is(th,td):last-child{text-align:right}.crypto-prose hr{background:var(--line) content-box;border:0;height:17px;padding:8px 0}.crypto-prose .publication-body figcaption,.crypto-prose .crypto-caption{color:var(--muted);margin:0;font-size:14px;font-weight:400;line-height:1.3}.crypto-keys{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.crypto-key,.crypto-plot,.crypto-flow,.crypto-chart{border:1px solid var(--line);border-radius:12px;flex-direction:column;display:flex}.crypto-key{align-items:center;gap:8px;margin:0;padding:8px}.crypto-prose .crypto-key figcaption{color:var(--ink);font-size:16px;font-weight:500;line-height:26px}.crypto-plot{gap:4px;padding:8px}.crypto-art{width:100%;height:auto;display:block}.crypto-icon{flex:none;display:block}.crypto-flow{padding:12px}.crypto-aes{gap:12px}.crypto-message,.crypto-step{flex-direction:column;gap:4px;display:flex}.crypto-message{align-items:center;padding:12px}.crypto-ciphertext{border:1px solid var(--line);border-radius:8px;font-weight:500}.crypto-operation{justify-content:center;align-items:center;gap:4px;min-height:26px;font-size:14px;line-height:20px;display:flex}.crypto-operation span{margin-left:4px}.crypto-https{gap:8px}.crypto-endpoints{align-items:center;gap:8px;display:flex}.crypto-endpoints strong+strong{margin-left:auto}.crypto-https hr{margin:0}.crypto-step{padding:8px}.crypto-prose .publication-body>div>.crypto-chart{margin-top:24px}.crypto-chart{background:var(--surface);border-radius:16px;gap:12px;padding:16px}.crypto-length-label{justify-content:space-between;display:flex}.crypto-rsa-bar,.crypto-ecc-bar{border-radius:6px;height:16px}.crypto-rsa-bar,.crypto-certificate-bar span:first-child{background:var(--rsa)}.crypto-ecc-bar,.crypto-certificate-bar span:last-child{background:var(--ecc)}.crypto-ecc-bar{width:8.33333%}.crypto-percentages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.crypto-percentages>div{flex-direction:column;gap:8px;display:flex}.crypto-percentages strong{color:var(--rsa);font-size:24px;line-height:32px}.crypto-percentages>div:last-child strong{color:var(--ecc)}.crypto-certificate-bar{border-radius:8px;grid-template-columns:46.6fr 53.4fr;height:28px;display:grid;overflow:hidden}.crypto-cite{vertical-align:.15em;color:var(--muted);cursor:pointer;background:var(--lightningcss-light,#ededed)var(--lightningcss-dark,#393939);border:0;border-radius:14px;align-items:center;gap:3px;padding:2px 5px;font:500 10px/13px ui-sans-serif,system-ui,sans-serif;text-decoration:none;display:inline-flex}.crypto-cite:hover{text-decoration:underline}.crypto-favicon{border-radius:50%;width:12px;height:12px}.crypto-sources{width:min(20rem,100vw - 32px);color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:6px;box-shadow:0 5px 18px #0000002e}@supports (position-area:bottom){.crypto-sources{position-area:bottom span-right;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;margin:5px;inset:auto}}.crypto-sources a{padding:7px 9px;font-size:13px;line-height:1.4;display:block}.crypto-recap{flex-direction:column;padding-bottom:8px;display:flex}.crypto-recap>div{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:12px;padding-bottom:21px;display:grid;position:relative}.crypto-recap>div+div{padding-top:20px}.crypto-recap>div:after{content:"";background:var(--line);height:1px;position:absolute;bottom:0;left:0;right:0}.crypto-recap dd{margin:0}.crypto-prose .publication-body>.crypto-factor{background:var(--surface);border:1px solid var(--line);border-radius:32px;margin-top:32px;margin-bottom:16px;position:relative;overflow:hidden;container-type:inline-size}.factor-toolbar{z-index:1;color:var(--muted);align-items:center;gap:4px;display:flex;position:absolute;top:8px;right:8px}.factor-toolbar span{font-size:12px}.factor-toolbar button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:26px;height:28px;display:grid}.factor-toolbar button:hover{background:var(--line)}.factor-stage{padding-top:48px}.factor-canvas{width:100%;margin:auto;padding:24px}@container (min-width:40rem){.factor-canvas{width:50%}}.factor-canvas svg{width:100%;height:auto;display:block;overflow:visible}.factor-canvas line{stroke:var(--muted);stroke-opacity:.45;stroke-width:1.5px}.factor-canvas circle{fill:var(--surface)}.factor-composite{stroke:var(--muted);stroke-width:1.5px}.factor-prime{stroke:#008cff;stroke-width:2px}.factor-canvas text{fill:var(--ink);text-anchor:middle;dominant-baseline:central;font:600 12px ui-sans-serif,system-ui,sans-serif}.factor-canvas .factor-product{fill:var(--muted);font-weight:400}.crypto-prose .publication-body .factor-controls{border-top:1px solid var(--line);background:var(--lightningcss-light,#fafafa)var(--lightningcss-dark,#282828);padding:16px 12px 12px}@container (max-width:39.999rem){.crypto-prose .publication-body .factor-controls{padding-bottom:24px}}.factor-controls output{text-align:center;margin:0 auto 12px;font:400 16px/26px ui-serif,Georgia,Cambria,Times New Roman,Times,serif;display:block}.factor-inputs{align-items:center;gap:8px;min-height:24px;display:flex}.factor-inputs label{margin-right:8px;font:italic 15px/1 Georgia,serif}.factor-inputs input[type=text]{text-align:right;width:32px;color:var(--muted);background:0 0;border:0;padding:2px;font-size:11px}.factor-inputs input[type=range]{appearance:none;cursor:pointer;background:var(--lightningcss-light,#ddd)var(--lightningcss-dark,#353535);border-radius:16px;flex:1;min-width:0;height:24px;margin:0;padding:0}.factor-inputs input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--lightningcss-light,#303030)var(--lightningcss-dark,#fff);border-radius:50%;width:20px;height:20px}.factor-inputs input[type=range]::-moz-range-thumb{background:var(--lightningcss-light,#303030)var(--lightningcss-dark,#fff);border:0;border-radius:50%;width:20px;height:20px}.factor-help{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}
