/* ==========================================================================
   ROADMAP – podstrona /roadmap
   Plik motywu: css/roadmap.css (ładowany tylko przez page-roadmap.php)
   Szablon page-roadmap.php (kopia page.php): treść siedzi w .inside.text (max 800px z "Dodatkowy CSS").
   Wszystko w zasięgu .rm – nie wpływa na inne strony.
   Kolory i fonty z motywu: #191b22 / #05070b / #2f3138 / #f1f2f4 / #ffce09, 'Transducer' + 'Open Sans'.
   ========================================================================== */

.rm { --rm-surface:#20232c; --rm-line:#2f3138; --rm-text:#f1f2f4; --rm-muted:#9aa0ad; --rm-accent:#ffce09; --rm-display:'Transducer', 'Open Sans', sans-serif;
	margin:0 5px 48px; color:var(--rm-text); font-family:'Open Sans', sans-serif; font-size:16px; line-height:1.55 }
.rm *, .rm *::before, .rm *::after { box-sizing:border-box }

/* Wstęp pod tytułem strony (h1.page-header) */
.rm .rm-intro { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:12px 32px; padding-bottom:20px; margin-bottom:24px; border-bottom:1px solid var(--rm-line) }
.rm .rm-lead { flex:1 1 380px; margin:0; color:var(--rm-muted); font-size:17px; line-height:1.6 }
.rm .rm-updated { margin:0; color:var(--rm-muted); font-size:14px; line-height:1.4; white-space:nowrap }
.rm .rm-updated strong { display:block; color:var(--rm-text); font:700 14px/1.3 var(--rm-display); text-transform:uppercase }

/* Tabela – nadpisuje globalne reguły table/td z style.css */
.rm table.rm-table { width:100%!important; margin:0!important; border-collapse:separate; border-spacing:0; table-layout:fixed; border:1px solid var(--rm-line); border-radius:8px; overflow:hidden; background:var(--rm-surface) }
.rm .rm-table th { background:#05070b; color:var(--rm-muted); font:700 11px/1.2 var(--rm-display); text-transform:uppercase; letter-spacing:.06em; text-align:left; vertical-align:middle; padding:14px 16px; border-bottom:1px solid var(--rm-line) }
.rm .rm-table th:nth-child(1) { width:41% }
.rm .rm-table th:nth-child(2) { width:34% }
.rm .rm-table td { padding:20px 16px; vertical-align:top; border-bottom:1px solid var(--rm-line); color:var(--rm-text) }
.rm .rm-table tbody tr:last-child td { border-bottom:0 }
.rm .rm-table tbody tr { transition:background .2s }
.rm .rm-table tbody tr:hover { background:#252832 }

/* Produkt: render + nazwa (zdjęcia jako tło – page.php wycina tagi <img> z treści) */
.rm .rm-prod { display:grid; grid-template-columns:72px minmax(0, 1fr); gap:14px; align-items:center }
.rm .rm-prod + .rm-prod { margin-top:14px; padding-top:14px; border-top:1px dashed var(--rm-line) }
.rm .rm-img { display:flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:8px; border:1px solid var(--rm-line);
	background-color:#05070b; background-position:center; background-repeat:no-repeat; background-size:84% auto }
.rm .rm-img svg { width:38px; height:38px; fill:none; stroke:var(--rm-muted); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
.rm .rm-name { display:block; color:#fff; font:700 14px/1.3 var(--rm-display); text-transform:uppercase }
.rm .rm-sub { display:block; margin-top:3px; color:var(--rm-muted); font-size:13px; line-height:1.4 }
.rm a.rm-link { display:inline-block; margin-top:6px; padding:3px 0; color:var(--rm-accent); font:700 11px/1 var(--rm-display); text-transform:uppercase; letter-spacing:.05em; text-decoration:none }
.rm a.rm-link::after { content:" \2192" }
.rm a.rm-link:hover, .rm a.rm-link:focus { color:#fff; text-decoration:none }

/* Status */
.rm .rm-badge { display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 10px; margin-bottom:8px; border-radius:12px; font:700 10px/1 var(--rm-display); text-transform:uppercase; letter-spacing:.05em; white-space:nowrap }
.rm .rm-badge::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor }
.rm .rm-b-live { background:var(--rm-accent); color:#05070b }
.rm .rm-b-ea { border:1px solid var(--rm-accent); color:var(--rm-accent) }
.rm .rm-b-prod { border:1px solid #6b7180; color:var(--rm-text) }
.rm .rm-b-beta { border:1px dashed #6b7180; color:var(--rm-muted) }
.rm .rm-status p { margin:0; color:var(--rm-muted); font-size:14px; line-height:1.55 }
.rm .rm-status p + p { margin-top:6px }
.rm .rm-status strong { color:var(--rm-text); font-weight:700 }

/* Termin */
.rm .rm-date { display:block; color:#fff; font:900 15px/1.3 var(--rm-display); text-transform:uppercase }
.rm .rm-now .rm-date { color:var(--rm-accent) }
.rm .rm-date-note { display:block; margin-top:4px; color:var(--rm-muted); font-size:13px; line-height:1.4 }

.rm .rm-note { margin:20px 0 0; color:var(--rm-muted); font-size:13px; line-height:1.6 }

/* Telefon i wąskie okna: wiersze jako karty */
@media (max-width:760px) {
	.rm table.rm-table, .rm .rm-table tbody, .rm .rm-table tr, .rm .rm-table td { display:block }
	.rm table.rm-table { background:none; border:0; border-radius:0; overflow:visible }
	.rm .rm-table thead { display:none }
	.rm .rm-table tbody tr { margin-bottom:12px; background:var(--rm-surface); border:1px solid var(--rm-line); border-radius:8px; overflow:hidden }
	.rm .rm-table tbody tr:hover { background:var(--rm-surface) }
	.rm .rm-table td { padding:14px 14px 0; border:0 }
	.rm .rm-table td:last-child { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; margin-top:14px; padding:12px 14px 14px; border-top:1px solid var(--rm-line) }
	.rm .rm-table td:last-child::before { content:"Expected launch"; flex-basis:100%; color:var(--rm-muted); font:700 10px/1.6 var(--rm-display); text-transform:uppercase; letter-spacing:.06em }
	.rm .rm-date-note { margin-top:0 }
}
@media (prefers-reduced-motion:reduce) { .rm .rm-table tbody tr { transition:none } }
