.s3256-tool{margin-bottom: 2rem;}
.s3256-grid{display: flex;flex-direction: column;gap: 0;}
@media (min-width: 768px){.s3256-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 0;min-height: 320px;align-items: stretch;}}
.s3256-panel{background: var(--surface, #fff);border: 1px solid var(--border, #e2e8f0);}
.s3256-source{border-radius: 12px 12px 0 0;overflow: hidden;}
@media (min-width: 768px){.s3256-source{border-radius: 12px 0 0 12px;border-right: none;}.s3256-out{border-radius: 0 12px 12px 0;}}
.s3256-out{display: flex;flex-direction: column;border-radius: 0 0 12px 12px;border-top: 1px solid var(--border, #e2e8f0);}
@media (min-width: 768px){.s3256-out{border-top: 1px solid var(--border, #e2e8f0);border-left: none;}}
.s3256-modes{display: flex;padding: 0.75rem 1rem;gap: 0;background: var(--surface-muted, #f8fafc);border-bottom: 1px solid var(--border, #e2e8f0);}
.s3256-mode{flex: 1;padding: 0.5rem 1rem;font-size: 0.875rem;font-weight: 600;color: var(--text-muted, #64748b);background: transparent;border: none;border-radius: 6px;cursor: pointer;transition: color 0.2s, background 0.2s;}
.s3256-mode:hover{color: var(--text-main, #1e293b);}
.s3256-mode.is-active{color: var(--primary, #2563eb);background: var(--surface, #fff);box-shadow: 0 1px 2px rgba(0,0,0,.06);}
.s3256-pane{padding: 1rem;}
@media (min-width: 768px){.s3256-pane{padding: 1.25rem;}}
.s3256-label{display: block;font-size: 0.8125rem;font-weight: 600;color: var(--text-main, #1e293b);margin-bottom: 0.5rem;}
.s3256-textarea{display: block;width: 100%;min-height: 140px;padding: 0.75rem 1rem;font-size: 0.9375rem;line-height: 1.5;color: var(--text-main, #1e293b);background: var(--surface, #fff);border: 1px solid var(--border, #e2e8f0);border-radius: 8px;resize: vertical;transition: border-color 0.2s, box-shadow 0.2s;}
.s3256-textarea::placeholder{color: var(--text-muted, #94a3b8);}
.s3256-textarea:focus{outline: none;border-color: var(--primary, #2563eb);box-shadow: 0 0 0 3px rgba(37,99,235,.12);}
.s3256-pane-file{padding: 1rem;}
.s3256-drop{display: flex;align-items: center;justify-content: center;min-height: 160px;padding: 1.5rem;border: 2px dashed var(--border, #e2e8f0);border-radius: 8px;background: var(--surface-muted, #f8fafc);cursor: pointer;transition: border-color 0.2s, background 0.2s;}
.s3256-drop:hover,.s3256-drop:focus-within{border-color: var(--primary, #2563eb);background: rgba(37,99,235,.04);}
.s3256-drop.dragover{border-color: var(--primary, #2563eb);background: rgba(37,99,235,.08);}
.s3256-drop-text{font-size: 0.9375rem;color: var(--text-muted, #64748b);pointer-events: none;}
.s3256-file-input{position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap;border: 0;}
.s3256-out-head{display: flex;flex-wrap: wrap;align-items: center;justify-content: space-between;gap: 0.5rem;padding: 0.75rem 1rem;background: var(--surface-muted, #f8fafc);border-bottom: 1px solid var(--border, #e2e8f0);}
.s3256-out-label{font-size: 0.75rem;font-weight: 600;text-transform: uppercase;letter-spacing: .05em;color: var(--text-muted, #64748b);}
.s3256-copy{padding: 0.375rem 0.875rem;font-size: 0.8125rem;font-weight: 600;color: var(--primary, #2563eb);background: var(--surface, #fff);border: 1px solid var(--border, #e2e8f0);border-radius: 6px;cursor: pointer;transition: background 0.2s, border-color 0.2s;}
.s3256-copy:hover:not(:disabled){background: rgba(37,99,235,.06);border-color: var(--primary, #2563eb);}
.s3256-copy:disabled{opacity: 0.6;cursor: not-allowed;}
.s3256-hash{flex: 1;display: block;padding: 1rem;font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size: 0.8125rem;line-height: 1.6;word-break: break-all;color: var(--text-main, #1e293b);background: var(--surface, #fff);overflow: auto;min-height: 80px;}
@media (min-width: 768px){.s3256-hash{min-height: 0;padding: 1.25rem;}}
