/* Ubuntu je u static/fonts — ne vučemo ga s Google Fontsa (GDPR: IP posjetitelja ne ide trećima). */
@font-face { font-family: "Ubuntu"; src: url("fonts/Ubuntu-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("fonts/Ubuntu-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("fonts/Ubuntu-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("fonts/Ubuntu-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f4f3f0;
  --surface: #ffffff;
  --soft: #ecebe6;
  --ink: #1d1f22;
  --muted: #676b71;
  --line: #e0ded8;
  --accent: #33423a;        /* tamna grafitno-zelena; klub je može promijeniti u postavkama */
  --accent-ink: #ffffff;
  --ok: #2e6a44;   --ok-bg: #e3eee6;
  --bad: #9a3333;  --bad-bg: #f4e3e1;
  --warn: #66601f; --warn-bg: #efedda;
  --info: #3d4a5c; --info-bg: #e5e8ed;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 24, .06);
  color-scheme: light;
}
/* tamna tema: po sustavu, osim ako korisnik ručno izabere (kolačić theme → <html data-theme>) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #151719; --surface: #1d2023; --soft: #262a2e; --ink: #e6e4df; --muted: #9a9ea4;
  --line: #31353a; --accent: #b5c8bb; --accent-ink: #151719;
  --ok: #9fcfae; --ok-bg: #1f3227; --bad: #e3a3a0; --bad-bg: #3a2322;
  --warn: #d6cf8f; --warn-bg: #33311d; --info: #b6c2d3; --info-bg: #252b34;
  --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151719; --surface: #1d2023; --soft: #262a2e; --ink: #e6e4df; --muted: #9a9ea4;
  --line: #31353a; --accent: #b5c8bb; --accent-ink: #151719;
  --ok: #9fcfae; --ok-bg: #1f3227; --bad: #e3a3a0; --bad-bg: #3a2322;
  --warn: #d6cf8f; --warn-bg: #33311d; --info: #b6c2d3; --info-bg: #252b34;
  --shadow: none; color-scheme: dark;
}

/* boja kluba (postavke): util.club_palette daje svijetlu i tamnu inačicu */
body[data-club] { --accent: var(--club); --accent-ink: var(--club-ink); }
:root[data-theme="dark"] body[data-club] { --accent: var(--club-dark); --accent-ink: var(--club-dark-ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body[data-club] { --accent: var(--club-dark); --accent-ink: var(--club-dark-ink); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Ubuntu", system-ui, sans-serif; font-size: 16px; line-height: 1.45;
  background: var(--bg); color: var(--ink);
}
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1 { font-size: 1.45rem; font-weight: 500; margin: 0 0 .25rem; }
h2 { font-size: 1.1rem; font-weight: 500; margin: 1.5rem 0 .6rem; }
h3 { font-size: 1rem; font-weight: 500; margin: 1rem 0 .4rem; }
p { margin: .4rem 0; }
small, .muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------------------------------------------------------------- okvir */
.layout { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side {
  background: var(--surface); border-right: 1px solid var(--line); padding: 1.1rem .8rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column;
}
.brand { font-weight: 700; font-size: 1.05rem; padding: 0 .5rem; margin-bottom: .1rem; }
.brand-sub { color: var(--muted); font-size: .8rem; padding: 0 .5rem; margin-bottom: 1rem; }
.nav a {
  display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: .95rem;
}
.nav a:hover { background: var(--soft); }
.nav a.on { background: var(--accent); color: var(--accent-ink); }
.nav .sep { height: 1px; background: var(--line); margin: .6rem .4rem; }
.nav svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.side-foot { margin-top: auto; padding: .6rem .5rem 0; font-size: .85rem; color: var(--muted); }
.side-foot form { display: inline; }
.main { padding: 1.5rem 2rem 4rem; max-width: 1100px; width: 100%; }
.topbar { display: none; }

@media (max-width: 860px) {
  .layout { display: block; }
  .side { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .6rem 1rem;
    position: sticky; top: 0; z-index: 10;
  }
  .topbar .brand { padding: 0; font-size: 1rem; }
  .topbar details { position: relative; }
  .topbar summary { list-style: none; cursor: pointer; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; }
  .topbar summary::-webkit-details-marker { display: none; }
  .topbar .menu {
    position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: .4rem; width: 240px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .main { padding: 1rem 1rem 6rem; }
  .bottombar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .bottombar a { text-align: center; padding: .45rem .2rem .5rem; font-size: .7rem; text-decoration: none; color: var(--muted); }
  .bottombar a.on { color: var(--ink); font-weight: 500; }
  .bottombar svg { display: block; margin: 0 auto 2px; width: 22px; height: 22px; }
}
@media (min-width: 861px) { .bottombar { display: none; } }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.page-head .sub { color: var(--muted); font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------------------------------------------------------------- kartice i popisi */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.card + .card { margin-top: 1rem; }
.grid > .card, .grid-2 > .card { margin-top: 0; }
.grid { align-items: start; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.stat { font-size: 1.6rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .85rem; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .title { font-weight: 500; }
.list a.row { text-decoration: none; display: flex; gap: .75rem; align-items: center; justify-content: space-between; width: 100%; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; padding: .5rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--soft); }
td a { text-decoration: none; }
td a:hover { text-decoration: underline; }
.table-grid td, .table-grid th { text-align: center; padding: .4rem .3rem; }
.table-grid td:first-child, .table-grid th:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); }

@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  table.stack td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .15rem 0; }
  table.stack td::before { content: attr(data-l); color: var(--muted); font-size: .85rem; }
  table.stack td:first-child { font-weight: 500; }
  table.stack td:first-child::before { content: none; }
}

/* ---------------------------------------------------------------- oznake */
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .78rem; font-weight: 500; background: var(--soft); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.info { background: var(--info-bg); color: var(--info); }
.flash { padding: .7rem .9rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .95rem; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.error { background: var(--bad-bg); color: var(--bad); }
.flash.info { background: var(--info-bg); color: var(--info); }
.note { background: var(--soft); border-radius: var(--radius); padding: .7rem .9rem; font-size: .92rem; }
.empty { color: var(--muted); padding: 1.2rem 0; text-align: center; }

/* ---------------------------------------------------------------- obrasci */
label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .25rem; }
.field { margin-bottom: .9rem; }
.fields { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date], input[type=time],
input[type=number], input[type=search], input[type=color], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: .55rem .7rem; min-height: 42px;
}
input[type=color] { padding: .2rem; width: 64px; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.check { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-size: .95rem; margin: .3rem 0; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.help { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem .2rem; margin: 0 0 1rem; }
legend { padding: 0 .4rem; font-weight: 500; font-size: .9rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin-bottom: 1rem; }
.filters > * { flex: 1 1 150px; }
.filters .btn { flex: 0 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: inherit; font-weight: 500; font-size: .93rem;
  padding: .55rem 1rem; min-height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.12); }
.btn.danger { color: var(--bad); border-color: var(--bad-bg); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.small { padding: .3rem .65rem; min-height: 32px; font-size: .85rem; }
.btn.link { border: 0; background: none; padding: 0; min-height: 0; text-decoration: underline; text-decoration-color: var(--line); font-weight: 400; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
form.inline { display: inline; }

/* ---------------------------------------------------------------- dolasci */
.att-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.att-name { flex: 1 1 140px; font-weight: 500; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: .45rem .7rem; font-size: .85rem; color: var(--ink); cursor: pointer; border-right: 1px solid var(--line); min-width: 44px; text-align: center; }
.seg label:last-of-type { border-right: 0; }
.seg input:checked + label.s-prisutan { background: var(--ok-bg); color: var(--ok); font-weight: 500; }
.seg input:checked + label.s-odsutan { background: var(--bad-bg); color: var(--bad); font-weight: 500; }
.seg input:checked + label.s-opravdano { background: var(--warn-bg); color: var(--warn); font-weight: 500; }
.seg input:checked + label.s-ozlijeden { background: var(--info-bg); color: var(--info); font-weight: 500; }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 35%); padding: 1.2rem 0 .8rem; display: flex; gap: .5rem; justify-content: flex-end; }
.card .sticky-save { background: linear-gradient(transparent, var(--surface) 35%); }
@media (max-width: 860px) { .sticky-save { bottom: 58px; } }

/* ---------------------------------------------------------------- raspored i kalendar */
.day-head { font-size: .85rem; color: var(--muted); font-weight: 500; margin: 1rem 0 .35rem; text-transform: capitalize; }
.day-head.today { color: var(--ink); }
.event { display: flex; gap: .8rem; align-items: center; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; margin-bottom: .45rem; }
.event:hover { border-color: var(--muted); }
.event .when { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 3.2rem; }
.event .what { flex: 1; min-width: 0; }
.event.cancelled { opacity: .55; }
.event.cancelled .what .title { text-decoration: line-through; }
.kind-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: .35rem; vertical-align: middle; }
.kind-utakmica .kind-dot, .kind-dot.kind-utakmica { background: var(--bad); }
.kind-turnir .kind-dot, .kind-dot.kind-turnir { background: var(--warn); }
.kind-trening .kind-dot, .kind-dot.kind-trening { background: var(--ok); }

.cal { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; }
.cal th { text-align: center; padding: .3rem 0; border: 0; }
.cal td { vertical-align: top; height: 92px; padding: 0; border: 0; background: var(--surface); border-radius: 8px; }
.cal td.out { background: transparent; }
.cal td a.cell { display: block; height: 100%; padding: .3rem .35rem; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cal td.out a.cell { border-style: dashed; color: var(--muted); }
.cal td.today a.cell { border-color: var(--accent); border-width: 2px; }
.cal td.sel a.cell { background: var(--soft); }
.cal .dnum { font-size: .8rem; font-weight: 500; }
.cal .ev { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cal .ev.cancelled { text-decoration: line-through; opacity: .6; }
.cal .ev .t-name { color: var(--muted); }
/* na uskom ekranu u ćeliji samo točka i vrijeme; naziv je u kartici ispod kalendara */
@media (max-width: 640px) {
  .cal { border-spacing: 2px; }
  .cal td { height: 62px; }
  .cal td a.cell { padding: .2rem .15rem; }
  .cal .ev .t-name, .cal .ev .kind-dot { display: none; }
  .cal .ev { font-size: .64rem; letter-spacing: -.02em; text-overflow: clip; border-left: 3px solid var(--muted); padding-left: 2px; line-height: 1.25; }
  .cal .ev.kind-trening { border-color: var(--ok); }
  .cal .ev.kind-utakmica { border-color: var(--bad); }
  .cal .ev.kind-turnir { border-color: var(--warn); }
  .cal th { font-size: .7rem; }
}
.cal-nav { display: flex; align-items: center; gap: .5rem; }
.cal-nav .month { font-weight: 500; min-width: 9rem; text-align: center; }

/* ---------------------------------------------------------------- ocjene */
.scores { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .88rem; }
.score-pick { display: flex; gap: 4px; }
.score-pick input { position: absolute; opacity: 0; pointer-events: none; }
.score-pick label { margin: 0; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; font-weight: 500; }
.score-pick input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.score-pick input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.bar { height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; min-width: 60px; }
.bar > span { display: block; height: 100%; background: var(--accent); }

/* ---------------------------------------------------------------- prijava i javni dio */
.center { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.auth { width: 100%; max-width: 380px; }
.auth .card { padding: 1.5rem; }
.auth h1 { margin-bottom: 1rem; }
.hero { max-width: 760px; margin: 0 auto; padding: 4rem 1rem 2rem; }
.hero h1 { font-size: 2rem; font-weight: 700; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); }
.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 2rem 0; }
.features .card h3 { margin-top: 0; }
.secret { font-family: ui-monospace, monospace; font-size: 1.15rem; background: var(--soft); padding: .5rem .7rem; border-radius: 8px; user-select: all; word-break: break-all; }
.barcode { background: #fff; padding: .6rem; border-radius: 8px; border: 1px solid var(--line); max-width: 100%; }
.barcode img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; }
.steps .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-size: .75rem; }
.steps .done .dot { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.steps .done a { color: var(--muted); }

@media print {
  .side, .topbar, .bottombar, .actions, .btn, .filters { display: none !important; }
  .layout { display: block; }
  .main { padding: 0; }
  body { background: #fff; }
}

/* tri brojke u retku i na mobitelu */
.stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .stats { gap: .4rem; }
  .stats .card { padding: .6rem .7rem; }
  .stats .stat { font-size: 1.02rem; }
  .stats .stat-label { font-size: .75rem; }
}

/* ---------------------------------------------------------------- pristupnica (roditelj, bez prijave) */
.pub { max-width: 720px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.pub-narrow { max-width: 560px; padding-top: 3rem; }
.pub-head { margin-bottom: 1.2rem; }
.pub-club { font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.pub-head h1 { font-size: 1.6rem; font-weight: 700; }
.pub details.card > summary { list-style: none; cursor: pointer; }
.pub details.card > summary::-webkit-details-marker { display: none; }
.pub details.card > summary h2 { margin: 0; }
.pub details.card > summary h2::after { content: " +"; color: var(--muted); }
.pub details[open].card > summary h2::after { content: " −"; }
.pub details[open].card > summary { margin-bottom: .8rem; }
.check.top { align-items: flex-start; margin: .8rem 0; line-height: 1.45; }
.check.top input { margin-top: .15rem; flex: none; }
.consent-q { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .6rem 0; margin: .4rem 0; }
.consent-q p { margin: 0 0 .4rem; }
.seg-choice { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.sig canvas { display: block; width: 100%; height: 180px; background: #fff; border: 1px dashed var(--muted); border-radius: var(--radius); touch-action: none; cursor: crosshair; }
.sig-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .4rem; }
.sig.empty-error canvas { border-color: var(--bad); }
.pub-submit { margin-top: 1.2rem; }
.pub-submit .btn { width: 100%; min-height: 50px; font-size: 1.05rem; }
.pub-foot { margin-top: 2.5rem; color: var(--muted); font-size: .85rem; text-align: center; }

/* uvoz: pregled s poljima za ispravak */
.import-edit input[type=text], .import-edit input[type=email], .import-edit input[type=tel] { min-width: 7.5rem; padding: .35rem .5rem; min-height: 36px; font-size: .9rem; }
.import-edit tr.off td { opacity: .5; }
.import-edit tr.bad td { background: var(--bad-bg); }
.import-edit .badge { white-space: normal; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* boja kluba se vidi: traka iznad izbornika i naziv kluba */
.side { border-top: 4px solid var(--accent); }
.topbar { border-top: 3px solid var(--accent); }
.side .brand, .topbar .brand { color: var(--accent); }
.theme-toggle .btn.link { font-size: .85rem; color: var(--muted); }

/* prvi koraci (početna, admin) */
.first-steps { margin-bottom: 1rem; }
.fs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.fs-head h2 { margin: 0; }
.fs-sub { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.fs-bar { margin: .8rem 0 .4rem; }
.fs-list { list-style: none; padding: 0; margin: 0; }
.fs-list li { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.fs-list li:last-child { border-bottom: 0; }
.fs-list .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-size: .75rem; margin-top: .05rem; }
.fs-list .done .dot { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.fs-item { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; text-decoration: none; }
.fs-title { font-weight: 500; }
.fs-list .done .fs-title { color: var(--muted); font-weight: 400; }
.fs-text { flex-basis: 100%; color: var(--muted); font-size: .88rem; }

/* znak aplikacije (makro logo_icon) */
.logo-icon { width: 1.25em; height: 1.1em; vertical-align: -0.2em; margin-right: .35em; flex: none; }
.brand-sub { display: flex; align-items: center; }
.brand-sub .logo-icon { color: var(--muted); }
.login-app { display: flex; align-items: center; color: var(--muted); font-size: .85rem; margin-bottom: .3rem; }
.topbar .brand .logo-icon { color: var(--accent); }
.pub-app { white-space: nowrap; }
