:root{color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f1f5f9;color:#0f172a}.app{height:100vh;display:flex;flex-direction:column;overflow:hidden}.app__header{padding:12px 24px;border-bottom:1px solid #e2e8f0;background:#ffffffd9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);flex-shrink:0}.app__header h1{margin:0;font-size:1.6rem;font-weight:600}.app__logo{height:36px;width:auto;max-width:200px}.app__tagline{margin:2px 0 0;font-size:.875rem;color:#475569}.dropzone{margin:12px 24px 8px;padding:16px;border:2px dashed #94a3b8;border-radius:12px;background:#ffffffbf;text-align:center;transition:border-color .2s ease,background .2s ease;flex-shrink:0}.dropzone--active{border-color:#3b82f6;background:#bfdbfe59}.dropzone__title{margin:0;font-size:1.05rem;font-weight:500}.dropzone__hint{margin:6px 0 16px;font-size:.95rem;color:#64748b}.dropzone__select{padding:10px 18px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-weight:500;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.dropzone__select:hover{transform:translateY(-1px);box-shadow:0 4px 14px #94a3b840}.dropzone__filelist{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;color:#334155;font-size:.9rem}.actions{display:flex;align-items:center;gap:16px;padding:8px 24px;flex-wrap:nowrap;flex-shrink:0;min-width:0}.conversion-settings{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px;border:1px solid #dbe3ef;border-radius:8px;background:#ffffffb8;flex:0 0 auto}.conversion-settings__toggle,.conversion-settings__field{display:inline-flex;align-items:center;gap:7px;color:#334155;font-size:.875rem;font-weight:500;white-space:nowrap}.conversion-settings__toggle>span,.conversion-settings__field>span{display:inline-flex;align-items:center;gap:5px}.conversion-settings__toggle input{width:16px;height:16px;accent-color:#2563eb}.conversion-settings__field input,.conversion-settings__field select{height:32px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font:inherit}.conversion-settings__field input{width:64px;padding:0 8px}.conversion-settings__field select{padding:0 26px 0 8px}.conversion-settings__field input:disabled,.conversion-settings__field select:disabled{opacity:.55}.help-wrapper{position:relative;display:inline-flex;align-items:center}.help-button{width:18px;height:18px;padding:0;border:1px solid #cbd5e1;border-radius:50%;background:#fff;color:#475569;font-size:.75rem;font-weight:700;line-height:1;cursor:help}.help-button:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.help-popover{position:absolute;left:0;bottom:calc(100% + 10px);z-index:20;width:min(280px,calc(100vw - 48px));padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a29;color:#334155;font-size:.82rem;font-weight:500;line-height:1.35;white-space:normal;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease}.help-popover strong{display:block;margin-bottom:4px;color:#0f172a;font-size:.84rem}.help-popover__media{width:100%;max-height:180px;aspect-ratio:16 / 9;margin:4px 0 8px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;object-fit:contain}.help-wrapper:hover .help-popover,.help-wrapper:focus-within .help-popover{opacity:1;transform:translateY(0)}.actions>button{padding:10px 18px;border-radius:12px;border:1px solid #2563eb;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-weight:600;cursor:pointer;transition:opacity .2s ease,transform .15s ease;flex:0 0 auto}.actions>button:disabled{opacity:.6;cursor:not-allowed;transform:none}.actions>button:not(:disabled):hover{transform:translateY(-1px)}.actions>.secondary{border-color:#cbd5e1;background:#fff;color:#334155}.status{font-size:.95rem;color:#475569;min-width:180px;flex:0 1 auto}.progress-panel{flex:1 1 320px;min-width:260px;max-width:520px;padding:7px 10px;border:1px solid #dbe3ef;border-radius:8px;background:#ffffffc7}.progress-panel__meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;color:#334155;font-size:.82rem;font-weight:500;min-width:0}.progress-panel__meta span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-panel__meta span:last-child{color:#64748b;white-space:nowrap}.progress-bar{height:6px;overflow:hidden;border-radius:999px;background:#e2e8f0}.progress-bar__fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#14b8a6);transition:width .25s ease}.panes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 24px;flex:1;min-height:0;overflow:hidden}.panes section{display:flex;flex-direction:column;gap:8px;background:#ffffffb3;border:1px solid #e2e8f0;border-radius:16px;padding:16px;min-height:0}.panes h2{margin:0;font-size:1.05rem;color:#1f2937;font-weight:600}.viewer-wrapper{position:relative;flex:1;min-height:0;border-radius:12px;overflow:hidden}.viewer-canvas{width:100%;height:100%}.viewer-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#64748b;pointer-events:none;font-size:.95rem;background:linear-gradient(#f8fafccc,#f8fafc73)}.app__footer{position:relative;padding:8px 24px;border-top:1px solid #e2e8f0;background:#ffffffd9;display:flex;justify-content:center;align-items:center;flex-shrink:0}.made-by{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#64748b;font-size:.875rem;transition:color .2s ease}.made-by:hover{color:#334155}.made-by__logo{height:48px;width:auto}.meshrx-ad{position:absolute;right:24px;top:50%;display:grid;grid-template-columns:auto auto 34px;align-items:center;gap:6px;max-width:min(360px,42vw);color:#475569;font-size:.85rem;font-weight:500;text-decoration:none;transform:translateY(-50%);transition:color .2s ease,transform .15s ease}.meshrx-ad:hover{color:#0f172a;transform:translateY(calc(-50% - 1px))}.meshrx-ad strong{color:#1f2937;font-weight:700}.meshrx-ad__logo{width:34px;height:44px;object-fit:contain}@media(max-width:1024px){.panes{grid-template-columns:1fr;gap:8px}.viewer-wrapper{min-height:250px}.app__header{padding:8px 16px}.dropzone{margin:8px 16px 4px;padding:12px}.actions{padding:4px 16px;gap:12px;flex-wrap:wrap}.progress-panel{flex:1 1 100%;max-width:none;min-width:100%}.progress-panel__meta{flex-direction:column;gap:4px}.progress-panel__meta span:last-child{white-space:normal}.panes{padding:8px 16px}.app__footer{padding:6px 16px;gap:16px;justify-content:space-between}.meshrx-ad{position:static;grid-template-columns:auto auto 30px;max-width:none;font-size:.8rem;transform:none}.meshrx-ad:hover{transform:translateY(-1px)}.meshrx-ad__logo{width:30px;height:38px}}
