@import"https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@400;500;600;700&display=swap";*,*:before,*:after{box-sizing:border-box}:root{font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#213547;background-color:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}@media(prefers-color-scheme:dark){:root{color:#e0e0e0;background-color:#121218}}h1,h2,h3,h4,h5,h6{margin:0;line-height:1.2}p{margin:0}*:focus-visible{outline:2px solid #667eea;outline-offset:2px}button{font-family:inherit}html{scroll-behavior:smooth}::selection{background:#667eea4d;color:inherit}.app{min-height:100vh;display:flex;flex-direction:column;max-width:1400px;margin:0 auto;padding:1rem}.app-header{text-align:center;padding:1.5rem 1rem;margin-bottom:1rem}.app-header h1{font-size:2rem;margin:0 0 .5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.app-header .subtitle{color:#666;font-size:1rem;margin:0}.fallback-toggle{display:inline-flex;align-items:center;gap:.5rem;margin-top:1rem;padding:.5rem 1rem;background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-radius:8px;cursor:pointer;font-size:.9rem;color:#555;transition:all .2s ease}.fallback-toggle:hover{background:linear-gradient(135deg,#f0f2ff,#e8ecff)}.fallback-toggle input[type=checkbox]{width:18px;height:18px;accent-color:#667eea;cursor:pointer}.fallback-toggle span{-webkit-user-select:none;user-select:none}.main-content{display:flex;gap:1rem;flex:1;min-height:400px}.divider{display:flex;align-items:center;justify-content:center;padding:0 .5rem}.arrow{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.arrow svg{width:20px;height:20px}.input-panel,.output-panel{flex:1;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000014}.output-panel{overflow:hidden}.input-panel{overflow:visible}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-bottom:1px solid #e8ecf4}.panel-header h2{margin:0;font-size:1.1rem;font-weight:600;color:#333}.panel-header .hint{font-size:.85rem;color:#888}.input-container{flex:1;position:relative;display:flex;flex-direction:column;min-height:0;overflow:visible}.text-input{flex:1;width:100%;padding:1.25rem;border:none;resize:none;font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:1.1rem;line-height:1.6;color:#333;background:transparent;outline:none}.text-input::placeholder{color:#aaa}.output-container{flex:1;display:flex;flex-direction:column}.text-output{flex:1;padding:1.25rem;font-family:Noto Sans Kannada,Tunga,Lohit Kannada,system-ui,sans-serif;font-size:1.2rem;line-height:1.8;color:#333;white-space:pre-wrap;word-wrap:break-word;overflow-y:auto}.text-output .placeholder{color:#aaa;font-family:Segoe UI,system-ui,sans-serif;font-size:1rem}.copy-button{display:flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border:none;border-radius:6px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.copy-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.copy-button:disabled{opacity:.5;cursor:not-allowed}.copy-button.copied{background:linear-gradient(135deg,#48c774,#3abb67)}.copy-button svg{width:16px;height:16px}.suggestions-dropdown{position:absolute;width:280px;max-height:200px;overflow-y:auto;background:#fff;border-radius:8px;box-shadow:0 8px 30px #00000026;z-index:100;border:1px solid #e8ecf4}.suggestion-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;cursor:pointer;transition:background-color .15s ease;border-bottom:1px solid #f0f2f5}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover,.suggestion-item.selected{background:linear-gradient(135deg,#f8f9ff,#f0f2ff)}.suggestion-roman{font-family:Segoe UI,system-ui,sans-serif;font-size:.95rem;color:#333;font-weight:500}.suggestion-kannada{font-family:Noto Sans Kannada,Tunga,Lohit Kannada,system-ui,sans-serif;font-size:1rem;color:#667eea}.app-footer{text-align:center;padding:1.5rem 1rem;margin-top:1rem}.app-footer p{margin:.25rem 0;font-size:.9rem;color:#888}.app-footer .tip{font-size:.85rem;color:#aaa}@media(max-width:768px){.main-content{flex-direction:column;min-height:auto}.divider{padding:.5rem 0}.arrow{transform:rotate(90deg)}.input-panel,.output-panel{min-height:250px}.app-header h1{font-size:1.5rem}}@media(prefers-color-scheme:dark){.fallback-toggle{background:linear-gradient(135deg,#252538,#1e1e2e);color:#ccc}.fallback-toggle:hover{background:linear-gradient(135deg,#2a2a3e,#252538)}.input-panel,.output-panel{background:#1e1e2e;box-shadow:0 4px 20px #0000004d}.panel-header{background:linear-gradient(135deg,#252538,#1e1e2e);border-bottom-color:#333}.panel-header h2,.text-input{color:#e0e0e0}.text-input::placeholder{color:#666}.text-output{color:#e0e0e0}.text-output .placeholder{color:#666}.suggestions-dropdown{background:#252538;border-color:#333}.suggestion-item{border-bottom-color:#333}.suggestion-item:hover,.suggestion-item.selected{background:linear-gradient(135deg,#2a2a3e,#252538)}.suggestion-roman{color:#e0e0e0}.app-footer p{color:#888}.app-footer .tip{color:#666}}.text-output::-webkit-scrollbar,.suggestions-dropdown::-webkit-scrollbar{width:8px}.text-output::-webkit-scrollbar-track,.suggestions-dropdown::-webkit-scrollbar-track{background:transparent}.text-output::-webkit-scrollbar-thumb,.suggestions-dropdown::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.text-output::-webkit-scrollbar-thumb:hover,.suggestions-dropdown::-webkit-scrollbar-thumb:hover{background:#999}@media(prefers-color-scheme:dark){.text-output::-webkit-scrollbar-thumb,.suggestions-dropdown::-webkit-scrollbar-thumb{background:#444}.text-output::-webkit-scrollbar-thumb:hover,.suggestions-dropdown::-webkit-scrollbar-thumb:hover{background:#555}}
