/* Guided skills page. Original Sepehra container comes from app.css. */
.skills-page {--ink:#18233d;--muted:#526078;--line:#dde4f1;position:relative;isolation:isolate;background-color:#fbfcff;background-image:radial-gradient(ellipse 48rem 38rem at 4% 9%,#7c68ee1c,transparent 72%),radial-gradient(ellipse 46rem 38rem at 96% 36%,#49bfe919,transparent 72%),radial-gradient(ellipse 44rem 36rem at 48% 98%,#c171df12,transparent 72%);color:var(--ink);color-scheme:light}
.skills-page::before {content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.3;background-image:radial-gradient(1.2px 1.2px at 17% 22%,#52679c70 50%,transparent 80%),radial-gradient(1px 1px at 74% 16%,#52679c6b 50%,transparent 80%),radial-gradient(1.1px 1.1px at 89% 68%,#52679c66 50%,transparent 80%),radial-gradient(1px 1px at 31% 83%,#52679c5c 50%,transparent 80%)}
.skills-page .brand-logo {filter:url("../images/logo/primary-filter.svg#primary")}
.skills-page [hidden] {display:none!important}
.skills-page .site-header {background:#fff;border-bottom:1px solid var(--line)}
.skills-page .main-nav a {color:#526078}
.skills-page .main-nav a:hover,.skills-page .main-nav a.active {color:#2449e8}
.skills-page .menu-toggle {background:#eef3ff}
.skills-page .menu-toggle span {background:#2449e8}
.skills-page :focus-visible {outline:3px solid #2449e8;outline-offset:4px}
.skills-page .button {background:#2449e8;color:#fff;box-shadow:none;border-radius:9px}
.skills-page .button:hover {background:#1735b8;transform:none}
.skills-page main [id] {scroll-margin-top:18px}
.skills-fallback-nav {display:flex;gap:22px;flex-wrap:wrap;padding-block:20px;color:#2449e8}
.skills-hero {position:relative;isolation:isolate;padding-block:78px 72px;text-align:center}
.skills-hero::before {content:"";position:absolute;z-index:-1;inset:-7rem 10% auto;height:26rem;pointer-events:none;background:radial-gradient(ellipse,#9381ed1b 0%,#72cef412 42%,transparent 74%);filter:blur(12px)}
.skills-hero h1 {font-size:clamp(34px,4.2vw,56px);line-height:1.6;letter-spacing:-.5px;margin-inline:auto;max-width:850px}
.skills-lead {font-size:20px;line-height:2;max-width:650px;margin:24px auto 0;color:#526078}
.skill-definition {font-size:15px;line-height:2;max-width:620px;margin:24px auto 0;color:#526078}
.skill-definition strong {color:#18233d}
.skills-hero .hero-actions {display:flex;justify-content:center;gap:28px;align-items:center;margin-top:30px}
.skills-hero .text-link {color:#2449e8;font-size:15px}
.hero-credit {margin-top:24px;font-size:12px;color:#69758b}
.skills-section {padding-block:58px;border-top:1px solid var(--line)}
.section-intro {margin-bottom:28px}
.section-intro h2 {font-size:clamp(27px,3vw,36px);line-height:1.7;letter-spacing:-.4px;color:#18233d}
.section-intro p {font-size:16px;line-height:2;margin-top:10px;color:#526078}
.example-controls,.agent-controls {display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.example-controls button,.agent-controls button {background:#fff;border:1px solid #d5deef;border-radius:8px;color:#526078;padding:9px 17px;min-height:44px;font-size:14px}
.example-controls button:hover,.agent-controls button:hover {border-color:#2449e8;color:#2449e8}
.example-controls button[aria-pressed="true"],.agent-controls button[aria-pressed="true"] {background:#2449e8;border-color:#2449e8;color:#fff}
.skills-example {background:linear-gradient(135deg,#f6f4ff 0%,#eef6ff 58%,#f7faff 100%);border:1px solid #e0e7fb;border-radius:16px;padding:28px;box-shadow:inset 0 1px #fff,0 14px 36px #475ca00c}
.skills-example+.skills-example {margin-top:24px}
.example-context {margin-bottom:22px;max-width:850px}
.example-context h3 {font-size:21px;line-height:1.8;margin-bottom:8px;color:#233252}
.example-context p {font-size:14px;line-height:2;color:#526078}
.comparison-pair {display:grid;grid-template-columns:1fr 1fr;gap:22px}
.comparison-before,.comparison-after {padding:24px;background:#fff;border-radius:10px;min-width:0}
.comparison-pair h4 {margin:0 0 16px;font-family:var(--font);font-size:13px;line-height:1.8;font-weight:400;color:#65728a}
.comparison-after h4 {color:#2449e8}
.comparison-message {font-size:19px;font-weight:700;line-height:2;color:#233252}
.comparison-before .comparison-message {color:#695960}
.comparison-after>p:not(.comparison-message) {font-size:14px;line-height:2;margin-top:14px;color:#526078}
.comparison-pair iframe {display:block;width:100%;height:330px;border:1px solid #dde4f1;border-radius:6px;background:#fff}
.example-checks {display:flex;align-items:start;justify-content:space-between;gap:24px;margin-top:20px}
.example-checks p {font-size:13px;line-height:2;max-width:760px;color:#526078}
.skills-inline-link,.example-note a,.catalog-note a,.install-help a,.source-links a {color:#2449e8;text-decoration:underline;text-underline-offset:4px}
.skills-inline-link {font-size:13px;line-height:2;min-height:44px;display:inline-flex;align-items:start;flex-shrink:0}
.example-note {font-size:12px;line-height:2;margin-top:18px;color:#69758b}
.skills-catalog {border-top:1px solid var(--line)}
.skill-entry {display:flex;align-items:center;justify-content:space-between;gap:32px;padding-block:22px;border-bottom:1px solid var(--line);width:100%}
.skill-entry h3 {font-size:20px;line-height:1.8;color:#233252}
.skill-entry p {font-size:15px;line-height:2;margin-top:4px;color:#526078}
.pick-skill {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:1px solid #c7d4f5;border-radius:8px;color:#2449e8;white-space:nowrap;font-size:14px}
.pick-skill:hover {background:#eef3ff}
.catalog-note {font-size:13px;line-height:2;margin-top:22px;max-width:850px}
.skill-select {display:flex;gap:18px;align-items:center;padding:20px 0;margin-bottom:12px}
.skill-select label {font-size:14px;color:#526078}
.skill-select select {font-size:15px;color:#18233d;border:1px solid #b9c7e2;border-radius:8px;padding:10px 14px;min-height:46px;max-width:100%;min-width:250px;background:#fff}
.agent-panel {width:100%;padding:28px;background:linear-gradient(145deg,#f8f8ff,#eff5ff);border:1px solid #e0e7f6;border-radius:14px;box-shadow:0 14px 36px #475ca00b}
.agent-panel h3 {font-size:23px;line-height:1.8;color:#233252;margin-bottom:18px}
.agent-panel h4 {font-family:var(--font);font-size:15px;line-height:2;color:#233252;margin:24px 0 12px}
.agent-panel p,.agent-panel li {font-size:15px;line-height:2;color:#526078;max-width:none}
.agent-panel ol {margin:0;padding-inline-start:24px;max-width:850px}
.agent-panel li {padding-inline-start:6px;margin-bottom:12px}
.agent-panel li::marker {color:#2449e8;font-weight:700}
.copy-block {margin-block:20px;width:100%;min-width:0;border:1px solid #dbe3f1;border-radius:8px;background:#fff;overflow:hidden;display:flex;flex-direction:column;align-items:stretch}
.copy-block pre {white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:20px;background:#fff;border:0;border-radius:0;text-align:left;color:#233252;line-height:2}
.copy-block code {font-family:Consolas,monospace;font-size:13px}
.copy-block.request-copy pre {text-align:right;direction:rtl}
.copy-block.request-copy code {font-family:var(--font);font-size:15px}
.copy-button {border:1px solid #c7d4f5;border-radius:7px;background:#fff;color:#2449e8;min-height:44px;padding:8px 17px;font-size:13px;margin:0;align-self:flex-start;border:0;border-radius:0;border-top:1px solid #dbe3f1;width:100%;text-align:start;background:#fafdff}
.copy-button:hover {background:#eef3ff}
.skill-downloads {display:flex;flex-wrap:wrap;gap:12px;margin-block:24px}
.skill-downloads a {display:inline-flex;align-items:center;gap:24px;min-height:48px;padding:10px 20px;background:#2449e8;color:#fff;border-radius:8px;font-size:15px}
.skill-downloads a span {font-size:12px;opacity:.8}
.agent-panel .install-help {font-size:12px;line-height:2;margin-top:22px}
.install-finish {font-size:14px;line-height:2;max-width:850px;margin-top:20px;color:#526078}
.skills-page .faq-list {width:100%;max-width:none}
.skills-page .faq-list summary {font-size:16px;min-height:58px;color:#233252}
.skills-page .faq-list p {font-size:14px;line-height:2;max-width:800px;padding-block:10px 22px;color:#526078}
.source-links {display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:24px;font-size:13px}
.source-links a {display:inline-flex;align-items:center;min-height:44px}
.skills-contribution {position:relative;isolation:isolate;overflow:hidden;margin-block:24px 64px;padding:34px clamp(20px,5vw,56px);border:1px solid #cfd9fa;border-radius:22px;background:radial-gradient(ellipse at 8% 100%,#8676ec19,transparent 54%),radial-gradient(ellipse at 95% 0%,#54c6e51a,transparent 52%),linear-gradient(135deg,#fff,#f5f7ff 56%,#f1f8ff);box-shadow:inset 0 1px #fff,0 20px 60px #485d9b13}
.skills-contribution .section-intro {position:relative;z-index:1}
.skills-contribution-actions {position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:12px}
.skills-contribution-actions .pick-skill {min-height:48px;padding-inline:20px;margin:0}
.copy-status {position:fixed;bottom:22px;inset-inline:20px;margin-inline:auto;max-width:540px;background:#fff;border:1px solid #b8c9ef;border-radius:10px;padding:14px 20px;font-size:14px;color:#233252;z-index:30;box-shadow:0 8px 40px #2449e815}
.copy-status:empty {display:none}
.skills-page footer.editorial-site-footer {background:#f5f7fc;color:#233252;border-color:#dde4f1;margin-top:0}
.skills-page .editorial-footer h2,.skills-page .editorial-footer .footer-tagline,.skills-page .editorial-footer .footer-phone {color:#233252}
.skills-page .editorial-footer .footer-description,.skills-page .editorial-footer .footer-column nav,.skills-page .editorial-footer .footer-contact p,.skills-page .editorial-footer .footer-meta p,.skills-page .editorial-footer .footer-meta nav {color:#526078}
.skills-page .editorial-footer .footer-contact-link {color:#2449e8;border-color:#c4d0e8}
.skills-page .editorial-footer .footer-meta,.skills-page .editorial-footer .footer-contact {border-color:#d3ddec}
.skills-page .editorial-footer a:hover {color:#2449e8}
@media(max-width:1050px){.skills-page .header-cta{display:none}.skills-hero{padding-block:56px 58px}.skills-section{padding-block:48px}}
@media(max-width:850px){.skills-page .main-nav{background:#fff;box-shadow:0 12px 28px #2449e815}.skills-page .main-nav a{border-color:#dde4f1}.comparison-pair{grid-template-columns:1fr}.example-checks{display:block}.skills-inline-link{margin-top:10px}.skills-lead{font-size:18px}.skills-hero h1{font-size:40px}.skill-entry{gap:20px}.skill-entry p{max-width:450px}}
@media(max-width:600px){.skills-hero{padding-block:38px 42px}.skills-hero h1{font-size:32px;line-height:1.6}.skills-lead{font-size:17px;margin-top:20px}.skill-definition{font-size:14px;margin-top:18px}.skills-hero .hero-actions{flex-direction:column;gap:18px;margin-top:24px}.hero-credit{font-size:11px}.skills-section{padding-block:38px}.section-intro{margin-bottom:22px}.section-intro h2{font-size:26px}.section-intro p{font-size:15px}.skills-example{padding:18px;border-radius:12px}.example-context h3{font-size:19px}.comparison-before,.comparison-after{padding:18px}.comparison-message{font-size:17px}.comparison-pair{gap:14px}.example-controls,.agent-controls{gap:8px}.example-controls button,.agent-controls button{font-size:13px;padding:8px 12px}.skill-entry{display:block;padding-block:20px}.skill-entry h3{font-size:19px}.pick-skill{margin-top:12px}.skill-select{display:block}.skill-select label{display:block;margin-bottom:10px}.skill-select select{width:100%;min-width:0}.agent-panel{padding:20px}.agent-panel h3{font-size:20px}.copy-block pre{padding:16px}.skill-downloads a{width:100%;justify-content:space-between}.skills-page .faq-list summary{font-size:15px}}
@media(prefers-reduced-motion:reduce){.skills-page *{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.skills-contribution-actions{flex-direction:column}.skills-contribution-actions .button,.skills-contribution-actions .pick-skill{width:100%;justify-content:center}}

/* Selection first, then a short setup sequence with actions in context. */
.install-choices {display:grid;grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);gap:36px;align-items:start;margin-bottom:28px}
.install-choices .skill-select {display:block;padding:0;margin:0}
.install-choices .skill-select label,.choice-label {display:block;font-size:14px;color:#233252;margin-bottom:12px}
.install-choices .skill-select select {width:100%;min-width:0}
.install-choices .agent-controls {margin:0;gap:8px}
.setup-steps {list-style:decimal}
.agent-panel .setup-steps {max-width:none;width:100%}
.setup-steps>li {padding-block:6px 20px;border-bottom:1px solid #dde4f1;margin-bottom:20px}
.setup-steps>li:last-child {border-bottom:0;margin-bottom:0;padding-bottom:0}
.setup-steps strong {display:block;font-size:16px;color:#233252;margin-bottom:8px}
.setup-steps .skill-downloads {margin-block:16px 0}
.agent-panel .input-hint {color:#233252;font-size:14px;margin-top:10px}
.agent-panel .all-skills-note {font-size:13px;margin-top:12px}
.setup-steps .copy-block {margin-block:14px 0}
.install-troubleshoot {border-top:1px solid #dde4f1;margin-top:28px;padding-top:12px}
.install-troubleshoot summary {font-size:14px;color:#2449e8;min-height:44px;padding-block:10px}
.install-troubleshoot p {font-size:13px;padding-top:10px;line-height:2}
.install-troubleshoot a {color:#2449e8;text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.install-choices{grid-template-columns:1fr;gap:22px}}

/* Use the panel width consistently; isolate agent syntax from Persian prose. */
.agent-panel .setup-steps>li {max-width:none}
.request-copy code {display:block;white-space:normal}
.request-copy .request-invocation {display:block;margin-bottom:12px}
.request-copy .request-invocation[dir="ltr"] {text-align:left;font-family:Consolas,monospace;font-size:14px;overflow-wrap:anywhere}
.request-copy bdi {unicode-bidi:isolate;font-family:Consolas,monospace;font-size:14px}

/* A visible whole-collection route, alongside individual installation. */
.install-bundle-choice {display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.install-bundle-choice h3 {font-family:var(--font);font-size:17px;line-height:1.9;color:#233252}
.install-bundle-choice p {font-size:14px;line-height:2;color:#526078;margin-top:6px}
.install-bundle-choice button {background:#fff;cursor:pointer;flex-shrink:0}
.install-bundle-choice button[aria-pressed="true"] {background:#eef3ff}
.bundle-download {margin-top:16px}
.bundle-download a {display:inline-flex;align-items:center;gap:20px;font-size:15px;padding:12px 20px;min-height:48px}
.bundle-download a span {font-size:12px;opacity:.8}
.bundle-download p {margin-top:10px;font-size:14px}
@media(max-width:850px){.install-bundle-choice{align-items:start;flex-direction:column;gap:14px}.install-bundle-choice .pick-skill{margin:0;white-space:normal}.bundle-download a{width:100%;justify-content:space-between}}
