/* PromXAI AI Commands — public visitor library, separate from owner command vault. */
.px-ai-commands{--ac-line:color-mix(in srgb,var(--px-ai-hub-accent) 14%,rgba(148,169,205,.18));--ac-line-strong:color-mix(in srgb,var(--px-ai-hub-accent) 34%,rgba(118,157,226,.32));--ac-card:rgba(17,29,47,.88);--ac-card-2:rgba(22,37,58,.92);--ac-text:#eef4ff;--ac-muted:#92a4bd;--ac-violet:var(--px-ai-hub-accent);--ac-cyan:var(--px-ai-hub-accent-alt);--ac-green:#58d0a5}.px-ai-commands__head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0;padding-bottom:14px;border-bottom:1px solid var(--ac-line)}.px-ai-commands__head h2{margin:0;color:var(--ac-text);font-size:clamp(20px,1.7vw,28px);line-height:1.2}.px-ai-commands__head p{margin:5px 0 0;color:var(--ac-muted);max-width:720px;font-size:11.5px;line-height:1.6}.px-ai-commands__eyebrow{display:block;margin-bottom:5px;color:var(--ac-cyan);font-size:9px;font-weight:950;letter-spacing:.05em}.px-ai-commands__count{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--ac-muted);font-size:9.5px;white-space:nowrap}.px-ai-commands__count b{color:var(--ac-text);font-size:11.5px}/* test220 — shared AI Hub filter chip geometry lives in ai-tools.css via .px-ai-hub-filters. */.px-ai-commands__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.px-ai-command-card{position:relative;min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--ac-line);border-radius:16px;background:linear-gradient(155deg,rgba(25,41,64,.94),rgba(14,25,41,.96));box-shadow:0 10px 26px rgba(1,8,18,.13);overflow:hidden}.px-ai-command-card::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--px-ai-hub-accent-alt),var(--px-ai-hub-accent),transparent);opacity:.55}.px-ai-command-card.is-featured{border-color:rgba(255,207,91,.28)}.px-ai-command-card__head{display:flex;align-items:flex-start;gap:10px}.px-ai-command-card__icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border:1px solid rgba(111,183,255,.18);border-radius:11px;background:linear-gradient(135deg,rgba(45,159,234,.16),rgba(126,94,238,.19));color:#87d4ff}.px-ai-command-card__icon .px-icon{width:19px;height:19px}.px-ai-command-card__title{min-width:0;flex:1}.px-ai-command-card__title h3{margin:0;color:var(--ac-text);font-size:15px;line-height:1.45}.px-ai-command-card__title small{display:block;margin-top:3px;color:#7f92ab;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.px-ai-command-card__summary{margin:0;color:#aab8cb;font-size:11px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.px-ai-command-card__tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.px-ai-command-card__tag{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 8px;border:1px solid var(--ac-line);border-radius:999px;background:rgba(255,255,255,.025);color:#9cafc6;font-size:8.5px;font-weight:850}.px-ai-command-card__tag.is-featured{color:#ffd45f;border-color:rgba(255,207,91,.28);background:rgba(126,82,18,.12)}.px-ai-command-card__tools{display:flex;gap:5px;min-height:30px;align-items:center}.px-ai-command-card__tool{width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--ac-line);border-radius:9px;background:rgba(255,255,255,.025);overflow:hidden;text-decoration:none}.px-ai-command-card__tool img{max-width:20px;max-height:20px;object-fit:contain}.px-ai-command-card__tool .px-compat-logo,.px-ai-command-card__tool .px-ai-tool-brand-fallback{transform:scale(.66)}.px-ai-command-card footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:7px;margin-top:auto}.px-ai-command-card__copy,.px-ai-command-card__details{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:11px;font-weight:900;cursor:pointer}.px-ai-command-card__details{min-height:44px;width:100%;padding:0 14px;border:1px solid var(--px-ai-primary-line);background:var(--px-ai-primary-gradient);color:#fff;font-size:11px;box-shadow:0 10px 22px color-mix(in srgb,var(--px-ai-primary-accent) 21%,transparent),inset 0 1px 0 rgba(255,255,255,.14)}.px-ai-command-card__copy{height:44px;min-height:44px;min-width:112px;width:auto;padding:0 11px;border:1px solid var(--ac-line);background:rgba(255,255,255,.035);color:#c0cee0;font-size:9.6px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}.px-ai-command-card__copy .px-icon{width:14px;height:14px}.px-ai-command-card__details .px-icon{width:16px;height:16px}.px-ai-commands__empty{padding:34px;border:1px dashed var(--ac-line);border-radius:16px;text-align:center;color:var(--ac-muted)}.px-ai-commands__pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px}.px-ai-commands__pagination a,.px-ai-commands__pagination span{min-height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border:1px solid var(--ac-line);border-radius:10px;color:var(--ac-muted);text-decoration:none}.px-ai-commands__pagination a:hover{color:#fff;border-color:var(--ac-line-strong)}
html.px-ai-command-modal-open,body.px-ai-command-modal-open{overflow:hidden;overscroll-behavior:none}.px-ai-command-sheet{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:16px}.px-ai-command-sheet[hidden]{display:none}.px-ai-command-sheet__backdrop{position:absolute;inset:0;border:0;background:rgba(2,8,15,.76);backdrop-filter:blur(8px)}.px-ai-command-sheet__panel{position:relative;width:min(880px,calc(100vw - 30px));max-height:min(880px,calc(100dvh - 30px));display:flex;flex-direction:column;border:1px solid rgba(136,167,215,.22);border-radius:20px;background:linear-gradient(150deg,#1a2839,#101a27);box-shadow:0 30px 90px rgba(0,0,0,.48);overflow:hidden}.px-ai-command-sheet__head{display:flex;align-items:center;gap:10px;padding:15px 17px;border-bottom:1px solid var(--ac-line);background:rgba(17,28,43,.88);backdrop-filter:blur(14px)}.px-ai-command-sheet__head>span:first-child{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,rgba(48,165,235,.18),rgba(130,91,239,.2));color:#83d2ff}.px-ai-command-sheet__identity{min-width:0;flex:1}.px-ai-command-sheet__head h2{margin:0;color:#f3f7ff;font-size:18px}.px-ai-command-sheet__head small{color:#8397b2}.px-ai-command-sheet__scroll{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:18px;scrollbar-gutter:stable}.px-ai-command-sheet__intro{margin:0 0 14px;color:#aab9cc;font-size:12px;line-height:1.8}.px-ai-command-sheet__meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.px-ai-command-sheet__meta>span{min-height:36px;display:inline-flex;align-items:center;gap:8px;padding:5px 10px 5px 6px;border:1px solid var(--ac-line);border-radius:11px;background:rgba(255,255,255,.025);color:#a9bad0;font-size:9.5px;font-weight:900}.px-ai-command-sheet__meta-icon{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;border-radius:8px;background:linear-gradient(135deg,rgba(43,160,235,.18),rgba(126,91,239,.20));color:#79d1ff;font-style:normal;box-shadow:inset 0 1px rgba(255,255,255,.08)}.px-ai-command-sheet__meta-icon .px-icon{width:14px;height:14px}.px-ai-command-sheet__meta>.is-featured{color:#f5d780;border-color:rgba(255,207,91,.22);background:linear-gradient(135deg,rgba(115,76,15,.16),rgba(58,38,14,.12))}.px-ai-command-sheet__meta>.is-featured .px-ai-command-sheet__meta-icon{background:linear-gradient(145deg,rgba(126,82,18,.72),rgba(58,38,14,.72));color:#ffd45f;border:1px solid rgba(255,207,91,.24)}.px-ai-command-sheet__meta>.is-featured .px-ai-command-sheet__meta-icon .px-icon{fill:rgba(255,212,95,.22);stroke:currentColor}.px-ai-command-sheet__section{margin-top:14px}.px-ai-command-sheet__section h3{margin:0 0 8px;color:#dde8f8;font-size:12px}.px-ai-command-sheet__section p{margin:0;color:#aab9cc;line-height:1.8;white-space:pre-line}.px-ai-command-sheet__prompt{position:relative;padding:16px 16px 58px;border:1px solid rgba(96,170,213,.16);border-radius:14px;background:#0c141e;color:#eef5ff;line-height:1.9;white-space:pre-wrap;word-break:break-word;font-size:12px}.px-ai-command-sheet__copy{position:absolute;inset-inline-end:12px;bottom:12px;min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(69,206,162,.28);border-radius:9px;background:#287f68;color:#fff;font-size:9.5px;font-weight:900;cursor:pointer}.px-ai-command-sheet__copy .px-icon{width:14px;height:14px}.px-ai-command-sheet__tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.px-ai-command-sheet__tool{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid rgba(148,169,205,.18);border-radius:11px;background:#fff;color:inherit;text-decoration:none;overflow:hidden;box-shadow:0 6px 16px rgba(1,8,18,.12);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.px-ai-command-sheet__tool:hover,.px-ai-command-sheet__tool:focus-visible{transform:translateY(-2px);border-color:rgba(105,162,255,.36);box-shadow:0 9px 22px rgba(7,27,59,.20),0 0 0 2px rgba(82,177,255,.08)}.px-ai-commands-toast{position:fixed;inset-inline-start:50%;bottom:max(22px,env(safe-area-inset-bottom));z-index:100100;transform:translate(-50%,12px);opacity:0;padding:9px 13px;border:1px solid rgba(117,168,219,.24);border-radius:10px;background:#132033;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.3);pointer-events:none;transition:.18s ease}.px-ai-commands-toast.is-visible{opacity:1;transform:translate(-50%,0)}
html[data-theme="light"] .px-ai-commands{--ac-card:#fff;--ac-card-2:#f8fbff;--ac-text:#17253a;--ac-muted:#667890;--ac-line:rgba(40,67,105,.12)}html[data-theme="light"] .px-ai-command-card{background:linear-gradient(155deg,#fff,#f7faff);box-shadow:0 9px 24px rgba(32,57,92,.06)}html[data-theme="light"] .px-ai-command-sheet__panel{background:linear-gradient(150deg,#fff,#f4f8fd)}html[data-theme="light"] .px-ai-command-sheet__head{background:rgba(255,255,255,.9)}html[data-theme="light"] .px-ai-command-sheet__head h2,html[data-theme="light"] .px-ai-command-sheet__section h3{color:#1d2d43}html[data-theme="light"] .px-ai-command-sheet__prompt{background:#f6f9fd;color:#1e3048;border-color:rgba(40,67,105,.12)}
@media(max-width:1180px){.px-ai-commands__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.px-ai-commands__head{align-items:flex-start;flex-direction:column;gap:10px}.px-ai-commands__grid{grid-template-columns:1fr}.px-ai-command-card{padding:14px}.px-ai-command-card__summary{font-size:12px}.px-ai-command-card footer{grid-template-columns:minmax(0,1fr) auto}.px-ai-command-card__details{min-height:46px;font-size:11.5px}.px-ai-command-card__copy{min-height:46px;min-width:110px;font-size:10px}.px-ai-command-sheet{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.px-ai-command-sheet__panel{width:100%;max-height:100dvh;border-radius:17px}.px-ai-command-sheet__scroll{padding:15px}.px-ai-command-sheet__prompt{font-size:13px}.px-ai-command-sheet__head h2{font-size:17px}.px-ai-commands__filters a{font-size:11px;min-height:40px}}@media(max-width:380px){.px-ai-command-card footer{grid-template-columns:minmax(0,1fr) auto}.px-ai-command-card__details{width:100%}.px-ai-command-card__copy{min-width:104px}}
html[data-theme="light"] .px-ai-command-card__summary,
html[data-theme="light"] .px-ai-command-card__title small,
html[data-theme="light"] .px-ai-command-sheet__intro,
html[data-theme="light"] .px-ai-command-sheet__section p { color:#5f7189; }
html[data-theme="light"] .px-ai-command-card__tag,
html[data-theme="light"] .px-ai-command-sheet__meta span,
html[data-theme="light"] .px-ai-command-sheet__tools a,
html[data-theme="light"] .px-ai-command-sheet__share button { color:#526984; background:rgba(64,96,136,.035); }
html[data-theme="light"] .px-ai-command-card__details { color:#fff; border-color:var(--px-ai-primary-line); background:var(--px-ai-primary-gradient); box-shadow:0 9px 20px color-mix(in srgb,var(--px-ai-primary-accent) 18%,transparent),inset 0 1px 0 rgba(255,255,255,.18); }
html[data-theme="light"] .px-ai-command-card__copy { color:#455f7e; border-color:rgba(40,67,105,.14); background:#f7faff; }
/* test217 — canonical public AI Commands polish: category identity, bilingual copy, featured quick action, and modal motion. */
.px-ai-command-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.px-ai-command-card:hover{transform:translateY(-2px);border-color:rgba(108,157,242,.32);box-shadow:0 16px 34px rgba(2,10,25,.20)}
.px-ai-command-card__icon.is-writing{color:#74d1ff}.px-ai-command-card__icon.is-marketing{color:#f4a8ff}.px-ai-command-card__icon.is-business{color:#8ec7ff}.px-ai-command-card__icon.is-learning{color:#85dbbc}.px-ai-command-card__icon.is-coding{color:#a9a1ff}.px-ai-command-card__icon.is-research{color:#60d5c1}.px-ai-command-card__icon.is-productivity{color:#89dfa8}
.px-ai-command-card__quick{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.px-ai-command-card__featured,.px-ai-command-card__favorite{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;padding:0;border-radius:11px;transition:.15s ease}
.px-ai-command-card__featured{border:1px solid rgba(255,207,91,.34);background:linear-gradient(145deg,rgba(117,77,18,.25),rgba(76,48,10,.18));color:#ffd45f;box-shadow:0 7px 18px rgba(75,46,7,.10)}
.px-ai-command-card__featured .px-icon{width:18px;height:18px;fill:rgba(255,212,95,.20);stroke:currentColor}
.px-ai-command-card__favorite{border:1px solid var(--ac-line);background:rgba(255,255,255,.025);color:#93a5bc;cursor:pointer}
.px-ai-command-card__favorite .px-icon{width:18px;height:18px}.px-ai-command-card__favorite:hover{color:#d8e5f6;border-color:rgba(109,157,243,.28)}.px-ai-command-card__favorite.is-active,.px-ai-command-card__favorite.is-saved{color:#fff;border-color:transparent;background:var(--px-accent-gradient);box-shadow:0 7px 18px rgba(77,91,235,.18)}
.px-ai-command-card__tag .px-icon{width:13px;height:13px;color:var(--px-ai-hub-accent-alt)}
.px-ai-command-copy-control{position:relative;min-width:0;width:auto;height:44px;display:flex;align-items:stretch}.px-ai-command-card__copy{width:auto;height:44px;align-self:stretch;margin:0}
.px-ai-command-copy-menu{position:absolute;inset-inline-start:0;bottom:calc(100% + 7px);z-index:30;width:min(220px,74vw);padding:5px;border:1px solid rgba(115,157,216,.24);border-radius:12px;background:linear-gradient(155deg,#1b2a3e,#111b2a);box-shadow:0 18px 42px rgba(0,0,0,.36);overflow:hidden}
.px-ai-command-copy-menu[hidden]{display:none}.px-ai-command-copy-menu button{width:100%;min-height:48px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:#dfeaff;text-align:start;cursor:pointer}.px-ai-command-copy-menu button+button{border-top:1px solid rgba(148,169,205,.11)}.px-ai-command-copy-menu button:hover{background:rgba(92,139,218,.10)}.px-ai-command-copy-menu strong{font-size:11px}.px-ai-command-copy-menu small{color:#8398b3;font-size:8.5px}
.px-ai-command-copy-control.is-sheet{position:absolute;inset-inline-end:12px;bottom:12px;width:auto;z-index:8}.px-ai-command-copy-control.is-sheet .px-ai-command-sheet__copy{position:static}.px-ai-command-copy-control.is-sheet .px-ai-command-copy-menu{inset-inline-start:auto;inset-inline-end:0}
.px-ai-command-sheet__category-icon.is-writing{color:#74d1ff}.px-ai-command-sheet__category-icon.is-marketing{color:#f4a8ff}.px-ai-command-sheet__category-icon.is-business{color:#8ec7ff}.px-ai-command-sheet__category-icon.is-learning{color:#85dbbc}.px-ai-command-sheet__category-icon.is-coding{color:#a9a1ff}.px-ai-command-sheet__category-icon.is-research{color:#60d5c1}.px-ai-command-sheet__category-icon.is-productivity{color:#89dfa8}
.px-ai-command-sheet__meta .px-icon{width:13px;height:13px}.px-ai-command-sheet__meta .is-category .px-icon{color:#67ced1}.px-ai-command-sheet__meta .is-featured{color:#e9c56f;border-color:rgba(230,183,76,.24);background:rgba(116,78,16,.10)}.px-ai-command-sheet__meta .is-featured .px-icon{fill:rgba(255,212,95,.18);color:#ffd45f}
/* test219 — remove obsolete command-only sort skin; the shared px-ai-hub-sort owner now controls active geometry and official gradient. */

.px-ai-command-card__tool{background:#fff;border-color:rgba(17,24,39,.16);box-shadow:0 4px 12px rgba(1,8,18,.12);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.px-ai-command-card__tool:hover,.px-ai-command-card__tool:focus-visible{transform:translateY(-1px);border-color:rgba(105,162,255,.38);box-shadow:0 7px 16px rgba(4,20,45,.18)}.px-ai-command-card__tool .px-compat-logo.px-ai-command-brandmark,.px-ai-command-sheet__tool .px-compat-logo.px-ai-command-brandmark{width:100%;height:100%;min-width:0;min-height:0;flex:0 0 auto;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}.px-ai-command-card__tool .px-ai-tool-brand-fallback.px-ai-command-brandmark,.px-ai-command-sheet__tool .px-ai-tool-brand-fallback.px-ai-command-brandmark{width:100%;height:100%;border:0;border-radius:0;background:transparent;box-shadow:none}.px-ai-command-card__tool .px-compat-logo.px-ai-command-brandmark img,.px-ai-command-card__tool .px-ai-tool-brand-fallback.px-ai-command-brandmark img{width:22px;height:22px;max-width:22px;max-height:22px;padding:0;border-radius:5px;object-fit:contain}.px-ai-command-sheet__tool .px-compat-logo.px-ai-command-brandmark img,.px-ai-command-sheet__tool .px-ai-tool-brand-fallback.px-ai-command-brandmark img{width:30px;height:30px;max-width:30px;max-height:30px;padding:0;border-radius:7px;object-fit:contain}.px-ai-command-sheet__tool .px-compat-logo__wordmark,.px-ai-command-card__tool .px-compat-logo__wordmark{color:#111827;font-size:10px}.px-ai-command-sheet__tool .px-ai-tool-brand-fallback.is-letter b,.px-ai-command-card__tool .px-ai-tool-brand-fallback.is-letter b{color:#17253a;font-size:13px}
@keyframes pxAiCommandBackdropIn{from{opacity:0}to{opacity:1}}@keyframes pxAiCommandPanelIn{from{opacity:0;transform:translateY(18px) scale(.975)}60%{opacity:1;transform:translateY(-2px) scale(1.002)}to{opacity:1;transform:none}}@keyframes pxAiCommandSectionIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes pxAiCommandIconIn{from{opacity:0;transform:scale(.78) rotate(-7deg)}70%{opacity:1;transform:scale(1.05) rotate(1deg)}to{opacity:1;transform:none}}@keyframes pxAiCommandActionIn{from{opacity:0;transform:translateY(-5px) scale(.9)}to{opacity:1;transform:none}}@keyframes pxAiCommandToolIn{from{opacity:0;transform:translateY(6px) scale(.88)}to{opacity:1;transform:none}}
.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__backdrop{animation:pxAiCommandBackdropIn .20s ease both}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__panel{animation:pxAiCommandPanelIn .34s cubic-bezier(.18,.88,.24,1.08) both}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__category-icon{animation:pxAiCommandIconIn .36s .07s cubic-bezier(.2,.9,.2,1.15) both}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__head-action,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__close{animation:pxAiCommandActionIn .24s ease both}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__head-action:nth-child(1){animation-delay:.08s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__head-action:nth-child(2){animation-delay:.11s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__close{animation-delay:.14s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*{animation:pxAiCommandSectionIn .30s cubic-bezier(.2,.8,.2,1) both}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(1){animation-delay:.08s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(2){animation-delay:.11s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(3){animation-delay:.14s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(4){animation-delay:.17s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(5){animation-delay:.20s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(6){animation-delay:.23s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*:nth-child(7){animation-delay:.26s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__tool{animation:pxAiCommandToolIn .26s ease both}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__tool:nth-child(2){animation-delay:.04s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__tool:nth-child(3){animation-delay:.08s}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__tool:nth-child(4){animation-delay:.12s}
html[data-theme="light"] .px-ai-command-copy-menu{background:linear-gradient(155deg,#fff,#f2f7fd);border-color:rgba(40,67,105,.14);box-shadow:0 16px 38px rgba(35,57,91,.13)}html[data-theme="light"] .px-ai-command-copy-menu button{color:#213650}html[data-theme="light"] .px-ai-command-copy-menu small{color:#6d8199}html[data-theme="light"] .px-ai-command-card__featured{background:#fff7e6;color:#d4860d;border-color:rgba(202,139,24,.24)}@media(max-width:700px){.px-ai-command-card__featured,.px-ai-command-card__favorite{width:42px;height:42px;flex-basis:42px}.px-ai-command-copy-menu{width:min(240px,82vw)}.px-ai-command-copy-control.is-sheet{inset-inline-end:10px;bottom:10px}.px-ai-command-sheet__head{padding:12px}.px-ai-command-sheet__head>.px-ai-command-sheet__category-icon{width:38px;height:38px}.px-ai-command-sheet__tool{width:44px;height:44px}}
@media(max-width:430px){.px-ai-command-sheet__head{gap:7px}.px-ai-command-sheet__head h2{font-size:15px}.px-ai-command-sheet__head small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.px-ai-command-card,.px-ai-command-card:hover,.px-ai-command-card__tool,.px-ai-command-card__tool:hover,.px-ai-command-sheet__tool,.px-ai-command-sheet__tool:hover,.px-ai-command-sheet__head-action,.px-ai-command-sheet__head-action:hover,.px-ai-command-sheet__close,.px-ai-command-sheet__close:hover{transition:none;transform:none}.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__backdrop,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__panel,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__category-icon,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__head-action,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__close,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__scroll>*,.px-ai-command-sheet:not([hidden]) .px-ai-command-sheet__tool{animation:none}}

html[data-theme="light"] .px-ai-command-sheet__meta>span{background:#f8fbff;color:#526984;border-color:rgba(40,67,105,.12)}
html[data-theme="light"] .px-ai-command-sheet__meta-icon{background:linear-gradient(135deg,#eaf6ff,#eeeaff);color:#3b8fd1}
html[data-theme="light"] .px-ai-command-sheet__meta>.is-featured{background:#fff8e8;color:#b9780b;border-color:rgba(202,139,24,.20)}
html[data-theme="light"] .px-ai-command-sheet__meta>.is-featured .px-ai-command-sheet__meta-icon{background:linear-gradient(145deg,#fff4cf,#ffe6ac);color:#d58b0e;border-color:rgba(202,139,24,.22)}

/* test414 — compact Skill identity: text-only Grid card, image only inside detail, optional key + linked Prompt. */

/* Command and Skill cards deliberately share one geometry. */
.px-ai-commands__grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.px-ai-command-card.is-skill{border-color:color-mix(in srgb,var(--px-ai-hub-accent) 20%,rgba(148,169,205,.18))}.px-ai-command-card.is-skill::before{background:linear-gradient(90deg,transparent,#8b63ff,#42c1ef,transparent)}
.px-ai-command-card__icon.is-command{color:#8cd7ff}.px-ai-command-card__icon.is-skill{padding:0;border-color:rgba(192,115,255,.24);background:linear-gradient(135deg,rgba(104,63,209,.16),rgba(47,159,233,.13));color:#cbb8ff}.px-ai-command-card__icon.is-skill .px-icon{width:20px;height:20px}
.px-ai-command-card__title small b{color:#a8c8f4;font-weight:950}.px-ai-command-card__tag.is-kind{color:#c5d9f5;border-color:rgba(112,154,231,.18);background:rgba(73,111,178,.075)}.px-ai-command-card.is-skill .px-ai-command-card__tag.is-kind{color:#d9c5ff;border-color:rgba(168,117,255,.22);background:rgba(120,72,199,.085)}
.px-ai-command-card.is-skill footer{grid-template-columns:minmax(0,1fr)}

/* Skill detail is intentionally concise. Advanced authoring fields stay in Core and do not inflate the public sheet. */
.px-ai-command-sheet__category-icon.is-skill{padding:0;border:1px solid rgba(174,120,255,.24);background:linear-gradient(135deg,rgba(102,67,212,.17),rgba(52,161,230,.14));color:#cdbdff}.px-ai-command-sheet__category-icon.is-skill .px-icon{width:20px;height:20px}
.px-ai-skill-detail-intro{display:grid;grid-template-columns:180px minmax(0,1fr);gap:15px;margin:0 0 16px;padding:13px;border:1px solid rgba(153,117,232,.16);border-radius:15px;background:linear-gradient(145deg,rgba(103,69,184,.075),rgba(42,121,190,.045))}
.px-ai-skill-detail-intro__media{min-width:0;aspect-ratio:4/5;border:1px solid rgba(137,162,210,.14);border-radius:12px;overflow:hidden;background:#101824;color:#9ab7d5;display:grid;place-items:center}.px-ai-skill-detail-intro__media img{width:100%;height:100%;display:block;object-fit:cover}.px-ai-skill-detail-intro__media .px-icon{width:30px;height:30px}
.px-ai-skill-detail-intro__body{min-width:0;display:grid;align-content:start;gap:9px;padding:2px 0}.px-ai-skill-detail-intro__format{display:inline-flex;align-items:center;justify-self:start;min-height:26px;padding:0 9px;border:1px solid rgba(122,157,231,.18);border-radius:999px;color:#cdbcf3;background:rgba(98,69,174,.07);font-size:8.5px;font-weight:950}.px-ai-skill-detail-intro h3{margin:0;color:#eef4ff;font-size:20px;line-height:1.35}.px-ai-skill-detail-intro p{margin:0;color:#aabbd0;font-size:10.5px;line-height:1.75}
.px-ai-skill-detail-intro__meta{display:flex;flex-wrap:wrap;gap:6px}.px-ai-skill-detail-intro__meta>span{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:0 8px;border:1px solid rgba(126,155,210,.13);border-radius:8px;background:rgba(255,255,255,.025);font-size:8.3px}.px-ai-skill-detail-intro__meta b{color:#8298b2}.px-ai-skill-detail-intro__meta em{color:#d5e2f2;font-style:normal;font-weight:850}.px-ai-skill-detail-intro__meta>.is-linked{border-color:rgba(67,211,151,.20);background:rgba(35,137,98,.075)}.px-ai-skill-detail-intro__meta>.is-linked em{color:#70e0b3}.px-ai-skill-detail-intro__meta>.is-unlinked em{color:#93a5ba}
.px-ai-skill-detail-intro__shortcut{display:grid;grid-template-columns:minmax(126px,1fr) minmax(132px,max-content) minmax(126px,1fr);grid-template-areas:"label label label" "copy key .";align-items:center;gap:8px 12px;padding:10px 14px;border:1px solid rgba(67,211,151,.20);border-radius:11px;background:linear-gradient(135deg,rgba(34,133,100,.10),rgba(47,128,193,.065));text-align:center;direction:ltr}.px-ai-skill-detail-intro__shortcut small{grid-area:label;justify-self:center;color:#86a5c0;font-size:8.5px;text-align:center;direction:rtl}.px-ai-skill-detail-intro__shortcut strong{grid-area:key;justify-self:center;min-width:132px;color:#e9fff6;font-size:16px;line-height:38px;direction:ltr;text-align:center;white-space:nowrap}.px-ai-skill-detail-intro__shortcut .px-ai-command-copy-control{grid-area:copy;justify-self:start;height:38px}.px-ai-skill-detail-intro__shortcut .px-ai-command-sheet__copy{position:static;width:126px;height:38px;min-height:38px;justify-content:center;white-space:nowrap;direction:ltr}.px-ai-skill-detail-intro__shortcut .px-ai-command-sheet__copy .px-lang-ar,.px-ai-skill-detail-intro__shortcut .px-ai-command-sheet__copy .px-lang-en{direction:rtl;text-align:center}.px-ai-skill-detail-intro__shortcut .px-ai-command-sheet__copy .px-icon{flex:0 0 14px}
.px-ai-command-sheet__linked-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid rgba(165,119,249,.18);border-radius:14px;background:linear-gradient(135deg,rgba(111,72,190,.08),rgba(47,142,212,.055));color:inherit;text-decoration:none;transition:transform .16s ease,border-color .16s ease}.px-ai-command-sheet__linked-card:hover,.px-ai-command-sheet__linked-card:focus-visible{transform:translateY(-1px);border-color:rgba(174,126,255,.34)}.px-ai-command-sheet__linked-media{width:64px;height:52px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(145,170,214,.14);border-radius:11px;background:#0d1725}.px-ai-command-sheet__linked-media img{width:100%;height:100%;display:block;object-fit:cover}.px-ai-command-sheet__linked-media .px-icon{width:20px;height:20px;color:#aebed2}.px-ai-command-sheet__linked-copy{min-width:0}.px-ai-command-sheet__linked-copy strong{display:block;color:#eef4ff;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.px-ai-command-sheet__linked-copy small{display:block;margin-top:4px;color:#8fa4bd;font-size:8.8px}.px-ai-command-sheet__linked-action{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(128,157,235,.18);border-radius:9px;color:#cfe0fb;background:rgba(255,255,255,.035);font-size:8.8px;font-weight:900;white-space:nowrap}

html[data-theme="light"] .px-ai-command-card.is-skill{background:linear-gradient(155deg,#fff,#f7faff)}html[data-theme="light"] .px-ai-skill-detail-intro{background:linear-gradient(145deg,#fbf8ff,#f4f9ff);border-color:rgba(74,85,145,.11)}html[data-theme="light"] .px-ai-skill-detail-intro h3{color:#24364d}html[data-theme="light"] .px-ai-skill-detail-intro p{color:#597087}html[data-theme="light"] .px-ai-skill-detail-intro__meta>span{background:#fff;border-color:rgba(48,74,112,.10)}html[data-theme="light"] .px-ai-skill-detail-intro__meta>.is-linked{background:#effbf6;border-color:rgba(35,151,105,.16)}html[data-theme="light"] .px-ai-skill-detail-intro__shortcut{background:linear-gradient(135deg,#f0fbf7,#f3f8ff);border-color:rgba(35,151,105,.16)}html[data-theme="light"] .px-ai-skill-detail-intro__shortcut strong{color:#1b604b}html[data-theme="light"] .px-ai-command-sheet__linked-card{background:linear-gradient(135deg,#faf6ff,#f1f8ff);border-color:rgba(96,88,182,.12)}html[data-theme="light"] .px-ai-command-sheet__linked-copy strong{color:#213650}
@media(max-width:1180px){.px-ai-commands__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.px-ai-commands__grid{grid-template-columns:1fr}.px-ai-skill-detail-intro{grid-template-columns:100px minmax(0,1fr);gap:11px}.px-ai-skill-detail-intro h3{font-size:17px}.px-ai-command-sheet__linked-card{grid-template-columns:54px minmax(0,1fr)}.px-ai-command-sheet__linked-media{width:54px;height:48px}.px-ai-command-sheet__linked-action{grid-column:1/-1;justify-content:center}.px-ai-skill-detail-intro__shortcut{grid-template-columns:minmax(116px,1fr) minmax(110px,max-content) minmax(116px,1fr);gap:8px 10px}.px-ai-skill-detail-intro__shortcut .px-ai-command-sheet__copy{width:116px}}@media(max-width:520px){.px-ai-skill-detail-intro{grid-template-columns:1fr}.px-ai-skill-detail-intro__media{width:min(54vw,180px);justify-self:center}.px-ai-skill-detail-intro__shortcut{grid-template-columns:1fr;grid-template-areas:"label" "key" "copy";justify-items:center;direction:rtl}.px-ai-skill-detail-intro__shortcut .px-ai-command-copy-control{width:100%;height:auto;justify-self:stretch}.px-ai-skill-detail-intro__shortcut .px-ai-command-sheet__copy{position:static;width:100%;justify-content:center}}

/* test416 — richer Skill Guide: structured recipe without inflating Grid cards. */
.px-ai-skill-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.px-ai-skill-guide .px-ai-command-sheet__section{margin-top:0}
.px-ai-skill-guide__card{padding:12px 13px;border:1px solid rgba(109,149,199,.13);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.026),rgba(79,121,169,.018))}
.px-ai-skill-guide__card.is-wide{grid-column:1/-1}
.px-ai-skill-guide__card h3{display:flex;align-items:center;gap:7px;margin:0 0 7px;font-size:11px;color:#dce9f7}
.px-ai-skill-guide__card h3::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#55cda0;box-shadow:0 0 0 3px rgba(85,205,160,.08)}
.px-ai-skill-guide__card p{font-size:10.5px;line-height:1.85;color:#aabbd0;white-space:pre-line}
.px-ai-skill-guide__card.is-checklist{border-color:rgba(67,211,151,.16);background:linear-gradient(145deg,rgba(35,137,98,.075),rgba(47,128,193,.035))}
html[data-theme="light"] .px-ai-skill-guide__card{background:linear-gradient(145deg,#fbfdff,#f7faff);border-color:rgba(48,74,112,.09)}
html[data-theme="light"] .px-ai-skill-guide__card h3{color:#24364d}
html[data-theme="light"] .px-ai-skill-guide__card p{color:#5f7189}
html[data-theme="light"] .px-ai-skill-guide__card.is-checklist{background:linear-gradient(145deg,#f0fbf6,#f5faff);border-color:rgba(35,151,105,.14)}
@media(max-width:700px){.px-ai-skill-guide{grid-template-columns:1fr}.px-ai-skill-guide__card.is-wide{grid-column:auto}}
