.general-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.general-layout aside{min-width:0}.general-layout .card:first-child{margin-top:12px}.selected-files{margin:10px 0}.selected-file{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}.selected-file>span{min-width:0}.selected-file strong{display:block;font-size:14px;overflow-wrap:anywhere}.selected-file small{display:block;font-size:12px;color:var(--muted)}.file-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.file-actions button{font-size:13px;padding:6px 9px;min-height:36px}.picker{margin-top:4px;display:inline-flex}.source-text,.result-text{min-height:250px;line-height:1.5;font-size:16px}.result-text{margin-bottom:8px}.primary-link{background:var(--accent);color:var(--bg);border-color:var(--accent)}.output-file{padding:10px 0;border-bottom:1px solid var(--line)}.output-file strong{display:block;overflow-wrap:anywhere}.output-preview{display:block;max-width:100%;max-height:260px;object-fit:contain;margin-top:10px;border:1px solid var(--line);background:white}.general-layout .grid{margin:10px 0}.general-layout .save-status:empty{display:none}.privacy-note{font-size:13px;margin:8px 0;color:var(--muted)}.general-layout .quantity-list{margin:0}.general-layout .error{margin-top:12px}
@media(max-width:760px){.general-layout{grid-template-columns:1fr;gap:0}.source-text,.result-text{min-height:180px}.file-actions button{min-height:44px}.selected-file{align-items:flex-start;flex-direction:column}.file-actions{justify-content:flex-start}.output-preview{max-height:200px}}
