.mnb-bpg-workspace{--asg-line:#dfe5ec;--asg-line-strong:#cbd5e1;--asg-soft:#f8fafc;--asg-soft-blue:#f4f7fb;--asg-text:#172033;--asg-muted:#667085;--asg-accent:#2563eb;--asg-success:#18713c;--asg-warning:#8a5700;--asg-danger:#b42318;color:var(--asg-text);min-width:0}
.mnb-bpg-workspace *{box-sizing:border-box}.mnb-bpg-toolbar,.mnb-bpg-head,.mnb-bpg-result-head,.mnb-bpg-subhead,.mnb-bpg-history header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.mnb-bpg-toolbar{padding:4px 0 20px;border-bottom:1px solid var(--asg-line)}.mnb-bpg-toolbar>div:first-child{max-width:780px}.mnb-bpg-toolbar h2{margin:5px 0 7px;font-size:clamp(21px,2vw,27px);line-height:1.25;letter-spacing:-.02em;font-weight:500}.mnb-bpg-toolbar p,.mnb-bpg-head p{margin:0;color:var(--asg-muted);line-height:1.55;font-size:13px}.mnb-bpg-toolbar code{font-size:.92em;background:var(--asg-soft);padding:2px 5px;border-radius:4px}.mnb-bpg-toolbar-actions,.mnb-bpg-code-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mnb-bpg-toolbar button,.mnb-bpg-code-actions button,.mnb-bpg-add,.mnb-bpg-history button{min-height:36px;border:1px solid var(--asg-line-strong);background:#fff;border-radius:6px;padding:8px 12px;color:#344054;font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.mnb-bpg-toolbar button:hover,.mnb-bpg-code-actions button:hover,.mnb-bpg-add:hover,.mnb-bpg-history button:hover{border-color:#98a2b3;background:var(--asg-soft)}.mnb-bpg-toolbar button:focus-visible,.mnb-bpg-code-actions button:focus-visible,.mnb-bpg-add:focus-visible,.mnb-bpg-field input:focus,.mnb-bpg-field textarea:focus,.mnb-bpg-field select:focus,.mnb-bpg-repeat input:focus,.mnb-bpg-repeat select:focus{outline:0;border-color:#84adff;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.mnb-bpg-toolbar-actions b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:9px;background:#eef2f6;font-size:10px}.mnb-bpg-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:34px;padding-top:24px;align-items:start}.mnb-bpg-editor,.mnb-bpg-result{min-width:0}.mnb-bpg-block{position:relative;padding:0 0 26px;margin:0 0 25px;border-bottom:1px solid var(--asg-line)}.mnb-bpg-block:last-child{margin-bottom:0}.mnb-bpg-head{margin-bottom:17px}.mnb-bpg-head>div{max-width:690px}.mnb-bpg-head h3,.mnb-bpg-result h3,.mnb-bpg-history h3{margin:3px 0 5px;font-size:17px;line-height:1.3;font-weight:500;letter-spacing:-.01em}.mnb-bpg-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px}.mnb-bpg-field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;color:#344054;font-size:12px;font-weight:500}.mnb-bpg-field>span{display:flex;gap:7px;align-items:center;min-height:18px}.mnb-bpg-field em{display:inline-flex;align-items:center;font-style:normal;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.045em;color:#175cd3;background:#eff8ff;border-radius:4px;padding:3px 5px}.mnb-bpg-field small{font-weight:400;color:var(--asg-muted)}.mnb-bpg-field input,.mnb-bpg-field textarea,.mnb-bpg-field select,.mnb-bpg-repeat input,.mnb-bpg-repeat select,.mnb-bpg-history-search input{width:100%;min-width:0;border:1px solid var(--asg-line-strong);border-radius:6px;background:#fff;padding:10px 11px;color:var(--asg-text);font:inherit;font-size:13px;line-height:1.35;transition:border-color .15s ease,box-shadow .15s ease}.mnb-bpg-field input,.mnb-bpg-field select{min-height:40px}.mnb-bpg-field textarea{resize:vertical;min-height:82px}.mnb-bpg-field input::placeholder,.mnb-bpg-field textarea::placeholder,.mnb-bpg-repeat input::placeholder{color:#98a2b3}.mnb-bpg-repeat{display:grid;grid-template-columns:125px minmax(0,1fr) minmax(0,1.25fr) 34px;align-items:center;gap:8px;margin-bottom:8px}.mnb-bpg-repeat-image{grid-template-columns:minmax(0,1fr) 34px}.mnb-bpg-repeat input,.mnb-bpg-repeat select{min-height:39px}.mnb-bpg-repeat button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:5px;background:transparent;font-size:20px;line-height:1;color:#98a2b3;cursor:pointer}.mnb-bpg-repeat button:hover{background:#fef3f2;color:var(--asg-danger)}.mnb-bpg-add{padding:7px 10px;min-height:33px}.mnb-bpg-details{border-top:1px dashed var(--asg-line-strong);margin-top:4px;padding-top:13px}.mnb-bpg-details summary{width:max-content;max-width:100%;cursor:pointer;color:#344054;font-size:12px;font-weight:500}.mnb-bpg-details summary:hover{color:var(--asg-accent)}.mnb-bpg-details-body{padding-top:15px}.mnb-bpg-generate{display:flex;align-items:center;justify-content:center;width:100%;min-height:43px;border:1px solid #172033;border-radius:6px;background:#172033;color:#fff;padding:11px 16px;font:inherit;font-size:13px;font-weight:500;cursor:pointer;margin-top:7px;transition:background .15s ease,transform .15s ease}.mnb-bpg-generate:hover{background:#263247}.mnb-bpg-generate:active{transform:translateY(1px)}
.mnb-bpg-result{position:sticky;top:18px;border-left:1px solid var(--asg-line);padding-left:28px}.mnb-bpg-result-head{align-items:center;padding:0 0 13px;border-bottom:1px solid var(--asg-line)}.mnb-bpg-state{flex:0 0 auto;font-size:10px;font-weight:500;padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#475467}.mnb-bpg-state.is-positive{background:#ecfdf3;color:var(--asg-success)}.mnb-bpg-state.is-review{background:#fffaeb;color:var(--asg-warning)}.mnb-bpg-state.is-error{background:#fef3f2;color:var(--asg-danger)}.mnb-bpg-summary{padding:16px 0;border-bottom:1px solid var(--asg-line)}.mnb-bpg-summary>span{display:inline-flex;color:#175cd3;background:#eff8ff;border-radius:4px;padding:3px 6px;font-size:10px;font-weight:500}.mnb-bpg-summary strong{display:block;font-size:17px;line-height:1.35;margin:7px 0 4px;font-weight:500;overflow-wrap:anywhere}.mnb-bpg-summary p{margin:0;color:var(--asg-muted);font-size:12px}.mnb-bpg-metrics{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--asg-line)}.mnb-bpg-metrics>div{min-width:0;padding:13px 14px 13px 0}.mnb-bpg-metrics>div:nth-child(even){padding-left:14px;border-left:1px solid #edf0f4}.mnb-bpg-metrics>div:nth-child(-n+2){border-bottom:1px solid #edf0f4}.mnb-bpg-metrics span,.mnb-bpg-metrics small{display:block;color:var(--asg-muted);font-size:10px;line-height:1.35}.mnb-bpg-metrics strong{display:block;margin:4px 0 2px;font-size:14px;font-weight:500}.mnb-bpg-subhead{align-items:center;margin:17px 0 9px}.mnb-bpg-subhead h4{margin:0;font-size:13px;font-weight:500}.mnb-bpg-subhead span{font-size:10px;color:var(--asg-muted)}.mnb-bpg-finding{position:relative;padding:9px 10px 9px 13px;margin-bottom:5px;background:var(--asg-soft);border-radius:5px}.mnb-bpg-finding:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:2px;background:#98a2b3}.mnb-bpg-finding b,.mnb-bpg-finding span{display:block}.mnb-bpg-finding b{font-size:11px;font-weight:500}.mnb-bpg-finding span{font-size:11px;line-height:1.4;color:var(--asg-muted);margin-top:2px}.mnb-bpg-finding.is-error:before{background:var(--asg-danger)}.mnb-bpg-finding.is-error b{color:var(--asg-danger)}.mnb-bpg-finding.is-review:before{background:#f79009}.mnb-bpg-finding.is-review b{color:var(--asg-warning)}.mnb-bpg-finding.is-ok:before{background:#12b76a}.mnb-bpg-finding.is-ok b{color:var(--asg-success)}.mnb-bpg-code-section{margin-top:3px}.mnb-bpg-code{max-height:390px;overflow:auto;margin:0;border:1px solid #253247;background:#101828;color:#e4e7ec;border-radius:6px;padding:14px;font-size:11px;line-height:1.6;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:thin}.mnb-bpg-code-actions{padding-top:8px}.mnb-bpg-code-actions button{flex:1 1 auto}.mnb-bpg-code-actions .is-primary{background:#172033;color:#fff;border-color:#172033}.mnb-bpg-code-actions .is-primary:hover{background:#263247}.mnb-bpg-validator-links{display:flex;flex-wrap:wrap;gap:7px 16px;padding:13px 0 2px;font-size:11px}.mnb-bpg-validator-links a{color:#475467;text-decoration:none}.mnb-bpg-validator-links a:hover{color:var(--asg-accent);text-decoration:underline}.mnb-bpg-history{margin-top:27px;padding-top:23px;border-top:1px solid var(--asg-line)}.mnb-bpg-history-search{display:block;margin:13px 0}.mnb-bpg-history-search input{min-height:40px}.mnb-bpg-history-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;margin:0;padding:10px 0!important;border:0!important;border-bottom:1px solid #edf0f4!important;border-radius:0!important}.mnb-bpg-history-item:hover{background:transparent!important}.mnb-bpg-history-item span,.mnb-bpg-history-item b,.mnb-bpg-history-item small{display:block}.mnb-bpg-history-item b{font-size:12px;font-weight:500}.mnb-bpg-history-item small,.mnb-bpg-history-item time{color:var(--asg-muted);font-size:10px}.mnb-bpg-empty,.mnb-bpg-status{color:var(--asg-muted);font-size:11px;padding:11px 0}.mnb-bpg-status{border-top:1px solid var(--asg-line);margin-top:14px}.mnb-bpg-workspace .mnb-tool-workspace-kicker{font-size:10px;letter-spacing:.07em;font-weight:500}
@media(max-width:1120px){.mnb-bpg-main{grid-template-columns:minmax(0,1fr) minmax(350px,.82fr);gap:24px}.mnb-bpg-result{padding-left:22px}}
@media(max-width:980px){.mnb-bpg-main{grid-template-columns:1fr}.mnb-bpg-result{position:static;border-left:0;border-top:1px solid var(--asg-line);padding:24px 0 0}.mnb-bpg-code{max-height:460px}}
@media(max-width:700px){.mnb-bpg-toolbar,.mnb-bpg-head{display:block}.mnb-bpg-toolbar-actions,.mnb-bpg-head>.mnb-bpg-add{margin-top:12px}.mnb-bpg-toolbar-actions{width:100%}.mnb-bpg-toolbar-actions button{flex:1}.mnb-bpg-grid{grid-template-columns:1fr}.mnb-bpg-repeat{grid-template-columns:1fr 34px}.mnb-bpg-repeat select,.mnb-bpg-repeat input:nth-of-type(2){grid-column:1/2}.mnb-bpg-repeat button{grid-column:2;grid-row:1}.mnb-bpg-repeat-image{grid-template-columns:minmax(0,1fr) 34px}.mnb-bpg-code-actions button{flex:1 1 calc(50% - 7px)}}
@media(max-width:440px){.mnb-bpg-toolbar-actions button{flex:1 1 calc(50% - 7px)}.mnb-bpg-metrics{grid-template-columns:1fr}.mnb-bpg-metrics>div{padding:11px 0!important;border-left:0!important;border-bottom:1px solid #edf0f4}.mnb-bpg-code-actions button{flex:1 1 100%}.mnb-bpg-result-head{align-items:flex-start}.mnb-bpg-validator-links{display:grid}}
