.p2{max-width:1500px;margin:auto}.p2 .section-note{color:#aaa294;font-size:12px;margin:0 0 22px;line-height:1.8}.p2-top{display:flex;align-items:center;gap:12px;margin-bottom:22px}.p2-top h2{margin-right:auto}.p2-toolbar{display:flex;gap:12px;margin-bottom:22px;flex-wrap:wrap}.p2-toolbar input{max-width:330px}.p2-toolbar select{width:160px}.p2-table th,.p2-table td{padding:17px 14px}.p2-name{display:flex;gap:13px;align-items:center}.p2-name .icon{width:30px;height:30px}.p2-name strong{display:block;font-size:15px;margin-bottom:5px}.p2-name small{color:#b0a798;display:block;max-width:330px;line-height:1.6}.p2 .actions{display:flex;gap:8px;flex-wrap:wrap}.p2 .empty{padding:80px 24px}.p2-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.p2 label.field{display:grid;gap:9px;margin-bottom:19px;font-size:13px}.p2 label.field small{color:#a99f8f;line-height:1.7}.p2 textarea{line-height:1.75;min-height:150px}.p2 textarea.long{min-height:230px}.p2 .choice-list{display:grid;gap:9px;max-height:280px;overflow:auto;padding:2px}.p2 .choice{display:flex;align-items:center;gap:10px;min-height:38px;font-size:13px}.p2 .choice input{flex-shrink:0}.p2 .choice select{width:auto;max-width:180px;margin-left:auto}.p2 .binding{border-top:1px solid #40392f;margin-top:22px;padding-top:20px}.p2 .binding h3{margin-bottom:12px}.p2-footer{border-top:1px solid #40392f;margin-top:26px;padding-top:20px;display:flex;align-items:center;justify-content:flex-end;gap:12px}.p2-footer .muted{margin-right:auto}.p2 .error-box{color:#edaa93;border:1px solid #805344;background:#342722;padding:16px;line-height:1.8;border-radius:8px}.p2 .success-box{color:#a7d5af;border:1px solid #496149;background:#252e24;padding:16px;line-height:1.8;border-radius:8px}.p2 .neutral-box{color:#d1c4aa;border:1px solid #64543a;background:#2e291f;padding:16px;line-height:1.8;border-radius:8px}.p2 .test-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.5fr);gap:24px}.p2 pre{white-space:pre-wrap;word-break:break-word;font:14px/1.9 "Microsoft YaHei",sans-serif;margin:0;max-height:480px;overflow:auto}.p2 .step{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #3e382e;color:#cfc5b5}.p2 .step .icon{width:16px;height:16px}.p2 details{margin:15px 0}.p2 summary{color:#dfbd84;cursor:pointer;padding:8px 0}.p2 .test-actions{display:flex;gap:12px;margin:20px 0}.p2 .test-actions .primary{flex:1}.p2 .meta{display:flex;gap:20px;flex-wrap:wrap;margin:16px 0;color:#a99f8f;font-size:12px}.p2 .version-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.p2 .version-row p{color:#b8ae9e}.p2 .status-dot{display:inline-block;width:7px;height:7px;background:currentColor;border-radius:50%;margin-right:7px}.p2 .amber{color:#dfbd84}.p2 .danger{color:#e69a86}.p2 .fields-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;margin-bottom:10px}.p2 .fields-row input[type=text]{width:100%}.p2 .fields-row label{white-space:nowrap;font-size:12px}.p2 .check-line{display:flex;align-items:center;gap:9px;margin:12px 0;line-height:1.7}.p2 .check-line .icon{width:18px;height:18px}.p2 .page-tabs{display:flex;gap:16px;border-bottom:1px solid #40392f;margin-bottom:24px}.p2 .page-tabs button{border:0;border-radius:0;background:transparent;color:#bfb4a4}.p2 .page-tabs button.active{border-bottom:2px solid #dfbd84;color:#dfbd84}.p2 .version-table button{padding:5px}.p2 .inline-key{display:flex;gap:9px}.p2 .inline-key input{flex:1}.p2 .token-state{font-size:11px;color:#bdac88}.p2 .test-history{max-height:440px;overflow:auto}.p2 .test-history button{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:9px;text-align:left}.p2 .stop-message{font-size:12px;color:#b1a795}.p2 .loading{color:#dfbd84}.p2 .approval-actions{display:flex;gap:10px;margin-top:14px}.p2 .test-input-note{margin-bottom:18px}.p2 .more-menu{display:inline-block;position:relative;margin:0}.p2 .more-menu summary{list-style:none}.p2 .more-menu[open]{z-index:2}.p2 .more-menu div{position:absolute;right:0;top:30px;min-width:145px;background:#302b22;border:1px solid #655439;border-radius:7px;padding:6px;box-shadow:0 8px 24px #0006}.p2 .more-menu button{display:block;white-space:nowrap;width:100%;border:0;text-align:left}.p2 .raw-note{margin:16px 0;color:#b1a795;font-size:12px}.p2 .disabled-note{color:#baa98b;font-size:12px}.p2 .row-title{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.p2 .small-input{max-width:200px}.p2 .version-info{padding:18px;background:#2b271f;border-radius:8px}.p2 .version-info h3{margin:0 0 6px}.p2 .scope-users{padding:12px 18px;border:1px solid #443d31;border-radius:8px}.p2 .import-file{width:auto;max-width:100%}.p2 .busy-label{display:none}body:has(.p2 [aria-busy=true]) .p2 .busy-label{display:block}.p2 .test-result{min-height:210px}.p2 .sticky-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.p2 .link-back{padding-left:0;margin-bottom:10px}.p2 .header-actions{display:flex;gap:10px}aside{overflow-y:auto}nav{gap:5px}nav button{padding-top:12px;padding-bottom:12px}
.p2 textarea[name=description]{min-height:100px}.p2 textarea[name=output]{min-height:100px}.p2-version-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 "Microsoft YaHei",sans-serif;max-height:50vh;overflow:auto}.p2-version-details{display:grid;gap:14px}.p2-version-details p{white-space:pre-wrap;color:#c8beae;line-height:1.8}.p2-version-details strong{color:#dfbd84}
.p2 [hidden]{display:none!important}#p2-grant input[name=enabled],#p2-grant input[name=operationEnabled]{appearance:none;width:38px;height:22px;border:1px solid #746954;border-radius:20px;background:#5c5a54;position:relative;cursor:pointer}#p2-grant input[name=enabled]::before,#p2-grant input[name=operationEnabled]::before{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#f4efe6;transition:transform .15s}#p2-grant input[name=enabled]:checked,#p2-grant input[name=operationEnabled]:checked{background:#c59d5e;border-color:#dfbd84}#p2-grant input[name=enabled]:checked::before,#p2-grant input[name=operationEnabled]:checked::before{transform:translateX(16px)}
@media(prefers-reduced-motion:reduce){#p2-grant input::before{transition:none!important}}
@media(max-width:1100px){.p2-grid,.p2 .test-grid{grid-template-columns:1fr}.p2-table{min-width:760px}.p2-top{flex-wrap:wrap}.p2 .panel{padding:17px}.p2 .header-actions{flex-wrap:wrap}.p2-footer{flex-wrap:wrap}}
.p2 button[data-p2="new"]{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.p2 button[data-p2="new"]>.icon{width:20px;height:20px;filter:brightness(0)}
.p2-list-heading{min-height:42px}.p2-toolbar{align-items:center}.p2-toolbar>.header-actions{margin-left:auto;align-items:center}.p2-toolbar>.header-actions>button{height:44px;white-space:nowrap}
@media(max-width:1100px){.p2-toolbar input{width:180px}.p2-toolbar select{width:140px}}
