/* =====================================================================
   Servis výtahů – mobile-first, světlý i tmavý režim podle telefonu
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #f3f5f8;
    --card: #ffffff;
    --card-2: #f7f9fb;
    --text: #141c24;
    --muted: #64707d;
    --border: #e4e8ed;
    --border-strong: #c8d0d9;
    --bar: #121a22;
    --bar-text: #f1f4f7;
    --shadow: 0 1px 2px rgba(16,24,40,.05), 0 2px 6px rgba(16,24,40,.06);
    --shadow-lg: 0 6px 20px rgba(16,24,40,.18);

    --accent: #1d64d8;     --accent-bg: #e6effd;   --on-accent: #fff;
    --ok: #18794e;         --ok-bg: #ddf4e6;
    --warn: #8a5a00;       --warn-bg: #fff2d6;     --warn-line: #e3a522;
    --danger: #c42b2b;     --danger-bg: #fde8e8;   --on-danger: #fff;
    --neutral-line: #c8d0d9;

    --radius: 12px;
    --radius-sm: 8px;
    --top-h: calc(54px + env(safe-area-inset-top));
    --nav-h: 66px;
    --nav-total: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0d1217;
        --card: #161e26;
        --card-2: #1b252e;
        --text: #e7ebef;
        --muted: #919dab;
        --border: #232e38;
        --border-strong: #384551;
        --bar: #0a0e12;
        --shadow: 0 0 0 1px rgba(255,255,255,.02);
        --shadow-lg: 0 6px 20px rgba(0,0,0,.5);

        --accent: #6aa5ff;     --accent-bg: #172a47;   --on-accent: #08111c;
        --ok: #5fd08a;         --ok-bg: #12301f;
        --warn: #f3c460;       --warn-bg: #36290c;     --warn-line: #c58f1d;
        --danger: #ff7d74;     --danger-bg: #3a1517;   --on-danger: #08111c;
        --neutral-line: #384551;
    }
}

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    background: var(--bg);
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
a { color: var(--accent); }
code { font-size: .85em; background: var(--card-2); padding: .1em .35em; border-radius: 4px; word-break: break-all; }

.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }

/* ---------------------------------------------------------- horní lišta */
.topbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: .25rem;
    height: var(--top-h);
    padding: env(safe-area-inset-top) .4rem 0 1rem;
    background: var(--bar);
    color: var(--bar-text);
}
.topbar-title { flex: 1; min-width: 0; font-weight: 650; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-back { color: var(--bar-text); display: flex; padding: .5rem; margin-left: -.7rem; border-radius: 50%; }
.topbar-back .ic { width: 24px; height: 24px; }
.topbar-logout { margin: 0; }
.icon-btn {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: none; border: 0; border-radius: 50%;
    color: var(--bar-text); opacity: .7; cursor: pointer; text-decoration: none;
}
.icon-btn:hover, .icon-btn:active { opacity: 1; background: rgba(255,255,255,.08); }
.topbar .btn-bar {
    border: 0; font-family: inherit; cursor: pointer;
    display: inline-flex; align-items: center; gap: .35rem;
    height: 36px; padding: 0 .8rem; border-radius: 999px;
    color: var(--bar-text); text-decoration: none; font-size: .9rem; font-weight: 500;
    background: rgba(255,255,255,.1);
}
.topbar .btn-bar .ic { width: 18px; height: 18px; }

/* ---------------------------------------------------------- spodní lišta */
.bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex;
    height: var(--nav-total);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--card);
    border-top: 1px solid var(--border);
}
.bottomnav a {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--muted); text-decoration: none; font-size: .74rem; font-weight: 500;
}
.bottomnav .navic { display: flex; align-items: center; justify-content: center; width: 58px; height: 30px; border-radius: 999px; transition: background .15s; }
.bottomnav .navic .ic { width: 23px; height: 23px; }
.bottomnav a.on { color: var(--text); font-weight: 650; }
.bottomnav a.on .navic { background: var(--accent-bg); color: var(--accent); }

/* plovoucí tlačítko (+) */
.fab {
    position: fixed; z-index: 25;
    right: 1rem; bottom: calc(var(--nav-total) + 1rem);
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    height: 56px; min-width: 56px; padding: 0 1.1rem;
    border-radius: 18px;
    background: var(--accent); color: var(--on-accent);
    box-shadow: var(--shadow-lg);
    text-decoration: none; font-weight: 600;
}
.fab .ic { width: 24px; height: 24px; }

/* ---------------------------------------------------------- obsah */
.container { max-width: 760px; margin: 0 auto; padding: 1rem; }
.has-nav .container { padding-bottom: calc(var(--nav-total) + 6rem); }

h1 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 .25rem; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.section-title {
    display: flex; align-items: center; justify-content: space-between;
    font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: var(--muted); margin: 1.5rem .25rem .55rem;
}
.section-title a { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .88rem; text-decoration: none; }

.flash { padding: .8rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-weight: 500; }
.flash-ok    { background: var(--ok-bg);     color: var(--ok); }
.flash-error { background: var(--danger-bg); color: var(--danger); }
.flash-info  { background: var(--accent-bg); color: var(--accent); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}
.card + .card { margin-top: .75rem; }
.card-flush { padding: 0; overflow: hidden; }

/* hlavička detailu */
.hero { padding: 1.1rem 1rem 1rem; }
.hero h1 { font-size: 1.35rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }

/* zvýrazněný blok (přístup, kódy) */
.callout {
    display: flex; gap: .7rem; align-items: flex-start;
    margin-top: .75rem; padding: .85rem 1rem; border-radius: var(--radius);
    background: var(--warn-bg); color: var(--warn);
    white-space: pre-line; font-weight: 500;
}
.callout .ic { margin-top: 1px; width: 22px; height: 22px; }

/* prázdný stav */
.empty { color: var(--muted); text-align: center; padding: 2.5rem 1.25rem; }
.empty-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--card); border: 1px solid var(--border); color: var(--muted);
    margin-bottom: .75rem;
}
.empty-ic .ic { width: 32px; height: 32px; }
.empty b { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .25rem; }
.empty p { margin: .25rem 0 1rem; }

/* ---------------------------------------------------------- tlačítka */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 48px; padding: .6rem 1.1rem;
    font: inherit; font-weight: 600;
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    background: var(--card); color: var(--text);
    text-decoration: none; cursor: pointer;
    transition: transform .08s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-danger  { background: var(--danger); border-color: var(--danger); color: var(--on-danger); }
.btn-soft    { background: var(--accent-bg); border-color: transparent; color: var(--accent); }
.btn-block   { width: 100%; }
.btn-sm      { min-height: 38px; padding: .35rem .85rem; font-size: .9rem; }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .9rem; }
.link-btn { background: none; border: 0; padding: .4rem .2rem; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; }

/* ---------------------------------------------------------- formuláře */
label, .label { display: block; margin-bottom: .95rem; font-weight: 600; font-size: .92rem; }
label:last-child { margin-bottom: 0; }
input[type=text], input[type=password], input[type=search], input[type=email],
input[type=tel], input[type=number], input[type=file], select, textarea {
    display: block; width: 100%;
    margin-top: .35rem; padding: .75rem .85rem;
    font: inherit; font-weight: 400;
    color: var(--text); background: var(--card-2);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px var(--accent-bg); }
textarea { min-height: 92px; resize: vertical; }
::placeholder { color: var(--muted); opacity: .8; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr; gap: 0 .75rem; }
.checkbox { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--accent); }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: .3rem; }
.form-card { margin-bottom: .9rem; }
.form-card > .section-title:first-child { margin-top: 0; margin-left: 0; }

.savebar {
    position: sticky; bottom: calc(var(--nav-total) + .75rem); z-index: 20;
    margin-top: 1rem;
}
.savebar .btn { box-shadow: var(--shadow-lg); }

.contact-edit { padding: .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card-2); }
.contact-edit + .contact-edit { margin-top: .6rem; }
.contact-edit input { background: var(--card); }

/* ---------------------------------------------------------- přihlášení */
body.no-nav { background: linear-gradient(var(--bar), var(--bar)) top / 100% 260px no-repeat, var(--bg); min-height: 100vh; }
.login-box {
    max-width: 380px; margin: 4rem auto 2rem;
    padding: 1.6rem 1.4rem;
    background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.login-logo { display: flex; justify-content: center; margin: -3.4rem 0 .6rem; }
.login-logo img { width: 76px; height: 76px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.login-box h1 { margin-bottom: 1.2rem; }

/* ---------------------------------------------------------- hledání + záložky (přilepené) */
.sticky-tools {
    position: sticky; top: var(--top-h); z-index: 20;
    margin: -1rem -1rem .5rem; padding: .85rem 1rem .6rem;
    background: var(--bg);
}
.search { position: relative; margin-bottom: .7rem; }
.search .ic { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
    margin: 0; height: 48px; padding-left: 2.8rem;
    border-radius: 999px; background: var(--card); box-shadow: var(--shadow);
}

.tabs-row { display: flex; align-items: center; gap: .5rem; }
.tabs { flex: 1; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
    display: inline-flex; align-items: center; gap: .3rem;
    height: 36px; padding: 0 .85rem; border-radius: 999px;
    background: var(--card); border: 1px solid var(--border);
    color: var(--text); text-decoration: none; white-space: nowrap; font-size: .9rem; font-weight: 500;
}
.tabs a.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.count { opacity: .6; font-size: .85em; }

/* ---------------------------------------------------------- seznam */
.group-title {
    display: flex; justify-content: space-between;
    font-size: .82rem; font-weight: 700; color: var(--muted);
    margin: 1.1rem .25rem .45rem;
}
.group-title:first-child { margin-top: .25rem; }
.list {
    list-style: none; margin: 0; padding: 0;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
.list > li { position: relative; display: flex; align-items: center; }
.list > li + li::before { content: ""; position: absolute; top: 0; left: 1rem; right: 0; border-top: 1px solid var(--border); }
.list .pick { display: none; padding: 0 0 0 1rem; align-items: center; align-self: stretch; cursor: pointer; }
.list .pick input { width: 22px; height: 22px; accent-color: var(--accent); }
.selecting .list .pick { display: flex; }
.selecting .list-link { pointer-events: none; }
.selecting .list-link > .ic { display: none; }
.list > li.picked { background: var(--accent-bg); }

.list-link {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 1rem; color: var(--text); text-decoration: none;
}
.list-link:active { background: var(--card-2); }
.list-body { flex: 1; min-width: 0; }
.list-title { font-weight: 600; }
.list-sub { color: var(--muted); font-size: .87rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.list-link > .ic { color: var(--border-strong); width: 18px; height: 18px; }
.list-plain { padding: .85rem 1rem; flex: 1; }

/* stavový proužek vlevo (měsíční plán) */
.st { box-shadow: inset 4px 0 0 var(--neutral-line); }
.st-hotovo { box-shadow: inset 4px 0 0 var(--ok); }
.st-zavada { box-shadow: inset 4px 0 0 var(--warn-line); }
.st-placena_oprava { box-shadow: inset 4px 0 0 var(--danger); }

.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 650; background: var(--card-2); color: var(--muted); white-space: nowrap; }
.badge-ok     { background: var(--ok-bg);     color: var(--ok); }
.badge-warn   { background: var(--warn-bg);   color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-accent { background: var(--accent-bg); color: var(--accent); }

/* avatar s iniciálami */
.avatar {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--accent-bg); color: var(--accent);
    font-weight: 700; font-size: .9rem;
}
.avatar-muted { background: var(--card-2); color: var(--muted); }
.avatar .ic { width: 20px; height: 20px; }

/* kontakt */
.contact { position: relative; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; }
.contact + .contact::before { content: ""; position: absolute; top: 0; left: 4.1rem; right: 0; border-top: 1px solid var(--border); }
.contact-body { flex: 1; min-width: 0; }
.contact-actions { display: flex; gap: .45rem; }
.round-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent-bg); color: var(--accent); text-decoration: none;
}
.round-btn.ok { background: var(--ok-bg); color: var(--ok); }

/* definice (detail) */
.dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.2rem; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; }

/* lišta hromadných akcí nad spodní navigací */
.actionbar {
    position: fixed; left: .75rem; right: .75rem; z-index: 26;
    bottom: calc(var(--nav-total) + .75rem);
    display: none; align-items: center; gap: .5rem; flex-wrap: wrap;
    padding: .65rem .75rem;
    background: var(--bar); color: var(--bar-text);
    border-radius: 16px; box-shadow: var(--shadow-lg);
}
.selecting .actionbar { display: flex; }
.selecting ~ .fab, .selecting .fab { display: none; }
.actionbar select { width: auto; margin: 0; padding: .45rem .6rem; background: rgba(255,255,255,.1); color: var(--bar-text); border-color: transparent; }
.actionbar select option { color: #000; }
.actionbar .grow { flex: 1; white-space: nowrap; }
.actionbar .btn:not(.btn-primary) { background: rgba(255,255,255,.1); border-color: transparent; color: var(--bar-text); }
.actionbar .btn:disabled { opacity: .4; }

/* tabulka (náhled importu) */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table.table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: .55rem .75rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; white-space: nowrap; background: var(--card-2); }
.table tr:last-child td { border-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 1rem 0; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: .65rem .7rem; }
.stat b { display: block; font-size: 1.45rem; line-height: 1.2; }
.stat span { color: var(--muted); font-size: .8rem; }

@media (min-width: 700px) {
    .container { padding: 1.5rem; }
    .sticky-tools { margin: -1.5rem -1.5rem .5rem; padding: 1rem 1.5rem .6rem; }
}

/* ======================================================= Měsíc */
.monthnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.monthnav-title { font-size: 1.3rem; font-weight: 700; }
.icon-round {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--card); border: 1px solid var(--border); color: var(--text);
}
.icon-round.flip .ic { transform: scaleX(-1); }

.progress-card { padding: .9rem 1rem; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .55rem; }
.progress-head b { font-size: 1.35rem; }
.progress { display: flex; height: 10px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.progress span { display: block; height: 100%; }
.pg-ok { background: var(--ok); }
.pg-warn { background: var(--warn-line); }
.pg-danger { background: var(--danger); }
.progress-legend { display: flex; gap: 1rem; margin-top: .55rem; color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; }
.dot-warn { background: var(--warn-line); }
.dot-danger { background: var(--danger); }

.row-action { margin: 0; padding-right: .75rem; }
.check-btn {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    border: 2px solid var(--border-strong); background: var(--card); color: var(--muted);
    cursor: pointer;
}
.check-btn:active { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); transform: scale(.94); }
.check-btn .ic { width: 22px; height: 22px; }

/* výsledek prohlídky */
.stav-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
.stav-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
    min-height: 84px; padding: .6rem .3rem;
    border-radius: var(--radius); border: 2px solid var(--border);
    background: var(--card); color: var(--text);
    font: inherit; font-weight: 650; font-size: .9rem; text-align: center; cursor: pointer;
}
.stav-btn .ic { width: 26px; height: 26px; }
.stav-ok .ic { color: var(--ok); }
.stav-warn .ic { color: var(--warn-line); }
.stav-danger .ic { color: var(--danger); }
.stav-ok.on, .stav-ok:active { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.stav-warn.on, .stav-warn.sel { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.stav-danger.on, .stav-danger.sel { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.chip { margin: 0; font-weight: 500; font-size: .9rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block; padding: .5rem .8rem; border-radius: 999px;
    border: 1px solid var(--border-strong); background: var(--card-2); cursor: pointer;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.avatar-warn { background: var(--warn-bg); color: var(--warn); }
.avatar-danger { background: var(--danger-bg); color: var(--danger); }
.btn-ghost { background: none; border-color: transparent; color: var(--muted); }

.plan-card { margin-top: .75rem; padding: .25rem 1rem; }
.plan-row { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .35rem 0; }
.plan-row + .plan-row { border-top: 1px solid var(--border); }
.plan-row > .ic { color: var(--muted); }
.plan-row .grow { flex: 1; min-width: 0; }
.plan-row form { margin: 0; }

/* ======================================================= řádek s akcemi, kniha */
.row-actions { display: flex; align-items: center; gap: .45rem; padding-right: .75rem; }
.row-actions form { margin: 0; }
.warn-btn {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--warn-bg); color: var(--warn);
}
.warn-btn .ic { width: 20px; height: 20px; }
.book-ic { color: var(--warn-line); display: flex; }
.book-ic[hidden] { display: none; }
.just-done { animation: done-flash .6s ease-out; }
@keyframes done-flash { from { background: var(--ok-bg); } to { background: transparent; } }

.kniha-link {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: .75rem; padding: .8rem 1rem;
    color: var(--text); text-decoration: none;
}
.kniha-link[hidden] { display: none; }
.kniha-link .grow { flex: 1; min-width: 0; }
.kniha-link > .ic { color: var(--border-strong); }

.day-title { font-size: .95rem; font-weight: 700; margin: 1.3rem .25rem .5rem; }
.day-title:first-of-type { margin-top: .5rem; }
.kniha-card { padding: .9rem 1rem; transition: opacity .25s, transform .25s; }
.kniha-card + .kniha-card { margin-top: .6rem; }
.kniha-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.kniha-evc { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.kniha-zavady { margin: .6rem 0 0; padding-left: 1.1rem; }
.kniha-zavady li { margin: .15rem 0; }
.kniha-zavady li.placena::marker { color: var(--danger); }
.kniha-pozn { margin-top: .5rem; color: var(--muted); font-size: .9rem; white-space: pre-line; }
.kniha-actions { display: flex; justify-content: flex-end; margin-top: .75rem; }
.kniha-actions form { margin: 0; }
.kniha-card.gone { opacity: 0; transform: translateX(30px); }
.kniha-card.is-done { opacity: .6; }
