/* Datei-Konverter convert.polarhub.de (ergänzt /shared/polar.css) */
[hidden] { display: none !important; }
.hero { padding-bottom: 24px; }
.reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.klein { font-size: .88rem; margin-top: 12px; }
.gast { max-width: 620px; }
.gast p { font-size: 1rem; }
.meldung { margin-bottom: 16px; border-left-color: var(--err); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn.klein { margin: 0; padding: 6px 12px; font-size: .9rem; }

/* Ablagefläche */
.ablage {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
    padding: clamp(28px, 6vw, 52px) 20px; cursor: pointer;
    background: var(--surface); border: 2px dashed var(--line); border-radius: var(--radius);
    transition: border-color .15s ease, background .15s ease;
}
.ablage:hover, .ablage:focus-within, .zieht .ablage { border-color: var(--accent); background: var(--accent-soft); }
.ablage input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ablage-symbol { font-size: 2rem; line-height: 1; color: var(--accent); }
.ablage strong { font-size: 1.15rem; }

/* Eine Gruppe = alle Dateien eines Typs, ein Auftrag = eine gestartete Umwandlung */
.gruppe, .auftrag { margin-top: 16px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kopf .symbol { font-size: 1.6rem; line-height: 1; }
.kopf h3 { margin: 0; font-size: 1.1rem; }
.kopf .muted { font-size: .9rem; }
.kopf .rechts { margin-left: auto; display: flex; gap: 8px; }
.pfeil { color: var(--accent); font-weight: 700; }

.dateien { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dateien li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.dateien .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dateien .muted { font-size: .88rem; white-space: nowrap; }
.dateien progress { width: 110px; }
.ok { color: var(--ok); font-weight: 600; }
.fehler { color: var(--err); font-weight: 600; }
.weg { border: 0; background: none; color: var(--muted); font: inherit; font-size: 1.2rem; line-height: 1; padding: 2px 8px; border-radius: 8px; cursor: pointer; }
.weg:hover { color: var(--err); background: var(--bg); }

progress { height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); accent-color: var(--accent); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
progress.breit { display: block; width: 100%; margin-top: 14px; }

/* Zielformate: echte Radioknöpfe, als Kacheln gezeichnet */
.frage { margin-top: 16px; font-weight: 600; }
.ziele { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 10px; }
.ziel { position: relative; display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.ziel input { position: absolute; opacity: 0; }
.ziel strong { display: block; }
.ziel span { display: block; font-size: .85rem; line-height: 1.35; color: var(--muted); }
.ziel:hover { border-color: var(--accent); }
.ziel:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.ziel:has(input:checked) strong { color: var(--accent); }
.ziel:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.mehr { margin-top: 14px; }
.mehr summary { cursor: pointer; color: var(--accent); font-weight: 500; }
.mehr .search { margin: 12px 0; }
.alle { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; padding: 2px; }
.alle button { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: .88rem; cursor: pointer; }
.alle button:hover { border-color: var(--accent); color: var(--accent); }
.werkzeug { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: .92rem; color: var(--muted); }
.werkzeug select { padding: 6px 10px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }

@media (max-width: 520px) {
    .gruppe, .auftrag { padding: 16px; }
    .dateien progress { width: 70px; }
    .kopf .rechts { margin-left: 0; width: 100%; }
}

/* Cloud-Ablage */
.auto-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .95rem; }
.cloud-zeile { display: inline-flex; align-items: center; gap: 8px; }
.ok-cloud { color: var(--ok, #2e7d4f); font-size: .9rem; white-space: nowrap; }
.lokal-hinweis { margin: 8px 0 0; }
.dateien li.fehlzeile { flex-wrap: wrap; }
.dateien li.fehlzeile .fehler { flex-basis: 100%; font-weight: 500; font-size: .92rem; }

/* Symbole im Stil des Logos */
.ablage-symbol .ic { width: 2.6rem; height: 2.6rem; }
.kopf .symbol .ic { width: 1.9rem; height: 1.9rem; }
