/* Kostenlose Tools (ADR-172) – Ergänzungen zu company-check.css. Abgeleitet: Kartenraster wie Branchen-Übersicht,
   Punktestand-Ring aus Petrol/Amber/Rot der Tokens; keine neuen Farben. */
.oaf-tl { max-width: 1120px; }
.oaf-tl__back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 500 14px "Geist", system-ui, sans-serif; color: #1D4E5A; text-decoration: none; }
.oaf-tl__back:hover { text-decoration: underline; }
.oaf-tl .oaf-tl__h2 { margin: 16px 0 0; font: 600 22px/1.25 "Geist", system-ui, sans-serif; letter-spacing: -.02em; color: #141C1F; }
.oaf-tl .oaf-tl__h3 { margin: 0; font: 600 18px/1.3 "Geist", system-ui, sans-serif; color: #141C1F; }
.oaf-tl__opt { font-weight: 400; color: #6B777E; font-size: 13px; }

/* Übersicht */
.oaf-tl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.oaf-tl__grid--small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.oaf-tl__grid > li { display: flex; }
.oaf-tl__card { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 22px; border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; color: #2B363C; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.oaf-tl__card:hover { border-color: #1D4E5A; box-shadow: 0 2px 10px rgba(20, 28, 31, .08); color: #2B363C; }
.oaf-tl__card:focus-visible { outline: 2px solid #1D4E5A; outline-offset: 2px; }
.oaf-tl__card--small { padding: 18px; background: #F7F9F9; }
.oaf-tl__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: #E6EEF0; color: #1D4E5A; }
.oaf-tl__card--small .oaf-tl__ico { width: 36px; height: 36px; background: #FFFFFF; }
.oaf-tl__tag { position: absolute; top: 22px; right: 22px; font: 500 12px "Geist Mono", monospace; letter-spacing: .03em; text-transform: uppercase; color: #6B777E; }
.oaf-tl__name { margin-top: 4px; font: 600 18px/1.3 "Geist", system-ui, sans-serif; color: #141C1F; }
.oaf-tl__card--small .oaf-tl__name { font-size: 16px; }
.oaf-tl__text { font: 400 15px/1.5 "Geist", system-ui, sans-serif; color: #55626A; flex: 1; }
.oaf-tl__card--small .oaf-tl__text { font-size: 14px; }
.oaf-tl__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 500 15px "Geist", system-ui, sans-serif; color: #1D4E5A; }

/* Generatoren: Formular links, Ausgabe rechts */
.oaf-tl__split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.oaf-tl__out { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 28px); border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; min-width: 0; }
.oaf-tl__outhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.oaf-tl__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oaf-tl__actions .oaf-chk__btn { height: 40px; padding: 0 16px !important; font-size: 14px !important; }
.oaf-tl__set { margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid #E8ECED; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.oaf-tl__set legend { padding: 0 0 12px; font: 600 16px "Geist", system-ui, sans-serif; color: #141C1F; }
.oaf-chk__pair.is-wide { grid-column: 1 / -1; }
.oaf-tl__set[hidden], .oaf-chk__f[hidden], .oaf-tl__check[hidden], .oaf-tl__layout[hidden] { display: none; }
select.oaf-chk__inp { appearance: auto; padding-right: 8px; }
.oaf-tl__color { padding: 4px 6px; cursor: pointer; }
.oaf-tl__check { display: flex; gap: 10px; align-items: flex-start; font: 400 15px/1.45 "Geist", system-ui, sans-serif; color: #2B363C; cursor: pointer; }
.oaf-tl__check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #1D4E5A; }
.oaf-tl__check small { display: block; margin-top: 2px; font-size: 13.5px; color: #6B777E; }
.oaf-tl__preview { padding: 18px; border: 1px dashed #C9D1D4; border-radius: 8px; background: #F7F9F9; font: 400 15px/1.55 "Geist", system-ui, sans-serif; color: #2B363C; overflow-wrap: anywhere; overflow-x: auto; }
.oaf-tl .oaf-tl__preview h2 { margin: 0 0 8px; font-size: 20px; color: #141C1F; }
.oaf-tl .oaf-tl__preview h3 { margin: 16px 0 6px; font-size: 16px; color: #141C1F; }
.oaf-tl__preview p { margin: 0 0 10px; }
.oaf-tl__preview--mail { background: #FFFFFF; border-style: solid; }
.oaf-tl__missing { margin: 0; padding: 12px 16px; list-style: none; border-radius: 8px; background: #FBF1DE; color: #6B4A0F; font: 400 14px/1.5 "Geist", system-ui, sans-serif; }
.oaf-tl__missing li.is-head { font-weight: 600; }
.oaf-tl__missing li:not(.is-head):not(.is-done)::before { content: "– "; }
.oaf-tl__missing:has(.is-done) { background: #E4F2EA; color: #1E5E3B; }
.oaf-tl__how { font: 400 14px/1.5 "Geist", system-ui, sans-serif; color: #55626A; }
.oaf-tl__how summary { cursor: pointer; font-weight: 500; color: #1D4E5A; }
.oaf-tl__how ul { margin: 8px 0; padding-left: 18px; }
.oaf-tl__how p { margin: 0; }

/* Firmensuche zum Vorausfüllen */
.oaf-tl__lookup { position: relative; display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid #E8ECED; }
.oaf-tl__search { position: relative; display: block; }
.oaf-tl__search svg { position: absolute; left: 14px; top: 15px; color: #6B777E; pointer-events: none; }
.oaf-tl__search .oaf-chk__inp { padding-left: 42px; }
.oaf-tl__hits { position: absolute; z-index: 5; top: 78px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; border: 1px solid #DCE1E3; border-radius: 8px; background: #FFFFFF; box-shadow: 0 6px 20px rgba(20, 28, 31, .12); }
.oaf-tl__hits button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer; font: 400 13px "Geist", system-ui, sans-serif; color: #6B777E; }
.oaf-tl__hits button strong { font-size: 15px; font-weight: 500; color: #141C1F; }
.oaf-tl__hits button:hover, .oaf-tl__hits button:focus-visible { background: #F3F5F6; }
.oaf-tl__hits .is-empty { padding: 10px 12px; font: 400 14px "Geist", system-ui, sans-serif; color: #6B777E; }

/* Website-Check */
.oaf-tl__score { display: flex; gap: 22px; align-items: center; padding: 22px; border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; }
.oaf-tl__ring { --c: #23784A; flex: none; position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #E8ECED 0); }
.oaf-tl__ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #FFFFFF; }
.oaf-tl__ring b, .oaf-tl__ring small { position: relative; }
.oaf-tl__ring b { font: 600 34px/1 "Geist", system-ui, sans-serif; color: #141C1F; }
.oaf-tl__ring small { font: 400 12px "Geist", system-ui, sans-serif; color: #6B777E; }
.oaf-tl__score.is-warn .oaf-tl__ring { --c: #DFA13A; }
.oaf-tl__score.is-bad .oaf-tl__ring { --c: #B3261E; }
.oaf-tl__scoretext { display: flex; flex-direction: column; gap: 6px; font: 400 15px/1.5 "Geist", system-ui, sans-serif; color: #55626A; }
.oaf-tl__scoretext strong { font-size: 19px; color: #141C1F; }
.oaf-tl__counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.oaf-tl__counts span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
.oaf-tl__counts .is-ok::before { background: #23784A; }
.oaf-tl__counts .is-warn::before { background: #DFA13A; }
.oaf-tl__counts .is-bad::before { background: #B3261E; }
.oaf-tl__tip { display: block; color: #55626A !important; }
.oaf-tl .oaf-chk__rows { margin-top: 4px; }

/* Rechnungs-Check */
.oaf-tl__sum { display: flex; flex-direction: column; margin: 0; border: 1px solid #E8ECED; border-radius: 8px; }
.oaf-tl__sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #E8ECED; font: 400 15px "Geist", system-ui, sans-serif; }
.oaf-tl__sum > div:last-child { border-bottom: 0; }
.oaf-tl__sum dt { color: #55626A; }
.oaf-tl__sum dd { margin: 0; font-variant-numeric: tabular-nums; color: #141C1F; }
.oaf-tl__sum .is-total dt, .oaf-tl__sum .is-total dd { font-weight: 600; color: #141C1F; }
.oaf-tl__list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.oaf-tl__progress { margin: 0; padding: 8px 12px; border-radius: 6px; background: #EEF1F2; font: 500 14px "Geist", system-ui, sans-serif; color: #2B363C; }
.oaf-tl__progress.is-done { background: #E4F2EA; color: #1E5E3B; }
.oaf-tl__notes { margin: 0; padding: 12px 16px 12px 32px; border-radius: 8px; background: #EEF1F2; font: 400 14px/1.5 "Geist", system-ui, sans-serif; color: #2B363C; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 900px) {
	.oaf-tl__split { grid-template-columns: 1fr; }
	.oaf-tl__out { position: static; }
}
@media (max-width: 640px) {
	.oaf-tl__score { flex-direction: column; align-items: flex-start; }
	.oaf-tl__tag { position: static; order: -1; }
	.oaf-tl__actions .oaf-chk__btn { width: auto; }
}
/* Signatur-Vorschau: Tabellenstile des Themes neutralisieren (Inline-Stile der Signatur bleiben wirksam) */
.oaf-tl .oaf-tl__preview--mail table { width: auto; margin: 0; border: 0; border-collapse: collapse; background: transparent; }
.oaf-tl .oaf-tl__preview--mail tr, .oaf-tl .oaf-tl__preview--mail td { border: 0; padding: 0; background: transparent; line-height: normal; }
.oaf-tl .oaf-tl__preview--mail img { max-width: none; }
/* Signatur: Auswahl der Anordnung (abgeleitet: Karten wie Paketwahl, Petrol-Rahmen für die Auswahl) */
.oaf-tl .oaf-tl__layouts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.oaf-tl .oaf-tl__layouts legend { grid-column: 1 / -1; padding: 0 0 6px; }
.oaf-tl__layout { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1px solid #C9D1D4; border-radius: 8px; background: #FFFFFF; cursor: pointer; text-align: center; font: 500 13px/1.3 "Geist", system-ui, sans-serif; color: #2B363C; }
.oaf-tl__layout input { position: absolute; opacity: 0; pointer-events: none; }
.oaf-tl__layout:hover { border-color: #1D4E5A; }
.oaf-tl__layout:has(input:checked) { border-color: #1D4E5A; box-shadow: 0 0 0 2px #C6D8DC; background: #F3F7F8; }
.oaf-tl__layout:has(input:focus-visible) { outline: 2px solid #1D4E5A; outline-offset: 2px; }
@media (max-width: 640px) { .oaf-tl .oaf-tl__layouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

