@font-face{font-family:QK;src:url('./assets/fonts/hanken-grotesk-latin-400-normal.woff2')}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{background:#eaedf2;color:#0e1626;font:17px/1.45 QK,system-ui,sans-serif}.workshop-shell{height:100dvh;max-width:1100px;margin:auto;padding:16px 32px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px}header,.context,.row-nav,.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}header img{width:190px;height:34px;object-fit:contain}.context{font-size:14px;color:#5b6678}select{max-width:55%;font:inherit;padding:10px;border:1px solid #cdd4df;background:transparent;color:#0e1626}h1{font-size:clamp(26px,3.5vw,40px);line-height:1.1;letter-spacing:-.02em;margin:0 0 14px}h2{font-size:24px}h3{font-size:18px;margin-bottom:6px}p{margin:0 0 14px}button,input{font:inherit}button{min-height:44px;border:1px solid #4733e0;padding:10px 16px;background:#4733e0;color:#fff;cursor:pointer}button.secondary{background:transparent;color:#4733e0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #4733e0;outline-offset:3px}main{align-self:center;width:100%;min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain;padding:8px 2px}.kicker{font-size:12px;letter-spacing:.1em;color:#4733e0}.lead{font-size:20px}.muted{font-size:14px;color:#5b6678}.journey{padding-left:24px;line-height:2}.values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.value{display:block;text-align:left;width:100%;background:#4733e008;color:#0e1626;border-color:#4733e040;padding:14px;min-width:0;margin-bottom:12px}.value span,.value strong,.value small{display:block}.value span{color:#4733e0;font-size:14px}.value strong{font:16px/1.4 ui-monospace,monospace;overflow-wrap:anywhere;margin:8px 0}.value small{color:#5b6678;font-size:12px}.metric,.message{padding:20px;border-left:4px solid #4733e0;background:#4733e008;margin:16px 0}.metric strong{font-size:34px;display:block}.metric span,.message small{color:#5b6678}.message p{margin:8px 0 0}.row-nav{margin:12px 0}.check{padding:16px;background:#04785710;border-left:4px solid #047857;min-height:60px;margin:16px 0}.check.rejected{background:#c1263810;border-color:#c12638}.check p{margin:8px 0 0}.check-buttons{display:flex;gap:10px;flex-wrap:wrap}label{display:block}input{display:block;width:100%;max-width:300px;border:1px solid #5b6678;background:white;padding:12px;margin:8px 0 14px}.step-controls{border-top:1px solid #cdd4df;padding-top:10px}.step-controls p{font-size:12px;color:#5b6678;margin:0 0 8px}.step-controls>div{display:flex;gap:10px}.step-controls #next{margin-left:auto}.step-controls #download{font-size:14px}dialog{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px;border:1px solid #cdd4df;background:#eaedf2;color:#0e1626;overflow:auto}dialog::backdrop{background:#0e162670}.dialog-head{position:sticky;top:-22px;background:#eaedf2;padding:8px 0;z-index:1}.dialog-head h2{margin:0}pre{font:13px/1.5 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:white;user-select:text}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}@media(max-width:600px){.workshop-shell{padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));gap:8px}header img{width:150px;height:28px}.context{font-size:12px}.values{grid-template-columns:1fr;gap:0;margin:12px 0}h1{font-size:27px;margin-bottom:10px}p{font-size:15px;margin-bottom:10px}.lead{font-size:17px}.value{padding:11px}.value strong{font-size:14px}.metric,.message{padding:14px;margin:12px 0}.metric strong{font-size:28px}.step-controls>div{gap:8px;flex-wrap:wrap}.step-controls button{font-size:14px;padding:10px 12px}#download{order:3}.step-controls #next{flex:1}.check-buttons{display:grid;grid-template-columns:1fr;gap:8px}.check{padding:12px;font-size:15px}.journey{font-size:16px;line-height:1.8}.dialog-head h2{font-size:20px}}@media(max-height:700px){.workshop-shell{gap:6px;padding-top:8px}h1{font-size:25px}.metric{padding:10px;margin:8px 0}.metric strong{font-size:26px}.value{margin-bottom:8px;padding:9px}.value strong{margin:4px 0}.journey{margin:8px 0}.check{margin:8px 0}main{align-self:start}}@media(prefers-reduced-motion:no-preference){main{animation:appear .2s ease-out}@keyframes appear{from{opacity:0}to{opacity:1}}}
.journey{list-style:none;counter-reset:step;padding:0;margin:22px 0}.journey li{counter-increment:step;position:relative;border-left:2px solid #4733e0;margin-left:15px;padding:0 0 20px 34px;line-height:1.5}.journey li::before{content:counter(step);display:grid;place-items:center;position:absolute;left:-16px;top:-2px;width:30px;height:30px;border:2px solid #4733e0;border-radius:50%;background:#eaedf2;color:#4733e0;font-weight:700}.journey li:last-child{border-left-color:transparent;padding-bottom:0}

.dialog-actions{display:flex;gap:8px;flex-shrink:0}@media(max-width:600px){.dialog-head{flex-wrap:wrap}.dialog-actions{width:100%;justify-content:flex-end}}
.qk-select{position:relative;min-width:220px}.qk-select>button{display:flex;justify-content:space-between;gap:16px;width:100%;border:1px solid #cdd4df;background:#fff;color:#0e1626;text-align:left;font-size:15px}.qk-select ul{position:absolute;top:100%;left:0;right:0;z-index:10;list-style:none;padding:0;margin:4px 0;border:1px solid #cdd4df;background:#fff;box-shadow:0 8px 24px #0e16261a}.qk-select li button{width:100%;border:0;background:#fff;color:#0e1626;text-align:left;justify-content:flex-start}.qk-select li[aria-selected=true] button{color:#4733e0}.qk-select li button.active,.qk-select li button:hover{background:#4733e00d}.context .kicker{display:block;font-size:10px;margin-bottom:4px}.journey.compact{display:flex;margin:14px 0 18px;gap:8px}.journey.compact li{font-size:12px;flex:1;border:0;padding:0 0 0 24px;margin:0}.journey.compact li::before{left:0;width:20px;height:20px;font-size:11px;top:0}.journey.compact li:not(:last-child)::after{content:'';position:absolute;left:25px;right:0;top:24px;border-top:1px solid #4733e050}.dice-line{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:13px}.dice-line button{display:flex;align-items:center;gap:8px}.dice-line button span{font-size:30px;line-height:1}textarea{width:100%;min-height:64px;max-height:100px;padding:10px;font:inherit;border:1px solid #cdd4df;background:#fff;color:#0e1626;resize:vertical}label{font-size:14px}.choices{display:flex;flex-wrap:wrap;gap:8px}.choices button{font-size:13px;padding:8px 10px}.choices .selected{background:#4733e0;color:white}.prediction{border:0;border-top:1px solid #cdd4df;padding:10px 0 0;margin:12px 0 0}.prediction legend{font-size:14px;padding-top:10px}#exercise>label{margin-top:8px}#exercise>.muted{font-size:12px;margin-top:10px}@media(max-width:600px){.context{align-items:end}.qk-select{min-width:0;width:220px;max-width:62vw}.context #progress{max-width:90px;text-align:right}.qk-select>button{font-size:13px;padding:8px 10px}.dice-line{flex-wrap:wrap;gap:6px}.dice-line button{padding:6px 12px}.journey.compact{margin:8px 0 16px}textarea{font-size:15px}.prediction{margin-top:8px}.prediction legend{font-size:13px}.value small{font-size:11px}.value strong{font-size:12px}}

.dice-line button span{font-family:"Apple Symbols","Segoe UI Symbol",sans-serif}.prediction .choices{margin-top:6px}@media(max-width:600px){.message p{font-size:14px}.metric span{font-size:13px}.metric strong{font-size:26px}.metric{margin:8px 0}.prediction{padding-top:6px}.value{margin-bottom:8px}.values{margin:8px 0}}

.journey.seed-journey{margin-bottom:12px}.journey.seed-journey li{padding:26px 0 0;font-size:11px;text-align:center}.journey.seed-journey li::before{left:calc(50% - 10px)}.journey.seed-journey li:not(:last-child)::after{left:calc(50% + 14px);right:-8px;top:10px}

.journey.seed-journey{margin-bottom:6px}
/* Stable lesson frame: navigation does not move with the lesson content. */
.workshop-shell{grid-template-rows:auto auto auto minmax(0,1fr) auto;max-width:1200px}.fixed-timeline{display:flex;list-style:none;margin:2px 0 6px;padding:10px 0;border-top:1px solid #cdd4df;border-bottom:1px solid #cdd4df;gap:6px}.fixed-timeline li{position:relative;flex:1;display:flex;align-items:center;gap:8px;font-size:12px;color:#5b6678;min-width:0}.fixed-timeline li>span{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #cdd4df;background:#eaedf2}.fixed-timeline li.current{color:#4733e0}.fixed-timeline li.current>span{background:#4733e0;color:white;border-color:#4733e0}.fixed-timeline li.done>span{color:#4733e0;border-color:#4733e0}.fixed-timeline strong{font-weight:500}.fixed-timeline li.current strong{font-weight:700}.step-controls #back{min-width:100px}.step-controls #next{min-width:190px}.step-controls #download{font-size:12px}.seed-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center}.seed-action{text-align:center}.seed-action p{font-size:16px;color:#5b6678}.dice-control{border:0;background:transparent;color:#4733e0;display:flex;flex-direction:column;align-items:center;gap:12px;margin:14px auto;padding:0 20px;min-width:180px}.dice-control:disabled{opacity:1}.dice-control>span:last-child{font-weight:700;font-size:15px}.die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:10px;width:148px;height:148px;padding:23px;background:#fff;border:2px solid #4733e0;border-radius:24px;box-shadow:7px 9px 0 #4733e01a;transform-origin:50% 60%}.die i{display:block;border-radius:50%}.die .pip{background:#4733e0}.die.rolling{animation:dice-roll .55s ease-out}.roll-progress{font-size:13px!important;min-height:20px;margin:8px 0!important}.seed-output{border-left:1px solid #cdd4df;padding:32px;min-width:0}.output-label{font-size:11px!important;letter-spacing:.08em;color:#4733e0}.seed-output.ready{animation:appear .25s ease-out}.seed-output .value strong{font-size:15px}.seed-output .muted{font-size:13px}.entropy-link{font-size:13px;padding:8px 12px}.seed-stage{align-self:center}@keyframes dice-roll{0%{transform:rotate(0) translateY(0)}25%{transform:rotate(-22deg) translateY(-14px)}55%{transform:rotate(22deg) translateY(-22px)}80%{transform:rotate(-12deg) translateY(-8px)}100%{transform:rotate(0) translateY(0)}}
@media(max-width:600px){.workshop-shell{gap:4px;padding-top:8px}.fixed-timeline{margin:0;padding:7px 0;gap:4px}.fixed-timeline li{flex-direction:column;gap:4px;font-size:10px}.fixed-timeline li>span{width:22px;height:22px}.seed-layout{grid-template-columns:1fr;gap:10px}.seed-action h1{font-size:24px;margin:0 0 6px}.seed-action p{font-size:13px;margin:0 0 8px}.dice-control{margin:8px auto;gap:6px;min-width:130px}.die{width:104px;height:104px;padding:16px;gap:7px;border-radius:18px;box-shadow:4px 5px 0 #4733e01a}.dice-control>span:last-child{font-size:13px}.entropy-link{min-height:40px;font-size:12px}.seed-output{padding:8px 0 0;border-left:0;border-top:1px solid #cdd4df}.seed-output:not(.ready){display:none}.seed-output .output-label{display:none}.seed-output .value{margin:0;padding:8px 10px}.seed-output .value strong{font-size:12px;margin:3px 0}.seed-output .value small{font-size:10px}.seed-output>.muted{display:none}.step-controls #back{min-width:80px}.step-controls #next{min-width:0}.step-controls>div{flex-wrap:nowrap}.step-controls button{font-size:12px}.step-controls #download{padding:8px;max-width:70px}.step-controls{padding-top:7px}.step-controls p{margin-bottom:5px}.seed-stage{align-self:start;padding-top:4px}}
@media(prefers-reduced-motion:reduce){.die.rolling,.seed-output.ready{animation:none}}

.seed-action h1{margin-bottom:8px}.seed-action>p{margin-bottom:8px}.dice-control{margin:8px auto}.roll-progress{margin:4px 0!important}
@media(max-width:600px) and (max-height:660px){.die{width:96px;height:96px;padding:14px;gap:6px}.seed-layout{gap:4px}.dice-control{margin:4px auto;gap:4px}.seed-action>p{font-size:12px;margin-bottom:4px}.seed-action h1{font-size:22px;margin-bottom:4px}.seed-output{padding-top:5px}.roll-progress{font-size:12px!important}}
.dice-and-rolls{display:flex;align-items:center;justify-content:center}.mobile-rolls{display:none}.saved-rolls>p{font-size:11px;letter-spacing:.08em;color:#4733e0;margin:0 0 10px}.saved-rolls ol{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:0;margin:0 0 24px;list-style:none}.saved-rolls li{min-height:74px;border:1px dashed #cdd4df;text-align:center;display:flex;flex-direction:column;justify-content:center;background:transparent;color:#7b8595}.saved-rolls li small{font-size:11px;line-height:1.2}.saved-rolls li strong{font-size:32px;line-height:1.2}.saved-rolls li.saved{border:1px solid #4733e060;color:#4733e0;background:#4733e00c}.saved-rolls li.latest{background:#4733e0;color:white;border-color:#4733e0;box-shadow:0 0 0 3px #4733e020;animation:save-roll .25s ease-out}.saved-rolls li.pending{border:2px dashed #4733e0}.desktop-rolls{margin-bottom:20px}@keyframes save-roll{from{transform:scale(.86);opacity:.4}to{transform:scale(1);opacity:1}}
@media(max-width:600px){.mobile-rolls{display:block;width:150px}.desktop-rolls{display:none}.dice-and-rolls{gap:18px;margin:4px 0}.dice-control{margin:0;min-width:112px;padding:0}.saved-rolls>p{font-size:10px;margin-bottom:6px!important}.saved-rolls ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.saved-rolls li{min-height:46px}.saved-rolls li strong{font-size:25px}.saved-rolls li small{font-size:9px}.saved-rolls li.latest{box-shadow:0 0 0 2px #4733e020}.seed-output{padding-top:5px}.roll-progress{margin:6px 0!important}.seed-output.ready{animation:none}}
@media(prefers-reduced-motion:reduce){.saved-rolls li.latest{animation:none}}

.dice-and-rolls{padding-top:16px}
.key-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:16px 0}.key-columns h2{font-size:19px;margin:0 0 12px;color:#4733e0}.key-columns .value{margin-bottom:12px}.key-columns .value strong{font-size:14px}.key-intro{font-size:16px;max-width:760px}.keys-stage .muted{font-size:13px;margin-top:10px}.message-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.message-layout>section,.cipher-output{min-width:0}.message-layout textarea{min-height:120px;max-height:180px;margin:8px 0 12px;resize:none}.cipher-output{padding:24px;border-left:1px solid #cdd4df;background:#4733e005}.cipher-output .value{background:white}.cipher-meta{font-size:13px;color:#5b6678}.cipher-output:has(#cipher-result:not([hidden])){animation:appear .25s ease-out}#confirm-message{margin-bottom:10px}#cipher-placeholder>p:not(.output-label){font-size:16px;color:#5b6678}
@media(max-width:600px){.keys-stage h1{font-size:23px;margin-bottom:6px}.keys-stage .key-intro{font-size:13px;line-height:1.4;margin-bottom:6px}.key-columns{grid-template-columns:1fr;gap:8px;margin:8px 0}.key-columns h2{font-size:14px;margin:0 0 5px}.key-columns .value{padding:6px 9px;margin-bottom:5px}.key-columns .value>span{font-size:11px}.key-columns .value strong{font-size:11px;line-height:1.25;margin:2px 0}.key-columns .value small{font-size:10px}.keys-stage>.secondary{font-size:12px;padding:8px 10px}.keys-stage .muted{font-size:11px;margin:6px 0 0}.message-layout{grid-template-columns:1fr;gap:10px}.message-layout h1{font-size:24px}.message-layout p{font-size:13px}.message-layout textarea{min-height:70px;max-height:80px;margin:5px 0 8px}.message-layout #confirm-message{font-size:13px;min-height:44px;margin-bottom:4px}.cipher-output{border-left:0;border-top:1px solid #cdd4df;padding:10px 0 0;background:none}.cipher-output .value{padding:8px;margin-bottom:6px}.cipher-output .value strong{font-size:11px}.cipher-output .output-label{font-size:10px;margin-bottom:6px}.cipher-output .cipher-meta{font-size:11px;margin:5px 0}.cipher-output button.secondary{font-size:12px;padding:8px 10px}.message-layout .muted{font-size:11px;margin:3px 0}.message-stage{align-self:start}.message-layout #cipher-placeholder p{font-size:12px}}
@media(max-width:600px) and (max-height:660px){.keys-stage .value small{display:none}.keys-stage .key-columns{gap:5px}.keys-stage .key-intro{font-size:12px}.message-layout .cipher-meta{display:none}.message-layout textarea{min-height:64px;max-height:64px}.message-layout{gap:6px}}
@media(prefers-reduced-motion:reduce){.cipher-output{animation:none!important}}
.keys-stage h1{font-size:32px;margin-bottom:10px}.keys-stage .key-columns{margin:12px 0;gap:24px}.keys-stage .key-columns .value{padding:10px 12px;margin-bottom:8px}.keys-stage .key-columns .value strong{margin:4px 0;font-size:13px}.keys-stage .key-intro{font-size:15px}.keys-stage .key-columns h2{margin-bottom:8px}@media(max-width:600px){.keys-stage h1{font-size:23px;margin-bottom:6px}.keys-stage .key-columns{gap:5px;margin:6px 0}.keys-stage .key-columns .value{padding:6px 9px;margin-bottom:4px}.keys-stage .key-columns .value strong{font-size:11px;margin:2px 0}.keys-stage .key-intro{font-size:12px}.keys-stage .key-columns h2{margin-bottom:4px}}
.verify-columns{display:grid;grid-template-columns:1fr 1fr;gap:32px}.verify-columns section{min-width:0}.verify-columns h2{font-size:20px;margin:8px 0}.compare-text{background:white;border-left:3px solid #4733e0;padding:10px;margin:8px 0;max-height:90px;overflow:auto;overflow-wrap:anywhere}.verify-columns textarea{height:80px;min-height:0;resize:none;font:12px/1.4 monospace;margin:6px 0;overflow-wrap:anywhere}.verify-actions{display:flex;gap:8px}.verify-actions button{font-size:14px}.verify-columns .check{padding:10px;font-size:14px;margin:8px 0}.verify-columns .check p{margin:4px 0 0}.demo-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.demo-card{display:flex;flex-direction:column;text-align:left;gap:12px;padding:24px!important}.demo-card>span{font-size:42px}.demo-card strong{font-size:23px}.demo-card small{color:#5b6678;font-size:15px}
@media(max-width:600px){.verify-stage h1{font-size:22px;margin-bottom:5px}.verify-stage>p{font-size:12px;margin:0 0 5px}.verify-columns{gap:8px;grid-template-columns:1fr 1fr}.verify-columns h2{font-size:14px;margin:4px 0}.verify-columns label{font-size:12px}.verify-columns .value{padding:6px}.verify-columns .value span{font-size:11px}.verify-columns .value strong{font-size:10px}.verify-columns .value small{display:none}.compare-text{font-size:12px;padding:6px;max-height:80px}.verify-columns textarea{height:90px;font-size:11px}.verify-columns button{font-size:12px;padding:7px;min-height:44px}.verify-actions{flex-direction:column;gap:4px}.verify-columns .check{font-size:12px;padding:6px}.verify-columns .check p,.verify-columns .muted{font-size:11px}.demo-cards{grid-template-columns:1fr;gap:8px}.demo-card{gap:3px;padding:12px!important}.demo-card>span{display:none}.demo-card strong{font-size:19px}.demo-card small{font-size:13px}}
#dialog-content h3{color:#4733e0}#dialog-content p{color:rgb(14 22 38 / 76%)}#dialog-content p strong{color:#0e1626}#dialog-content small{color:rgb(14 22 38 / 65%);font-size:13px;display:block;line-height:1.5}.entropy-explainer{display:grid;grid-template-columns:100px 1fr;gap:26px;margin-top:16px}.entropy-explainer aside{display:flex;align-items:center;flex-direction:column;gap:10px;padding-top:20px;color:#4733e0}.entropy-explainer .die{width:82px;height:82px;padding:13px;gap:7px}.entropy-explainer aside>b{opacity:.4;font-size:25px}.entropy-explainer section{margin-bottom:20px}.entropy-explainer h3{margin:0 0 6px;font-size:18px}.entropy-explainer p{font-size:15px;margin:0 0 6px}.practice-note{border-top:1px solid #4733e025;padding-top:12px;font-size:12px!important;color:rgb(14 22 38 / 60%)!important}
@media(max-width:600px){.entropy-explainer{grid-template-columns:48px 1fr;gap:12px}.entropy-explainer .die{width:44px;height:44px;padding:7px;gap:3px;border-radius:10px}.entropy-explainer aside{font-size:10px}.entropy-explainer h3{font-size:16px}.entropy-explainer p{font-size:14px}.entropy-explainer section{margin-bottom:14px}}
.source-download{font-size:13px;color:#4733e0;margin-left:auto;text-underline-offset:3px}.verify-stage h1{font-size:30px;margin-bottom:8px}.verify-stage>p{margin-bottom:8px}.verify-columns .value{padding:9px;margin-bottom:8px}.verify-columns .value strong{margin:4px 0}
@media(max-width:600px){.source-download{font-size:11px;max-width:70px}header{gap:8px}header img{width:120px}.verify-stage h1{font-size:22px}}
.practice-note>strong{display:block;color:#4733e0;margin-bottom:8px}.practice-note p{font-size:12px;margin:6px 0}.practice-note p strong{color:#4733e0!important}
.practice-note{border:1px solid #d78b324d;border-left:4px solid #cc812a;background:#fff2df;padding:14px 16px;margin-top:16px;border-radius:8px;color:#67401d!important}.practice-note>strong,.practice-note p strong{color:#844812!important}.practice-note p{color:#67401d!important}@media(max-width:600px){.practice-note{padding:12px;margin-top:12px}}
@media(max-width:600px){.verify-columns textarea{height:60px}.verify-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px}.verify-actions button{font-size:10px;padding:4px}.verify-columns .check{min-height:0;margin:6px 0}.verify-columns .compare-text{margin:6px 0}.verify-columns .value strong{font-size:10px}}
.qk-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.wide-info{width:min(950px,calc(100vw - 24px))}.key-table-legend{display:flex;gap:24px;margin:18px 0;color:#4733e0;font-size:14px}.key-table-legend span,.key-type,.key-table td>strong,.key-combine{display:flex;align-items:center;gap:8px}.key-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;table-layout:fixed}.key-table th,.key-table td{padding:12px;border-bottom:1px solid #4733e020;vertical-align:top}.key-table thead th{background:#4733e00d;color:#4733e0;font-size:12px}.key-table th:first-child{width:29%}.key-table th:nth-child(2){width:26%}.key-type{color:#4733e0}.key-table details{font-weight:400;font-size:12px;margin-top:8px}.key-table summary{cursor:pointer;color:#5b6678}.key-table code{display:block;overflow-wrap:anywhere;max-height:120px;overflow:auto;padding:8px;background:white;user-select:all;margin-top:8px}.key-table small{margin-top:6px}.key-combine{color:#4733e0;background:#4733e00c;padding:12px;margin:16px 0;font-size:14px}
.journey-stage{height:100%;align-self:stretch;overflow:hidden!important}.crypto-journey{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#4733e0}.crypto-journey>svg{width:100%;min-height:0;flex:1;max-height:520px}.journey-side rect{fill:#4733e005;stroke:#4733e025}.crypto-journey text{font-family:QK,system-ui,sans-serif;fill:#0e1626;text-anchor:middle;font-size:18px}.crypto-journey .journey-label text{fill:#4733e0;font-size:21px;font-weight:bold}.crypto-journey .journey-small{font-size:13px}.crypto-journey .journey-secret{font-size:12px;fill:#4733e0}.journey-phase rect,.journey-packet rect{fill:#4733e00c;stroke:#4733e0;stroke-width:1.5}.journey-phase path,.journey-packet path{fill:none;stroke:#4733e0;stroke-width:2}.journey-line{fill:none;stroke:#4733e060;stroke-width:2;marker-end:url(#route-arrow)}.journey-packet{color:#4733e0}.journey-caption{font-size:12px;color:#5b6678;text-align:center;padding-top:8px}
@media(prefers-reduced-motion:no-preference){.journey-phase{animation:journey-highlight 12s infinite}.phase-write{animation-delay:0s}.phase-encrypt{animation-delay:2s}.phase-decrypt{animation-delay:6s}.phase-open{animation-delay:8s}.journey-packet{animation:packet-travel 12s infinite}.travel-line{stroke-dasharray:6 6;animation:route-flow 1s linear infinite}@keyframes journey-highlight{0%,18%{opacity:1;filter:drop-shadow(0 0 5px #4733e040)}25%,90%{opacity:.45}100%{opacity:1}}@keyframes packet-travel{0%,30%{opacity:0;transform:translateX(-110px)}35%{opacity:1;transform:translateX(-110px)}55%{opacity:1;transform:translateX(65px)}60%,100%{opacity:0;transform:translateX(65px)}}@keyframes route-flow{to{stroke-dashoffset:-12}}}
@media(max-width:600px){.key-table{font-size:11px}.key-table th,.key-table td{padding:8px 5px}.key-table .qk-icon{width:16px;height:16px}.key-type,.key-table td>strong{gap:4px;flex-wrap:wrap}.key-table-legend{gap:12px;font-size:11px}.key-combine{font-size:12px}.key-table small{font-size:11px!important}.crypto-journey{width:100%;overflow:auto}.crypto-journey>svg{min-width:610px;align-self:flex-start;max-height:340px}.journey-caption{font-size:11px}}
.crypto-journey>.journey-mobile{display:none}
@media(max-width:600px){.crypto-journey{overflow:hidden}.crypto-journey>.journey-desktop{display:none}.crypto-journey>.journey-mobile{display:block;min-width:0;width:100%;max-height:100%;align-self:center}.journey-mobile text{font-size:14px}.journey-mobile .journey-small{font-size:11px}.journey-caption{padding-top:4px;font-size:10px}}
.cipher-input{position:relative}.cipher-input textarea{width:100%;padding-right:50px!important}.cipher-input .input-copy{position:absolute;right:5px;top:5px;width:40px;min-height:40px;padding:8px;background:#eaedf2;color:#4733e0;border:1px solid #4733e030;border-radius:5px}.input-copy svg{width:22px;height:22px}.cipher-difference{font-size:12px;color:#5b6678;margin:6px 0;min-height:36px}.cipher-difference span{display:block}.cipher-difference.changed{padding:7px 10px;background:#fff2df;border-left:3px solid #cc812a;color:#67401d}.cipher-difference mark{background:#c1263820;color:#a31c2d;font:bold 14px monospace;padding:0 5px}.cipher-difference code{font:bold 14px monospace}.verify-columns .check.rejected{color:#a31c2d;background:#c1263815;border-color:#c12638}.verify-columns .check.rejected strong{font-size:17px}.verify-columns label{font-size:13px}.verify-stage h1{margin-bottom:6px}.verify-stage .compare-text{max-height:60px}.verify-columns .check{min-height:0}
@media(max-width:600px){.cipher-input textarea{padding-right:35px!important}.cipher-input .input-copy{width:30px;min-height:30px;padding:5px;right:3px;top:3px}.input-copy svg{width:18px;height:18px}.verify-columns label{font-size:11px}.cipher-difference{font-size:10px;line-height:1.3;min-height:0}.cipher-difference.changed{padding:4px}.cipher-difference code,.cipher-difference mark{font-size:11px}.verify-columns .check.rejected strong{font-size:12px}.verify-stage .compare-text{max-height:45px}.verify-columns .check{font-size:11px}.verify-columns .check p{font-size:10px}.verify-stage>p{font-size:11px}}
.verify-stage h1{font-size:27px}.verify-columns h2{font-size:18px;margin:5px 0}.verify-columns textarea{height:64px;margin:4px 0}.verify-stage .compare-text{padding:7px;margin:5px 0}.verify-columns .check{padding:8px;margin:5px 0}.verify-columns .check p{margin:3px 0 0}.cipher-difference{margin:4px 0}.verify-columns #copy-feedback{margin-top:6px}.verify-stage>p{margin-bottom:6px}@media(max-width:600px){.verify-stage h1{font-size:22px}.verify-columns h2{font-size:14px}.verify-columns textarea{height:54px}.verify-columns .check{padding:5px}}
.wrong-key-button{margin-top:10px}.wrong-key-hint{margin:5px 0!important;font-size:12px!important}
@media(max-width:600px){.wrong-key-button{font-size:11px!important;margin-top:5px;padding:6px!important}.wrong-key-hint{font-size:10px!important}}
.trial-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.trial-info{font-size:24px;padding:3px 10px!important;min-width:44px}.trial-progress{list-style:none;display:flex;gap:8px;padding:0;margin:0 0 18px;font-size:12px;color:#5b6678}.trial-progress li{flex:1;border-bottom:2px solid #4733e020;padding-bottom:6px}.trial-progress .current{color:#4733e0;border-color:#4733e0}.trial-content{max-width:850px;margin:16px auto}.trial-content .cipher-input textarea{width:100%;height:90px;resize:none;font:14px/1.5 monospace}.trial-comparison{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-bottom:18px}.trial-comparison section{padding:18px;background:white;border:1px solid #4733e030;min-width:0}.trial-comparison small{display:block;color:#5b6678;margin-bottom:8px}.trial-comparison strong{display:block;font-size:21px;overflow-wrap:anywhere;max-height:75px;overflow:auto}.trial-comparison>span{color:#4733e0}.trial-comparison .trial-changed{background:#fff2df;border-color:#cc812a60;color:#844812}.trial-action{display:block;margin:auto}.trial-result{max-width:850px;margin:auto}.trial-result .check{min-height:0;margin:8px 0;padding:12px}.trial-result .rejected{color:#a31c2d}.trial-result p{font-size:14px;margin:4px 0}.check-help-art{display:flex;align-items:center;justify-content:center;gap:24px;padding:24px;background:#4733e008;color:#4733e0;margin:20px 0}.check-help-art .qk-icon{width:52px;height:52px}.check-help-art strong{font-size:35px}
@media(max-width:600px){.trial-heading{margin:0}.trial-progress{gap:5px;font-size:10px;margin-bottom:10px}.trial-content{margin:10px 0}.trial-comparison{gap:8px;margin-bottom:10px}.trial-comparison section{padding:10px}.trial-comparison strong{font-size:15px;max-height:64px}.trial-comparison small{font-size:11px}.trial-content .cipher-input textarea{height:74px;font-size:12px}.trial-result .check{padding:8px}.trial-result p{font-size:12px}.trial-action{font-size:13px}.trial-result .muted{font-size:12px}.verify-stage>p{font-size:13px}.trial-result .check strong{font-size:14px}}
.dice-and-rolls{gap:16px}.skip-dice{max-width:155px;font-size:13px;line-height:1.3}.dice-and-rolls .dice-control{margin:8px 0}
@media(max-width:600px){.dice-and-rolls{display:grid;grid-template-columns:112px 150px;gap:8px 18px}.dice-and-rolls .dice-control{grid-column:1;grid-row:1;margin:0}.dice-and-rolls .mobile-rolls{grid-column:2;grid-row:1}.skip-dice{grid-column:1 / -1;grid-row:2;max-width:none;min-height:36px;font-size:11px;padding:6px}.dice-and-rolls{padding-top:6px}.seed-action .roll-progress{margin:3px 0!important}.seed-action .entropy-link{min-height:36px;padding:6px 10px}}
.receiver-actions{display:grid;gap:6px;margin:8px 0}.receiver-actions button{font-size:14px;text-align:left;padding:7px 12px;min-height:38px}.verify-stage .trial-heading{margin-bottom:8px}.verify-stage .trial-heading h1{margin:0}.verify-stage .trial-result p{font-size:12px}.verify-stage .trial-result .check{padding:8px}.verify-stage #received-preview{width:100%;resize:none;font:12px/1.4 monospace}
@media(max-width:600px){.receiver-actions{gap:4px}.receiver-actions button{font-size:11px;line-height:1.25;padding:5px 7px;min-height:44px}.verify-stage .trial-heading h1{font-size:22px}.verify-stage .trial-result p{font-size:10px}.verify-stage .trial-result .check strong{font-size:12px}.verify-stage #received-preview{font-size:10px}}
.scanner-stage h1{font-size:29px;margin:0}.scanner-stage>p{font-size:15px;margin:8px 0 14px}.utxo-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.utxo-card{border:1px solid #4733e030;background:#fff;color:#0e1626;text-align:left;padding:15px;display:flex;flex-direction:column;gap:8px}.utxo-card.selected{background:#4733e00d;border:2px solid #4733e0;padding:14px}.utxo-card-top{display:flex;align-items:center;gap:10px;width:100%}.utxo-card-top>span:last-child{margin-left:auto;color:#4733e0}.utxo-card .qk-icon{color:#4733e0}.utxo-card b{font-size:22px;color:#4733e0}.utxo-card small{font-size:13px;color:#5b6678}.scanner-art{display:flex;align-items:center;justify-content:center;gap:25px;padding:18px 10px;margin:10px 0 16px;background:#4733e008}.scanner-art>span{display:flex;flex-direction:column;align-items:center;gap:7px;color:#4733e0}.scanner-art .qk-icon{width:40px;height:40px}.scanner-art small{font-size:12px;text-align:center}.scanner-art>b{color:#4733e080}.utxo-details{display:grid;grid-template-columns:1fr 1fr;gap:22px}.utxo-table{width:100%;border-collapse:collapse;font-size:15px;text-align:left}.utxo-table th,.utxo-table td{padding:10px;border-bottom:1px solid #4733e025}.utxo-table th{font-weight:500;color:#5b6678}.utxo-details .value{padding:10px;margin-bottom:8px}.utxo-details .value strong{font-size:12px;margin:4px 0}.history-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.scanner-verdict{border-left:4px solid #cc812a;padding:12px 16px;background:#fff2df;margin:12px 0}.scanner-verdict.exposed{border-color:#c12638;background:#c1263810}.scanner-verdict.unknown{background:#0e162608;border-color:#5b6678}.scanner-verdict strong{font-size:23px}.scanner-verdict p{font-size:14px;margin:5px 0 0}.result-table .chosen{background:#4733e00c}.result-table .chosen th{color:#4733e0}.scanner-limit{font-size:12px!important;color:#67401d;margin:10px 0!important}
@media(max-width:600px){.scanner-stage h1{font-size:22px}.scanner-stage>p{font-size:12px;margin:6px 0 10px}.utxo-choices{gap:8px;margin:8px 0}.utxo-card{padding:10px;gap:5px}.utxo-card.selected{padding:9px}.utxo-card-top{gap:5px}.utxo-card strong{font-size:12px}.utxo-card .qk-icon{width:18px;height:18px}.utxo-card b{font-size:18px}.utxo-card small{font-size:10px;line-height:1.35}.scanner-art{gap:10px;padding:12px 5px;margin:8px 0}.scanner-art .qk-icon{width:28px;height:28px}.scanner-art small{font-size:10px}.utxo-details{grid-template-columns:1fr;gap:8px}.utxo-table{font-size:12px}.utxo-table th,.utxo-table td{padding:7px}.utxo-details .value{padding:7px;margin-bottom:5px}.utxo-details .value strong{font-size:10px}.utxo-details .value small{display:none}.utxo-details .value span{font-size:11px}.history-options{gap:8px}.history-options .utxo-card{min-height:108px}.scanner-verdict{padding:9px 12px;margin:8px 0}.scanner-verdict strong{font-size:19px}.scanner-verdict p{font-size:12px}.scanner-limit{font-size:11px!important}.scanner-stage>button.secondary{font-size:12px;padding:7px 10px}}
@media(max-width:600px) and (max-height:680px){.scanner-stage .trial-heading{margin-bottom:3px}.scanner-stage .utxo-card{padding:8px;gap:4px}.scanner-stage .utxo-card.selected{padding:7px}.scanner-stage .utxo-choices{margin:6px 0;gap:6px}.scanner-stage>p{margin-bottom:6px}.scanner-stage .scanner-limit{margin:6px 0!important}.scanner-stage .utxo-table th,.scanner-stage .utxo-table td{padding:6px}.scanner-stage .scanner-verdict{padding:7px 10px}.scanner-stage .scanner-verdict strong{font-size:17px}}
.evidence-item{padding:12px 0;border-bottom:1px solid #4733e020}.evidence-item h3{margin:0 0 5px}.evidence-item p{font-size:14px;margin-bottom:8px}.evidence-item summary{cursor:pointer;padding:10px;background:#4733e008;color:#4733e0}.evidence-item summary code{font:13px monospace;overflow-wrap:anywhere}.evidence-item summary span{font-size:11px;margin-left:14px;color:#5b6678}.evidence-item pre{max-height:150px;overflow:auto}.scanner-end-actions{display:grid;gap:12px;margin-top:20px}
.public-exposed,.exposed-value summary code,.exposed-value h3{color:#b12638!important}.exposed-value summary{background:#c1263810;border-left:3px solid #c12638}.exposure-tag{display:inline-block;font:10px QK, sans-serif!important;color:#a31c2d;background:#c1263812;padding:3px 5px;border-radius:3px}.scanner-detail-actions{display:flex;gap:8px}.scanner-detail-actions button{font-size:13px;padding:8px 12px}.tx-map{background:#4733e005;padding:10px 12px;margin:8px 0 12px}.tx-map-note{font-size:11px!important;color:#5b6678!important;margin:0 0 8px!important}.tx-map-grid{display:grid;grid-template-columns:1fr 24px 1.6fr;gap:12px;align-items:center}.tx-map h3{font-size:15px;margin:0 0 8px}.tx-map h3 .qk-icon{width:18px;height:18px}.tx-input p{font-size:12px!important;margin:0 0 6px}.tx-input>div,.tx-output-grid article{padding:10px;background:white;border:1px solid #4733e030}.tx-map strong,.tx-map code,.tx-map small{display:block;font-size:12px;overflow-wrap:anywhere}.tx-map code{color:#4733e0;font:12px monospace;margin:5px 0}.tx-map small{color:#5b6678;font-size:11px}.tx-output-grid{display:grid;gap:7px}.wide-info .tx-output-grid{grid-template-columns:1fr 1fr}.tx-output-grid .active-output{border:2px solid #4733e0}.tx-arrow{color:#4733e0}.tx-map-legend{display:flex;gap:18px;font-size:10px;margin-top:9px;color:#4733e0}
@media(max-width:600px){.tx-map{padding:7px;margin:5px 0}.tx-map-grid{grid-template-columns:1fr 12px 1fr;gap:5px}.tx-map h3{font-size:12px;margin-bottom:5px}.tx-map strong,.tx-map code{font-size:10px}.tx-map small,.tx-input p{font-size:9px!important}.tx-input>div,.tx-output-grid article{padding:6px}.tx-map-legend{font-size:9px;gap:8px}.tx-map-note{font-size:9px!important}.scanner-detail-actions{gap:5px}.scanner-detail-actions button{font-size:10px;padding:6px;flex:1}.wide-info .tx-map-grid{grid-template-columns:1fr}.wide-info .tx-arrow{transform:rotate(90deg);text-align:center}.wide-info .tx-output-grid{grid-template-columns:1fr 1fr}}
.exposure-selector{width:100%;border-collapse:collapse;margin:14px 0;text-align:left;font-size:14px}.exposure-selector td,.exposure-selector th{padding:12px;border-bottom:1px solid #4733e025}.exposure-selector thead th{font-size:12px;color:#5b6678;font-weight:500}.exposure-selector tbody th{font-weight:600}.exposure-selector small{display:block;color:#5b6678;font-size:12px;margin-top:4px}.exposure-selector .exposed td:first-child{color:#b12638}.exposure-selector .less-exposed td:first-child{color:#855011}.exposure-selector .unknown td:first-child{color:#5b6678}.exposure-selector .selected{background:#4733e00c;box-shadow:inset 3px 0 #4733e0}.exposure-selector button{font-size:13px;padding:7px 12px}.exposure-selector .exposed{background:#c1263805}
@media(max-width:600px){.exposure-selector{font-size:10px;margin:8px 0}.exposure-selector td,.exposure-selector th{padding:8px 4px}.exposure-selector thead th{font-size:10px}.exposure-selector small{font-size:9px}.exposure-selector button{font-size:10px;padding:4px;min-width:42px;min-height:44px}.exposure-selector td:first-child{width:22%}.exposure-selector td:nth-child(3){width:29%}}
.scanner-stage .exposure-selector td,.scanner-stage .exposure-selector th{padding:8px}.scanner-stage .tx-map{padding:7px 10px;margin:5px 0 8px}.scanner-stage .tx-map h3{margin-bottom:4px;font-size:13px}.scanner-stage .tx-map p{margin-bottom:3px}.scanner-stage .tx-input>div,.scanner-stage .tx-output-grid article{padding:6px}.scanner-stage .tx-map strong,.scanner-stage .tx-map code{font-size:11px}.scanner-stage .tx-map small{font-size:10px}.scanner-stage .tx-map-legend{margin-top:5px}.scanner-stage .utxo-details .value{padding:7px}.scanner-stage .utxo-details .value small{display:none}.scanner-stage .utxo-details .utxo-table th,.scanner-stage .utxo-details .utxo-table td{padding:7px}
@media(max-width:600px){.scanner-stage .exposure-selector td,.scanner-stage .exposure-selector th{padding:6px 3px}.scanner-stage .tx-map strong,.scanner-stage .tx-map code{font-size:9px}.scanner-stage .tx-map small{font-size:9px}}
.catalog-nav{display:flex;align-items:center;gap:12px;margin:8px 0}.catalog-nav span{font-size:13px;color:#5b6678}.catalog-nav button{min-height:44px;padding:6px 12px;font-size:13px}.catalog-nav button:last-child{margin-left:auto}.scanner-stage .exposure-selector tbody tr{height:76px}
@media(max-width:600px){.catalog-nav{gap:7px;margin:6px 0}.catalog-nav button{font-size:11px;padding:5px 10px}.scanner-stage .exposure-selector tbody tr{height:76px}.scanner-stage .exposure-selector th{font-size:10px}.scanner-stage .exposure-selector small{font-size:9px}.scanner-stage .exposure-selector td:nth-child(3){font-size:9px}.scanner-stage .utxo-details td{font-size:10px}.scanner-stage .tx-map-note{font-size:8px}.scanner-stage .result-table td{font-size:11px}}
@media(max-width:600px) and (max-height:700px){.scanner-stage .exposure-selector tbody tr{height:54px}.scanner-stage .exposure-selector td,.scanner-stage .exposure-selector th{padding:4px 3px}.scanner-stage .catalog-nav{margin:4px 0}.scanner-stage .scanner-limit{font-size:9px!important;line-height:1.25;margin:4px 0!important}.scanner-stage .exposure-selector{margin:5px 0}.scanner-stage .trial-heading h1{font-size:20px}}
@media(max-width:600px){.scanner-stage .utxo-details>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.scanner-stage .utxo-details .value{min-width:0;margin:0}.scanner-stage .utxo-details .value strong{overflow-wrap:anywhere;font-size:9px}.scanner-stage .utxo-details .value span{font-size:10px}}
.scanner-entry{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;margin:18px 0}.scanner-entry section{padding:18px;background:#fff;border:1px solid #4733e025}.scanner-entry h2{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:20px}.scanner-entry label{font-size:13px}.scanner-entry input{display:block;width:100%;margin:8px 0;padding:10px;font-size:16px}.scanner-entry small{display:block;font-size:12px;color:#596172;line-height:1.4;margin-top:9px}.example-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;white-space:normal}.example-entry .qk-icon{width:45px;height:45px}.example-entry span{font-size:14px;max-width:240px;font-weight:400}.scanner-proposals h2{font-size:18px;margin:10px 0}.scanner-proposals>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scanner-proposals button{display:flex;align-items:center;text-align:left;gap:12px;padding:14px;white-space:normal}.scanner-proposals small{display:block;font-size:11px;color:#676e7a;margin-top:4px}.proposal-status{padding:10px;background:#fff2df;color:#855011;font-size:12px}.scanner-empty{padding:20px;background:#4733e008;display:flex;gap:15px;align-items:center}.scanner-empty .qk-icon{flex-shrink:0}.address-caption{overflow-wrap:anywhere}
@media(max-width:600px){.scanner-entry{grid-template-columns:1fr;gap:8px;margin:8px 0}.scanner-entry section{padding:9px}.scanner-entry h2{font-size:14px;margin:0 0 5px}.scanner-entry label{font-size:10px}.scanner-entry input{margin:4px 0;padding:7px;min-height:38px}.scanner-entry section>button{font-size:12px;padding:7px 12px;min-height:40px}.scanner-entry small{font-size:9px;line-height:1.25;margin-top:5px}.example-entry{flex-direction:row;gap:8px;padding:8px;min-height:48px;justify-content:flex-start}.example-entry .qk-icon{width:22px;height:22px}.example-entry strong{font-size:12px}.example-entry span{font-size:9px;max-width:130px;text-align:left}.scanner-proposals h2{font-size:13px;margin:7px 0}.scanner-proposals>div{gap:7px}.scanner-proposals button{padding:7px;gap:5px;min-height:54px;font-size:11px}.scanner-proposals button .qk-icon{width:18px;min-width:18px}.scanner-proposals small{font-size:9px;margin-top:3px}.scanner-stage .address-caption{font-size:11px}}
/* Entry cards share QuantaKrypto's accent, with accessible pointer/keyboard states. */
button.example-entry{position:relative;overflow:hidden;background:#4733e0;color:#fff;border-color:#4733e0;box-shadow:0 5px 18px #4733e01c;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}.example-entry .example-art{width:min(100%,240px);height:105px;flex-shrink:0}.example-entry .example-copy{max-width:none;text-align:center}.example-copy strong{display:block;font-size:22px}.example-copy small{display:block;color:#ffffffc9;font-size:14px;line-height:1.35;margin-top:7px}.example-entry .example-go{position:absolute;right:16px;top:12px;font-size:23px;color:#fff;transition:transform .2s ease}.scanner-proposals button{background:#4733e006;border-color:#4733e033;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}.scanner-proposals button .qk-icon{width:30px;height:30px;background:#4733e012;border-radius:8px;padding:4px}.example-entry:focus-visible{outline-offset:4px}.example-entry:active,.scanner-proposals button:active{transform:scale(.98)}
@media(hover:hover){.example-entry:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 12px 25px #4733e038;background:#4733e0ed}.example-entry:hover .example-go{transform:translate(2px,-2px)}.example-entry:hover .example-path{animation:exampleFlow 1.6s linear infinite}.example-entry:hover .example-node{animation:examplePulse 1.2s ease-in-out infinite alternate}.scanner-proposals button:hover{background:#4733e012;transform:translateY(-2px);box-shadow:0 6px 14px #4733e012}}
@keyframes exampleFlow{to{stroke-dashoffset:-20}}@keyframes examplePulse{to{opacity:.55}}
@media(max-width:600px){button.example-entry{min-height:74px;padding:8px 12px;gap:9px}.example-entry .example-art{width:95px;height:52px}.example-entry .example-copy{text-align:left}.example-copy strong{font-size:14px}.example-copy small{font-size:10px;margin-top:4px;color:#ffffffd9}.example-entry .example-go{font-size:16px;right:9px;top:6px}.scanner-proposals button .qk-icon{width:23px;height:23px;min-width:23px;padding:3px}.scanner-entry{margin:6px 0;gap:6px}.scanner-proposals h2{margin:5px 0}.scanner-proposals button{min-height:51px}}
@media(prefers-reduced-motion:reduce){.example-entry,.example-entry .example-go,.scanner-proposals button{transition:none}.example-entry:hover .example-path,.example-entry:hover .example-node{animation:none}.example-entry:hover,.scanner-proposals button:hover{transform:none}}
/* One header and one progress timeline, without duplicate step text. */
.workshop-shell{grid-template-rows:auto auto minmax(0,1fr) auto}.workshop-shell>header{display:grid;grid-template-columns:1fr minmax(210px,280px) 1fr;gap:20px}.workshop-shell>header .qk-select{min-width:0;width:100%;max-width:none}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px}.address-input-row{display:flex;align-items:stretch;gap:8px;margin:8px 0}.address-input-row input{flex:1;min-width:0;max-width:none;margin:0}.address-input-row button{flex-shrink:0;white-space:nowrap;font-size:14px}.scanner-proposals>p{font-size:14px;color:#596172;max-width:760px;margin:0 0 10px}.scanner-stage .trial-heading h1{max-width:750px}
@media(max-width:600px){.workshop-shell>header{grid-template-columns:65px minmax(0,1fr) 69px;gap:7px}.workshop-shell>header img{width:65px;height:29px}.header-actions{gap:2px;flex-direction:column;align-items:stretch}.header-actions .source-download{font-size:9px;text-align:center;max-width:none;line-height:1.2}.header-actions #help{min-height:28px;padding:3px 6px;font-size:11px}.workshop-shell>header .qk-select>button{font-size:11px;min-height:44px;padding:7px;white-space:normal;text-align:left}.address-input-row{gap:5px;margin:5px 0}.address-input-row input{font-size:16px;min-width:0;padding:7px}.address-input-row button{font-size:10px;padding:5px 8px;white-space:normal;max-width:77px;min-height:44px}.scanner-entry .address-input-row input{margin:0}.scanner-proposals>p{font-size:11px;line-height:1.35;margin:0 0 8px}.scanner-stage .trial-heading h1{font-size:23px}.scanner-entry section{padding:12px}.scanner-entry small{font-size:10px}.scanner-entry{margin:10px 0}.scanner-proposals h2{font-size:15px}}
.step-controls #restart{font-size:12px;margin-left:auto;min-width:0}.step-controls #next{margin-left:0}.step-controls #download{max-width:100px}
@media(max-width:600px){.step-controls>div{display:grid;grid-template-columns:1fr 1.5fr;gap:5px}.step-controls #back{grid-column:1;grid-row:1}.step-controls #next{grid-column:2;grid-row:1}.step-controls #restart{grid-column:1;grid-row:2;margin:0;min-height:30px;padding:4px;font-size:10px}.step-controls #download{grid-column:2;grid-row:2;max-width:none;min-height:30px;padding:4px;font-size:10px}}

/* Analysis belongs to the inspected output, not the global navigation. */
.scanner-stage .utxo-details{background:#ffffff80;border:1px solid #4733e025;padding:12px}.utxo-details .analyze-exposure{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;grid-column:1/-1;margin-top:4px}.utxo-details .analyze-exposure span{font-size:20px}@media(max-width:600px){.scanner-stage .utxo-details{padding:8px;gap:8px}.utxo-details .analyze-exposure{font-size:13px;min-height:44px;padding:8px 12px}}

/* Solid branches show fund flow; the separate reuse strip explains shared-key risk. */
.exposure-tree{margin:8px 0;background:#4733e006;padding:10px 14px;border:1px solid #4733e025}.tree-caption{font-size:10px;color:#596172;margin:0 0 8px}.tree-flow{display:grid;grid-template-columns:1fr 2.3fr;gap:45px;align-items:center}.tree-origin{text-align:center}.tree-node{background:#fff;border:1px solid #4733e040;padding:10px 12px;min-width:0}.tree-node small,.tree-node strong,.tree-node span,.tree-node b,.tree-node em{display:block}.tree-node small{font-size:10px;letter-spacing:.04em;color:#4733e0}.tree-node strong{font-size:16px;margin:3px 0}.tree-node span{font-size:12px;color:#596172}.tree-node b{font-size:13px;margin-top:5px;color:#4733e0}.tree-node em{font-size:10px;color:#687182;font-style:normal;margin-top:3px}.tree-down{display:block;color:#4733e0;font-size:20px;line-height:24px}.tree-branches{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative}.tree-branches:before{content:'';position:absolute;left:-33px;right:25%;top:-8px;height:8px;border-top:2px solid #4733e080;border-left:2px solid #4733e080}.tree-branches:after{content:'→';position:absolute;left:-31px;top:45%;color:#4733e0;font-size:25px}.tree-selected{border:2px solid #4733e0}.tree-risk{border-color:#c12638;background:#c1263808}.tree-risk b,.tree-risk>div>strong{color:#b02032}.tree-unknown{border-color:#b57927;background:#fff2df}.tree-unknown b{color:#805118}.tree-reuse{display:flex;align-items:center;gap:12px;margin-top:10px;padding:9px 12px;border:1px dashed #c12638}.tree-reuse.tree-unknown{border-color:#b57927}.tree-reuse-arrow{color:#b02032;font-size:24px;white-space:nowrap}.tree-reuse>div{flex:1}.tree-reuse strong,.tree-reuse span{display:block}.tree-reuse strong{font-size:13px}.tree-reuse>div>span{font-size:11px;margin-top:3px}.tree-reuse button{font-size:11px;padding:6px 9px;white-space:nowrap}.scanner-stage .tree-explanation{font-size:12px;margin:8px 0;line-height:1.4;color:#596172}.tree-explanation>strong{color:#0e1626}.scanner-stage .utxo-details .utxo-table td,.scanner-stage .utxo-details .utxo-table th{padding:5px}.scanner-stage .utxo-details{padding:8px}.scanner-stage .utxo-details .value{padding:5px}.tree-transaction{background:#4733e00c}
@media(max-width:600px){.exposure-tree{padding:7px;margin:5px 0}.tree-caption{font-size:8px;margin-bottom:6px}.tree-flow{grid-template-columns:85px 1fr;gap:17px}.tree-branches{grid-template-columns:1fr;gap:5px}.tree-branches:before{left:-10px;top:25%;bottom:25%;right:auto;width:10px;height:auto;border-top:2px solid #4733e080;border-bottom:2px solid #4733e080}.tree-branches:after{left:-17px;top:42%;font-size:16px}.tree-node{padding:6px}.tree-node small{font-size:8px;letter-spacing:0}.tree-node strong{font-size:11px;margin:2px 0}.tree-node span{font-size:9px;line-height:1.2}.tree-node b{font-size:10px;line-height:1.2;margin-top:3px}.tree-node em{font-size:8px}.tree-reuse{padding:6px;gap:6px;margin-top:6px}.tree-reuse-arrow{font-size:16px}.tree-reuse strong{font-size:10px}.tree-reuse>div>span{font-size:9px;line-height:1.2}.tree-reuse button{font-size:9px;white-space:normal;max-width:56px;padding:4px;min-height:44px}.scanner-stage .tree-explanation{font-size:10px;line-height:1.3;margin:5px 0}.scanner-stage .trial-heading h1{font-size:21px}.scanner-stage .utxo-details{padding:6px;gap:5px}.scanner-stage .utxo-details .utxo-table td,.scanner-stage .utxo-details .utxo-table th{padding:3px}.utxo-details .analyze-exposure{margin-top:0}}

.tree-flow{grid-template-columns:1fr 3.4fr;gap:35px}.tree-branches{grid-template-columns:1.35fr 1fr 1fr}.tree-branches:before{right:16%}@media(max-width:600px){.tree-flow{grid-template-columns:75px 1fr;gap:16px}.tree-branches{grid-template-columns:1fr 1fr}.tree-selected{grid-column:1/-1}.tree-branches:before{right:auto}.tree-other span{font-size:8px}.tree-reuse>div>span{font-size:8px}}

.tree-flow{display:block}.tree-origin{display:flex;align-items:center;justify-content:center;gap:12px;margin:auto;max-width:520px}.tree-origin .tree-node{flex:1}.tree-down{transform:rotate(-90deg);flex:0 0 24px}.tree-branches{padding-top:18px;margin-top:0}.tree-branches:before{left:15%;right:15%;top:9px;height:0;border:0;border-top:2px solid #4733e080}.tree-branches:after{content:'';left:50%;top:0;height:9px;border-left:2px solid #4733e080}.tree-branches>.tree-node{position:relative}.tree-branches>.tree-node:before{content:'';position:absolute;top:-10px;left:50%;height:9px;border-left:2px solid #4733e080}.tree-analysis-card{display:flex;align-items:center;gap:12px;background:#ffffff80;border:1px solid #4733e025;padding:10px}.tree-analysis-card>div{flex:1}.tree-analysis-card strong,.tree-analysis-card small{display:block}.tree-analysis-card strong{font-size:14px}.tree-analysis-card small{font-size:11px;color:#596172;margin-top:3px}.tree-analysis-card button{font-size:13px;white-space:nowrap}.tree-analysis-card .analyze-exposure{display:flex;gap:20px;align-items:center}
@media(max-width:600px){.tree-origin{gap:6px}.tree-origin .tree-node span{display:none}.tree-origin .tree-node{padding:5px}.tree-down{flex-basis:16px;line-height:18px}.tree-branches{padding-top:12px;gap:5px}.tree-branches:before{left:25%;right:25%;top:7px}.tree-branches:after{top:0;height:7px}.tree-branches>.tree-node:before{top:-6px;height:5px}.tree-selected span{display:none}.tree-node strong{font-size:10px}.tree-other span{display:none}.tree-reuse{margin-top:5px;padding:5px}.tree-reuse>div>span{font-size:8px}.tree-analysis-card{flex-wrap:wrap;gap:5px;padding:6px}.tree-analysis-card>div{flex-basis:100%}.tree-analysis-card strong{font-size:11px}.tree-analysis-card small{font-size:9px;margin-top:1px}.tree-analysis-card button{font-size:10px;padding:6px;flex:1;min-height:38px}.tree-analysis-card .analyze-exposure{gap:6px;justify-content:center}.scanner-stage .tree-explanation{font-size:9px;line-height:1.2}.scanner-stage .trial-heading h1{font-size:19px}}

.tree-origin .tree-node{padding:5px 9px}.tree-origin .tree-node span{display:none}.tree-origin .tree-node strong{font-size:14px;margin:1px 0}.tree-node strong{font-size:14px}.tree-node{padding:7px 9px}.tree-reuse{margin-top:6px;padding:5px 9px}.tree-reuse strong{font-size:12px}.tree-analysis-card{padding:6px 8px}.exposure-tree{padding:7px 10px;margin:6px 0}.tree-caption{margin-bottom:5px}.tree-branches{padding-top:14px}.tree-branches:before{top:7px}.tree-branches:after{height:7px}.tree-branches>.tree-node:before{top:-8px;height:7px}@media(max-width:600px){.tree-origin .tree-node strong,.tree-node strong{font-size:10px}.tree-node{padding:5px}.tree-reuse strong{font-size:10px}.exposure-tree{padding:5px}.tree-analysis-card{padding:5px}}

@media(max-width:600px){.workshop-shell:has(.exposure-tree) .step-controls>div{grid-template-columns:1fr 1.2fr 1fr}.workshop-shell:has(.exposure-tree) .step-controls #back{grid-column:1;grid-row:1}.workshop-shell:has(.exposure-tree) .step-controls #restart{grid-column:2;grid-row:1;min-height:44px}.workshop-shell:has(.exposure-tree) .step-controls #download{grid-column:3;grid-row:1;min-height:44px}.tree-analysis-card small{display:none}.tree-analysis-card button{min-height:44px}.tree-reuse>div>span{display:none}.tree-reuse{min-height:48px}.tree-node em{font-size:7px}.tree-caption{font-size:7px}}

@media(max-width:600px){.exposure-tree .tree-reuse{display:none}}
/* One stable transaction tree: neutral discovery, then the same nodes assessed. */
.chain-view{background:#4733e004;border:1px solid #4733e020;padding:10px 12px;margin:8px 0}.chain-note{font-size:10px;color:#596172;margin:0 0 4px}.chain-node{display:block;position:relative;width:100%;text-align:left;padding:7px 9px;min-height:44px;background:#fff;color:#0e1626;border:1px solid #4733e040;transition:background-color .4s,border-color .4s,box-shadow .2s}.chain-node:hover,.chain-node:focus-visible{box-shadow:0 0 0 2px #4733e045}.chain-node small,.chain-node strong,.chain-node span,.chain-node em{display:block;overflow-wrap:anywhere}.chain-node small{font-size:9px;color:#4733e0;letter-spacing:.05em}.chain-node strong{font-size:13px;margin:2px 0}.chain-node span{font-size:10px;color:#596172}.chain-node em{font-size:10px;font-style:normal;margin-top:3px;min-height:14px}.chain-status.unrevealed{visibility:hidden}.chain-block{width:230px;margin:auto;text-align:center}.chain-block .chain-node{padding:5px 9px}.chain-block .chain-status{display:none}.chain-includes{display:block;font-size:10px;color:#596172;line-height:18px}.chain-grid{display:grid;grid-template-columns:1fr .85fr 1.3fr;gap:28px;align-items:center}.chain-grid h3{font-size:12px;margin:0 0 5px;color:#596172}.chain-inputs,.chain-outputs{position:relative;display:grid;gap:5px}.chain-tx{position:relative}.chain-inputs:after,.chain-tx:after{content:'→';position:absolute;right:-24px;top:45%;font-size:23px;color:#4733e0}.chain-outputs:before{content:'';position:absolute;left:-12px;top:25px;bottom:20px;border-left:2px solid #4733e060}.chain-outputs .chain-node:before{content:'';position:absolute;left:-12px;top:50%;width:11px;border-top:2px solid #4733e060}.chain-flow-label{display:block;text-align:center;font-size:10px;color:#4733e0;margin-top:4px}.chain-legend{display:flex;gap:18px;font-size:10px;margin-top:8px;min-height:15px;flex-wrap:wrap}.chain-node.tone-exposed{border-color:#c12638;background:#c126380d}.chain-node.tone-exposed em{color:#b02032;font-weight:700}.chain-node.tone-unknown{border-color:#bb8328;background:#fff2df}.chain-node.tone-unknown em{color:#805118}.chain-node.tone-not-observed{border-color:#4733e0;background:#4733e00a}.chain-node.tone-not-observed em{color:#4733e0}.legend-red{color:#b02032}.legend-yellow{color:#805118}.chain-view.analyzed .chain-node{animation:revealAssessment .45s ease-out}@keyframes revealAssessment{from{background:#fff;border-color:#4733e040}}.chain-pages{display:flex;align-items:center;justify-content:space-between;gap:4px}.chain-pages button{min-height:30px;padding:2px 8px;font-size:12px}.chain-pages span{font-size:9px;color:#596172}.chain-missing{font-size:12px;color:#805118}.chain-node-details section{padding:10px 0;border-bottom:1px solid #4733e020}.chain-node-details h3{color:#4733e0}.chain-node-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.workshop-shell:has(.chain-view) .step-controls>div{gap:8px}
@media(max-width:600px){.chain-view{padding:6px;margin:5px 0}.chain-note{font-size:8px;line-height:1.15}.chain-block{width:160px}.chain-block .chain-node{padding:4px 6px}.chain-block .chain-node strong{font-size:10px}.chain-block .chain-node span{font-size:8px}.chain-includes{line-height:13px;font-size:8px}.chain-grid{grid-template-columns:1fr .8fr 1.25fr;gap:12px}.chain-node{padding:5px 4px}.chain-node small{font-size:7px;letter-spacing:0}.chain-node strong{font-size:9px}.chain-node span{font-size:8px;line-height:1.15}.chain-node em{font-size:8px;line-height:1.15;min-height:18px}.chain-grid h3{font-size:9px}.chain-inputs:after,.chain-tx:after{right:-11px;font-size:12px}.chain-outputs:before{left:-6px}.chain-outputs .chain-node:before{left:-6px;width:5px}.chain-flow-label{font-size:8px}.chain-legend{font-size:8px;gap:4px;line-height:1.2}.chain-pages button{min-height:32px;padding:2px 5px}.chain-pages span{font-size:7px}.workshop-shell:has(.chain-view) .step-controls>div{grid-template-columns:1fr 1.2fr 1fr}.workshop-shell:has(.chain-view) .step-controls #back{grid-column:1;grid-row:1}.workshop-shell:has(.chain-view) .step-controls #restart{grid-column:2;grid-row:1;min-height:44px}.workshop-shell:has(.chain-view) .step-controls #download{grid-column:3;grid-row:1;min-height:44px}.scanner-stage:has(.chain-view) .trial-heading h1{font-size:20px}.chain-node-details pre{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chain-node{transition:none}.chain-view.analyzed .chain-node{animation:none}}

/* Compact node inspector: one field per row; full identifiers on demand. */
dialog:has(.chain-node-details){width:min(640px,calc(100vw - 24px));padding:20px}dialog:has(.chain-node-details) .dialog-head{top:-20px;padding:0 0 12px}dialog:has(.chain-node-details) .dialog-head h2{font-size:22px}dialog:has(.chain-node-details) #dialog-content>p:first-child{font-size:14px;line-height:1.45;margin:0 0 14px}.chain-node-details{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.chain-node-details th,.chain-node-details td{padding:10px 12px;border-bottom:1px solid #4733e020;text-align:left;vertical-align:top;overflow-wrap:anywhere}.chain-node-details th{width:32%;color:#4733e0;font-weight:600;background:#4733e006}.chain-node-details td{color:#0e1626;background:#ffffff70}.chain-full-value summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;list-style:none}.chain-full-value summary::-webkit-details-marker{display:none}.chain-full-value summary code{font-size:12px}.chain-full-value summary span{font-size:11px;color:#4733e0;white-space:nowrap}.chain-full-value[open] summary span{font-size:0}.chain-full-value[open] summary span:after{content:'Ocultar';font-size:11px}.chain-node-details .chain-full-value pre{padding:8px;margin:8px 0 0;font-size:12px;border:1px solid #4733e020}.chain-full-value summary:focus-visible{outline:2px solid #4733e0;outline-offset:3px}dialog:has(.chain-node-details) .practice-note{margin:12px 0 0;padding:0;border:0;font-size:11px!important}@media(max-width:600px){dialog:has(.chain-node-details){padding:14px}dialog:has(.chain-node-details) .dialog-head{top:-14px;flex-wrap:nowrap}dialog:has(.chain-node-details) .dialog-actions{width:auto}dialog:has(.chain-node-details) .dialog-head h2{font-size:20px}.chain-node-details th,.chain-node-details td{padding:9px 8px;font-size:12px}.chain-node-details th{width:34%}.chain-full-value summary{align-items:flex-start;flex-direction:column;gap:3px}.chain-full-value summary code{font-size:11px}}

.scan-selected-context{display:flex;gap:10px;margin:0 0 8px;flex-wrap:wrap}.scan-selected-context>div{display:flex;align-items:center;gap:8px;border:1px solid #4733e025;padding:3px 5px 3px 10px;background:#4733e006;min-width:0}.scan-selected-context span{font-size:10px;color:#596172}.scan-selected-context code{font-size:11px}.scan-selected-context button{display:grid;place-items:center;padding:8px;min-height:36px;width:36px;border:0}.scan-selected-context svg{width:17px;height:17px}.copy-toast{position:fixed;bottom:82px;left:50%;transform:translateX(-50%);z-index:100;background:#0e1626;color:white;padding:10px 18px;border-radius:8px;font-size:14px;box-shadow:0 4px 20px #0e162630;pointer-events:none}@media(max-width:600px){.scan-selected-context{gap:4px}.scan-selected-context>div{flex:1 1 100%;justify-content:space-between;padding:0 4px 0 8px}.scan-selected-context button{min-height:44px;width:44px}.scan-selected-context code{font-size:10px}.scan-selected-context span{font-size:9px}.copy-toast{bottom:90px;max-width:90vw;white-space:nowrap}}

.compact-evidence .evidence-finding{border-left:3px solid #4733e0;background:#4733e00a;padding:10px 12px;margin:2px 0 8px}.compact-evidence .evidence-finding.exposed{border-color:#c12638;background:#c126380a}.compact-evidence .evidence-finding.unknown{border-color:#bb8328;background:#fff2df}.compact-evidence .evidence-finding strong{font-size:16px}.compact-evidence .evidence-finding p{font-size:13px;margin:3px 0 0}.compact-evidence .evidence-context{font-size:12px!important;line-height:1.4;margin:0 0 12px}.compact-evidence .chain-node-details{font-size:12px}.compact-evidence .chain-node-details th,.compact-evidence .chain-node-details td{padding:8px 10px}.compact-evidence .evidence-public td{color:#b02032;background:#c1263808}.compact-evidence .evidence-public code{color:#b02032}.compact-evidence .evidence-meaning{font-size:12px;margin:8px 0 0}.evidence-source{display:inline-block;font-size:12px;color:#4733e0;margin-top:8px}

.algorithm-intro{font-size:14px;line-height:1.45;max-width:850px;margin:0 0 14px}.algorithm-choices{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.algorithm-choice.secondary{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px;background:#4733e006;border-color:#4733e035;color:#0e1626;transition:transform .2s,background .2s,border-color .2s}.algorithm-choice:hover{background:#4733e010;border-color:#4733e0;transform:translateY(-3px)}.algorithm-choice>svg{width:32px;height:32px;color:#4733e0;margin-bottom:12px}.algorithm-choice>strong{font-size:24px;color:#4733e0}.algorithm-choice>small{font-size:11px;color:#596172;margin:5px 0 14px}.algorithm-risk{font-size:11px;background:#fff2df;color:#805118;padding:5px 8px}.algorithm-choice>p{font-size:13px;line-height:1.5;margin:12px 0}.algorithm-choice>b{font-size:13px;color:#4733e0;margin-top:auto}.algorithm-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.algorithm-summary>span{font-size:12px;color:#805118}.algorithm-summary button{font-size:12px;min-height:36px;padding:6px 10px}.family-cases small{display:block;font-size:11px;color:#596172;margin-top:3px}.family-cases td{font-size:12px}.family-cases th{font-size:13px}.family-cases .exposed td strong{color:#b02032}@media(max-width:600px){.algorithm-choices{grid-template-columns:1fr;gap:7px}.algorithm-choice.secondary{padding:10px 12px;display:grid;grid-template-columns:28px 1fr;gap:3px 10px}.algorithm-choice>svg{grid-column:1;grid-row:1/3;width:25px;height:25px;margin:0}.algorithm-choice>strong{grid-column:2;font-size:18px}.algorithm-choice>small{grid-column:2;margin:0;font-size:10px}.algorithm-choice .algorithm-risk{grid-column:2;font-size:10px;padding:2px 5px}.algorithm-choice>p{grid-column:2;margin:2px 0;font-size:11px;line-height:1.3}.algorithm-choice>b{display:none}.algorithm-intro{font-size:12px;margin-bottom:8px}.family-cases th,.family-cases td{padding:7px 5px;font-size:10px}.family-cases small{font-size:9px}.family-cases button{font-size:10px;padding:5px;min-height:44px}.algorithm-summary>span{font-size:10px}}@media(prefers-reduced-motion:reduce){.algorithm-choice.secondary{transition:none}.algorithm-choice:hover{transform:none}}

.decision-columns{display:grid;grid-template-columns:.85fr 1fr 1.2fr;gap:18px;align-items:start}.decision-column{min-width:0;position:relative;padding:12px;border:1px solid #4733e020;background:#ffffff45}.decision-column+.decision-column:before{content:'→';position:absolute;left:-16px;top:25px;color:#4733e0}.decision-column.active{border-color:#4733e080;background:#4733e005}.decision-column h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 10px}.decision-column h2>b{display:grid;place-items:center;font-size:11px;width:24px;height:24px;background:#4733e0;color:white}.decision-column.pending{opacity:.5}.decision-option{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;min-height:44px;margin-bottom:6px;text-align:left;background:#fff;color:#0e1626;border:1px solid #4733e025;transition:background .18s,border-color .18s}.decision-option:hover{background:#4733e00b;border-color:#4733e0}.decision-option.selected{border-color:#4733e0;background:#4733e010;box-shadow:inset 3px 0 #4733e0}.decision-option>svg{width:22px;height:22px;flex-shrink:0;color:#4733e0}.decision-option>span{flex:1;min-width:0}.decision-option strong{font-size:13px;display:block}.decision-option small{font-size:10px;color:#596172;display:block;margin-top:3px}.decision-option em{font-size:11px;font-style:normal;color:#4733e0}.decision-caption,.decision-placeholder{font-size:11px;line-height:1.4;color:#596172;margin:8px 0 0}.history-choice{padding:14px;margin-bottom:10px}.history-choice em{display:block;margin-top:9px}.history-choice.exposed em{color:#b02032}.history-choice.exposed{border-left:3px solid #c12638}.history-choice.unknown{border-left:3px solid #bb8328}.decision-go{display:block;font-size:11px;color:#4733e0;margin-top:12px}.decision-trail{display:flex;align-items:center;gap:7px;margin:0 0 8px}.decision-trail button{min-height:32px;padding:5px 9px;font-size:10px}.decision-trail>span{color:#4733e0}.decision-column.active{animation:decisionIn .2s ease-out}@keyframes decisionIn{from{opacity:.5;transform:translateX(6px)}to{opacity:1;transform:none}}@media(max-width:600px){.decision-columns{grid-template-columns:1fr;gap:7px}.decision-column{padding:9px}.decision-column+.decision-column:before{display:none}.decision-column h2{font-size:13px;margin-bottom:6px}.decision-column.pending{display:none}.decision-column.chosen{display:flex;align-items:center;gap:8px;padding:5px 8px}.decision-column.chosen h2{margin:0;flex-shrink:0}.decision-column.chosen .decision-option:not(.selected),.decision-column.chosen .decision-caption{display:none}.decision-column.chosen .decision-option.selected{margin:0;padding:5px 8px}.decision-column.chosen .decision-option small{display:none}.decision-column.active:has([data-format]){display:grid;grid-template-columns:1fr 1fr;gap:5px}.decision-column.active:has([data-format]) h2{grid-column:1/-1}.decision-column.active:has([data-format]) .decision-option{margin:0;padding:7px}.decision-option small{font-size:10px}.decision-trail{gap:3px;flex-wrap:wrap}.decision-trail button{font-size:9px;padding:4px 7px;min-height:36px}.history-choice{padding:10px}.history-choice .decision-go{margin-top:6px}}@media(prefers-reduced-motion:reduce){.decision-column.active{animation:none}.decision-option{transition:none}}

@media(min-width:601px){.decision-column:nth-child(2):has([data-format]){display:grid;grid-template-columns:1fr 1fr;gap:6px}.decision-column:nth-child(2)>h2{grid-column:1/-1}.decision-column:nth-child(2) .decision-option{margin:0;min-height:64px;padding:8px}.decision-column:nth-child(2) .decision-option strong{font-size:12px}.decision-column:nth-child(2) .decision-option small{font-size:9px}.decision-column:nth-child(2) .decision-option>em{display:none}}

/* Keep the choice canvas anchored; only newly populated columns fade in. */
.scanner-stage:has(.decision-columns){align-self:start}.decision-column.active{animation:none}.decision-column{transition:border-color .18s,background-color .18s}.decision-option{transition:background-color .18s,border-color .18s,box-shadow .18s}@media(prefers-reduced-motion:reduce){.decision-column,.decision-option{transition:none}}

.demo-cards,.pq-cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.demo-cards,.pq-cards{grid-template-columns:1fr}}

/* One fixed navigation bar, consistent across all demos and viewport sizes. */
.workshop-shell .step-controls .navigation-actions{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px;flex-wrap:nowrap}.workshop-shell .step-controls #restart{grid-column:1;grid-row:1;order:0;min-height:48px;margin:0;justify-self:start;font-size:12px;text-decoration:none}.workshop-shell .step-controls #back{grid-column:2;grid-row:1;order:0;min-height:48px;margin:0}.workshop-shell .step-controls #next{grid-column:3;grid-row:1;order:0;justify-self:end;margin:0;min-width:180px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 18px}.step-controls #next .next-direction{font-size:15px;font-weight:700}.step-controls #next small{font-size:11px;opacity:.85;line-height:1.2}.step-controls button:disabled{cursor:not-allowed}.tree-analysis-card{padding:8px 12px}.workshop-shell .step-controls{background:#eaedf2;border-top:1px solid #4733e040;padding-top:10px}@media(max-width:600px){.workshop-shell .step-controls .navigation-actions{grid-template-columns:1fr 1fr 1.35fr;gap:6px}.workshop-shell .step-controls #restart,.workshop-shell .step-controls #back{font-size:11px;line-height:1.2;padding:7px 5px;width:100%;min-height:48px}.workshop-shell .step-controls #next{min-width:0;width:100%;padding:7px 5px;min-height:54px}.step-controls #next .next-direction{font-size:12px}.step-controls #next small{font-size:10px}.workshop-shell .step-controls p{font-size:10px;margin-bottom:5px}}

@media(min-width:601px){.chain-view{padding:6px 10px}.chain-node{padding:4px 8px;line-height:1.15}.chain-node small{line-height:11px}.chain-node strong{line-height:15px;margin:1px 0}.chain-node span{line-height:12px}.chain-node em{line-height:12px;min-height:12px;margin-top:2px}.chain-block .chain-node{padding:3px 8px}.chain-includes{line-height:14px}.chain-grid h3{line-height:14px;margin:0 0 3px}.chain-legend{line-height:12px;min-height:12px;margin-top:5px}.chain-note{line-height:12px;margin-bottom:3px}.scanner-stage:has(.chain-view) .tree-analysis-card{display:none}}

.decrypt-explainer{font-size:13px}.decrypt-comparison{padding:10px 12px;background:#4733e00a;border-left:3px solid #4733e0;margin:4px 0 12px}.decrypt-comparison strong,.decrypt-comparison span{display:block}.decrypt-comparison strong{font-size:15px}.decrypt-comparison span{font-size:12px;margin-top:4px;color:#596172}.decrypt-trace{padding:0;margin:0;list-style:none;display:grid;gap:7px}.decrypt-trace li{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:8px 10px;background:#fff8;border:1px solid #4733e020}.trace-icon{display:grid;place-items:center;color:#4733e0}.trace-icon svg{width:25px;height:25px}.decrypt-trace strong{font-size:13px}.decrypt-trace p{font-size:12px!important;margin:3px 0;line-height:1.4}.decrypt-trace small{font-size:10px!important;color:#4733e0!important}.decrypt-trace .failed{background:#c126380a;border-color:#c1263850}.decrypt-trace .failed .trace-icon,.decrypt-trace .failed small{color:#b02032!important}.decrypt-trace .not-run{opacity:.5}.decrypt-outcome{margin-top:10px;padding:10px 12px;border-left:3px solid #4733e0;background:#4733e00a}.decrypt-outcome.failure{border-color:#c12638;background:#c126380a}.decrypt-outcome.failure strong{color:#b02032}.decrypt-outcome p{font-size:13px!important;margin:4px 0 0;overflow-wrap:anywhere;max-height:90px;overflow:auto}.decrypt-error{font-size:12px;margin-top:9px}.decrypt-error summary{cursor:pointer;color:#b02032;min-height:32px}.decrypt-error p{font:12px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}.decrypt-error small{font-size:11px!important}.decrypt-animation-note{font-size:10px!important;color:#596172;margin:8px 0 0}.decrypt-pending{text-align:center;padding:30px}.decrypt-pending svg{width:40px;height:40px;color:#4733e0;display:block;margin:0 auto 15px}.decrypt-pending p{font-size:13px;margin-top:8px}@media(prefers-reduced-motion:no-preference){.decrypt-pending svg{animation:decryptPulse .8s ease-in-out infinite alternate}.decrypt-trace li{animation:traceAppear .35s ease both}.decrypt-trace li:nth-child(2){animation-delay:.35s}.decrypt-trace li:nth-child(3){animation-delay:.7s}.decrypt-trace li:nth-child(4){animation-delay:1.05s}.decrypt-outcome{animation:traceAppear .3s 1.4s ease both}@keyframes traceAppear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes decryptPulse{to{opacity:.4}}}@media(max-width:600px){.decrypt-trace li{padding:7px;grid-template-columns:25px 1fr;gap:7px}.decrypt-trace p{font-size:11px!important}.decrypt-comparison strong{font-size:14px}}
