/* Styles minimaux en attendant la charte graphique. */
:root { --text: #18181B; --muted: #71717A; --line: #E4E4E7; --accent: #2563EB; --bg: #F4F4F5; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; color: var(--text); background: var(--bg); }
main { max-width: 26rem; margin: 10vh auto; padding: 2.5rem; background: #fff; border-radius: 16px; }
label { display: block; font-weight: 700; font-size: .85rem; margin: 1rem 0 .4rem; }
input { width: 100%; padding: .75rem; border: 1px solid #D4D4D8; border-radius: 8px; font-size: 1rem; }
button { width: 100%; margin-top: 1.5rem; padding: .8rem; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; }
.muted { color: var(--muted); font-size: .85rem; }
.error { color: #B91C1C; font-size: .9rem; }
.notice { padding: .6rem .8rem; border-radius: 8px; background: #DCFCE7; color: #166534; font-size: .9rem; }
select { width: 100%; padding: .75rem; border: 1px solid #D4D4D8; border-radius: 8px; font-size: 1rem; background: #fff; }
.actions { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; }
.actions select { width: auto; padding: .4rem; font-size: .85rem; }
.actions button { width: auto; margin-top: 0; padding: .4rem .8rem; font-size: .85rem; }
.maps { list-style: none; padding: 0; }
.maps li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.badge { display: inline-block; margin-left: .5rem; padding: .1rem .5rem; border-radius: 6px; background: #DBEAFE; color: #1E40AF; font-size: .8rem; }
.badge.muted { background: #F4F4F5; color: var(--muted); }
button.secondary { background: #fff; color: var(--text); border: 1px solid #D4D4D8; }
@media (max-width: 30rem) { main { margin: 0; min-height: 100vh; border-radius: 0; } }

/* En-tête des écrans d'une carte. */
.app-bar { display: flex; align-items: center; gap: 1rem; padding: .6rem 1rem; background: #fff; border-bottom: 1px solid var(--line); }
.app-bar a { color: var(--accent); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.app-bar .brand { color: var(--text); font-weight: 800; font-size: 1.1rem; }
.app-bar .map-name { color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.app-bar .badge { margin-left: 0; }
.app-bar .spacer { flex: 1; }
.small { font-size: .8rem; }
@media (max-width: 30rem) { .app-bar .brand, .app-bar .badge { display: none; } }
