:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #243b53; background: #e4ebf1; line-height: 1.4; color-scheme: light;
}
[data-theme="dark"] { color: #e6edf3; background: #162532; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; }
.site-header { height: 48px; background: #102a43; color: #fff; }
.header-inner { max-width: 1180px; height: 100%; margin: auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; font-size: .82rem; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: #fff; text-decoration: none; font-size: 1.05rem; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.product-name { opacity: .65; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; min-width: 32px; margin-left: auto; padding: 0 8px; border: 1px solid #c4d1dc; border-radius: 6px; background: #f5f8fa; color: #243b53; font-size: 1rem; cursor: pointer; transition: all .2s ease; }
.theme-toggle:hover { border-color: #1976a8; background: #e0edf3; }
main { max-width: 1180px; margin: auto; padding: 14px 20px 24px; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.eyebrow { font-size: .6rem; letter-spacing: .13em; color: #1976a8; font-weight: 800; margin: 0; }
.hero h1 { font-size: 1.55rem; line-height: 1.05; margin: 1px 0 2px; letter-spacing: -.03em; }
.hero p { font-size: .83rem; color: #486581; margin: 0; }
.availability { font-size: .72rem !important; color: #27815c !important; white-space: nowrap; }
.card { background: #f5f8fa; border: 1px solid #c4d1dc; border-radius: 11px; padding: 16px; box-shadow: 0 5px 16px #102a4312; }
.card-heading { display: flex; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.card h2 { font-size: 1.05rem; margin: 0; }
.dropzone { border: 1px dashed #87a0b3; border-radius: 8px; min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-align: center; background: #eaf1f5; }
.dropzone:hover, .dropzone:focus-within, .dropzone.over { border-color: #1976a8; background: #e0edf3; }
.dropzone input { position: absolute; opacity: 0; pointer-events: none; }
.drop-icon { font-size: 1.45rem; color: #1976a8; }
.dropzone strong { font-size: .88rem; }.dropzone em { font-style: normal; font-weight: 400; color: #627d98; font-size: .82rem; }
.dropzone small, .muted, small { color: #627d98; font-size: .72rem; }
.queue { display: grid; gap: 6px; margin: 8px 0; }.file-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 10px; background: #e5edf2; border-radius: 7px; font-size: .82rem; }.file-item > div:first-child { display: grid; gap: 0; }.file-item-actions { display: flex; align-items: center; gap: 6px; }.file-item button { border: 0; background: none; color: #b42318; cursor: pointer; font-size: .75rem; }.file-item button.reorder { background: #d5e0e8; color: #243b53; border-radius: 5px; padding: 2px 7px; font-size: .7rem; line-height: 1; }.file-item button.reorder:disabled { opacity: .4; cursor: default; }
.pair-field { border: 1px solid #c4d1dc; border-radius: 8px; padding: 9px 11px; margin: 12px 0 0; display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }.pair-field legend { padding: 0 5px; font-size: .74rem; font-weight: 800; color: #486581; }.pair-field label { display: grid; gap: 3px; font-weight: 700; font-size: .78rem; flex: 1 1 12rem; }.pair-field select { width: 100%; padding: 7px; border: 1px solid #a9bac8; border-radius: 6px; background: #f5f8fa; color: #243b53; font: inherit; }.pair-arrow { font-weight: 800; color: #1976a8; padding-bottom: 7px; }.pair-fixed { margin: 12px 0 0; font-weight: 800; font-size: .95rem; color: #243b53; }.options-panel { margin: 10px 0 0; border: 1px solid #c4d1dc; border-radius: 8px; background: #eef4f8; }.options-panel[hidden] { display: none; }.options-panel > summary { cursor: pointer; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #486581; padding: 7px 10px; }.options-body { display: grid; gap: 6px; padding: 0 10px 10px; }.options-body #options-reset { justify-self: start; border: 0; background: none; color: #1976a8; cursor: pointer; font: inherit; font-size: .74rem; padding: 2px; text-decoration: underline; }.breadcrumb { font-size: .72rem; color: #627d98; margin: 0 0 8px; }.breadcrumb a { color: #1976a8; text-decoration: none; }.faq details { border: 1px solid #c4d1dc; border-radius: 8px; padding: 8px 12px; margin: 6px 0; background: #eef4f8; }.faq summary { cursor: pointer; font-weight: 700; font-size: .84rem; }.faq details p { margin: 8px 0 2px; font-size: .82rem; color: #486581; }
.options-dialog { width: min(30rem, calc(100vw - 32px)); border: 1px solid #c4d1dc; border-radius: 11px; padding: 0; background: #f5f8fa; color: #243b53; box-shadow: 0 12px 40px #102a4333; }.options-dialog::backdrop { background: #102a4366; }.options-dialog form { padding: 16px; display: grid; gap: 10px; }.options-dialog h3 { margin: 0; font-size: 1rem; color: #243b53; }.options-group { display: grid; gap: 8px; padding: 10px; border: 1px solid #c4d1dc; border-radius: 8px; }.options-group-title { margin: 0; font-size: .74rem; font-weight: 800; color: #486581; }.options-group label { display: grid; gap: 3px; font-weight: 700; font-size: .78rem; }.options-group label.options-check { display: flex; align-items: center; gap: 7px; font-weight: 600; }.options-group select { padding: 7px; border: 1px solid #a9bac8; border-radius: 6px; background: #f5f8fa; color: #243b53; font: inherit; }.options-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }.options-body .options-group { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 6px 10px; padding: 8px; background: #f5f8fa; }.options-body .options-group[hidden] { display: none; }.options-body .options-group-title { grid-column: 1 / -1; }.options-body .options-group label { font-size: .74rem; }.options-body .options-group label.options-check { grid-column: 1 / -1; }.options-body .options-group select { padding: 6px; font-size: .78rem; }
.actions { display: flex; gap: 8px; margin-top: 12px; }.primary, .secondary { border: 0; border-radius: 6px; padding: 9px 14px; font: inherit; font-weight: 700; cursor: pointer; font-size: .82rem; }.primary { background: #1976a8; color: #fff; }.secondary { background: #d5e0e8; color: #243b53; }.status { margin: 10px 0 0; color: #486581; font-size: .78rem; }.status.busy { color: #1976a8; }.results { display: grid; gap: 5px; margin-top: 8px; }.result-item { display: flex; justify-content: space-between; padding: 8px; border: 1px solid #9bc9ad; border-radius: 7px; color: #176b45; text-decoration: none; background: #edf8f0; font-size: .8rem; }.result-item small { color: #176b45; }.error { color: #b42318; font-size: .8rem; }
.trust { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 12px 0 0; color: #486581; }.trust div { display: grid; }.trust span { font-size: 1.35rem; font-weight: 800; color: #243b53; }.trust p { font-size: .72rem; margin: 0; }footer { max-width: 1180px; margin: auto; padding: 6px 20px 16px; color: #627d98; display: flex; gap: 13px; flex-wrap: wrap; font-size: .7rem; }footer a { color: inherit; }.release-version { margin-left: auto; }
.convert-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }.convert-links a { background: #eaf1f5; border: 1px solid #c4d1dc; border-radius: 999px; padding: 6px 12px; font-size: .76rem; color: #1976a8; text-decoration: none; font-weight: 700; }.convert-links a:hover { background: #e0edf3; border-color: #1976a8; }.convert-links a small { color: #627d98; font-weight: 400; }
.pwa-install-prompt { position: fixed; right: 20px; bottom: 20px; z-index: 10; width: min(24rem, calc(100vw - 40px)); padding: 12px; border: 1px solid #c4d1dc; border-radius: 8px; background: #f5f8fa; box-shadow: 0 .75rem 2rem #0003; }.pwa-install-prompt p { margin: 0 0 8px; font-size: .82rem; }.pwa-install-prompt div { display: flex; flex-wrap: wrap; gap: 8px; }.pwa-install-prompt button { padding: 7px 12px; }
.cross-promo { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 12px 0 0; padding: 14px 16px; background: #eef4f8; border: 1px solid #c4d1dc; border-radius: 11px; }.cross-promo p { margin: 0; font-size: .82rem; color: #486581; }.cross-promo strong { color: #243b53; }.cross-promo .cross-cta { flex-shrink: 0; background: #1976a8; color: #fff; text-decoration: none; font-weight: 700; font-size: .8rem; padding: 8px 14px; border-radius: 6px; }.cross-promo .cross-cta:hover { background: #145d86; }
[data-theme="dark"] .card { background: #213441; border-color: #3c5365; box-shadow: 0 5px 16px #0005; }[data-theme="dark"] .dropzone { background: #1a2d3a; border-color: #587287; }[data-theme="dark"] .file-item { background: #1b2d3a; }[data-theme="dark"] .pair-field { border-color: #486276; }[data-theme="dark"] .pair-field select { background: #1b2d3a; border-color: #587287; color: #e6edf3; }[data-theme="dark"] .pair-fixed { color: #e6edf3; }[data-theme="dark"] .faq details { background: #1b2d3a; border-color: #3c5365; }[data-theme="dark"] .faq details p { color: #b8c7d3; }[data-theme="dark"] .breadcrumb a { color: #7cc0e6; }[data-theme="dark"] .result-item { background: #14312a; border-color: #2f6b4f; color: #7ed3a6; }[data-theme="dark"] .result-item small { color: #7ed3a6; }[data-theme="dark"] .secondary { background: #3a5061; color: #e6edf3; }[data-theme="dark"] .convert-links a { background: #1b2d3a; border-color: #587287; color: #7cc0e6; }[data-theme="dark"] .pwa-install-prompt { background: #213441; border-color: #3c5365; color: #e6edf3; }[data-theme="dark"] .cross-promo { background: #213441; border-color: #3c5365; }[data-theme="dark"] .cross-promo p { color: #b8c7d3; }[data-theme="dark"] .cross-promo strong { color: #e6edf3; }[data-theme="dark"] .trust span, [data-theme="dark"] .hero h1 { color: #e6edf3; }[data-theme="dark"] .hero p, [data-theme="dark"] .status, [data-theme="dark"] .trust { color: #b8c7d3; }[data-theme="dark"] .options-panel { background: #1b2d3a; border-color: #3c5365; }[data-theme="dark"] .options-panel > summary { color: #b8c7d3; }[data-theme="dark"] .options-body .options-group { background: #213441; }[data-theme="dark"] .options-body #options-reset { color: #7cc0e6; }[data-theme="dark"] .options-dialog { background: #213441; border-color: #3c5365; color: #e6edf3; }[data-theme="dark"] .options-dialog h3 { color: #e6edf3; }[data-theme="dark"] .options-group { border-color: #486276; }[data-theme="dark"] .options-group select { background: #1b2d3a; border-color: #587287; color: #e6edf3; }
@media(max-width:700px) { main { padding: 12px 12px 20px; }.hero { display: block; }.availability { margin-top: 5px !important; white-space: normal; }.card { padding: 12px; }.dropzone { min-height: 72px; flex-wrap: wrap; }.trust { display: grid; gap: 6px; }.actions { flex-direction: column; }.primary, .secondary { width: 100%; }.pair-field { gap: 6px; }.pair-arrow { display: none; }.pair-field label { flex-basis: 100%; } }
