.converter-app{min-height:560px;background:#fff}.converter-flow{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);align-items:stretch;min-height:460px}.converter-pane{min-width:0;display:flex;flex-direction:column;background:#fff}.converter-input-pane{border-right:1px solid var(--line)}.converter-output-pane{border-left:1px solid var(--line)}.converter-pane-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--surface-2)}.converter-pane-head>div{display:flex;align-items:center;gap:10px;min-width:0}.converter-pane-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.converter-pane-head strong{font-size:13px}.converter-pane-head select{height:38px;min-width:118px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#1e293b;padding:0 28px 0 10px;font-weight:750}.converter-pane-head select:disabled{opacity:1;background:#eef2ff;color:var(--accent);border-color:#c7d2fe}.converter-count{min-width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-size:11px;font-weight:800;color:#475569}.converter-flow-arrow{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f8fafc;color:#64748b}.converter-flow-arrow span{width:46px;height:46px;border-radius:999px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-size:24px;font-weight:900;box-shadow:0 8px 22px rgba(15,23,42,.06)}.converter-flow-arrow small{font-size:9px;font-weight:800;text-align:center;padding:0 6px;line-height:1.4;color:#94a3b8}.converter-items{padding:12px;display:flex;flex-direction:column;gap:10px;overflow:auto;max-height:520px}.converter-flow-item{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;padding:10px;background:#fff;min-height:92px}.converter-result-item{background:#fbfdff}.converter-result-item.status-done{border-color:#bbf7d0;background:#f7fff9}.converter-result-item.status-converting{border-color:#c7d2fe;background:#f8f9ff}.converter-result-item.status-error{border-color:#fecaca;background:#fffafa}.converter-preview{width:92px;height:72px;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb;background:#f8fafc;display:grid;place-items:center}.converter-preview img{width:100%;height:100%;object-fit:cover}.converter-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#f1f5f9,#fff)}.output-placeholder{display:grid;place-items:center;color:#cbd5e1;font-size:22px;font-weight:900}.converter-item-copy{min-width:0}.converter-item-copy strong,.converter-item-copy span,.converter-item-copy small{display:block}.converter-item-copy strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.converter-item-copy span{font-size:11px;color:#475569;margin-top:4px}.converter-item-copy small{font-size:10px;color:var(--muted);margin-top:3px}.converter-inline-error{color:var(--danger)!important;white-space:normal!important}.converter-remove{align-self:start}.converter-download{align-self:center}.converter-output-spacer{width:1px}.small-button{padding:7px 9px!important;font-size:10px!important}.icon-button{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#64748b}.converter-controlbar{border-top:1px solid var(--line);background:#fff;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}.converter-settings{display:grid;grid-template-columns:minmax(180px,1fr) 150px 120px;gap:16px;align-items:end}.converter-settings .control-group,.converter-settings .control-row{gap:7px}.converter-settings input[type=color]{width:100%;height:40px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:4px}.converter-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;height:40px;padding:0 12px;border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:11px}.converter-summary strong{color:#334155}.converter-controlbar>.error-state{grid-column:1/-1;margin-top:-4px}.converter-actions{display:flex;align-items:center;gap:8px}.converter-actions button{white-space:nowrap}.primary-tool-grid.converter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.converter-visual{grid-template-columns:repeat(2,112px);gap:16px}.converter-visual span{height:142px;border-radius:12px;border:5px solid #fff;box-shadow:0 12px 28px rgba(15,23,42,.08);position:relative}.converter-visual span:first-child{background:linear-gradient(160deg,#dbeafe,#ede9fe)}.converter-visual span:last-child{background:linear-gradient(160deg,#dcfce7,#fef3c7)}.converter-visual:after{content:'→';position:absolute;font-size:28px;font-weight:900;color:#64748b}.converter-format-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.converter-format-grid a{border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px}.converter-format-grid strong,.converter-format-grid span{display:block}.converter-format-grid strong{font-size:13px}.converter-format-grid span{font-size:11px;color:var(--muted);margin-top:4px}@media(max-width:980px){.converter-flow{grid-template-columns:1fr}.converter-input-pane{border-right:0}.converter-output-pane{border-left:0;border-top:1px solid var(--line)}.converter-flow-arrow{min-height:70px}.converter-flow-arrow span{transform:rotate(90deg)}.converter-flow-arrow small{display:none}.converter-controlbar{grid-template-columns:1fr}.converter-settings{grid-template-columns:1fr 130px 110px}.converter-actions{justify-content:flex-end}.primary-tool-grid.converter-grid{grid-template-columns:1fr}.converter-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.converter-flow-item{grid-template-columns:64px minmax(0,1fr);min-height:78px}.converter-preview{width:64px;height:56px}.converter-remove,.converter-download,.converter-output-spacer{grid-column:2;justify-self:start}.converter-settings{grid-template-columns:1fr}.converter-actions{display:grid;grid-template-columns:1fr}.converter-pane-head{align-items:flex-start}.converter-pane-head>div{align-items:flex-start;flex-direction:column;gap:4px}.converter-pane-head select{min-width:108px}.converter-format-grid{grid-template-columns:1fr}}
