.ft-page [hidden] { display: none !important; }
.ft-page section.ft-hero { padding: 34px 0 24px; }
.ft-hero h1 { max-width: 880px; font-size: clamp(2rem, 4.3vw, 3.2rem); line-height: 1.09; margin: 14px 0 16px; }
.ft-hero .lede { max-width: 730px; margin: 0; font-size: 1.12rem; }
.ft-siblings { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 0; }
.ft-siblings a { padding: 9px 14px; text-decoration: none; border: 1px solid var(--line); border-radius: 30px; font-size: .88rem; }
.ft-siblings a[aria-current] { background: var(--ink); border-color: var(--ink); color: white; }
.ft-page section.ft-section { padding: 10px 0 64px; }
.ft-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.ft-input, .ft-output { padding: clamp(20px, 2.5vw, 32px); min-width: 0; }
.ft-output { background: #edf3ef; border-left: 1px solid var(--line); scroll-margin-top: 96px; }
.ft-step { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; color: var(--accent); margin: 0 0 14px; }
.ft-input h2, .ft-output h2 { font-size: 1.8rem; margin: 0 0 20px; }
.ft-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.ft-field { margin: 0 0 18px; min-width: 0; }
.ft-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.ft-field input, .ft-field select, .ft-field textarea { width: 100%; min-width: 0; border: 1px solid #899d97; border-radius: 4px; background: white; padding: 11px 12px; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.45; }
.ft-field textarea { resize: vertical; min-height: 96px; }
.ft-field input:focus, .ft-field select:focus, .ft-field textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.ft-hint, .ft-private { font-size: .85rem; line-height: 1.6; color: var(--muted); }
.ft-hint { margin: 7px 0 0; }
.ft-private { display: flex; gap: 10px; align-items: baseline; margin: 22px 0 0; }
.ft-private::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 7px; }
.ft-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.ft-actions .button { font-size: .9rem; padding: 11px 17px; min-height: 46px; }
.ft-actions button { cursor: pointer; }
.ft-actions button:disabled { opacity: .55; cursor: wait; }
.ft-js { display: none; }
.ft-ready .ft-js { display: inline-flex; }
.ft-note { min-height: 1.4em; font-size: .85rem; margin: 10px 0 0; color: var(--accent); }
.ft-error { color: var(--stop); font-weight: 600; }
.ft-preview { white-space: pre-wrap; overflow-wrap: anywhere; background: white; padding: 22px; border: 1px solid #bacac3; border-radius: 4px; font-size: .95rem; line-height: 1.55; min-height: 220px; }
.ft-preview:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.ft-convert { border-top: 1px solid #becfc6; padding-top: 20px; margin-top: 24px; }
.ft-convert p { font-size: .95rem; margin: 0 0 15px; }
.ft-convert .button { width: 100%; text-align: center; padding: 14px 16px; font-size: .94rem; }
.ft-wide { grid-template-columns: 1fr; }
.ft-wide .ft-output { border-left: 0; border-top: 1px solid var(--line); }
.ft-file-card { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.ft-file-card h3 { margin-bottom: 16px; }
.ft-file-card textarea { min-height: 140px; font-family: var(--font-mono); font-size: .85rem; }
.ft-import-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ft-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.ft-metric { background: white; padding: 18px; border: 1px solid var(--line); border-radius: 4px; }
.ft-metric strong { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 2.1rem; display: block; line-height: 1.1; margin-bottom: 6px; }
.ft-metric span { font-size: .86rem; }
.ft-table-wrap { overflow: auto; border: 1px solid var(--line); background: white; max-height: 510px; }
.ft-table { width: 100%; border-collapse: collapse; font-size: .88rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ft-table th, .ft-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ft-table th { background: var(--ink); color: white; position: sticky; top: 0; }
.ft-table td:first-child { font-family: var(--font-mono); }
.ft-pill { display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: .78rem; background: var(--mist); color: var(--ink); }
.ft-pill-up { background: var(--warm-soft); color: #703b0c; }
.ft-pill-down { background: var(--mint); color: var(--ink); }
.ft-issues { margin-top: 20px; }
.ft-issues summary { cursor: pointer; font-weight: 600; }
.ft-issues ul { padding-left: 20px; font-size: .9rem; }
.ft-issues li { margin-bottom: 5px; overflow-wrap: anywhere; }
.ft-workbon { background: white; border: 1px solid var(--line); padding: 22px; border-radius: 4px; }
.ft-workbon .ft-field:last-child { margin-bottom: 0; }
.ft-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-top: 20px; }
.ft-check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--ink); }
.ft-page section.ft-explanation { padding: 50px 0; border-top: 1px solid var(--line); }
.ft-explain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.ft-explain-grid h2 { font-size: 2rem; margin-bottom: 18px; }
.ft-explain-grid p { font-size: .98rem; line-height: 1.75; }
.ft-page section.ft-faq { padding: 10px 0 64px; }
.ft-faq h2 { margin-bottom: 24px; font-size: 2rem; }
.ft-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.ft-faq summary { cursor: pointer; }
.ft-faq h3 { display: inline; font-size: 1.05rem; }
.ft-faq details p { max-width: 760px; font-size: .98rem; line-height: 1.7; margin: 18px 0 0; }
.ft-directory#kleine-klussen { margin-top: 32px; padding: 24px; border: 1px solid var(--line); }
.ft-directory h2 { margin-bottom: 20px; }
.ft-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ft-directory-grid a { font-weight: 600; }
.ft-directory-grid p { font-size: .9rem; margin-top: 9px; }
.ft-benefits { display: flex; flex-wrap: wrap; padding: 0; list-style: none; gap: 8px 18px; margin: 16px 0 8px; font-size: .83rem; font-weight: 600; color: var(--accent-dark); }
.ft-benefits li { display: flex; align-items: center; gap: 7px; }
.ft-benefits li::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.ft-result-heading, .ft-file-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ft-result-heading h2 { margin-bottom: 14px; }
.ft-result-heading .ft-step { margin-bottom: 8px; }
.ft-mode { background: white; border: 1px solid #b8c8c0; padding: 5px 9px; border-radius: 4px; color: var(--muted); font-size: .74rem; white-space: nowrap; }
.ft-file-heading .ft-mode { margin-top: 0; }
.ft-intro { font-size: .95rem; max-width: 750px; margin: -6px 0 22px; line-height: 1.65; }
.ft-editor-hint { margin: 0 0 10px; }
.ft-options { border: 1px solid var(--line); border-radius: 4px; padding: 0; margin: 12px 0; background: white; }
.ft-page main .ft-options > summary { cursor: pointer; padding: 13px 14px; min-height: 44px; font-weight: 600; font-size: .87rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ft-options > summary::-webkit-details-marker { display: none; }
.ft-options > summary::after { content: '+'; font-family: var(--font-mono); }
.ft-options[open] > summary::after { content: '-'; }
.ft-options[open] > summary { border-bottom: 1px solid var(--line); }
.ft-options-body { padding: 18px 14px 4px; }
.ft-options-body p { font-size: .9rem; line-height: 1.6; margin: 0 0 16px; }
.ft-options .ft-field { margin-bottom: 14px; }
.ft-file-card input[type=file] { border-style: dashed; background: white; padding: 15px 12px; font-size: .87rem; }
.ft-file-card input[type=file]::file-selector-button { background: var(--ink); color: white; border: 0; border-radius: 3px; font: inherit; padding: 10px 12px; margin-right: 10px; cursor: pointer; }
.ft-text-button { appearance: none; border: 0; background: transparent; padding: 10px 0; font: inherit; font-size: .87rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.ft-jump { display: none !important; margin-top: 20px; color: var(--ink); font-weight: 600; text-underline-offset: 4px; min-height: 44px; align-items: center; }
.ft-author { font-size: .84rem; color: var(--muted); margin: 0 0 24px; }
.ft-result-controls { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 12px; }
.ft-result-controls .ft-field { margin-bottom: 0; min-width: 210px; }
.ft-view-switch { gap: 2px; background: white; border: 1px solid #acbfb5; border-radius: 4px; padding: 3px; align-self: flex-end; }
.ft-view-switch button { appearance: none; background: transparent; border: 0; padding: 10px 16px; font: inherit; font-size: .88rem; border-radius: 2px; color: var(--ink); cursor: pointer; min-height: 44px; }
.ft-view-switch button[aria-pressed=true] { background: var(--ink); color: white; }
.ft-insight { background: #fbf2de; border-left: 3px solid var(--volt); padding: 16px 18px; margin: 0 0 22px; color: var(--ink); font-size: .94rem; line-height: 1.6; }
.ft-price-cards { display: none; }
.ft-open-questions { background: #fbf2de; border-radius: 4px; padding: 14px; margin-top: 18px; }
.ft-open-questions textarea { background: #fffdf7; border-color: #b8a680; }
.ft-workbon textarea { min-height: 88px; }
.ft-workbon .ft-open-questions .ft-field { margin-bottom: 0; }
.ft-benefits + .ft-siblings { padding-top: 10px; }
.ft-page section.ft-examples { padding: 44px 0; border-top: 1px solid var(--line); background: #f5f3eb; }
.ft-examples h2 { font-size: 1.9rem; max-width: 750px; margin-bottom: 16px; }
.ft-example-intro { max-width: 760px; font-size: .95rem; line-height: 1.7; margin: 0 0 24px; }
.ft-example-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ft-example-card { border-top: 2px solid #bac9c0; padding: 20px 0 0; }
.ft-example-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.ft-example-card p { font-size: .93rem; line-height: 1.75; margin: 0; }
.ft-example-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 42px; align-items: center; }
.ft-example-split p { font-size: .95rem; line-height: 1.7; }
.ft-examples .ft-table-wrap { max-height: none; }
.ft-example-table th[scope=row] { position: static; background: var(--paper); color: var(--ink); }
@media (max-width: 800px) {
  .ft-workspace { grid-template-columns: 1fr; }
  .ft-output { border-left: 0; border-top: 1px solid var(--line); }
  .ft-explain-grid { grid-template-columns: 1fr; gap: 25px; }
  .ft-directory-grid { grid-template-columns: 1fr; gap: 16px; }
  .ft-ready .ft-jump { display: flex !important; }
  .ft-example-grid, .ft-example-split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .ft-ready .ft-output .ft-table-wrap { display: none; }
  .ft-ready .ft-price-cards { display: grid; gap: 12px; margin-top: 16px; }
  .ft-price-card { background: white; border: 1px solid #b9cbc1; border-radius: 5px; padding: 16px; }
  .ft-price-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
  .ft-price-card header strong { font-family: var(--font-mono); font-size: .95rem; overflow-wrap: anywhere; min-width: 0; }
  .ft-price-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
  .ft-price-card dt { font-size: .76rem; color: var(--muted); margin-bottom: 5px; }
  .ft-price-card dd { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; margin: 0; }
  .ft-result-controls { flex-wrap: wrap; gap: 14px; }
  .ft-result-controls .ft-field { min-width: 0; width: 100%; }
  .ft-result-controls .ft-view-switch { width: 100%; justify-content: center; }
  .ft-insight { padding: 14px; }
  .ft-result-heading .ft-mode { margin-top: 3px; }
}
@media (max-width: 500px) {
  .ft-page section.ft-hero { padding-top: 30px; }
  .ft-grid, .ft-import-options { grid-template-columns: 1fr; gap: 0; }
  .ft-file-card + .ft-file-card { margin-top: 18px; }
  .ft-metrics { gap: 7px; }
  .ft-metric { padding: 13px 9px; }
  .ft-metric strong { font-size: 1.8rem; }
  .ft-metric span { font-size: .75rem; }
  .ft-preview { padding: 18px; }
  .ft-siblings a { font-size: .8rem; padding: 8px 11px; }
}
