
.conversion-guide summary{cursor:pointer;color:var(--ink);min-height:44px;padding:10px 0;font-weight:700}.conversion-guide{border-block:1px solid var(--line);margin-top:20px}.conversion-guide[open] summary{border-bottom:1px solid var(--line)}
.site-language{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:10px;color:var(--muted)}
.site-language select{max-width:160px;width:145px;min-height:40px;background:var(--panel);color:var(--ink);border:1px solid #435860;border-radius:6px;padding:8px;font-size:13px;cursor:pointer}
.nav{height:auto;min-height:88px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px;gap:18px}.nav nav{flex-wrap:wrap;gap:20px}.nav .back{margin-inline-start:auto}.site-language>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.translation-note{font:11px/1.6 Arial,sans-serif;color:#899ca4;padding-bottom:22px;margin-top:0}.hero-content,.params,.queue,.queue-row>*,.workspace>*{min-width:0}h1,h2,h3,p,a,button,label,summary{overflow-wrap:anywhere}select{max-width:100%}.queue-row .file-name{overflow-wrap:anywhere}html[dir=rtl] nav{margin-left:0;margin-right:auto}html[dir=rtl] .header-label{border-left:0;border-right:1px solid var(--line);padding-left:0;padding-right:20px}html[dir=rtl] .brand,html[dir=rtl] .file-name{direction:ltr}html[dir=rtl] .converter-dropdown{right:auto;left:0}
@media(max-width:900px){.nav{gap:14px}.nav nav{order:3;flex-basis:100%;margin:0!important;justify-content:space-between;gap:12px}.nav .site-language{margin-inline-start:auto}.nav .back{display:none}.header-label{display:none}.site-language select{max-width:155px}.converter-dropdown{top:100%;width:100%;max-height:65dvh}.hero-tags{flex-wrap:wrap;gap:12px}.mode-pill{white-space:normal;text-align:end}.workspace-heading{gap:16px}.footer{flex-wrap:wrap;gap:18px}.tabs{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.tab{min-height:60px;min-width:0}.tab span{white-space:normal}.queue-footer{gap:8px;flex-wrap:wrap}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.nav{min-height:80px;gap:12px}.brand{font-size:12px;gap:8px}.brand-mark{font-size:26px}.site-language select{width:140px;max-width:140px;min-height:44px}.hero{padding-top:32px}.hero h1{font-size:clamp(32px,9vw,48px);line-height:1.2}.eyebrow{letter-spacing:.12em}.nav nav{font-size:12px;gap:14px}.nav nav>a{padding:8px 0}.converter-menu summary{padding:8px 0;white-space:normal}.converter-dropdown{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px}.menu-group a{font-size:13px;padding:7px 0;min-height:36px}.tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.button{min-height:44px;white-space:normal}.params select{min-height:44px}.target-options,.format-tabs{gap:8px}.format-choice{font-size:12px;padding:12px}.mode-pill{max-width:145px}.dropzone h3{font-size:23px}.queue-row{min-width:0}.principles article{grid-template-columns:1fr}.principles p{font-size:12px}.format-card p{font-size:12px}.faq summary{font-size:18px;gap:12px}.pdf-preview-actions>*{flex:1 1 130px}.download-card{min-width:0}.download-card .button{max-width:100%}.text-cleaner textarea{max-width:100%}}
@media(max-width:370px){.nav .brand small{letter-spacing:.17em}.site-language select{width:130px;max-width:130px}.brand{font-size:11px}.nav nav{gap:8px}.nav nav>a{font-size:11px}.nav .converter-menu summary{font-size:11px}.converter-dropdown{gap:14px}.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.lead{font-size:14px}.hero-tags{font-size:10px}.button{font-size:14px;gap:12px}.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.tab{min-width:0;min-height:52px;font-size:12px;padding:10px 5px}.settings{display:block;padding:22px 16px}.settings select{width:100%;min-height:44px;font-size:14px}.settings label{font-size:12px}.settings .field-help,.settings .summary,.engine-note p{font-size:12px}.settings .button{width:100%;margin-top:12px}.settings .checkbox{font-size:13px}.queue-footer{font-size:11px}.queue-row{grid-template-columns:28px minmax(0,1fr) 32px;gap:8px}.queue-row .file-icon{grid-row:1/3}.queue-row .row-remove{grid-column:3;grid-row:1;min-height:40px}.queue-row .file-action{grid-column:2/4}.file-name{font-size:13px}.file-meta{font-size:11px}.file-action a{display:inline-block;min-height:40px;padding:8px 12px;font-size:12px}.panel-top{font-size:10px}.text-button{font-size:12px;min-height:44px}.dropzone small{font-size:11px}.mode-pill{font-size:10px}.footer>a:last-child{font-size:11px}}

.language-dialog{width:min(460px,calc(100% - 32px));padding:24px;background:var(--panel);color:var(--ink);border:1px solid #49616a;border-radius:10px}.language-dialog::backdrop{background:#000a}.language-dialog p{font-size:18px;margin:0 0 20px}.language-dialog form{display:flex;flex-wrap:wrap;gap:12px}.language-dialog button{flex:1;min-height:44px}

.brand .brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 44px;
  padding: 0;
  border: 0;
  clip-path: none;
  color: transparent;
  font-size: 0;
}
.brand .brand-mark::before {
  content: "";
  width: 30px;
  height: 38px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 40'%3E%3Cpath d='M2 37 11 3l9 34M6 23h10M16 3l7 34L32 3' fill='none' stroke='%23a9d9df' stroke-width='3.2' stroke-linecap='square'/%3E%3C/svg%3E");
}
html:root {
  --bg: #0b0e10;
  --panel: #111518;
  --ink: #edf3f4;
  --muted: #9ba7aa;
  --ice: #a9d9df;
  --line: #283034;
}
body > header {
  background: rgba(9, 12, 14, .92);
  border-bottom: 1px solid var(--line);
}
body > footer, .workspace, .settings {
  background-color: var(--panel);
  border-color: var(--line);
}
.button {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.site-language select, .language-dialog { border-radius: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand .brand-mark::before { transition: transform .65s ease, filter .65s ease; }
  .brand:hover .brand-mark::before {
    transform: scale(1.18) rotate(-5deg);
    filter: drop-shadow(0 0 8px var(--ice));
  }
}
