/* "Add computers" (assets/panel-addpc.js): the 3-step dialog, the empty Computers page. Dark, Manrope, rounded. */
.ap-card { max-width: 760px; padding: 0; overflow: hidden; }
.ap-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ap-top h2 { margin: 0; }
.ap-grid { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.ap-steps { list-style: none; margin: 0; padding: 18px 14px; background: var(--surface-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ap-step { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--muted); font-size: 14px; }
.ap-step.on { color: var(--text); background: rgba(255, 255, 255, .06); }
.ap-step.did { color: var(--text); }
.ap-num { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  border: 1px solid var(--line-strong); }
.ap-step.on .ap-num { background: var(--accent); border-color: var(--accent); color: #06121f; }
.ap-step.did .ap-num { border-color: var(--ok); color: var(--ok); }
.ap-num svg { width: 14px; height: 14px; }
.ap-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ap-body h3 { margin: 0; font-size: 16px; }
.ap-body p { margin: 0; }
.ap-sys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ap-os { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: 14px; text-align: left;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); cursor: pointer; }
.ap-os.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ap-os[disabled] { opacity: .5; cursor: not-allowed; }
.ap-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ap-field select { border-radius: 12px; }
.ap-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--surface-2); align-self: flex-start; }
.ap-tab { border: 0; background: transparent; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13.5px; }
.ap-tab.on { background: rgba(255, 255, 255, .1); color: var(--text); }
.ap-acts { gap: 8px; flex-wrap: wrap; align-items: center; }
.ap-code { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.ap-cmd { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; user-select: all; }
.ap-small { font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.ap-small svg, .ap-notes svg, .ap-prog svg { width: 15px; height: 15px; flex: 0 0 15px; }
.ap-notes { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ap-notes p { display: flex; gap: 8px; align-items: flex-start; }
.ap-progress { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-prog { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; }
.ap-prog.ok { color: var(--ok); }
.ap-prog.bad { color: #ff6b6b; }
.ap-err { margin: 0; }
.ap-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.ap-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 16px; text-align: center; }
.ap-empty h3 { margin: 4px 0 0; }
.ap-empty-ic { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
@media (max-width: 640px) {
  .ap-grid { grid-template-columns: 1fr; }
  .ap-steps { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; overflow-x: auto; }
  .ap-step span:last-child { white-space: nowrap; }
  .ap-sys { grid-template-columns: 1fr; }
}
