.adv-progress { color:#2b405f; font-size:.92rem }
.ap-contents,.ap-section { display:grid; gap:12px }
.ap-contents h3,.ap-contents h4,.ap-contents p,.ap-status { margin:0 }
.ap-status { color:#804d15; font-size:.85rem; margin-top:8px }
.ap-status:empty { display:none }
.ap-note,.ap-detail small,.ap-attr small,.ap-levels small { color:#536584; font-size:.81rem }
.ap-tabs,.ap-jobhead,.ap-selected,.ap-reset { display:flex; gap:7px; align-items:center; flex-wrap:wrap }
.ap-jobhead img,.ap-selected img { width:32px;height:32px;image-rendering:pixelated;object-fit:contain }
.ap-chooser { margin-left:auto; min-height:34px; max-width:100%; padding:3px; border:1px solid #b0c1db; border-radius:5px; color:inherit; background:white }
.ap-tab,.ap-step,.ap-link,.ap-learn { color:inherit; border:1px solid #aabbd5;border-radius:7px; padding:6px 10px; background:linear-gradient(#fff,#e6edf8); font-weight:700 }
.ap-tabs .ap-tab { flex:1 }
.ap-tab[aria-pressed=true],.ap-learn { background:linear-gradient(#719ada,#496daa); color:#fff; border-color:#476aac }
.ap-detail,.ap-attr,.ap-levels>div { background:#f7faff; border:1px solid #c1cfe3; border-radius:8px; padding:9px }
.ap-detail { display:grid; gap:5px }
.ap-detail .ap-pending { color:#8a5d29 }
.ap-selected small { margin-left:auto }
.ap-tree { background:#eaf0fc; padding:4px; border-radius:9px; border:1px solid #c0d0e8 }
.ap-row { display:grid;grid-template-columns:36px repeat(var(--cols), minmax(0,1fr)); align-items:center; gap:4px; padding:5px 1px; min-height:51px }
.ap-row+.ap-row { border-top:1px dashed #b6c9e1 }
.ap-gate { color:#536784; font-size:12px; text-align:center }
.ap-node { position:relative;display:grid;place-items:center;justify-self:center;width:38px;height:38px;padding:2px;background:#fafcff;border:1px solid #8098c1;border-radius:7px }
.ap-node img { width:29px;height:29px;object-fit:contain;image-rendering:pixelated }
.ap-node small { position:absolute; right:-4px;bottom:-5px;font:700 10px/1.1 sans-serif;background:#f8fbff;color:#304979;border:1px solid #94a8c6;border-radius:5px;padding:1px 3px }
.ap-node.ap-rare { border:2px solid #bc8f35 }
.ap-node.ap-locked { background:#dde3ec }
.ap-node.ap-locked img { opacity:.6 }
.ap-node[aria-pressed=true] { outline:2px solid #476fbd }
.ap-levels,.ap-attributes { display:grid;grid-template-columns:1fr 1fr;gap:8px }
.ap-levels>div,.ap-attr>div { display:grid;gap:4px }
.ap-levels progress { width:100%;height:8px;accent-color:#668bd1 }
.ap-attributes { grid-template-columns:1fr }
.ap-attr {display:grid;grid-template-columns:1fr auto 40px auto;align-items:center;gap:8px}
.ap-reset {justify-content:flex-end}
.ap-spec-dialog{max-width:min(360px,86vw);border:1px solid #8195b5;border-radius:10px;padding:16px;background:#f7faff;color:#304566}
.ap-spec-dialog::backdrop{background:#18263c88}
.ap-spec-dialog h3{margin:0}.ap-spec-dialog p{line-height:1.55}.ap-spec-dialog button+button{margin-left:8px}
.ap-link {font-size:.81rem}
.ap-skills {display:flex;gap:6px;flex-wrap:wrap}
.ap-skills span {display:flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #cad8e8;border-radius:5px;background:#fff}
.ap-skills img {width:22px;height:22px;object-fit:contain;image-rendering:pixelated}
