/* Szigetség Telekocsi — a Szigetség PWA dizájnrendszerére épülő stílus */

:root {
    --ink: #1f2937;
    --muted: #667085;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-lt: rgba(15, 118, 110, 0.12);
    --card: rgba(255, 255, 255, 0.92);
    --shadow: 0 18px 45px rgba(32, 38, 48, 0.12);
    --veszely: #b91c1c;
    --figyelem: #b45309;
    --siker: #15803d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 119, 6, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 30%),
        linear-gradient(180deg, #fbf8f2 0%, #f4eee3 48%, #f8f4ed 100%);
}

a { color: inherit; }

.shell {
    width: min(1080px, calc(100vw - 24px));
    margin: 0 auto;
}

/* ------------------------------------------------------------------ fejléc */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(251, 248, 242, 0.84);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    min-height: 66px;
    padding: 10px 0;
    position: relative;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-link img { height: 38px; display: block; }
.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: .01em;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--brand-dark);
    font-size: 1.15rem;
    font-weight: 700;
    pointer-events: none;
}

.header-user { display: flex; align-items: center; gap: 8px; }
.header-user .felhasznalo-nev {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: .92rem;
    color: var(--brand-dark);
}

/* ------------------------------------------------------------------ gombok */

.btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active { opacity: .85; }
.btn:disabled { opacity: .5; cursor: default; }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); background: var(--brand-dark); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    border: 1px solid rgba(31, 41, 55, 0.14);
}
.btn-secondary:hover:not(:disabled) { background: #fff; }

.btn-ghost {
    background: var(--brand-lt);
    color: var(--brand-dark);
}
.btn-ghost:hover { background: rgba(15, 118, 110, 0.2); }

.btn-veszely {
    background: rgba(185, 28, 28, 0.08);
    color: var(--veszely);
    border: 1px solid rgba(185, 28, 28, 0.22);
}
.btn-veszely:hover { background: rgba(185, 28, 28, 0.14); }

.btn-link {
    background: none;
    color: var(--brand-dark);
    text-decoration: underline;
    font-weight: 600;
    padding: 8px;
}

.btn-teljes { width: 100%; margin-top: 6px; }
.btn-kicsi { padding: 7px 13px; font-size: .84rem; }

/* --------------------------------------------------------------- műveletek */

main { flex: 1 0 auto; padding: 22px 0 30px; }

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.action-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    min-height: 84px;
    padding: 16px 20px;
    border: 2px solid rgba(15, 118, 110, 0.28);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
    cursor: pointer;
    font-family: inherit;
    color: var(--ink);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.action-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.55);
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.15);
    background: linear-gradient(145deg, rgba(255,255,255,1), rgba(255,255,255,0.92));
}
.action-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(15,118,110,.18));
    font-size: 1.7rem;
}
.action-tile strong { display: block; font-size: 1.06rem; color: var(--brand-dark); }
.action-tile small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }

/* ------------------------------------------------------- belépő választó */

.mode-chooser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 8px 0 4px;
}
.mode-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    min-height: 190px;
    padding: 28px 22px;
    border: 2px solid rgba(15, 118, 110, 0.28);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
    cursor: pointer;
    font-family: inherit;
    color: var(--ink);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mode-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.55);
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.15);
    background: linear-gradient(145deg, rgba(255,255,255,1), rgba(255,255,255,0.92));
}
.mode-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(15,118,110,.18));
    font-size: 2.2rem;
}
.mode-tile strong { font-size: 1.24rem; color: var(--brand-dark); }
.mode-tile small { color: var(--muted); font-size: .9rem; }

/* -------------------------------------------------------- nézet fejléce */

.view-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.view-cim {
    flex: 1;
    margin: 0;
    font-size: 1.2rem;
    color: var(--brand-dark);
}
.view-bar #btnCreate { flex: 0 0 auto; }

/* ------------------------------------------------------------------- fülek */

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.tabs[hidden] { display: none; }
.tab {
    border: 1px solid rgba(31, 41, 55, 0.12);
    border-radius: 999px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
}
.tab:hover { background: #fff; color: var(--ink); }
.tab.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

/* ------------------------------------------------------------------ panelek */

.panel {
    background: var(--card);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.filter-panel { padding: 14px 18px; margin-bottom: 16px; }

.filter-cim {
    font-size: .92rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    gap: 12px;
    align-items: end;
}
.filter-grid label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
}

select, input[type="date"], input[type="time"], input[type="text"],
input[type="email"], input[type="tel"], input[type="number"] {
    width: 100%;
    border: 1px solid rgba(31, 41, 55, 0.12);
    border-radius: 14px;
    padding: 11px 13px;
    background: #fff;
    color: var(--ink);
    font-size: .95rem;
    font-family: inherit;
}
select:focus, input:focus {
    outline: 2px solid rgba(15, 118, 110, 0.4);
    outline-offset: 1px;
}

.filter-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    padding: 10px 4px;
    font-size: .9rem !important;
    color: var(--ink) !important;
    cursor: pointer;
}
.filter-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.filter-check[hidden] { display: none !important; }

/* ------------------------------------------------------------------ kártyák */

.lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.kartya {
    background: var(--card);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(32, 38, 48, 0.08);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.kartya:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 118, 110, 0.14);
}
.kartya.nem-kattinthato { cursor: default; }
.kartya.nem-kattinthato:hover { transform: none; }
/* Elválasztó az élő és a lezárt tételek között (a lista teljes szélességében) */
.lista-elvalaszto {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 2px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .01em;
}
.lista-elvalaszto::before,
.lista-elvalaszto::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(31, 41, 55, 0.16);
}

/* Lejárt (elmúlt) járat/igény: egyértelműen tompított, szürke megjelenés —
   a színes címkék is elszürkülnek, a szaggatott keret pedig ránézésre
   elkülöníti az élő tételektől. */
/* A specificitás (.kartya.kartya-lejart) szándékos: így biztosan felülírja a
   .kartya alapstílusát minden képernyőméreten. A szürkítés nem csak a
   filter-re épül — a színeket külön is felülírjuk, hogy ott is működjön, ahol
   a filter nem érvényesül. */
.kartya.kartya-lejart {
    opacity: 0.72;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    background: rgba(243, 243, 240, 0.9);
    border: 1px dashed rgba(31, 41, 55, 0.28);
    box-shadow: none;
}
.kartya.kartya-lejart .kartya-utvonal,
.kartya.kartya-lejart .kartya-ido,
.kartya.kartya-lejart .kartya-nev strong {
    color: #6b7280;
}
.kartya.kartya-lejart .cimke {
    background: rgba(31, 41, 55, 0.08);
    color: #6b7280;
}
.kartya.kartya-lejart .avatar {
    background: rgba(31, 41, 55, 0.1);
    color: #6b7280;
}
.kartya.kartya-lejart:hover {
    transform: none;
    box-shadow: none;
}

.kartya-utvonal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--brand-dark);
    flex-wrap: wrap;
}
.kartya-utvonal .nyil { color: var(--muted); font-weight: 400; }
.kartya-utvonal .pont { font-weight: 500; color: var(--muted); font-size: .9rem; }

.kartya-ido {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.kartya-ido small {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
}

.kartya-adatok {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cimke {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: .78rem;
    font-weight: 700;
    background: var(--brand-lt);
    color: var(--brand-dark);
}
.cimke-szurke { background: rgba(102, 112, 133, 0.12); color: var(--muted); }
.cimke-sarga { background: rgba(245, 158, 11, 0.16); color: var(--figyelem); }
.cimke-zold { background: rgba(21, 128, 61, 0.14); color: var(--siker); }
.cimke-piros { background: rgba(185, 28, 28, 0.1); color: var(--veszely); }

.kartya-lab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(31, 41, 55, 0.07);
    padding-top: 10px;
    margin-top: auto;
}
.kartya-nev {
    font-size: .88rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.kartya-nev strong {
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15,118,110,.14), rgba(15,118,110,.3));
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
}

.szekcio-cim {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
}
.szekcio-cim:first-child { margin-top: 0; }

/* saját oldal: „korábbiak is" szűrő + újrarajzolható tétel-konténer */
.sajat-szuro {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 2px;
    padding: 8px 12px;
    background: var(--brand-lt);
    border-radius: 10px;
    font-size: .9rem;
    color: var(--brand-dark);
    cursor: pointer;
    user-select: none;
}
.sajat-szuro input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
/* a wrapper ne törje el a .lista rácsot: gyerekei közvetlenül a rácsba kerülnek */
.sajat-tetelek { display: contents; }

/* összecsukható szekció (Profilom, Értesítések) */
.szekcio-osszecsuk {
    grid-column: 1 / -1;
    margin-top: 8px;
}
.szekcio-osszecsuk-fej {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
    user-select: none;
}
.szekcio-osszecsuk-fej::-webkit-details-marker { display: none; }
.szekcio-osszecsuk-fej::after {
    content: '▸';
    margin-left: auto;
    color: var(--muted);
    transition: transform .2s ease;
}
.szekcio-osszecsuk[open] > .szekcio-osszecsuk-fej::after { transform: rotate(90deg); }
.szekcio-osszecsuk[open] > .szekcio-osszecsuk-fej { margin-bottom: 10px; }

/* ------------------------------------------------------------------ üres/töltés */

.loader-wrap { text-align: center; padding: 34px 0; }
.loader {
    border: 3px solid rgba(15, 118, 110, 0.15);
    border-top-color: var(--brand);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ures-uzenet {
    background: var(--card);
    border: 1px dashed rgba(15, 118, 110, 0.3);
    border-radius: 22px;
    padding: 34px 22px;
    text-align: center;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------ modálok */

.modal-hatter {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(31, 41, 55, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 12px;
    overflow-y: auto;
}
.modal-hatter[hidden] { display: none; }

.modal {
    position: relative;
    width: min(480px, 100%);
    background: #fdfcf9;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.3);
    padding: 26px 24px 24px;
    animation: modalBe .22s ease;
}
@keyframes modalBe {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.modal-bezar {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.07);
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.modal-bezar:hover { background: rgba(31, 41, 55, 0.13); color: var(--ink); }

.modal-fej { margin-bottom: 16px; padding-right: 30px; }
.modal-fej h2 { margin: 0 0 6px; font-size: 1.25rem; color: var(--brand-dark); }
.modal-fej p { margin: 0; font-size: .9rem; line-height: 1.5; }

.modal form { display: flex; flex-direction: column; gap: 13px; }
.modal form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
}
.modal form label small { font-weight: 400; }

.mezo-sor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mezo-cimke { font-size: .84rem; font-weight: 600; color: var(--muted); }

.tipus-valaszto { display: flex; gap: 8px; }
.tipus-opcio {
    flex: 1;
    position: relative;
    cursor: pointer;
}
.tipus-opcio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tipus-opcio span {
    display: block;
    text-align: center;
    padding: 10px 8px;
    border: 1.5px solid rgba(31, 41, 55, 0.14);
    border-radius: 14px;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    transition: all .15s ease;
}
.tipus-opcio input:checked + span {
    border-color: var(--brand);
    background: var(--brand-lt);
    color: var(--brand-dark);
}

.napok-valaszto { display: flex; flex-direction: column; gap: 7px; }
.napok-gombok { display: flex; gap: 6px; flex-wrap: wrap; }
.nap-gomb {
    min-width: 46px;
    padding: 9px 6px;
    border: 1.5px solid rgba(31, 41, 55, 0.14);
    border-radius: 12px;
    background: #fff;
    font-size: .85rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s ease;
}
.nap-gomb.aktiv {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.hiba-uzenet {
    margin: 0;
    background: rgba(185, 28, 28, 0.08);
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 12px;
    padding: 10px 13px;
    color: var(--veszely);
    font-size: .88rem;
}

/* ------------------------------------------------------ részletek modál */

.reszlet-fej { margin-bottom: 14px; padding-right: 30px; }
.reszlet-fej h2 { margin: 0 0 4px; font-size: 1.2rem; color: var(--brand-dark); }

.reszlet-adatok {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
}
.reszlet-sor {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .93rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}
.reszlet-sor dt { color: var(--muted); font-weight: 600; }
.reszlet-sor dd { margin: 0; text-align: right; font-weight: 600; }

.reszlet-muveletek {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.info-doboz {
    background: var(--brand-lt);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: .9rem;
    color: var(--brand-dark);
    line-height: 1.5;
}
.figyelem-doboz {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: .9rem;
    color: var(--figyelem);
    line-height: 1.5;
}

.telefon-doboz {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(21, 128, 61, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
}
.telefon-doboz a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--siker);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.resztvevo-sor {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}
.resztvevo-sor .resztvevo-nev { flex: 1; min-width: 0; font-weight: 600; font-size: .95rem; }
.resztvevo-sor .resztvevo-nev small { display: block; font-weight: 400; color: var(--muted); }
.resztvevo-muveletek { display: flex; gap: 6px; }

/* ------------------------------------------------------------------ saját */

.sajat-kartya { cursor: default; }
.sajat-kartya:hover { transform: none; }
.sajat-muveletek {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(31, 41, 55, 0.07);
    padding-top: 10px;
    margin-top: auto;
}

.profil-doboz {
    grid-column: 1 / -1;
}

/* ------------------------------------------------------------------ toast */

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 200;
    background: var(--brand-dark);
    color: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: .93rem;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
    max-width: min(90vw, 480px);
    text-align: center;
    animation: toastBe .25s ease;
}
.toast.toast-hiba { background: var(--veszely); }
@keyframes toastBe {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ------------------------------------------------------------------ lábléc */

footer {
    border-top: 1px solid rgba(31, 41, 55, 0.08);
    background: rgba(251, 248, 242, 0.7);
    margin-top: 26px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
    font-size: .85rem;
    color: var(--muted);
}
.footer-inner a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.footer-linkek { display: inline-flex; gap: 16px; flex-wrap: wrap; }

.landing-sugo {
    text-align: center;
    margin: 4px 0 0;
    font-size: .95rem;
    color: var(--muted);
}
.landing-sugo a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.landing-sugo a:hover { text-decoration: underline; }

.muted { color: var(--muted); font-weight: 400; }

/* ------------------------------------------------------------------ mobil */

@media (max-width: 720px) {
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .filter-grid label:nth-child(3) { grid-column: 1 / 2; }
    .action-row { grid-template-columns: 1fr; }
    .mode-chooser { grid-template-columns: 1fr; }
    .mode-tile { min-height: 150px; padding: 22px; }
    .header-title { display: none; }
    .lista { grid-template-columns: 1fr; }
    .mezo-sor { grid-template-columns: 1fr; }
}
