/* software.css — software hub + detail */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sw-mark { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 .9rem var(--font-head); color: #fff; letter-spacing: .02em; background: linear-gradient(145deg, var(--c, var(--blue)), color-mix(in srgb, var(--c, var(--blue)) 60%, #000)); overflow: hidden; }
.sw-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sw-hero-mark { font: 700 3rem var(--font-head); letter-spacing: .03em; }
.sw-hero-mark img { width: 70%; }
.sw-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sw-search { position: relative; flex: 1 1 320px; max-width: 520px; }
.sw-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.sw-search input { width: 100%; padding: 12px 14px 12px 40px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; }
.sw-search input:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent); border-color: var(--blue); }
.sw-count { color: var(--muted); font-size: .9rem; }
.sw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sw-chip { --c: var(--navy); display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 600 .84rem var(--font-body); cursor: pointer; }
.sw-chip i { color: var(--c); } .sw-chip span { font-size: .72rem; background: var(--bg); border-radius: 99px; padding: 1px 7px; color: var(--muted); }
.sw-chip:hover { border-color: var(--c); }
.sw-chip:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent); outline-offset: 2px; }
.sw-chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); } .sw-chip.is-on i { color: #fff; } .sw-chip.is-on span { background: rgba(255,255,255,.18); color: #fff; }
.sw-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sw-table { width: 100%; min-width: 980px; }
.sw-table td, .sw-table th { vertical-align: middle; }
.sw-row[hidden] { display: none; }
.sw-name { display: flex; gap: 12px; align-items: center; min-width: 230px; border-bottom: 0; }
.sw-name b { color: var(--navy); display: block; } .sw-name small { color: var(--muted); font-size: .78rem; display: block; margin-top: 2px; }
.sw-desc { color: #33475b; font-size: .9rem; min-width: 260px; }
.sw-act { white-space: nowrap; } .sw-act .btn { margin: 2px 0; }
.sw-empty { text-align: center; padding: 30px; color: var(--muted); }
.sw-note { margin-top: 22px; }
.sw-main { display: grid; gap: 22px; min-width: 0; }
.sw-h { font-size: 1.2rem; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; } .sw-h i { color: var(--accent); }
.sw-facts th { width: 38%; font-weight: 600; color: var(--navy); background: var(--bg); } .sw-facts td { word-break: break-word; }
.sw-steps li { padding-top: 12px; padding-bottom: 12px; }
.sw-small { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.sw-rel { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.sw-rel li { display: flex; gap: 10px; align-items: center; } .sw-rel .sw-mark { width: 34px; height: 34px; font-size: .75rem; border-radius: 9px; } .sw-rel a { font-weight: 600; color: var(--navy); }
.sw-all { font-weight: 600; font-size: .9rem; }
.sw-help p { color: #33475b; margin: 0 0 14px; }
@media (max-width: 860px) {
  .sw-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .sw-table { min-width: 0; display: block; } .sw-table thead { display: none; } .sw-table tbody { display: grid; gap: 14px; }
  .sw-table tr { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; gap: 8px; box-shadow: var(--shadow); }
  .sw-table tr[hidden] { display: none; }
  .sw-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .sw-table td[data-label]:not(.sw-name)::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .sw-table .sw-name { display: flex; min-width: 0; } .sw-desc { min-width: 0; } .sw-act { white-space: normal; }
}
