/* Formatted free text: supplier descriptions, payment instructions (services/rich_text_html.php). Logical properties for RTL. */
.rt { display: grid; gap: 14px; min-width: 0; color: var(--text-2); font-size: .94rem; line-height: 1.75; }
.rt p { margin: 0; }
.rt strong { color: var(--text); font-weight: 700; }
.rt-mk { flex: none; display: inline-grid; place-items: center; width: 1.5em; font-size: 1.02em; line-height: 1.7; }

.rt-link { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / .35); text-underline-offset: 3px; overflow-wrap: anywhere; vertical-align: bottom; transition: text-decoration-color .2s var(--ease); }
.rt-link:hover { text-decoration-color: currentColor; }
.rt-link .ic { opacity: .7; }

.rt-lead { display: flex; gap: 6px; align-items: flex-start; color: var(--text); font-size: 1.04rem; font-weight: 600; line-height: 1.55; }
.rt-h { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--text); font-size: .95rem; font-weight: 700; }
.rt-h::after { content: ""; flex: 1; min-width: 24px; height: 1px; background: var(--line); }
.rt-h .rt-mk { width: auto; }
.rt-h + .rt-h { margin-top: -6px; }
.rt-hr { width: 100%; margin: 2px 0; border: 0; border-top: 1px dashed var(--line-2); }

.rt-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-list li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.rt-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.rt-list li.rt-dot::before { content: ""; flex: none; width: 6px; height: 6px; margin: .72em 9px 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.rt-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.rt-steps li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
.rt-steps li:last-child { padding-bottom: 0; }
.rt-steps li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 13.5px; top: 32px; bottom: 4px; width: 1px; background: linear-gradient(var(--line-2), transparent); }
.rt-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); border: 1px solid rgb(var(--accent-rgb) / .3); color: var(--accent); font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rt-step { display: grid; gap: 4px; min-width: 0; padding-top: 1px; overflow-wrap: anywhere; }
.rt-step-t { color: var(--text); }
.rt-step-more { color: var(--muted); font-size: .9rem; }

.rt-specs { display: grid; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); overflow: hidden; }
.rt-specs > div { display: grid; grid-template-columns: minmax(120px, 32%) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 14px; }
.rt-specs > div + div { border-top: 1px solid var(--line); }
.rt-specs dt { display: flex; gap: 4px; align-items: baseline; color: var(--muted); font-size: .86rem; }
.rt-specs dd { margin: 0; min-width: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

.rt-fmt { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; vertical-align: middle; }
.rt-fmt code { padding: 2px 9px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--text); font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1.6; }
.rt-sep { color: var(--muted); font-size: .8rem; }

.rt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-chips li { padding: 4px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); font: 500 .8rem/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; direction: ltr; }

.rt-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 28%, transparent); }
.rt-note > .ic { margin-top: 5px; color: var(--warn); }
.rt-note-body { display: grid; gap: 6px; min-width: 0; color: var(--text-2); overflow-wrap: anywhere; }
.rt-note strong { color: var(--warn); }
.rt-note .rt-list li.rt-dot::before { background: var(--warn); box-shadow: none; }

@media (max-width: 560px) {
  .rt-specs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
