/* Talisman workspace: one readable palette for inventory, full-page and inline.
   Legacy item-store styling is deliberately contained by this component root. */
.ph8730-talisman{--tc-bg:#fff;--tc-soft:#f5f8fc;--tc-ink:#253c55;--tc-muted:#5f738c;--tc-line:#d9e3ee;--tc-gold:#986b24;--tc-accent:#2563ce;--tc-success:#217854;--tc-code:#f2f5f9;color-scheme:light;min-width:0;color:var(--tc-ink);font:inherit}
html.theme--dark .ph8730-talisman{--tc-bg:#1a202a;--tc-soft:#242d3a;--tc-ink:#e3ebf4;--tc-muted:#b2bfd0;--tc-line:#3b485b;--tc-gold:#e7c780;--tc-accent:#9cbeff;--tc-success:#8bd4ad;--tc-code:#151b24;color-scheme:dark}
html body .ph8730-talisman.ph8620-page,html body .ph8730-talisman.ph8700-talisman-workspace{--relic-bg:var(--tc-bg);--relic-panel:var(--tc-soft);--relic-ink:var(--tc-ink);--relic-muted:var(--tc-muted);--relic-line:var(--tc-line);--relic-gold:var(--tc-gold);width:min(1120px,100%);max-width:100%;margin:0 auto 32px;color:var(--tc-ink)}
html body .ph8730-talisman *{box-sizing:border-box}
html body .ph8730-talisman :is(h1,h2,h3){color:var(--tc-ink)!important;line-height:1.5!important;overflow-wrap:anywhere;font-family:inherit}
html body .ph8730-talisman :is(p,small,time,label){color:var(--tc-muted);line-height:1.8}
html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head){display:flex;align-items:center;gap:20px;padding:24px 28px;border:1px solid var(--tc-line);border-radius:14px;background:var(--tc-bg)!important;box-shadow:0 7px 24px #15263806}
html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head)>img{width:76px;height:76px;flex:0 0 76px;object-fit:contain;filter:drop-shadow(0 5px 8px #a8893820)}
html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head)>div{flex:1;min-width:0}
html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head) h1{font-size:clamp(20px,2.2vw,27px)!important;margin:5px 0 6px!important}
html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head) p{margin:0;font-size:12px;color:var(--tc-muted)!important}
html body .ph8730-talisman :is(.ph8730-eyebrow,.ph8620-kicker){display:block;color:var(--tc-gold)!important;font-size:9px;font-weight:800;letter-spacing:.1em;line-height:1.8}
html body .ph8730-talisman .ph8620-back{color:var(--tc-accent)!important;margin-bottom:14px}
html body .ph8730-talisman :is(.ph8620-button,.ph8620-copy){color:var(--tc-accent)!important;background:var(--tc-bg)!important;border:1px solid var(--tc-line);border-radius:8px;min-height:38px;font:inherit;font-size:12px;line-height:1.4;padding:9px 13px;box-shadow:none;white-space:normal;text-align:center;transition:background .16s,border-color .16s,box-shadow .16s}
html body .ph8730-talisman :is(.ph8620-button,.ph8620-copy):hover{border-color:var(--tc-accent);background:var(--tc-soft)!important;box-shadow:0 2px 8px #13253b0a}
html body .ph8730-talisman .ph8620-button.is-primary{color:var(--tc-bg)!important;background:var(--tc-accent)!important;border-color:var(--tc-accent);min-height:44px;box-shadow:0 3px 12px #2563ce15}
html body .ph8730-talisman .ph8620-button:disabled{opacity:.65;cursor:wait}
html body .ph8730-talisman :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--tc-accent)!important;outline-offset:3px}
html body .ph8730-talisman :is(input,select){min-width:0;max-width:100%;min-height:42px;padding:9px 12px;background:var(--tc-soft)!important;color:var(--tc-ink)!important;border:1px solid var(--tc-line)!important;border-radius:8px;box-shadow:none!important;font:inherit;font-size:13px}
html body .ph8730-talisman select{padding-right:32px}html body .ph8730-talisman option{background:var(--tc-bg)!important;color:var(--tc-ink)!important}html body .ph8730-talisman input::placeholder{color:var(--tc-muted);opacity:.9}
html body .ph8730-talisman .ph8620-case-picker{display:grid;grid-template-columns:minmax(140px,.6fr) minmax(0,1.4fr) auto;align-items:center;gap:14px;padding:16px 18px;margin:18px 0;border:1px solid var(--tc-line);border-radius:12px;background:var(--tc-bg)!important}
.ph8730-talisman .ph8620-case-picker label{font-size:12px;font-weight:700;color:var(--tc-ink)}.ph8730-talisman .ph8620-case-picker label small{display:block;font-size:10px;font-weight:400;margin-top:3px}
.ph8730-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:18px 0;list-style:none}
.ph8730-steps li{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--tc-line);border-radius:10px;background:var(--tc-bg);color:var(--tc-muted);font-size:11px;line-height:1.7;min-width:0}.ph8730-steps b{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:var(--tc-soft);color:var(--tc-accent);font-variant-numeric:tabular-nums}.ph8730-steps [aria-current=step]{border-color:var(--tc-accent);color:var(--tc-ink)}.ph8730-steps .is-done b{color:var(--tc-success)}
html body .ph8730-talisman :is(.ph8700-panel,.ph8620-opened,.ph8620-locked){background:var(--tc-bg)!important;border:1px solid var(--tc-line);border-radius:12px;color:var(--tc-ink);overflow:hidden}
html body .ph8730-talisman :is(.ph8620-opened,.ph8620-locked){padding:24px;text-align:left}
html body .ph8730-talisman .ph8620-locked-mark{display:none}
html body .ph8730-talisman .ph8620-locked h2{font-size:21px!important;margin:0 0 10px}
html body .ph8730-talisman .ph8620-locked p{font-size:13px}
html body .ph8730-talisman .ph8620-locked form{display:flex;flex-direction:column;align-items:stretch;gap:14px;max-width:620px;margin:20px 0 0}
html body .ph8730-talisman .ph8620-locked form>button{align-self:flex-start}
html body .ph8730-talisman .ph8700-consume-note{padding:13px 16px;border:1px solid var(--tc-line);border-left:3px solid var(--tc-gold);border-radius:7px;background:var(--tc-soft)!important;color:var(--tc-ink)!important;margin:0;font-size:12px}
html body .ph8730-talisman .ph8620-rank{background:color-mix(in srgb,var(--tc-success) 7%,transparent);color:var(--tc-success);border:1px solid color-mix(in srgb,var(--tc-success) 28%,transparent)}
html body .ph8730-talisman .ph8620-opened>header h2{font-size:21px!important;margin:10px 0 7px}
html body .ph8730-talisman .ph8620-test-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
html body .ph8730-talisman .ph8620-test-data article{min-width:0;border:1px solid var(--tc-line);border-radius:9px;background:var(--tc-bg)!important;overflow:hidden}
html body .ph8730-talisman .ph8620-test-data article>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:var(--tc-bg)!important;border-bottom:1px solid var(--tc-line)}
html body .ph8730-talisman .ph8620-test-data h3{flex:1;font-size:13px!important;margin:0}
html body .ph8730-talisman .ph8620-copy{font-size:10px;min-height:30px;padding:5px 9px;white-space:nowrap}
html body .ph8730-talisman :is(.ph8620-test-data,.ph8620-judge-message) pre{display:block!important;width:100%;margin:0;min-height:80px;max-height:340px;overflow:auto!important;background:var(--tc-code)!important;color:var(--tc-ink)!important;border:0!important;border-radius:0!important;padding:16px!important;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace!important;white-space:pre!important;tab-size:4;text-align:left;overscroll-behavior:contain}
html body .ph8730-talisman .ph8620-judge-message{margin-top:20px;border:1px solid var(--tc-line);border-radius:9px;overflow:hidden}
html body .ph8730-talisman .ph8620-judge-message h3{padding:12px 14px;margin:0;font-size:13px!important;border-bottom:1px solid var(--tc-line)}
html body .ph8730-talisman .ph8620-fineprint{color:var(--tc-muted)!important;font-size:11px!important;line-height:1.8!important}
.ph8730-issue{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding:24px;background:var(--tc-bg);border:1px solid var(--tc-line);border-radius:12px;color:var(--tc-ink)}
.ph8730-issue-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid color-mix(in srgb,var(--tc-gold) 30%,transparent);border-radius:12px;background:color-mix(in srgb,var(--tc-gold) 7%,transparent);color:var(--tc-gold)}.ph8730-issue-icon svg{width:26px;height:26px}
html body .ph8730-talisman .ph8730-issue h2{font-size:20px!important;margin:5px 0 8px}.ph8730-issue p{font-size:12px;margin:8px 0}.ph8730-issue .ph8730-safety{font-size:11px;color:var(--tc-success);margin-bottom:0}.ph8730-issue[data-ph8730-state=processing] .ph8730-safety{color:var(--tc-accent)}.ph8730-issue-actions{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ph8730-text-link{color:var(--tc-accent)!important;text-decoration:none;font-size:12px;font-weight:600;line-height:1.8}.ph8730-text-link:hover{text-decoration:underline}
html body .ph8730-talisman .ph8700-panel>header{border-bottom:1px solid var(--tc-line);background:var(--tc-soft)!important;color:var(--tc-ink)}
.ph8730-search{padding:18px 20px;border-bottom:1px solid var(--tc-line)}.ph8730-search>label{display:block;font-size:11px;font-weight:700;margin-bottom:7px}.ph8730-search>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ph8730-search input{flex:1;min-width:160px!important}
html body .ph8730-talisman .ph8700-submission-list>a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:14px;padding:18px 20px;border-bottom:1px solid var(--tc-line);background:var(--tc-bg)!important;color:var(--tc-ink);text-decoration:none;transition:background .16s}
html body .ph8730-talisman .ph8700-submission-list>a:hover{background:var(--tc-soft)!important}.ph8730-talisman .ph8700-submission-list small{font-size:10px}.ph8730-talisman .ph8700-submission-list time{font-size:10px}.ph8730-talisman .ph8700-submission-list h3{font-size:14px!important;margin:3px 0!important}.ph8730-talisman .ph8700-submission-list>a>b{color:var(--tc-accent);font-size:11px;align-self:center}
.ph8730-protected-list{padding:18px 20px;border-bottom:1px solid var(--tc-line)}.ph8730-protected-list summary{cursor:pointer;font-size:12px;color:var(--tc-gold);line-height:1.8}.ph8730-protected-list summary b{margin-left:6px}.ph8730-protected-list>p{font-size:11px}.ph8730-protected-list article{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--tc-line)}.ph8730-protected-list article>div{flex:1;min-width:0}.ph8730-protected-list strong{display:block;font-size:12px;color:var(--tc-ink)}.ph8730-protected-list small{display:block;font-size:10px}.ph8730-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;color:var(--tc-muted);font-size:11px}.ph8730-use-note{font-size:11px;line-height:1.9;margin:16px 0}
html body .ph8710-inline-panel.ph8730-talisman{background:var(--tc-bg);color:var(--tc-ink)}
html body .ph8710-inline-panel.ph8730-talisman .ph8710-inline-head{background:var(--tc-soft);border-color:var(--tc-line)}
html body .ph8710-inline-panel.ph8730-talisman .ph8710-inline-head h3{color:var(--tc-ink)!important}.ph8710-inline-panel.ph8730-talisman .ph8710-inline-head span{color:var(--tc-gold)}
html body .ph8710-inline-panel.ph8730-talisman .ph8710-inline-head button{background:var(--tc-bg);color:var(--tc-ink);border-color:var(--tc-line)}
html body .ph8710-inline-panel.ph8730-talisman :is(.ph8620-locked,.ph8620-opened,.ph8730-issue){border:0;border-radius:0;padding:18px}
html body .ph8710-inline-panel.ph8730-talisman .ph8620-test-data{gap:12px}.ph8710-inline-panel.ph8730-talisman .ph8730-issue h2{font-size:17px!important}
@media(max-width:680px){html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head){display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;padding:18px}html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head)>img{width:54px;height:54px}html body .ph8730-talisman :is(.ph8620-reveal-head,.ph8700-talisman-head)>.ph8620-button{grid-column:2;justify-self:start;margin:0}.ph8730-steps{gap:7px}.ph8730-steps li{flex-direction:column;align-items:flex-start;padding:10px;font-size:10px;gap:7px}.ph8730-steps b{flex:0 0 24px;width:24px;height:24px}html body .ph8730-talisman .ph8620-case-picker{grid-template-columns:minmax(0,1fr);gap:10px;padding:15px}html body .ph8730-talisman .ph8620-case-picker label{width:auto}html body .ph8730-talisman .ph8620-test-data{grid-template-columns:minmax(0,1fr)}html body .ph8730-talisman :is(.ph8620-opened,.ph8620-locked){padding:18px}.ph8730-issue{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:18px}.ph8730-issue-icon{width:36px;height:36px;border-radius:9px}.ph8730-issue-icon svg{width:22px;height:22px}.ph8730-issue-actions{grid-column:1/-1;align-items:stretch}.ph8730-issue-actions>.ph8620-button{flex:1 1 150px}.ph8730-issue-actions>.ph8730-text-link{flex-basis:100%}.ph8730-search{padding:15px}.ph8730-search input{flex-basis:100%}html body .ph8730-talisman .ph8700-submission-list>a{grid-template-columns:30px minmax(0,1fr);padding:16px;gap:10px}.ph8730-talisman .ph8700-submission-list>a>b{grid-column:2}.ph8730-talisman .ph8620-locked form>button{align-self:stretch}html body .ph8730-talisman :is(.ph8620-button,select){min-height:42px}}
@media(prefers-reduced-motion:reduce){html body .ph8730-talisman *{animation:none!important;transition:none!important}}
