/* Биопорт 2.0 — стили по утверждённым макетам */
@font-face { font-family: "BioportRoboto"; src: url("../fonts/Roboto.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1d2733; --muted: #5d6b77; --line: #e3e8ec; --line-soft: #eef1f4; --bg: #f4f6f8; --card: #ffffff;
  --navy: #1f3f73; --navy-ink: #1d3f75; --blue: #3d6fb5; --link: #2c5596; --blue-soft: #e8eef7; --blue-ring: #d6e2f3;
  --lime: #86bd09; --lime-ink: #17240a; --ok: #3f6b00; --ok-bg: #eaf4d6; --ok-ink: #2f5200;
  --warn: #8a4508; --warn-bg: #fdf0e1; --warn-line: #f1d3ad;
  --bad: #b42318; --bad-ink: #8f1d14; --bad-bg: #fdf1f0; --bad-line: #f6d6d2;
  --radius: 14px; --font: "Golos Text", "BioportRoboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.45; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--navy-ink); }
h1 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
h2 { margin: 0; font-size: 17px; font-weight: 600; }
h3 { margin: 0; font-size: 15px; font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 600; }
.ok { color: var(--ok); } .warn { color: var(--warn); } .bad { color: var(--bad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-s { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; }

/* ---------- каркас ---------- */
.test-banner { background: #fff3c4; color: #5c4400; text-align: center; font-size: 13px; padding: 6px 12px; border-bottom: 1px solid #f0dd8a; }
.app { display: flex; min-height: 100vh; }
.side { width: 248px; flex: none; background: var(--card); border-right: 1px solid var(--line); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo { height: 72px; width: auto; align-self: flex-start; margin: 0 8px 18px; }
.side a.nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; }
.side a.nav svg { color: var(--muted); flex: none; }
.side a.nav:hover { background: var(--bg); }
.side a.nav.on { background: var(--blue-soft); color: var(--navy-ink); font-weight: 600; }
.side a.nav.on svg { color: var(--navy-ink); }
.side .who { margin-top: auto; padding: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.main { flex: 1; min-width: 0; padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 20px; max-width: 1280px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.topbar, .bottom-nav { display: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; }

/* ---------- элементы ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.card.flush { padding: 0; overflow: hidden; }
.card.warnline { border-color: var(--warn-line); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 10px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split > .wide { flex: 999 1 480px; min-width: 0; }
.split > .narrow { flex: 1 1 300px; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.tile .label { font-size: 13px; color: var(--muted); }
.tile .value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile.dark .label, .tile.dark a { color: #c9d6ea; }
.tile.warnline { border-color: var(--warn-line); }

.nowrap { flex-wrap: nowrap; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #c9d3dc; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; }
.btn:hover { border-color: #9fb0bf; color: var(--ink); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: #193461; color: #fff; }
.btn.accent { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.btn.accent:hover { background: #79ab08; color: var(--lime-ink); }
.btn.big { height: 60px; font-size: 18px; border-radius: 14px; }
.btn.small { height: 36px; padding: 0 14px; border-radius: 9px; font-size: 13px; }
.btn.block { width: 100%; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn[disabled] { background: #c9d3dc; border-color: #c9d3dc; color: #44515c; cursor: not-allowed; }
.danger-link { color: var(--bad); font-weight: 600; background: none; border: 0; font: inherit; font-size: 14px; cursor: pointer; padding: 0; }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
label.field.strong-label { font-size: 14px; color: var(--ink); font-weight: 600; }
.input, select.input, textarea.input { height: 46px; width: 100%; border-radius: 10px; border: 1px solid #c9d3dc; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
textarea.input { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.input:focus { outline: 3px solid var(--blue-ring); border-color: var(--blue); }
.scan-input { height: 56px; font-family: var(--mono); font-size: 18px; border: 2px solid var(--blue); outline: 3px solid var(--blue-ring); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.errorlist { margin: 4px 0 0; padding: 0; list-style: none; color: var(--bad); font-size: 13px; }
details.more > summary { cursor: pointer; color: var(--link); font-weight: 600; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 12px; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--muted); }
.badge.ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad-ink); }
.badge.info { background: var(--blue-soft); color: var(--navy-ink); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.notice svg { flex: none; margin-top: 2px; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice.bad { background: var(--bad-bg); color: var(--bad-ink); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.info { background: var(--blue-soft); color: var(--navy-ink); }
.messages { display: flex; flex-direction: column; gap: 8px; }

table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th:first-child, .table td:first-child { padding-left: 22px; }
.table th:last-child, .table td:last-child { padding-right: 22px; }
.table .r { text-align: right; }
.table tr.badrow td { background: var(--bad-bg); }
.scroll { overflow-x: auto; position: relative; }

.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.list > .item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.list > .item:last-child { border-bottom: 0; }
a.item:hover { background: #fafbfc; }
.list > .item.bad { background: var(--bad-bg); }
.list.warnline { border-color: var(--warn-line); }
.dot { width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.dot.ok { background: var(--ok-bg); color: var(--ok); }
.dot.bad { background: #f9d9d6; color: var(--bad); }
.dot.warn { background: var(--warn-bg); color: var(--warn); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }

dl.kv { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; font-size: 14px; }
dl.kv dt { color: var(--muted); font-size: 12px; }
dl.kv dd { margin: 2px 0 0; font-weight: 600; }

.progress { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--lime); }
.big-count { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.big-count small { font-size: 18px; font-weight: 500; color: var(--muted); }

ol.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
ol.steps li { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
ol.steps li .n { width: 26px; height: 26px; border-radius: 13px; border: 1px solid #c9d3dc; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
ol.steps li.done { color: var(--ink); }
ol.steps li.done .n { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-bg); }
ol.steps li.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
ol.steps li.on .n { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }

.timeline { display: flex; flex-direction: column; }
.timeline .ev { display: flex; gap: 16px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .pin { width: 14px; height: 14px; border-radius: 7px; background: var(--blue); flex: none; margin-top: 4px; }
.timeline .pin.money { background: var(--lime); }
.timeline .pin.bad { background: var(--bad); }
.timeline .pin.wait { background: none; border: 2px dashed #b9c4ce; }
.timeline .line { width: 2px; flex: 1; background: #d6dee6; }
.timeline .ev:last-child .line { display: none; }
.timeline .body { padding-bottom: 20px; }
.timeline .body .t { font-weight: 600; }
.timeline .body .d { font-size: 14px; color: var(--muted); }

.balance-card { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.balance-card .label, .balance-card a, .balance-card .sub { color: #c9d6ea; font-size: 13px; }
.balance-card .value { font-size: 34px; font-weight: 700; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }

.camera { position: relative; height: 230px; border-radius: 16px; background: #14202e; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.camera #reader { position: absolute; inset: 0; }
.camera #reader video { width: 100% !important; height: 100% !important; object-fit: cover; }
.camera .frame { width: 150px; height: 150px; border-radius: 12px; border: 3px solid var(--lime); pointer-events: none; z-index: 2; }
.camera .hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 13px; color: #c9d6ea; z-index: 2; }
.camera .start { position: absolute; z-index: 3; }
.sticky-foot { position: sticky; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding: 14px 16px 18px; margin: 0 -16px -16px; display: flex; flex-direction: column; gap: 12px; z-index: 5; }

.stars { display: flex; gap: 6px; }
.stars label { display: inline-flex; }
.stars input { position: absolute; opacity: 0; }
.stars span { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #c9d3dc; display: flex; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; }
.stars input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.stars input:focus-visible + span { outline: 3px solid var(--blue-ring); }

/* ---------- вход и публичная страница ---------- */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth .box { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.auth .box .logo { height: 96px; width: auto; align-self: center; }
.public { max-width: 440px; margin: 0 auto; min-height: 100vh; background: #fff; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.public .logo { height: 92px; }
.public .seal { width: 72px; height: 72px; border-radius: 36px; display: flex; align-items: center; justify-content: center; }
.public .seal.ok { background: var(--ok-bg); color: var(--ok); }
.public .seal.bad { background: var(--bad-bg); color: var(--bad); }
.public dl { margin: 0; width: 100%; border: 1px solid var(--line); border-radius: 14px; text-align: left; }
.public dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.public dl > div:last-child { border-bottom: 0; }
.public dt { color: var(--muted); font-size: 14px; }
.public dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- телефон ---------- */
@media (max-width: 860px) {
  .side { display: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
  .topbar .logo { height: 52px; width: auto; }
  .topbar .me { display: flex; align-items: center; gap: 10px; text-align: right; line-height: 1.2; }
  .avatar { width: 36px; height: 36px; border-radius: 18px; background: var(--blue-soft); color: var(--link); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
  .app { flex-direction: column; min-height: auto; }
  .main { padding: 16px 16px 96px; gap: 16px; }
  h1 { font-size: 22px; }
  .card { padding: 18px; }
  .bottom-nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(10px + env(safe-area-inset-bottom)); z-index: 20; }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; color: var(--muted); text-align: center; }
  .bottom-nav a.on { color: var(--link); font-weight: 600; }
  .bottom-nav.many { grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-foot { bottom: calc(60px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px rgba(20, 32, 46, 0.06); }
  .tile .value { font-size: 21px; }
  .table th:first-child, .table td:first-child { padding-left: 14px; }
  .table th:last-child, .table td:last-child { padding-right: 14px; }
  dl.kv { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- цвета корешков ---------- */
:root { --c-red: #d9362b; --c-yellow: #e9a800; --c-green: #4a9a0e; --c-grey: #b4bec8; }
.cdot { display: inline-block; width: 10px; height: 10px; border-radius: 5px; flex: none; vertical-align: middle; }
.cdot.red { background: var(--c-red); } .cdot.yellow { background: var(--c-yellow); } .cdot.green { background: var(--c-green); } .cdot.grey { background: var(--c-grey); }
.colorbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line); min-width: 120px; }
.colorbar > span.red { background: var(--c-red); } .colorbar > span.yellow { background: var(--c-yellow); } .colorbar > span.green { background: var(--c-green); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.tile.c-red { border-left: 0; box-shadow: inset 0 4px 0 var(--c-red); }
.tile.c-yellow { box-shadow: inset 0 4px 0 var(--c-yellow); }
.tile.c-green { box-shadow: inset 0 4px 0 var(--c-green); }
.badge.c-red { background: #fde4e2; color: #9b1d14; } .badge.c-yellow { background: #fff2cc; color: #6b4d00; } .badge.c-green { background: var(--ok-bg); color: var(--ok-ink); }

/* ---------- сообщения администрации ---------- */
.announce { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--blue-soft); color: var(--navy-ink); font-size: 14px; }
.announce.important { background: #fff2cc; color: #5c4400; border: 1px solid #f0dd8a; }
.announce .t { font-weight: 600; }
.announce svg { flex: none; margin-top: 2px; }
.side .report { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: 10px; }
.side .report:hover { background: var(--bg); color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.back:hover { color: var(--ink); }
.announces { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.announce .x { white-space: pre-line; }
.topbar .report { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: var(--muted); }
.topbar .report:hover { background: var(--bg); color: var(--ink); }
.topbar .me { gap: 8px; }
.table .cdot { margin-right: 6px; }
.list.flat { border: 0; border-radius: 0; background: transparent; }
.list.flat > .item { padding-left: 22px; padding-right: 22px; }
a.tile { color: var(--ink); text-decoration: none; }
a.tile:hover { border-color: #c9d3dc; }

/* ---------- приветствие Биопорт ---------- */
.hello { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 48px 18px 20px; margin-bottom: 18px; border-radius: 16px;
  background: linear-gradient(120deg, #1f3f73 0%, #2b5aa0 62%, #3d7bc4 100%); color: #fff; overflow: hidden; }
.hello::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 214, 55, .35), rgba(165, 214, 55, 0) 70%); pointer-events: none; }
.hello.bday { background: linear-gradient(120deg, #5b2a86 0%, #a2387a 60%, #e0705a 100%); }
.hello-mark { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.hello-mark img { width: 42px; height: auto; }
.hello-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.hello-text { font-size: 14px; line-height: 1.45; color: #dce7f6; margin-top: 4px; max-width: 760px; }
.hello.bday .hello-text { color: #fbe7f1; }
.hello-bdays { margin-top: 8px; font-size: 13px; color: #fff; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.hello-sign { margin-top: 6px; font-size: 12px; color: #a9bfdf; }
.hello-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #c9d6ea; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hello-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 640px) { .hello { padding: 14px 40px 14px 14px; gap: 12px; } .hello-mark { width: 40px; height: 40px; border-radius: 10px; } .hello-mark img { width: 32px; } .hello-title { font-size: 17px; } }

/* ---------- аналитика ---------- */
.chart-wrap { width: 100%; overflow-x: auto; }
svg.chart { width: 100%; min-width: 560px; height: auto; display: block; font-family: inherit; }
svg.chart .grid { stroke: #e6eaee; stroke-width: 1; }
svg.chart .axis { stroke: #c9d3dc; stroke-width: 1; }
svg.chart .tick { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
svg.chart .endlabel { font-size: 12px; font-weight: 600; fill: var(--ink); }
svg.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg.chart .dot { stroke: #fff; stroke-width: 2; }
svg.chart .hit:hover rect { fill: rgba(43, 90, 160, .06); }
svg.chart .hit:hover .dot { r: 5; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }
.seg { display: inline-flex; gap: 4px; }
.pctbar { display: inline-block; width: 70px; height: 6px; border-radius: 3px; background: #e6eaee; margin-right: 8px; vertical-align: middle; overflow: hidden; }
.pctbar > span { display: block; height: 100%; background: #1f9e8f; border-radius: 3px; max-width: 100%; }
.subrow td { background: #f7f9fb; padding-top: 12px; padding-bottom: 14px; }
.mark-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
label.field.inline { display: inline-flex; flex-direction: column; gap: 4px; font-size: 12px; }
label.field.inline .input { height: 40px; min-width: 120px; }
.add-line { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--line-soft); }
.add-line select { flex: 1 1 320px; }
details.inline { display: inline-block; margin-left: 10px; }
details.pkg-list > summary { list-style: none; cursor: pointer; }
details.pkg-list > summary::-webkit-details-marker { display: none; }
details.pkg-list .link { color: var(--link); }
details.pkg-list:not([open]) > summary { padding-bottom: 18px; }
.sr { left: 0; top: 0; }
