*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;background:#fff;color:#000;min-height:100vh}code{font-family:SF Mono,Monaco,Menlo,Consolas,monospace}.container{max-width:800px;margin:0 auto;padding:2rem}h1{font-size:1.75rem;font-weight:600;margin-bottom:2rem}.page-header{margin-bottom:2rem}.page-header h1{margin-bottom:0;text-align:left}.back-link{display:inline-block;margin-bottom:.5rem;color:#000;text-decoration:none;font-size:.875rem}.back-link:hover{text-decoration:underline}.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.tool-card{display:block;padding:1.5rem;border:1px solid #000;text-decoration:none;color:#000;transition:background-color .15s}.tool-card:hover{background:#f5f5f5}.tool-card h2{font-size:1.125rem;font-weight:600;margin-bottom:.5rem}.tool-card p{font-size:.875rem;color:#666;margin:0}.input-section{display:flex;gap:1.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.input-group{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:200px}.input-group label{font-size:.875rem;font-weight:500}.input-group input,.input-group select{padding:.625rem .75rem;font-size:1rem;border:1px solid #000;background:#fff;color:#000;font-family:inherit}.input-group input:focus,.input-group select:focus{outline:2px solid #000;outline-offset:1px}.timestamp-info{margin-bottom:2rem;padding:.75rem 1rem;background:#f5f5f5;border:1px solid #000;font-size:.875rem}.timestamp-info code{font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-weight:600}.formats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.format-card{border:1px solid #000;padding:1rem}.format-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #ccc}.format-name{font-weight:600;font-size:.9375rem}.format-code{font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-size:.75rem;padding:.125rem .375rem;background:#000;color:#fff}.format-preview{font-size:1.125rem;margin-bottom:.75rem;min-height:1.5em}.format-string{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:#f5f5f5;border:1px solid #ccc}.format-string code{flex:1;font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-size:.75rem;word-break:break-all}.copy-button{padding:.375rem .75rem;font-size:.75rem;font-weight:500;background:#fff;color:#000;border:1px solid #000;cursor:pointer;transition:background-color .15s,color .15s;white-space:nowrap}.copy-button:hover,.copy-button.copied{background:#000;color:#fff}.messages-section{margin-bottom:1.5rem}.messages-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.messages-header label{font-size:.875rem;font-weight:500}.add-button{padding:.375rem .75rem;font-size:.75rem;font-weight:500;background:#fff;color:#000;border:1px solid #000;cursor:pointer;transition:background-color .15s,color .15s}.add-button:hover{background:#000;color:#fff}.messages-list{display:flex;flex-direction:column;gap:.5rem}.message-row{display:flex;align-items:stretch;gap:.5rem}.message-number{font-size:.875rem;font-weight:500;min-width:1.5rem;display:flex;align-items:center}.message-row input{flex:1;padding:.5rem .75rem;font-size:.875rem;border:1px solid #000;background:#fff;color:#000;font-family:inherit}.message-row input:focus{outline:2px solid #000;outline-offset:1px}.remove-button{width:2.2rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.125rem;font-weight:500;background:#fff;color:#000;border:1px solid #000;cursor:pointer;padding:0}.remove-button:hover:not(:disabled){background:#000;color:#fff}.remove-button:disabled{opacity:.3;cursor:not-allowed}.output-section{margin-bottom:1.5rem}.output-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.output-header label{font-size:.875rem;font-weight:500}.script-output{padding:1rem;background:#f5f5f5;border:1px solid #000;font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-size:.75rem;line-height:1.6;overflow-x:auto;white-space:pre;margin:0}.instructions{padding:1rem;background:#f5f5f5;border:1px solid #ccc}.instructions h3{font-size:.9375rem;font-weight:600;margin-bottom:.75rem}.instructions ol{margin:0;padding-left:1.25rem;font-size:.875rem;line-height:1.75}.instructions code{font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-size:.75rem;background:#fff;padding:.125rem .25rem;border:1px solid #ccc}@media(max-width:480px){.container{padding:1rem}.formats-grid{grid-template-columns:1fr}}
