.tm-tool-main{max-width:960px}.tm-tool-title{margin:36px 0 30px}.tm-tool-title h1{font-size:clamp(26px,4vw,40px);letter-spacing:-.04em;line-height:1.35;margin:12px 0}.tm-tool-title p{color:var(--muted)}.tm-workspace{padding:28px;background:#fff;border:1px solid var(--line);border-radius:26px;margin:20px 0}.tm-workspace label{display:block;font-size:13px;font-weight:700;margin:0 0 9px}.tm-workspace textarea,.tm-workspace input:not([type=checkbox]):not([type=color]):not([type=range]),.tm-workspace select{font:inherit;width:100%;min-width:0;max-width:100%;padding:14px;border:1px solid #dcdcd5;border-radius:12px;background:#fcfcfa;color:#262722}.tm-workspace textarea{resize:vertical;line-height:1.8}.tm-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.tm-button,.tm-secondary,.tm-text-button{font:inherit;cursor:pointer;min-height:44px;border-radius:12px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1.5}.tm-button{background:#ff6b35;color:#25160e;border:1px solid #ff6b35;font-weight:800}.tm-button:hover{background:#f95c25}.tm-secondary{background:#fff;border:1px solid #deded8;color:#34342e}.tm-text-button{background:transparent;color:#57574f;border:0;font-size:13px}.tm-button:disabled{opacity:.5;cursor:wait}.tm-small{font-size:12px;line-height:1.8;color:#696961}.tm-status{font-size:13px;margin:12px 0 0}.tm-status:empty{display:none}.tm-result-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}.tm-result-heading h2{font-size:20px;margin:0}.tm-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.tm-copy-field{display:flex;gap:4px}.tm-copy-field input{flex:1;width:0!important}.tm-notice{font-size:13px;line-height:1.8;color:#75532d;background:#fff5e6;border-radius:12px;padding:12px}.tm-notice:empty{display:none}.tm-guide{font-size:14px;line-height:1.9;margin:36px 8px;color:#66665e}.tm-guide h2{font-size:18px;color:#333}.tm-guide summary{cursor:pointer;min-height:44px;padding:8px 0}.tm-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);border-radius:30px;background:#242621;color:white;padding:12px 24px;z-index:30;box-shadow:0 8px 24px #0002}.tm-preview{display:block;max-width:100%;max-height:420px;margin:20px auto;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0/20px 20px}.tm-downloads{display:flex;gap:10px;flex-wrap:wrap}.tm-downloads a{overflow-wrap:anywhere}.tm-workspace [hidden]{display:none!important}.tm-options{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}.tm-options>div{flex:1;min-width:120px}.tm-options input[type=color]{width:100%;height:48px;border:0}.tm-check{display:flex!important;align-items:center;gap:8px;min-height:44px}.tm-swatch{height:100px;border-radius:16px;border:1px solid #ddd;margin:20px 0}.tm-check input{width:auto}.tm-stat{font-size:13px;color:#666}.tm-paper{background:white;color:black;font-family:serif;line-height:1.7;overflow:auto;padding:24px}.tm-paper table{border-collapse:collapse;width:100%;font-size:12px}.tm-paper td,.tm-paper th{border:1px solid #bbb;padding:6px;white-space:pre-wrap}.tm-paper img{max-width:100%}.tm-paper p{margin:0 0 1em}@media(max-width:600px){.tm-workspace{padding:20px 16px;border-radius:20px}.tm-fields{grid-template-columns:1fr}.tm-actions .tm-button{width:100%}.tm-result-heading{align-items:flex-start}.tm-tool-title{margin:24px 0}.tm-copy-field .tm-text-button{padding:10px}.tm-tool-title h1{font-size:27px}}

.tm-batch-list{list-style:none;padding:0;max-height:260px;overflow:auto;margin:16px 0}.tm-batch-list li{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #eee;overflow-wrap:anywhere;font-size:13px}.tm-batch-list strong{min-width:0;flex:1}.tm-batch-list span{flex:1;color:#68665f}.tm-workspace progress{width:100%;height:8px;accent-color:#ff6b35;margin:20px 0}.tm-batch-list:empty{display:none}

.tm-download-item{display:flex;gap:8px;flex-wrap:wrap;max-width:100%}#tool-app[data-tool="image-convert"] .tm-secondary{white-space:normal;overflow-wrap:anywhere}@media(max-width:600px){.tm-batch-list li{flex-direction:column}.tm-download-item,.tm-download-item a,.tm-download-item button,#batch-archive a,#batch-archive button{width:100%}.tm-workspace input[type=file]::file-selector-button{min-height:44px}.tm-workspace input,.tm-workspace select{font-size:16px!important}}
