body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;color:#333;margin:0;padding:0;background-color:#f9fafb}.nav{margin-bottom:0}.nav-links{gap:0}.title{font-size:1.5rem;font-weight:600;color:#111827;margin:0;display:flex;align-items:center;justify-content:center;gap:.5rem}.icon{vertical-align:middle}.converter-card{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;padding:1.5rem;margin-bottom:1.5rem}.converter-card-title{font-size:1rem;font-weight:600;color:#374151;margin:0 0 1rem}.converter-row{display:flex;align-items:center;gap:1rem}.converter-input-wrapper{flex:1;min-width:0}.converter-input{width:100%;padding:.75rem 1rem;font-size:1rem;line-height:1.5;color:#111827;background-color:#fff;border:1px solid #d1d5db;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;box-sizing:border-box}.converter-input:focus{border-color:#4f46e5;outline:0;box-shadow:0 0 0 3px #4f46e51a}.converter-output-wrapper{flex:1;min-width:0}.converter-output{width:100%;padding:.75rem 1rem;font-size:1rem;line-height:1.5;color:#111827;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:.375rem;font-weight:500;word-break:break-all;min-height:2.75rem;display:flex;align-items:center}.converter-copy-btn{background-color:#f3f4f6;color:#374151;border:1px solid #e5e7eb;border-radius:.375rem;padding:.75rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.converter-copy-btn:hover{background-color:#e5e7eb;border-color:#d1d5db}.converter-copy-btn:active{background-color:#d1d5db}.converter-copy-btn svg{width:16px;height:16px}.result-card{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;padding:1.5rem;margin-top:1.5rem}.result-title{font-size:1.25rem;font-weight:600;color:#111827;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.result-summary{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 640px){.result-summary{grid-template-columns:repeat(2,1fr)}}.result-item{padding:1rem;border-radius:.375rem}.result-item.blue{background-color:#3b82f61a}.result-item.purple{background-color:#7c3aed1a}.result-label{font-size:.875rem;font-weight:500;color:#6b7280;margin:0 0 .5rem;display:flex;align-items:center;justify-content:space-between}.result-value{font-size:1.25rem;font-weight:600;color:#111827;margin:0;word-break:break-all}.copy-button{background-color:#f3f4f6;color:#4f46e5;border:1px solid #e5e7eb;border-radius:.375rem;padding:.25rem .5rem;font-size:.75rem;cursor:pointer;display:inline-flex;align-items:center;gap:.25rem;transition:all .2s ease}.copy-button:hover{background-color:#e5e7eb}.copy-button:focus{outline:none;box-shadow:0 0 0 2px #4f46e54d}.explanation-card{background-color:#f9fafb;border-radius:.5rem;padding:1.5rem;margin-top:1.5rem;border:1px solid #e5e7eb}.explanation-title{font-size:1.125rem;font-weight:600;color:#111827;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.explanation-content{font-size:.875rem;color:#4b5563;line-height:1.6}.explanation-section{margin-bottom:1.5rem}.explanation-section:last-child{margin-bottom:0}.explanation-section h3{font-size:1rem;font-weight:500;color:#111827;margin-bottom:.5rem}.explanation-section p{margin-bottom:.5rem}.example-list{margin-left:1.5rem;margin-bottom:.5rem}.example-list li{margin-bottom:.25rem}.example-list code{background-color:#f3f4f6;padding:.125rem .375rem;border-radius:.25rem;font-family:Courier New,monospace;color:#1f2937;font-size:.875rem}.example-table{width:100%;border-collapse:collapse;margin-top:.5rem}.example-table th,.example-table td{padding:.75rem;text-align:left;border-bottom:1px solid #e5e7eb}.example-table th{font-weight:500;color:#374151;background-color:#f9fafb}.example-table tr:last-child td{border-bottom:none}.example-table code{background-color:#f3f4f6;padding:.125rem .375rem;border-radius:.25rem;font-family:Courier New,monospace;color:#1f2937;font-size:.875rem}.conversion-steps{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.conversion-steps:empty{display:none}.steps-title{font-size:1rem;font-weight:600;color:#374151;margin-bottom:1rem}.steps-content{font-size:.875rem;color:#4b5563;line-height:1.8}.step-item{display:flex;align-items:center;padding:3px 0;border-bottom:1px solid #f3f4f6}.step-item:last-child{border-bottom:none}.step-symbol{font-family:Courier New,monospace;font-weight:600;color:#4f46e5;min-width:60px;text-align:center;padding:3px 6px;background-color:#f3f4f6;border-radius:.25rem;margin-right:.75rem;font-size:12px}.step-arrow{color:#9ca3af;margin:0 .5rem;font-weight:500}.step-value{font-weight:600;color:#111827;margin-left:.5rem;font-size:12px}.step-operation{color:#6b7280;font-size:.8125rem;margin-left:.5rem}.step-total{margin-top:.75rem;padding-top:.75rem;border-top:2px solid #e5e7eb;font-weight:600;color:#111827;display:flex;align-items:center}.step-total-label{color:#6b7280;font-weight:500}.step-total-value{font-size:1.125rem;color:#4f46e5}.step-decomposition{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;flex:1}.step-decomposition-item{display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background-color:#f3f4f6;border-radius:.25rem}.step-decomposition-number{font-weight:600;color:#111827;font-size:12px}.step-decomposition-arrow{color:#9ca3af;margin:0 .25rem}.step-decomposition-roman{font-family:Courier New,monospace;color:#4f46e5;font-weight:600;font-size:12px;padding:2px 6px;background-color:#eef2ff;border-radius:.25rem}.hidden{display:none}@media (max-width: 640px){.converter-row{flex-direction:column;align-items:stretch}.converter-input-wrapper,.converter-output-wrapper{width:100%}.converter-copy-btn{width:100%;justify-content:center}.step-item{flex-wrap:wrap}.step-symbol{min-width:auto;margin-bottom:.25rem}}
