/* Skills dialog (public/modules/skills.js) */
.menu-skills { gap: 10px; }
.menu-skills svg { color: var(--ink-muted); flex-shrink: 0; }
.pm-dlg.sk-dlg { max-width: 560px; }
.sk-lead { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.5; }
.sk-claude { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--chip-bg); color: var(--ink-muted); font-size: 13px; line-height: 1.45; border-left: 3px solid #D97757; }
.sk-claude b { color: var(--ink); }
.sk-add { display: flex; flex-direction: column; gap: 10px; }
.sk-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 14px; border: 1.5px dashed var(--field-line); border-radius: 16px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.sk-drop:hover, .sk-drop.over, .sk-drop:focus-within { border-color: var(--ink-faint); background: var(--hover); }
.sk-drop b { font-size: 14.5px; }
.sk-drop span { color: var(--ink-faint); font-size: 12.5px; }
.sk-drop.busy { opacity: .6; pointer-events: none; }
.sk-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.sk-link { display: flex; gap: 8px; }
.sk-link .input { flex: 1; min-width: 0; }
.sk-textbtn { align-self: flex-start; background: none; border: 0; padding: 2px 0; color: var(--ink-muted); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sk-textbtn:hover { color: var(--ink); }
.sk-paste { display: flex; flex-direction: column; gap: 8px; }
.sk-paste[hidden] { display: none; }
.sk-ta { min-height: 110px; resize: vertical; font: inherit; line-height: 1.45; }
.sk-paste .btn { align-self: flex-end; }
.sk-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.sk-head h3 { margin: 0; font-size: 15px; }
.sk-count { color: var(--ink-faint); font-size: 12.5px; }
.sk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sk-item { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.sk-item.off .sk-t { opacity: .55; }
.sk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; background: none; border: 0; padding: 2px 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sk-t b { font-size: 14px; }
.sk-t span { color: var(--ink-faint); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-t:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sk-empty { color: var(--ink-faint); font-size: 13.5px; padding: 12px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }
.sk-badge { position: absolute; top: -8px; right: 12px; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--err-bg); color: var(--danger); }
.sk-switch { position: relative; flex-shrink: 0; width: 38px; height: 22px; cursor: pointer; }
.sk-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sk-switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--field-line); transition: background .18s; pointer-events: none; }
.sk-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
.sk-switch input:checked + i { background: var(--select); }
.sk-switch input:checked + i::after { transform: translateX(16px); }
.sk-switch input:focus-visible + i { outline: 2px solid var(--select); outline-offset: 2px; }
.sk-del { flex-shrink: 0; color: var(--ink-faint); }
.sk-del.sure { width: auto; padding: 0 10px; color: var(--danger); font-size: 12.5px; font-weight: 600; }
.sk-foot { margin: 0; color: var(--ink-faint); font-size: 12.5px; }
.sk-foot a { color: var(--ink); }
.sk-pre { margin: 0; max-height: 55vh; overflow: auto; padding: 14px; border-radius: 12px; background: var(--chip-bg); font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 560px) { .sk-link { flex-direction: column; } .sk-link .btn { align-self: flex-end; } }
.pm-dlg.sk-dlg, .sk-list, .sk-item, .sk-add { min-width: 0; }
.pm-dlg.sk-dlg { overflow-wrap: anywhere; }
