.file-to-markdown-page{--ftm-teal: #14b8a6;--ftm-teal-hi: #5eead4;--ftm-teal-soft: rgba(20, 184, 166, .1);--ftm-teal-dim: rgba(20, 184, 166, .24);--ftm-teal-glow: rgba(20, 184, 166, .42);--ftm-frame-max: 1120px;--ftm-bench-bg: linear-gradient(180deg, rgba(9, 18, 30, .98) 0%, rgba(6, 14, 24, .99) 100%);--ftm-trough-bg: rgba(6, 16, 28, .93);--ftm-slab-bg: rgba(4, 12, 22, .97);--ftm-rail-bg: rgba(8, 18, 32, .95);--ftm-ink: rgba(218, 234, 250, .96);--ftm-ink-muted: rgba(170, 196, 220, .62);--ftm-border: rgba(40, 80, 110, .35);--ftm-border-teal: var(--ftm-teal-dim);--ftm-chip-bg: rgba(20, 184, 166, .07);--ftm-chip-border: rgba(20, 184, 166, .22);--ftm-font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", "Consolas", "SFMono-Regular", monospace}.file-to-markdown-page .tool-frame{max-width:var(--ftm-frame-max);width:100%;margin-inline:auto;padding-inline:clamp(.35rem,1.2vw,.75rem)}.file-to-markdown-page .tool-header-block{padding-inline:.15rem}.file-to-markdown-page .page-title{font-size:clamp(2.6rem,4.2vw,3.4rem);line-height:.97;max-width:14ch}.file-to-markdown-page .page-subtitle{max-width:46ch;font-size:clamp(1rem,1.4vw,1.1rem);color:var(--color-text-muted)}.ftm-trust{display:flex;align-items:center;gap:.4rem;margin-top:.55rem;font-size:.875rem;color:var(--ftm-teal);font-weight:500}.ftm-format-chips{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.7rem}.ftm-format-chip{display:inline-block;padding:.2em .55em;font-size:.73rem;font-weight:600;letter-spacing:.04em;border-radius:.35rem;border:1px solid var(--ftm-chip-border);background:var(--ftm-chip-bg);color:var(--ftm-teal-hi);text-transform:uppercase}.ftm-workbench{display:flex;flex-direction:column;gap:.7rem;padding:clamp(.65rem,1.1vw,.85rem);border-radius:1.8rem;border:1px solid var(--ftm-border-teal);background:var(--ftm-bench-bg);box-shadow:0 1px #ffffff08 inset,0 28px 56px -32px #0009,0 2px 8px #00000047}.ftm-intake{display:flex;flex-direction:column;gap:.55rem}.ftm-trough{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:9rem;padding:1.4rem 1.2rem;border-radius:1.25rem;border:1px dashed var(--ftm-teal-dim);background:var(--ftm-trough-bg);cursor:pointer;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;text-align:center;user-select:none}.ftm-trough:hover,.ftm-trough:focus-visible{border-color:var(--ftm-teal);background:#14b8a60a;outline:none;box-shadow:0 0 0 2px var(--ftm-teal-soft)}.ftm-trough.is-dragover{border-color:var(--ftm-teal-hi);background:var(--ftm-teal-soft);box-shadow:0 0 0 3px var(--ftm-teal-dim),0 0 24px var(--ftm-teal-soft)}.ftm-trough-icon{width:40px;height:40px;color:var(--ftm-teal);opacity:.85}.ftm-trough-primary{margin:0;font-size:.97rem;font-weight:500;color:var(--ftm-ink)}.ftm-trough-formats{margin:0;font-size:.78rem;color:var(--ftm-ink-muted);letter-spacing:.02em}.ftm-file-chips{display:flex;flex-wrap:wrap;gap:.35rem}.ftm-file-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.25em .6em;border-radius:.4rem;border:1px solid var(--ftm-teal-dim);background:var(--ftm-chip-bg);font-size:.8rem;color:var(--ftm-teal-hi);font-weight:500;min-height:0}.ftm-file-chip.is-converting{opacity:.7;animation:ftm-pulse 1.2s ease-in-out infinite}.ftm-file-chip.is-error{border-color:#ef444466;color:#fca5a5e6}@keyframes ftm-pulse{0%,to{opacity:.7}50%{opacity:1}}.ftm-presets{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.ftm-presets-label{font-size:.75rem;color:var(--ftm-ink-muted);flex-shrink:0}.ftm-preset-btn{padding:.2em .65em;border-radius:.35rem;border:1px solid var(--ftm-border);background:transparent;color:var(--ftm-ink-muted);font-size:.875rem;font-weight:500;cursor:pointer;transition:border-color .15s,color .15s,background .15s;min-height:0;line-height:1.6}.ftm-preset-btn:hover,.ftm-preset-btn:focus-visible{border-color:var(--ftm-teal-dim);color:var(--ftm-teal-hi);background:var(--ftm-teal-soft);outline:none}.file-to-markdown-page .ftm-preset-btn:focus-visible{box-shadow:0 0 0 2px var(--ftm-teal-soft)}.ftm-output-section{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:.6rem;align-items:start}.ftm-distillate{display:flex;flex-direction:column;gap:0;border-radius:1.1rem;border:1px solid var(--ftm-border);background:var(--ftm-slab-bg);overflow:hidden}.ftm-slab-topbar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.5rem .75rem;border-bottom:1px solid var(--ftm-border);flex-shrink:0}.ftm-slab-label{font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ftm-teal)}.ftm-slab-content{position:relative;min-height:9rem;max-height:clamp(18rem,45vh,32rem);overflow:hidden;display:flex;flex-direction:column}.ftm-slab-body{overflow-x:auto;overflow-y:auto;flex:1}.ftm-pre{margin:0;padding:.85rem 1rem;white-space:pre;font-family:var(--ftm-font-mono);font-size:.82rem;line-height:1.65;color:var(--ftm-ink);min-width:max-content}.ftm-slab-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;min-height:9rem;color:var(--ftm-ink-muted);font-size:.84rem;text-align:center;padding:1rem}.ftm-slab-empty-icon{font-size:1.6rem;opacity:.5}.ftm-conv-status{padding:.45rem .75rem;font-size:.78rem;color:var(--ftm-ink-muted);border-top:1px solid var(--ftm-border);flex-shrink:0}.ftm-inspector{display:flex;flex-direction:column;gap:.5rem;padding:.7rem;border-radius:1.1rem;border:1px solid var(--ftm-border);background:var(--ftm-rail-bg)}.ftm-meter-heading{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ftm-ink-muted);margin-bottom:.1rem}.ftm-token-count{font-size:1.7rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ftm-teal-hi);line-height:1.1;font-family:var(--ftm-font-mono)}.ftm-token-label{font-size:.72rem;color:var(--ftm-ink-muted);margin-top:.05rem}.ftm-delta{font-size:.78rem;color:var(--ftm-teal);font-weight:600;margin-top:.2rem;font-family:var(--ftm-font-mono)}.ftm-trim-divider{border:none;border-top:1px solid var(--ftm-border);margin:.1rem 0}.ftm-trim-heading{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ftm-ink-muted);margin-bottom:.2rem}.ftm-trim-list{display:flex;flex-direction:column;gap:.35rem}.ftm-trim-item{display:flex;align-items:center;gap:.4rem;font-size:.78rem;color:var(--ftm-ink-muted);cursor:pointer;padding:.1rem 0;min-height:0;user-select:none}.ftm-trim-item input[type=checkbox]{width:14px;height:14px;accent-color:var(--ftm-teal);cursor:pointer;flex-shrink:0}.ftm-trim-item:hover{color:var(--ftm-ink)}.ftm-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding-top:.2rem}.file-to-markdown-page .button-primary:focus-visible,.file-to-markdown-page .button-secondary:focus-visible{outline:2px solid var(--ftm-teal);outline-offset:2px}.ftm-status{font-size:.84rem;color:var(--ftm-ink-muted);padding:.1rem .25rem}.ftm-status[data-tone=error]{color:#fca5a5e6}.ftm-status[data-tone=ok]{color:var(--ftm-teal)}@keyframes ftm-reveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.ftm-slab-body.is-fresh{animation:ftm-reveal .25s ease-out}@media(max-width:680px){.ftm-output-section{grid-template-columns:1fr}.ftm-output-section{display:flex;flex-direction:column-reverse}.ftm-inspector{flex-direction:row;flex-wrap:wrap;gap:.6rem;align-items:flex-start}.ftm-meter-group,.ftm-trim-group{flex:1 1 auto}.ftm-trim-list{flex-direction:row;flex-wrap:wrap;gap:.45rem}.ftm-trim-item{flex-shrink:0}.ftm-actions{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.ftm-actions .button:last-child:nth-child(odd){grid-column:span 2}}@media(max-width:720px){.file-to-markdown-page .page-title{font-size:clamp(2rem,10vw,2.8rem);max-width:none}.file-to-markdown-page .tool-header-block{max-width:none}.ftm-trough{min-height:7rem;padding:1rem}.ftm-preset-btn{min-height:44px}}.ftm-file-chips{display:none}.ftm-file-chips:not([hidden]){display:flex}.ftm-delta{display:none}.ftm-delta:not([hidden]){display:block}.ftm-conv-status{display:none}.ftm-conv-status:not([hidden]){display:block}.ftm-slab-empty{display:none}.ftm-slab-empty:not([hidden]){display:flex}.ftm-slab-body[hidden],.ftm-actions{display:none}.ftm-actions:not([hidden]){display:flex}
