.ssh-tool{max-width:800px}
.ssh-intro{margin-bottom:24px}
.ssh-tool .ssh-field{margin-bottom:18px}
.ssh-tool label{display:block;font-size:13px;line-height:1.6;margin-bottom:8px}
.ssh-tool select{width:100%;max-width:500px}
.ssh-tool #ssh-owner{display:block;width:100%;max-width:500px}
.ssh-tool .mode-note{margin-top:8px;margin-bottom:20px;max-width:720px}
.ssh-tool .ssh-field .mode-note{margin-bottom:0}
.ssh-tool .ssh-options-help{margin-top:16px;font-size:12px;color:var(--rf-muted)}
.ssh-tool .ssh-options-help summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;width:fit-content}
.ssh-tool .ssh-options-help .mode-note:last-child{margin-bottom:0}
.ssh-tool #ssh-status:empty{display:none}
.ssh-tool .ssh-optional{color:var(--rf-muted)}
.ssh-tool .ssh-optional em{font-style:italic}
.ssh-tool .ssh-public-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.ssh-tool .ssh-public-head label{margin-bottom:8px}
.ssh-tool pre{font:14px/1.6 var(--rf-mono);background:var(--rf-soft);border:1px solid var(--rf-line);border-radius:8px;padding:16px;overflow:auto;white-space:pre}
.ssh-tool .ssh-command-box{display:flex;align-items:flex-start;background:var(--rf-soft);border:1px solid var(--rf-line);border-radius:8px;overflow:hidden}
.ssh-tool .ssh-command{flex:1;min-width:0;margin:0;border:0;border-radius:0;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere}
.ssh-tool .ssh-icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;padding:0;color:var(--rf-muted)}
.ssh-tool .ssh-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ssh-tool .ssh-command-box .ssh-icon-button{margin:4px}
.ssh-tool .ssh-visibility .ssh-eye-off{display:none}
.ssh-tool .ssh-visibility:is([aria-pressed="true"],[aria-expanded="true"]) .ssh-eye{display:none}
.ssh-tool .ssh-visibility:is([aria-pressed="true"],[aria-expanded="true"]) .ssh-eye-off{display:block}
.ssh-tool .ssh-password-row{position:relative;max-width:600px}
.ssh-tool .ssh-password-row input{display:block;width:100%;min-width:0;min-height:46px;padding-right:54px}
.ssh-tool .ssh-password-row .ssh-icon-button{position:absolute;right:1px;top:50%;transform:translateY(-50%);border:0}
.ssh-tool button:disabled{opacity:.55;cursor:default}
.ssh-tool .ssh-transport{font-size:12px;color:var(--rf-muted)}
.ssh-tool #ssh-result{border-top:1px solid var(--rf-line);margin-top:28px;padding-top:8px}
.ssh-tool #ssh-public-key,.ssh-tool #ssh-private-key{height:auto;min-height:0;font-size:13px;line-height:1.7;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.ssh-tool .ssh-private-section{margin-top:22px}
.ssh-tool .ssh-private-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ssh-tool .ssh-private-head h2{margin:0}
.ssh-tool .ssh-fingerprint{display:flex;flex-wrap:wrap;gap:8px 16px;margin:18px 0;font-size:12px;line-height:1.7}
.ssh-tool .ssh-fingerprint span{color:var(--rf-muted)}
.ssh-tool .ssh-fingerprint code{font-family:var(--rf-mono);overflow-wrap:anywhere}
.ssh-tool .ssh-result-bottom{display:flex;gap:30px;align-items:center}
.ssh-tool .ssh-result-bottom h3{font-size:13px;margin:0 0 8px}
.ssh-tool #ssh-randomart{display:inline-block;margin:0;font-size:13px;line-height:1.3}
.ssh-tool .ssh-download-panel{flex:1;min-width:0;font-size:14px;line-height:1.8}
.ssh-tool .ssh-download-panel p{margin:0 0 12px}
.ssh-tool .ssh-download-panel .mode-note{margin-top:12px}
.ssh-tool .ssh-privacy{border-top:1px solid var(--rf-line);margin-top:28px;padding-top:18px}
@media(max-width:650px){
.ssh-page.site-page{padding-top:18px}
.ssh-page .bread{margin-bottom:12px}
.ssh-page h1{margin-bottom:10px}
.ssh-page .ssh-intro{margin-bottom:18px}
.ssh-tool .ssh-field{margin-bottom:12px}
.ssh-tool label{margin-bottom:6px}
.ssh-tool input,.ssh-tool select{min-height:44px;padding:9px 12px}
.ssh-tool .action-row{margin-top:14px}
.ssh-tool .ssh-result-bottom{flex-direction:column;align-items:flex-start;gap:20px}
.ssh-tool .ssh-command{font-size:12px;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ssh-tool .ssh-public-head{align-items:center}
.ssh-tool .ssh-privacy{margin-top:18px;padding-top:14px}
}
@media(max-width:650px) and (max-height:640px){
.ssh-page.site-page{padding-top:12px}
.ssh-page .bread{margin-bottom:6px}
.ssh-page h1{margin-bottom:6px}
.ssh-page .ssh-intro{margin-bottom:10px}
.ssh-tool .ssh-field{margin-bottom:8px}
.ssh-tool label{margin-bottom:4px}
.ssh-tool .action-row{margin-top:10px}
.ssh-tool .ssh-options-help{margin-top:8px}
}
