.gl-edition .gl-detail>summary .gl-open-story,.gl-edition .gl-detail>summary .gl-source-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:40px;min-height:40px;border-radius:4px;padding:0 13px;font-size:13px;line-height:1;font-weight:650;white-space:nowrap}
.gl-edition .gl-detail>summary .gl-source-action{color:var(--ap-accent, #245d61);background:transparent;border:1px solid var(--ap-rule, #568086);text-decoration:none}
.gl-source-action svg{width:14px;height:14px}
.rp-screen{box-sizing:border-box;max-width:740px;margin:clamp(24px,6vh,72px) auto;padding:0 clamp(18px,4vw,36px);color:var(--ap-text, #172521)}
.rp-screen [hidden]{display:none!important}
.rp-screen header{margin:0 0 19px}
.rp-screen h1,.rp-screen h2{margin:0 0 6px;font-size:clamp(26px,4vw,38px);line-height:1.2;letter-spacing:-.04em}
.rp-screen header p,.rp-screen .rp-match-count,.rp-screen .rp-status{margin:0;color:var(--ap-muted, #475951);line-height:1.55;font-size:14px}
.rp-screen .rp-search{display:flex;align-items:stretch;gap:6px}
.rp-screen .rp-search label{display:flex;align-items:center;flex:1;min-width:0;gap:9px;background:var(--ap-surface, #fff);border:1px solid var(--ap-line, #a2b3ab);border-radius:7px;padding:0 12px}
.rp-screen .rp-search label:focus-within{outline:2px solid var(--ap-focus, #286751);outline-offset:2px}
.rp-screen .rp-search svg{flex:none;color:var(--ap-muted, #45675c);width:17px;height:17px}
.rp-screen .rp-search input{min-width:0;flex:1;margin:0;padding:11px 0;border:0;box-shadow:none;outline:none;background:transparent;font-size:16px;line-height:1.3;color:inherit}
.rp-screen .rp-add{border:1px solid var(--ap-accent, #38705f);border-radius:6px;color:var(--ap-accent, #214f42);background:transparent;font-size:13px}
.rp-screen .rp-match-count:not(:empty),.rp-screen .rp-status:not(:empty){margin:10px 0}
.rp-screen .rp-match-count:empty,.rp-screen .rp-status:empty{display:none}
.rp-screen .rp-block{margin:20px 0}
.rp-screen .rp-block+.rp-block{padding-top:13px;border-top:1px solid var(--ap-line, #d6ddd8)}
.rp-screen .rp-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.rp-screen h3{margin:0;font-size:16px;line-height:1.3;font-weight:700}
.rp-screen .rp-more{border:0;background:transparent;box-shadow:none;color:var(--ap-accent, #245d4e);padding:5px 2px;font-size:13px;min-height:32px;text-decoration:underline;text-decoration-color:var(--ap-line, #9eb7ac);text-underline-offset:4px}
.rp-screen .rp-pills{display:flex;flex-wrap:wrap;gap:7px}
.rp-screen .rp-pill{box-sizing:border-box;border:1px solid var(--ap-line, #aebcb4);border-radius:999px;background:var(--ap-surface, white);color:var(--ap-text, #253b32);min-height:37px;padding:6px 13px;font:inherit;font-size:14px;line-height:1.3;overflow-wrap:anywhere;white-space:normal;text-align:start}
.rp-screen .rp-pill[aria-pressed=true]{background:var(--ap-solid, #204f43);color:var(--ap-on-solid, #fff);border-color:var(--ap-accent, #204f43)}
.rp-screen .rp-pill:focus-visible,.rp-screen .rp-more:focus-visible,.rp-screen summary:focus-visible,.rp-screen select:focus-visible{outline:2px solid var(--ap-focus, #286751);outline-offset:2px}
.rp-screen .rp-subgroup+.rp-subgroup{margin-top:13px}
.rp-screen h4{margin:0 0 6px;color:var(--ap-muted, #51655c);font-weight:600;font-size:12px;letter-spacing:.02em}
.rp-screen .rp-browse{display:flex;align-items:center;gap:8px;margin:6px 0 12px;color:var(--ap-muted, #44574e);font-size:13px}
.rp-screen .rp-browse select{max-width:100%;border:1px solid var(--ap-line, #aebcb4);border-radius:5px;padding:6px 9px;min-height:38px;background:var(--ap-surface, #fff);color:var(--ap-text, #253b32);font:inherit}
.rp-screen .rp-selected{border-top:1px solid var(--ap-line, #d6ddd8);padding:5px 0 1px;margin:14px 0 0}
.rp-screen .rp-selected summary{cursor:pointer;width:fit-content;padding:8px 2px;font-size:13px;color:var(--ap-accent, #345548)}
.rp-screen .rp-selected .rp-pills{padding:3px 0 9px}
.rp-screen .rp-remove{margin-left:5px;font-size:16px}
.rp-screen .rp-actions{display:flex;align-items:center;gap:12px;padding:12px 0 10px}
.dialog-body .rp-screen{max-width:none;margin:0;padding:0}
@media(max-width:700px){
  .rp-screen{margin:13px auto;padding:0 16px}
  .rp-screen header{margin-bottom:13px}
  .rp-screen .rp-block{margin:13px 0}
  .rp-screen .rp-block+.rp-block{padding-top:8px}
  .rp-screen .rp-more,.rp-screen .rp-pill,.rp-screen .rp-browse select,.rp-screen .rp-selected summary,.rp-screen .rp-actions button,.rp-screen .rp-add{min-height:44px}
  .rp-screen .rp-pills{gap:6px}
  .rp-screen .rp-pill{padding:6px 11px}
  .rp-screen .rp-actions{position:sticky;bottom:0;z-index:1;padding:8px 0 max(8px,env(safe-area-inset-bottom));background:var(--bg,var(--ap-surface, #fafbf8));border-top:1px solid var(--ap-line, #d6ddd8)}
  .dialog-body .rp-screen .rp-actions{background:var(--surface,var(--ap-surface, #fff))}
}

.skill-download{display:inline-flex;gap:6px;align-items:center}.skill-box{display:grid;gap:12px}.skill-box code{overflow-wrap:anywhere;user-select:all}
@media(max-width:700px){.gl-edition .gl-detail>summary .gl-open-story,.gl-edition .gl-detail>summary .gl-source-action{height:44px;min-height:44px}.gl-edition .gl-detail>summary{gap:8px;flex-wrap:wrap}}

.skill-option{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--ap-line, #d8dedc)}.skill-option small{display:block;color:var(--ap-muted, #4c5956);margin-top:4px}.skill-option input{margin-top:5px}.skill-choices{max-height:min(48dvh,440px);overflow:auto;overscroll-behavior:contain;padding-right:4px}.skill-option span{min-width:0}.skill-box>button.primary{justify-self:start}.skill-box>[role=status]:empty{display:none}
