:root {
  --bg: #f3f6f8; --surface: #fff; --ink: #14232e; --muted: #5b6b77; --line: #dbe3e8;
  --side: #0f2a21; --side-ink: #c8d9d0; --accent: #1e6b4f; --accent-ink: #fff; --accent-soft: #e3f0e9;
  --hdr: #1e6b4f; --hdr-line: #17583f; --cell: #b9cbc1; --zebra: #eef4f0;
  --danger: #b3261e; --warn-bg: #fff4d6; --warn-ink: #7a5300; --ok-bg: #e2f3ea; --ok-ink: #17603a;
  --radius: 10px; --chart: #3a8f6c; --chart-sel: #1e6b4f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.35rem; margin: 0; line-height: 1.25; }
h2 { font-size: 1.05rem; margin: 28px 0 10px; }
h3 { font-size: 1rem; margin: 0 0 6px; }
code { font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #eef2f5; padding: 1px 6px; border-radius: 5px; color: #2b3f4d; white-space: nowrap; }
code.wrap { white-space: normal; word-break: break-all; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
.hint { color: var(--muted); font-size: 13px; margin: 8px 0; }
.lead { margin: 0 0 14px; }
em { font-style: normal; font-size: 12px; color: var(--danger); font-weight: 600; margin-left: 4px; }

/* Çərçivə */
.side { position: fixed; inset: 0 auto 0 0; width: 232px; background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; padding: 16px 12px; z-index: 30; overflow-y: auto; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; padding: 4px 6px 16px; }
.logo:hover { text-decoration: none; }
.logo small { display: block; font-size: 11.5px; color: #8fa5b3; font-weight: 400; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #3aa57a, #1e6b4f); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: .5px; flex: none; }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side nav a { color: var(--side-ink); padding: 10px 12px; border-radius: 8px; }
.side nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.side nav a.on { background: rgba(58,165,122,.22); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 #5cc195; }
.side-user { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 6px 0; font-size: 13.5px; }
.side-user b { display: block; color: #fff; }
.side-user small { display: block; margin-bottom: 8px; color: #8fa5b3; }
.main { margin-left: 232px; padding: 20px 28px 60px; max-width: 1500px; }
.main-plain { margin: 0 auto; max-width: 440px; padding-top: 8vh; }
.top { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.top-text { flex: 1; min-width: 200px; }
.top-actions, .btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.top-actions form { margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.crumbs .sep { margin: 0 6px; color: #9aa8b2; }
.nav-toggle, .burger, .nav-backdrop { display: none; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.section-head h2 { margin: 0; }
.section-head .filters { margin: 0; }

/* Düymələr və formalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #b9c6cf; text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #17583f; border-color: #17583f; }
.btn-ghost { background: transparent; }
.side .btn-ghost { color: var(--side-ink); border-color: rgba(255,255,255,.25); }
.btn-danger { color: var(--danger); }
.btn-sm { min-height: 32px; padding: 4px 10px; font-size: 13.5px; }
.btn-lg { min-height: 48px; padding: 10px 20px; font-size: 16px; }
.btn-block { width: 100%; min-height: 46px; }
.btn[disabled] { opacity: .6; cursor: default; }
input, select, textarea { font: inherit; color: inherit; border: 1px solid #c3ced6; border-radius: 8px; padding: 8px 10px; background: #fff; width: 100%; min-height: 40px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; }
input[disabled] { background: #eef2f5; color: var(--muted); }
label { display: block; font-size: 13.5px; font-weight: 600; }
label input, label select, label textarea { margin-top: 4px; font-weight: 400; font-size: 15px; }
label small { display: block; font-weight: 400; }
.form { display: grid; gap: 14px; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-narrow { max-width: 420px; }
.span-2 { grid-column: 1 / -1; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: 13.5px; padding: 0 6px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; padding: 5px 0; }
.check input { margin: 0; width: 18px; height: 18px; }
.tree { display: grid; gap: 4px; max-height: 340px; overflow: auto; }
.tree-sub { padding-left: 28px; display: grid; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin: 0 0 16px; }
.filters label { min-width: 150px; }
.month-form label { min-width: 0; display: flex; align-items: center; gap: 8px; }
.month-form label input { margin: 0; }
.details-form { margin-top: 16px; }
.details-form summary { list-style: none; display: inline-flex; }
.details-form summary::-webkit-details-marker { display: none; }
.details-form[open] summary { margin-bottom: 14px; }
#user-form:not([data-role=technician]) .role-technician, #user-form:not([data-role=client]) .role-client, #user-form:not([data-role=admin]) .role-admin { display: none; }

/* Kartlar, cədvəllər */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.branch-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.branch-card p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0 4px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 4px; }
a.stat:hover { border-color: var(--accent); text-decoration: none; }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat b { font-size: 1.5rem; line-height: 1.1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: 13px; }
.kv dd { margin: 0; }
.kv-row { grid-template-columns: repeat(auto-fit, minmax(110px, auto) minmax(140px, 1fr)); }
.table-wrap { background: var(--surface); border: 1px solid var(--hdr-line); border-radius: 8px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 13px; color: #fff; font-weight: 700; padding: 9px 12px; background: var(--hdr); border-right: 1px solid rgba(255,255,255,.18); vertical-align: bottom; }
.table th:last-child { border-right: 0; }
.table td { padding: 9px 12px; border-top: 1px solid var(--cell); border-right: 1px solid var(--cell); vertical-align: middle; }
.table td:last-child { border-right: 0; }
.table tbody tr:nth-child(even) { background: var(--zebra); }
.table tbody tr:hover { background: #e2eee7; }
.table .c { text-align: center; }
.table tr.row-alert td:first-child { box-shadow: inset 4px 0 0 #d9822b; }
.table-kv td:first-child { width: 42%; font-weight: 500; }
.thumbs-sm img { width: 52px; height: 52px; }

/* Bəli / Xeyr nişanları */
.yn { display: inline-block; min-width: 46px; text-align: center; padding: 2px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.yn-yes { background: #e3f0e9; color: #17583f; border-color: #bcd9c9; }
.yn-no { background: #eef1f3; color: #44535e; border-color: #d3dbe0; }
.yn-alert { background: #ffe4cc; color: #8a3d00; border-color: #f2b27d; }

/* Yoxlama forması (texnik) — Sahə / Seçim / Məcburi */
.form-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: var(--hdr); font-size: 1.15rem; }
.form-title .muted { font-size: .9rem; font-weight: 400; }
.code-tag { background: var(--hdr); color: #fff; font-size: .8rem; padding: 2px 8px; border-radius: 5px; letter-spacing: .5px; }
.ck { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.4fr) 86px; border: 1px solid var(--hdr-line); border-radius: 8px; overflow: hidden; }
.ck-h { background: var(--hdr); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 12px; }
.ck-row { display: contents; }
.ck-l, .ck-c, .ck-r { padding: 9px 12px; border-top: 1px solid var(--cell); background: #fff; }
.ck-l { font-weight: 600; font-size: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; background: #f6f9f7; }
.ck-r { border-left: 1px solid var(--cell); display: flex; align-items: center; color: var(--muted); font-size: 14px; }
.ck-c { border-left: 1px solid var(--cell); min-width: 0; }
.ck-c textarea, .ck-c input { margin: 0; }
.ck-c .preview { margin-top: 8px; }
.ck-c small { display: block; margin-top: 4px; }
.m-req { display: none; }
.yn-pick { display: flex; gap: 8px; }
.yn-pick .choice { flex: 0 1 120px; }
.yn-pick .choice span { justify-content: center; font-weight: 600; }
.yn-pick .choice input[value="1"]:checked + span { background: #e3f0e9; border-color: var(--accent); }
.yn-pick .choice input[value="0"]:checked + span { background: #eef1f3; border-color: #44535e; box-shadow: inset 0 0 0 1px #44535e; }
.insp-card[data-imp="1"] .r-main, .insp-card:not([data-pos="1"]) .r-num, .insp-card:not([data-imp="1"]) .r-reason { display: none; }
.insp-card .ck-row.r-num .ck-l { color: #8a3d00; }
.imp-toggle { color: var(--muted); font-size: 14px; }
.insp-card[data-imp="1"] .imp-toggle { color: #8a3d00; font-weight: 600; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.count { display: inline-block; min-width: 34px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: #17583f; font-weight: 700; text-align: center; }
.count:hover { background: var(--accent); color: #fff; text-decoration: none; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e8edf1; color: #3d4f5c; }
.tag-active { background: var(--ok-bg); color: var(--ok-ink); }
.tag-inactive { background: #eceff1; color: #5b6b77; }
.tag-warn { background: var(--warn-bg); color: var(--warn-ink); }
.empty { background: var(--surface); border: 1px dashed #c3ced6; border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); }
.empty strong { color: var(--ink); display: block; }
.empty p { margin: 4px 0 0; }
.flash { padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; font-weight: 600; }
.flash-ok { background: var(--ok-bg); color: var(--ok-ink); }
.flash-err { background: #fde8e6; color: #8c1d18; }
.notes { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; padding: 12px 16px 12px 34px; }
.notes li { margin: 6px 0; }

/* Aktivlik: rəqəm + mətn + rəng */
.act { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 13px; white-space: nowrap; border: 1px solid transparent; }
.act-0 { background: #e2f3ea; color: #17603a; border-color: #b7dec8; }
.act-1 { background: #edf5d6; color: #4c6410; border-color: #d3e3a2; }
.act-2 { background: #fbf3c8; color: #6b5600; border-color: #ead98a; }
.act-3 { background: #ffe6bf; color: #7d4a00; border-color: #f1c98a; }
.act-4 { background: #ffd6c4; color: #8a3210; border-color: #f0ae92; }
.act-5 { background: #f9c9c6; color: #86140f; border-color: #e99a95; }
.cmp { font-size: 13.5px; font-weight: 600; }
.cmp-up { color: #a3350f; } .cmp-down { color: #17603a; } .cmp-same, .cmp-na { color: var(--muted); font-weight: 400; }

/* Növ kartları və qrafik */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.type-card p { margin: 8px 0 0; }
.type-flying { border-top: 3px solid var(--accent); }
figure { margin: 10px 0 0; }
figcaption { font-size: 12.5px; color: var(--muted); }
.chart { width: 100%; height: auto; display: block; margin-top: 4px; }
.chart .grid { stroke: #e3e9ed; stroke-width: 1; }
.chart .bar { fill: var(--chart); }
.chart .sel .bar { fill: var(--chart-sel); }
.chart .nodata { stroke: #b4c0c9; stroke-width: 2; stroke-linecap: round; }
.chart .hit { fill: transparent; }
.chart .col:hover .hit { fill: rgba(11,122,110,.08); }
.chart .lbl { font-size: 8.5px; fill: #5b6b77; }
.chart .sel .lbl { font-weight: 700; fill: #14232e; }
.chart .val { font-size: 9.5px; font-weight: 700; fill: #14232e; }

/* Baxışlar */
.insp { margin-bottom: 10px; }
.insp header, .insp-card header { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.thumb { position: relative; }
.thumb-x { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; padding: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.gallery figcaption { margin-top: 6px; font-size: 13px; color: var(--ink); }

/* Texnik forması */
.progress { position: sticky; top: 0; z-index: 10; background: var(--bg); padding: 10px 0; }
.progress-bar { height: 8px; background: #dbe3e8; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.progress-bar span { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.insp-card { margin-bottom: 12px; display: grid; gap: 12px; border-left: 4px solid #c3ced6; }
.insp-card.is-done { border-left-color: var(--accent); }
.show-missing .insp-card:not(.is-done) { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.insp-card header { margin: 0; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eceff1; color: #5b6b77; }
.is-done .chip { background: var(--ok-bg); color: var(--ok-ink); }
.chip.saving { background: var(--warn-bg); color: var(--warn-ink); }
.chip.failed { background: #fde8e6; color: #8c1d18; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; font-weight: 400; font-size: 14.5px; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #c3ced6; border-radius: 10px; background: #fff; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.scale .choice input:checked + span { border-color: #14232e; box-shadow: inset 0 0 0 1px #14232e; }
.scale .act-0 span { background: #e2f3ea; } .scale .act-1 span { background: #edf5d6; } .scale .act-2 span { background: #fbf3c8; }
.scale .act-3 span { background: #ffe6bf; } .scale .act-4 span { background: #ffd6c4; } .scale .act-5 span { background: #f9c9c6; }
.scale .choice input:not(:checked) + span { opacity: .75; }
.f-reason, .f-zero { display: none; }
.insp-card[data-result=impossible] .f-reason { display: block; }
.insp-card[data-result=impossible] .f-num, .insp-card[data-result=impossible] .f-act,
.insp-card[data-result=none] .f-num, .insp-card[data-result=none] .f-act,
.insp-card[data-result=""] .f-num, .insp-card[data-result=""] .f-act { display: none; }
.insp-card[data-result=none] .f-zero { display: block; margin: 0; }
.insp-card:not([data-result=found]) .req-found { display: none; }
.f-num input { max-width: 200px; }
.preview { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 10px; border: 1px dashed var(--accent); border-radius: 10px; }
.preview[hidden] { display: none; }
.preview img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; }
.preview p { margin: 0 0 8px; }
.err { color: var(--danger); font-weight: 600; margin: 0; font-size: 13.5px; }
.err:empty { display: none; }
#complete-form { margin-top: 20px; }

/* Giriş, QR */
.login-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.logo-lg { color: var(--ink); padding: 0 0 20px; }
.logo-lg small { color: var(--muted); }
.qr-card { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
#qr { width: 260px; max-width: 100%; }
#qr svg { width: 100%; height: auto; display: block; }

/* Mobil */
@media (max-width: 900px) {
  .side { transform: translateX(-100%); transition: transform .2s; width: 260px; }
  .nav-toggle:checked ~ .side { transform: none; }
  .nav-toggle:checked ~ .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(10,25,35,.5); z-index: 20; }
  .main { margin-left: 0; padding: 14px 14px 60px; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; flex: none; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .filters label { flex: 1 1 140px; }
}
@media (max-width: 720px) {
  .ck { grid-template-columns: 1fr; }
  .ck-h, .ck-r { display: none; }
  .ck-l { border-top: 1px solid var(--cell); padding-bottom: 4px; background: #f6f9f7; }
  .ck-c { border-left: 0; border-top: 0; padding-top: 8px; }
  .m-req { display: inline; }
  .yn-pick .choice { flex: 1 1 50%; }
  .table.table-kv { display: table; } .table-kv thead { display: table-header-group; } .table-kv tbody { display: table-row-group; }
  .table-kv tr { display: table-row; padding: 0; } .table-kv td { display: table-cell; width: auto; text-align: left !important; border-top: 1px solid var(--cell); padding: 8px 10px; }
  .table tbody tr:nth-child(even) { background: var(--zebra); }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 8px 4px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 10px; text-align: right !important; overflow: hidden; }
  .table td[data-l]::before { content: attr(data-l); color: var(--muted); font-size: 12.5px; float: left; max-width: 45%; text-align: left; margin-right: 10px; }
  .table td:first-child { text-align: left !important; font-size: 1.02rem; }
  .table td:first-child::before { display: none; }
  .table td:empty { display: none; }
  .choices:not(.scale) .choice { flex: 1 1 100%; }
  .scale .choice { flex: 1 1 30%; }
  .kv-row { grid-template-columns: auto 1fr; }
}

/* Çap / PDF */
@media print {
  .side, .burger, .top-actions, .no-print, .filters, .flash, .nav-backdrop, .btn { display: none !important; }
  .main { margin: 0; padding: 0; max-width: none; }
  body { background: #fff; font-size: 12px; }
  .card, .table-wrap, .stat { border-color: #999; break-inside: avoid; }
  .table-wrap { overflow: visible; }
  tr, figure { break-inside: avoid; }
  h2 { break-after: avoid; }
  a { color: inherit; }
  .act, .tag, .count { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .chart .bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.scale .choice[class*="act-"] { background: none; border: 0; padding: 0; border-radius: 0; }
@media (max-width: 720px) {
  .table.table-kv { display: table; }
  .table.table-kv thead { display: table-header-group; }
  .table.table-kv tbody { display: table-row-group; }
  .table.table-kv tr { display: table-row; padding: 0; }
  .table.table-kv th, .table.table-kv td { display: table-cell; width: auto; text-align: left !important; padding: 8px 10px; }
  .table.table-kv td { border-top: 1px solid var(--cell); border-right: 1px solid var(--cell); font-size: 14px; }
  .table.table-kv td:first-child { width: 48%; font-size: 14px; }
}
.table tfoot .row-total td { background: #dcebe2; font-weight: 700; border-top: 2px solid var(--hdr); }
h3.form-title { margin: 22px 0 8px; font-size: 1.02rem; }
.name-preview { background: var(--accent-soft); border-radius: 8px; padding: 10px 14px; margin: 0; }
@media (max-width: 720px) { .table tfoot .row-total td:empty { display: none; } }
.table td.nowrap { white-space: nowrap; }
.finder { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.finder input[type=search] { max-width: 260px; margin: 0; font-size: 16px; }
.finder .check { font-size: 14px; }
.insp-card[hidden], .form-title[hidden] { display: none !important; }
.action-bar { position: sticky; bottom: 0; z-index: 15; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px -4px 0;
  padding: 10px 14px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 -4px 18px rgba(16,40,30,.12); }
.action-count { margin-right: auto; font-size: 14px; }
@media (max-width: 720px) {
  .action-bar { margin: 12px -14px 0; border-radius: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .action-bar { flex-wrap: nowrap; }
  .action-bar .action-count { display: none; }
  .action-bar #btn-complete { flex: 1 1 auto; }
  .finder input[type=search] { max-width: none; flex: 1 1 100%; }
}
