*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#fff;color:#000;line-height:1.6}.testnet-banner{text-align:center;padding:12px 0;background:#fff}.container{max-width:1000px;margin:0 auto;padding:20px 12px}.header{border-bottom:2px solid #000000;padding-bottom:10px;margin-bottom:15px;display:flex;justify-content:space-between;align-items:center;gap:15px}.logo h1{font-size:1.1rem;font-weight:600;margin-bottom:2px;letter-spacing:-.5px;color:#000}.subtitle{font-size:.75rem;color:#666}.account-info{background:#fff;padding:8px 12px}.account-badge{display:flex;gap:8px;align-items:center}.label{font-weight:600;color:#000;font-size:.7rem;text-transform:uppercase;letter-spacing:.5px}.address{font-family:Courier New,monospace;font-size:.75rem;color:#000}.section{margin-bottom:20px}.card{background:#fff;border:2px solid #000000;padding:20px;margin-bottom:20px}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.card h2{font-size:1.2rem;font-weight:600;margin-bottom:8px;color:#000}.description{color:#666;font-size:.85rem;margin-bottom:15px}.form{display:flex;flex-direction:column;gap:12px}.form-group{display:flex;flex-direction:column;gap:4px}.file-drop-zone{border:2px dashed #000000;border-radius:3px;padding:40px 20px;text-align:center;cursor:pointer;transition:all .2s ease;background:#fafafa}.file-drop-zone:hover{border-color:#000;background:#f5f5f5}.file-drop-zone.drag-over{border-color:#000;background:#e0e0e0;border-style:solid}.drop-zone-content,.drop-zone-file{display:flex;flex-direction:column;align-items:center;justify-content:center}.info-tooltip{position:relative;display:inline-flex;align-items:center;cursor:help}.info-tooltip .tooltip-text{visibility:hidden;opacity:0;position:absolute;bottom:125%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;text-align:center;padding:8px 12px;border-radius:3px;font-size:.85rem;line-height:1.4;white-space:normal;width:280px;z-index:1000;transition:opacity .2s ease,visibility .2s ease;box-shadow:4px 4px #0000004d}.info-tooltip .tooltip-text:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:6px;border-style:solid;border-color:#333 transparent transparent transparent}.info-tooltip:hover .tooltip-text{visibility:visible;opacity:1}label{font-weight:600;color:#000;font-size:.75rem;text-transform:uppercase;letter-spacing:.5px}input[type=text],textarea{width:100%;padding:10px;border:2px solid #000000;border-radius:3px;font-size:.95rem;font-family:inherit;background:#fff;transition:all .2s ease}select{width:100%;padding:10px;border:2px solid #000000;border-radius:3px;font-size:.95rem;font-family:inherit;background:#fff;cursor:pointer;transition:all .2s ease}input[type=text]:focus,textarea:focus{outline:none;border-color:#000;box-shadow:2px 2px #0000001a}select:focus{outline:none;border-color:#000;box-shadow:2px 2px #0000001a}textarea{resize:vertical;font-family:Courier New,monospace}.help-text{color:#666;font-size:.75rem}.data-info{display:flex;justify-content:space-between;margin-top:4px}.data-info small{color:#666;font-size:.75rem}.btn{width:100%;padding:9px;border:2px solid #000000;background:#000;color:#fff;font-size:.8rem;font-weight:600;cursor:pointer;text-transform:uppercase;letter-spacing:.5px;transition:all .2s ease}.btn:hover:not(:disabled){background:#fff;color:#000}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#000;color:#fff}.btn-primary:hover:not(:disabled){background:#fff;color:#000}.btn-secondary{background:#fff;color:#000}.btn-secondary:hover:not(:disabled){background:#000;color:#fff}.btn-danger{background:#fff;color:#c00;border-color:#c00}.btn-danger:hover:not(:disabled){background:#c00;color:#fff}.btn-small{width:auto;padding:6px 12px;font-size:.75rem}.storage-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:2px solid #000000;background:#fff;margin-bottom:0}.breadcrumb-container{display:flex;flex-direction:column;gap:5px}.app-title{font-size:1.1rem;font-weight:600;color:#000;margin:0}.breadcrumb{display:flex;align-items:center;gap:5px;font-size:.8rem}.breadcrumb-item{color:#666;cursor:pointer;padding:4px 8px;border-radius:3px;transition:all .2s ease}.breadcrumb-item:hover{background:#f5f5f5;color:#000}.breadcrumb-item:not(:last-child):after{content:"›";margin-left:8px;color:#999}.breadcrumb-item.active{color:#000;font-weight:600}.header-actions{display:flex;gap:10px}.btn-icon{display:flex;align-items:center;gap:8px;padding:8px 16px;border:2px solid #000000;background:#000;color:#fff;font-size:.8rem;font-weight:600;cursor:pointer;text-transform:uppercase;letter-spacing:.5px;transition:all .2s ease}.btn-icon:hover{background:#fff;color:#000}.btn-icon svg{width:18px;height:18px}.storage-main{display:grid;grid-template-columns:250px 1fr;height:calc(100vh - 200px);border:2px solid #000000;border-top:none;background:#fff}.storage-main.with-details{grid-template-columns:250px 1fr 300px}.folder-sidebar{border-right:2px solid #000000;overflow-y:auto;background:#fafafa}.folder-tree{padding:15px}.folder-item{padding:8px 12px;cursor:pointer;border-radius:3px;margin-bottom:2px;display:flex;align-items:center;gap:8px;font-size:.85rem;transition:all .2s ease;-webkit-user-select:none;user-select:none}.folder-item:hover{background:#e8e8e8}.folder-item.active{background:#000;color:#fff;font-weight:600}.folder-item.selected{background:#000;color:#fff;font-weight:500}.folder-item .folder-icon{font-size:1rem}.folder-item .folder-name{flex:1}.folder-item .folder-arrow{font-size:.7rem;transition:transform .2s ease}.folder-item.expanded .folder-arrow{transform:rotate(90deg)}.folder-item.drag-over{background:#d4edda;border:2px dashed #28a745}.file-list-item{cursor:move}.file-list-item.dragging{opacity:.5}.folder-children{padding-left:20px;margin-top:2px}.file-panel{overflow-y:auto;background:#fff;position:relative}.file-panel.drag-over:before{content:"";position:absolute;inset:0;background:#0000000d;border:3px dashed #000000;z-index:10;pointer-events:none}.file-panel.drag-over:after{content:"📁 Drop files here to upload";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.2rem;font-weight:600;color:#000;z-index:11;pointer-events:none;background:#fff;padding:20px 40px;border:2px solid #000000;box-shadow:4px 4px #0000001a}.file-panel-header{padding:15px 20px;border-bottom:2px solid #000000;background:#fff}.file-search{width:100%;padding:10px 15px;border:2px solid #000000;border-radius:3px;font-size:.9rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;transition:all .2s ease}.file-search:focus{outline:none;border-color:#000;box-shadow:2px 2px #0000001a}.file-list{padding:20px}.file-list-item{display:flex;align-items:center;gap:12px;padding:12px 15px;border:2px solid #000000;border-radius:3px;margin-bottom:8px;cursor:pointer;transition:all .2s ease;background:#fff}.file-list-item:hover{border-color:#000;background:#fafafa}.file-list-item.selected{background:#f0f0f0;border-color:#000;border-width:2px}.file-icon{font-size:1.5rem;width:30px;text-align:center}.file-info{flex:1;min-width:0}.file-name{font-weight:600;font-size:.85rem;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta{font-size:.75rem;color:#666;margin-top:3px}.file-size{font-size:.75rem;color:#999;white-space:nowrap}.details-sidebar{border-left:2px solid #000000;overflow-y:auto;background:#fafafa}.details-header{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:2px solid #000000;background:#fff}.details-header h3{font-size:.9rem;font-weight:600;color:#000;margin:0;text-transform:uppercase;letter-spacing:.5px}.btn-close-details{background:none;border:none;font-size:1.5rem;color:#999;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.btn-close-details:hover{color:#000}.file-details{padding:15px}.file-details .detail-section{margin-bottom:15px}.cert-list{display:flex;flex-direction:column;gap:12px}.cert-item{padding:15px;border:2px solid #000000;background:#fff;transition:all .2s ease}.cert-item:hover{border:2px solid #000000;box-shadow:3px 3px #000;transform:translate(-1px,-1px)}.cert-item-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:10px}.cert-title{font-weight:600;font-size:.9rem;color:#000}.cert-hash{font-family:Courier New,monospace;font-size:.7rem;color:#666;background:#f5f5f5;padding:4px 8px}.cert-meta{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:10px}.cert-meta-item{font-size:.75rem;color:#666}.cert-meta-item strong{color:#000;font-weight:600}.cert-actions{display:flex;gap:8px}.result{margin-top:15px;padding:12px;border:2px solid #000000;font-size:.85rem}.result.success{background:#fff;border-color:#000}.result.error{background:#000;color:#fff}.result h3{margin-bottom:8px;font-size:1rem}.result p{margin-bottom:6px}.result-link{color:inherit;text-decoration:underline;font-weight:600}.result-link:hover{opacity:.8}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background:#000000b3}.modal-content{background:#fff;margin:5% auto;padding:25px;border:2px solid #000000;max-width:800px;max-height:80vh;overflow-y:auto}.modal-close{float:right;font-size:2rem;font-weight:700;color:#999;cursor:pointer;line-height:1}.modal-close:hover{color:#000}.detail-section{margin-bottom:20px}.detail-section h3{margin-bottom:10px;color:#000;border-bottom:1px solid #000000;padding-bottom:8px;font-size:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.detail-row{display:flex;padding:8px 0;border-bottom:2px solid #000000;gap:15px}.detail-row:last-child{border-bottom:none}.detail-label{font-weight:600;min-width:85px;color:#666;font-size:.75rem;text-transform:uppercase;letter-spacing:.5px}.detail-value{flex:1;color:#000;word-break:break-all;font-family:Courier New,monospace;font-size:.8rem}.detail-value.trusted{color:#0a0;font-weight:600}.detail-value.not-trusted{color:#c00;font-weight:600}.data-preview{background:#f5f5f5;padding:12px;font-family:Courier New,monospace;font-size:.75rem;white-space:pre-wrap;word-break:break-all;border:2px solid #000000;margin-top:8px}.loading{text-align:center;padding:2rem;color:#666;font-size:.85rem}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:2000}.loading-overlay p{color:#fff;font-size:.9rem;margin-top:1rem;text-transform:uppercase;letter-spacing:1px}.spinner{border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite}.spinner-small{border:3px solid rgba(0,0,0,.1);border-top:3px solid #000000;border-radius:50%;width:20px;height:20px;animation:spin .8s linear infinite;display:inline-block;vertical-align:middle;margin-right:8px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.footer{text-align:center;margin-top:30px;padding-top:15px;border-top:2px solid #000000;color:#666;font-size:.75rem}.empty-state{text-align:center;padding:3rem 1rem;color:#666}.empty-state h3{font-size:1.1rem;margin-bottom:8px;color:#000}.empty-state p{font-size:.85rem}.notification{background:#fff;border:2px solid #000000;padding:15px 20px;box-shadow:4px 4px #000;animation:slideIn .3s ease;display:flex;align-items:center;gap:12px;min-width:300px}.notification.success{border-left:6px solid #00aa00}.notification.error{border-left:6px solid #cc0000}.notification-icon{font-size:1.2rem;font-weight:700}.notification.success .notification-icon{color:#0a0}.notification.error .notification-icon{color:#c00}.notification-message{flex:1;font-size:.85rem;color:#000}.notification-close{cursor:pointer;font-size:1.2rem;color:#999;font-weight:700;line-height:1}.notification-close:hover{color:#000}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(400px);opacity:0}}.context-menu{position:fixed;background:#fff;border:2px solid #000000;box-shadow:4px 4px #000;min-width:180px;z-index:5000;padding:4px 0}.context-menu-item{padding:10px 16px;cursor:pointer;font-size:.85rem;display:flex;align-items:center;gap:8px;transition:background .15s ease}.context-menu-item:hover{background:#f0f0f0}.context-menu-item.disabled{opacity:.4;cursor:not-allowed}.context-menu-item.disabled:hover{background:transparent}.context-menu-divider{height:1px;background:#e0e0e0;margin:4px 0}@media(max-width:768px){.container{padding:12px}.header{flex-direction:column;gap:10px}.logo h1{font-size:1rem}.storage-header{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.breadcrumb-container{gap:3px}.app-title{font-size:1rem}.breadcrumb{font-size:.75rem}.header-actions{justify-content:flex-end}.storage-main{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 250px)}.storage-main.with-details{grid-template-columns:1fr}.folder-sidebar{border-right:none;border-bottom:2px solid #000000;max-height:200px}.details-sidebar{border-left:none;border-top:2px solid #000000}.card{padding:15px}.cert-item-header{flex-direction:column;gap:8px}.cert-meta{flex-direction:column;gap:6px}.modal-content{margin:10% 12px;padding:20px}.account-badge{max-width:100%}.account-badge .address{font-size:.7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.detail-row{flex-direction:column;gap:4px}.detail-label{min-width:auto}#notificationContainer{left:12px;right:12px;top:10px;max-width:none}.notification{min-width:auto}.file-list-item{padding:10px 12px}.file-icon{font-size:1.2rem;width:25px}.file-name{font-size:.8rem}.file-meta{font-size:.7rem}}@media(max-width:480px){.btn{font-size:.75rem;padding:8px}.btn-icon{font-size:.75rem;padding:6px 12px}.btn-icon svg{width:16px;height:16px}.folder-item{font-size:.8rem;padding:6px 10px}.storage-main{min-height:calc(100vh - 280px)}.account-badge .address{max-width:120px;font-size:.65rem}.account-badge .label{font-size:.65rem}}.splash-container{max-width:600px;margin:80px auto;text-align:center;padding:40px 20px}.splash-hero{margin-bottom:50px}.splash-title{font-size:2.5rem;margin-bottom:15px;font-weight:700}.splash-subtitle{font-size:1.1rem;color:#666;margin-bottom:0}.wallet-options{display:flex;flex-direction:column;gap:15px;margin-bottom:40px}.btn-large{padding:18px 40px;font-size:1.1rem;font-weight:600}.network-selector{display:flex;align-items:center;justify-content:center;gap:15px;font-size:.9rem}.network-selector select{min-width:150px}.testnet-badge{display:inline-block;padding:6px 12px;background:#ffb366;color:#fff;font-size:.75rem;font-weight:600;border-radius:3px;text-transform:uppercase;letter-spacing:.5px}.btn-back{background:none;border:none;font-size:1rem;cursor:pointer;padding:8px 12px;margin-bottom:15px;display:inline-block}.btn-back:hover{background:#f5f5f5}.mnemonic-display{margin:12px 0}.mnemonic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0;max-height:320px;overflow-y:auto}.mnemonic-word{display:flex;align-items:center;gap:6px;padding:6px 8px;background:#f5f5f5;border:2px solid #000000;border-radius:3px}.word-number{font-size:.7rem;color:#999;font-weight:600;min-width:18px}.word-text{font-size:.8rem;font-weight:500}.confirm-area{min-height:120px;padding:20px;background:#f9f9f9;border:2px dashed #000000;border-radius:3px;margin-bottom:20px}.confirm-area .placeholder{text-align:center;color:#999;margin:40px 0}.selected-word{display:inline-block;padding:8px 12px;background:#000;color:#fff;margin:5px;border-radius:3px;font-size:.9rem}.remove-word{background:none;border:none;color:#fff;margin-left:8px;cursor:pointer;font-size:1.2rem;padding:0 4px}.remove-word:hover{opacity:.7}.word-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.word-btn{padding:10px 16px;background:#fff;border:2px solid #000;cursor:pointer;font-size:.9rem;transition:all .2s}.word-btn:hover:not(:disabled){background:#000;color:#fff}.word-btn:disabled{opacity:.3;cursor:not-allowed}.address-display{padding:15px;background:#f5f5f5;border:2px solid #000;font-family:Courier New,monospace;font-size:.85rem;word-break:break-all;margin:15px 0}.success-message{background:#d4edda;border:2px solid #000;padding:20px;border-radius:3px;margin:20px 0}.success-message p{margin-bottom:10px;font-weight:600}.account-info{display:flex;align-items:center;gap:15px}.account-badge{display:flex;align-items:center;gap:8px;padding:8px 15px;background:#f5f5f5;border:2px solid #000;border-radius:3px}.account-badge .label{font-weight:600;font-size:.85rem}.account-badge .address{font-family:Courier New,monospace;font-size:.75rem}@media(max-width:768px){.splash-title{font-size:1.8rem}.mnemonic-grid{grid-template-columns:repeat(3,1fr)}.wallet-options{padding:0 20px}}@media(max-width:480px){.mnemonic-grid{grid-template-columns:repeat(2,1fr)}}
