body.mock-open .workspace-footer{display:none}
.md-tool,.md-workbench{display:grid;gap:var(--surface-gap);min-width:0}.md-tool{padding-bottom:48px}.md-tool h2{font-size:20px;line-height:28px;letter-spacing:-.4px;margin:0}.md-tool svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.md-tool button:disabled{opacity:.4;cursor:default}.md-tool [hidden]{display:none!important}
.md-start>p{margin:10px 0 24px;color:var(--text-secondary);line-height:26px}.md-scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.md-scenario{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:22px;background:var(--surface-control);border-radius:16px;color:var(--text-primary);min-width:0}.md-scenario:hover{background:var(--surface-control-hover)}.md-scenario>span{width:40px;height:40px;display:grid;place-items:center;background:white;border-radius:12px}.md-scenario svg{width:24px;height:24px}.md-scenario strong{font-size:17px;line-height:26px;font-weight:650}.md-scenario small{font-size:14px;line-height:23px;color:var(--text-secondary)}.md-start-example{margin-top:24px}
.md-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.md-section-head>div{min-width:0}.md-config-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.md-scenario-settings{margin-top:24px}.md-scenario-settings summary{font-size:15px;line-height:24px;font-weight:600;cursor:pointer}.md-settings-body{display:grid;gap:20px;padding-top:20px}.md-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.md-note{font-size:14px;line-height:23px;color:var(--text-secondary);margin:0}.md-settings-grid+.md-note{margin-top:-10px}.md-option-group>span{display:block;font-size:14px;font-weight:550;color:var(--text-secondary);line-height:22px;margin-bottom:10px}.md-option-group>div{display:flex;gap:8px;flex-wrap:wrap}.md-option-group label{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border-radius:10px;background:var(--surface-control);font-size:14px;line-height:24px;cursor:pointer}.md-option-group input{accent-color:#202124;width:16px;height:16px;margin:0}.md-cancel-control{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:center}.md-config-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.md-storage{font-size:14px;line-height:23px;color:var(--text-muted)}.md-text-button{font:600 14px/24px Manrope,sans-serif;background:transparent;padding:6px 0;text-align:right;color:var(--text-secondary)}.md-text-button:hover{color:var(--text-primary)}.md-error{font-size:14px;line-height:23px;color:var(--status-fail-text);margin:8px 0 0}
.md-fields>.md-section-head{margin-bottom:0}.md-field-count{font-size:16px;color:var(--text-muted);font-weight:500;margin-left:6px}.md-field-actions{display:flex;gap:8px;flex-shrink:0}#md-field-list{margin-top:24px;display:grid;gap:10px}.md-field{min-width:0;padding:12px;background:var(--surface-control);border-radius:14px}.md-field-row{display:grid;grid-template-columns:28px minmax(100px,1fr) 176px 100px;gap:12px;align-items:center}.md-field-order{font-size:14px;color:var(--text-muted);text-align:center}.md-field .dt-input,.md-field textarea{background:white}.md-field-toggle{display:flex;align-items:center;gap:8px;text-align:left;background:transparent;color:var(--text-secondary);font-size:14px;line-height:22px;min-height:44px;padding:4px 8px;border-radius:10px}.md-field-toggle:hover{background:var(--surface-control-hover)}.md-field-toggle svg{width:15px;height:15px}.md-field-toggle>span{flex:1}.md-field-row-actions{display:flex;gap:2px}.md-field-settings{padding:20px 0 4px 40px}.md-field-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.md-field-settings .md-note{margin-top:16px}.md-field-settings .md-note svg{display:inline-block;vertical-align:middle;margin-right:7px}.md-wide{grid-column:1/-1}.md-field textarea{width:100%;border:0;border-radius:12px;padding:12px 14px;font:500 15px/24px Manrope,sans-serif;resize:vertical;min-height:96px}.md-field-invalid{outline:1px solid var(--status-fail-text);outline-offset:-1px}.md-field>.md-error{margin-left:40px}
.md-result-empty{text-align:center;padding:36px 24px!important}.md-result-empty>p{max-width:560px;margin:12px auto 24px;font-size:16px;line-height:26px;color:var(--text-secondary)}.md-result{scroll-margin-top:24px;min-width:0}.md-result-meta{font-size:14px;line-height:23px;color:var(--text-secondary);margin:6px 0 0}.md-stale{padding:14px 16px;border-radius:12px;background:var(--surface-result,#eaf1fb);color:var(--text-result,#285487);display:flex;flex-wrap:wrap;gap:4px 12px;font-size:14px;line-height:23px;margin-bottom:20px}.md-stale strong{font-weight:650}.md-result-toolbar{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:20px}.md-format{width:280px;max-width:100%;overflow:hidden}.md-format label{flex:1}.md-value-mode{display:flex;align-items:center;gap:10px}.md-value-mode>label,.md-json-note{font-size:14px;line-height:23px;color:var(--text-secondary)}.md-value-mode .dt-input{width:164px}.md-json-note{margin:0}
.md-table-scroll{max-width:100%;overflow:auto;max-height:520px;scrollbar-width:thin;isolation:isolate}.md-table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;line-height:24px}.md-table th{position:sticky;top:0;z-index:2;background:white;font-weight:600;text-align:left;border-bottom:1px solid #e8e8ed;padding:8px 12px;min-width:170px}.md-table th>div{display:flex;align-items:center;gap:12px;justify-content:space-between}.md-table th>div>span{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-table td{padding:12px;border-bottom:1px solid #efeff2;white-space:nowrap;height:56px}.md-table td>span{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis}.md-table .md-row-number{min-width:44px;color:var(--text-muted);font-size:14px;text-align:center}.md-table .md-numeric{font-variant-numeric:tabular-nums}.md-table tbody tr:hover td{background:#f9f9fa}.md-table td .md-status{display:inline-flex;border-radius:8px;padding:4px 9px;font-size:14px;font-weight:550;background:var(--surface-control);color:var(--text-secondary)}.md-table td .md-status-pass{background:var(--status-pass-bg);color:var(--status-pass-text)}.md-table td .md-status-fail{background:var(--status-fail-bg);color:var(--status-fail-text)}.md-items-button{display:inline-flex;align-items:center;gap:12px;min-height:36px;padding:5px 10px;border-radius:9px;background:var(--surface-control);color:var(--text-primary);font-size:14px;line-height:24px}.md-items-button:hover{background:var(--surface-control-hover)}.md-items-button svg{width:14px;height:14px}.md-code{max-width:100%;max-height:520px;overflow:auto;padding:20px;border-radius:14px;background:var(--surface-control);font:14px/24px ui-monospace,Consolas,monospace;color:var(--text-primary);margin:0;tab-size:2;scrollbar-width:thin}.md-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:14px;line-height:23px;color:var(--text-secondary)}.md-pagination>div{display:flex;gap:8px;align-items:center}.md-pagination strong{font-size:14px;min-width:48px;text-align:center;font-weight:550}.md-prev svg,.md-next svg{rotate:-90deg}.md-export-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid #ededf0}.md-export-row>p{font-size:14px;line-height:23px;color:var(--text-secondary);margin:0;max-width:280px}.md-export-row>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.md-fictional{font-size:14px;line-height:23px;text-align:center;color:var(--text-muted);margin:8px 0 0}
.md-confirm,.md-items-dialog{width:560px;max-width:calc(100vw - 32px);padding:28px;border:0;border-radius:20px;color:var(--text-primary);background:#fff;box-shadow:0 20px 100px #0002}.md-confirm::backdrop,.md-items-dialog::backdrop{background:#17191f38;backdrop-filter:blur(4px)}.md-confirm h2,.md-items-dialog h2{font-size:22px;line-height:32px;margin:0}.md-confirm>p{font-size:16px;line-height:26px;color:var(--text-secondary);margin:14px 0 24px}.md-confirm>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.md-items-dialog{width:640px}.md-line-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid #ededf0;font-size:15px;line-height:24px}.md-line-item>div{display:flex;flex-direction:column;gap:4px}.md-line-item strong,.md-line-item b{font-weight:600}.md-line-item span{font-size:14px;color:var(--text-secondary)}.md-line-item b{white-space:nowrap;font-variant-numeric:tabular-nums}.md-order-total{display:flex;justify-content:space-between;gap:16px;margin-top:24px;font-size:18px;line-height:28px}.md-undo{position:fixed;z-index:61;bottom:24px;left:50%;translate:-50% 0;display:flex;align-items:center;gap:20px;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:12px;background:#202124;color:white;font-size:14px;line-height:24px;box-shadow:0 8px 32px #0001}.md-undo button{background:transparent;color:white;font-size:14px;line-height:24px;font-weight:650;padding:0}
@media(max-width:1150px){.md-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.md-scenarios{grid-template-columns:repeat(2,minmax(0,1fr))}.md-field-row{grid-template-columns:24px minmax(90px,1fr) 140px 100px;gap:8px}.md-export-row{align-items:flex-start;flex-direction:column}.md-export-row>p{max-width:none}.md-export-row>div{justify-content:flex-start}}
@media(max-width:600px){.md-section-head{align-items:flex-start;flex-wrap:wrap;gap:14px}.md-config-grid,.md-settings-grid{gap:16px}.md-config-footer{align-items:flex-start;flex-direction:column;gap:8px}.md-config-footer .md-text-button{text-align:left}.md-cancel-control{grid-template-columns:1fr;gap:8px}.md-field-actions{flex-wrap:wrap;width:100%}.md-fields .md-section-head{gap:16px}.md-field-row{grid-template-columns:24px minmax(0,1fr) 100px}.md-field-row>.dt-input{grid-column:2/4}.md-field-toggle{grid-column:2;grid-row:2}.md-field-row-actions{grid-column:3;grid-row:2}.md-field-settings{padding-left:0}.md-field-settings-grid{grid-template-columns:1fr}.md-field>.md-error{margin-left:0}.md-result-toolbar{align-items:stretch;flex-direction:column;gap:14px}.md-format{width:100%}.md-value-mode{justify-content:space-between}.md-result .md-section-head{align-items:center}.md-result .md-update{width:100%}.md-pagination{font-size:13px;gap:4px}.md-pagination>div{gap:2px}.md-export-row>div{width:100%}.md-export-row>div>button{flex:1}.md-confirm,.md-items-dialog{padding:22px}.md-line-item{align-items:flex-start;gap:12px}.md-undo{gap:12px;width:max-content}.md-undo span{min-width:0}}
@media(max-width:400px){.md-scenarios,.md-config-grid,.md-settings-grid{grid-template-columns:1fr}.md-scenario{padding:18px;gap:8px}.md-scenario>span{margin-bottom:4px}.md-export-row>div{flex-direction:column}.md-export-row>div>button{width:100%;flex:auto}.md-field-actions>.dt-button{flex:1;padding-inline:10px}.md-start-example{width:100%}.md-fictional{max-width:240px;margin-inline:auto}}

.md-field-toggle{min-width:0;max-width:100%}.md-field-toggle>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-scenario,.md-items-button,.md-text-button{transition:background-color var(--motion-fast) ease,color var(--motion-fast) ease}.md-undo{transition:opacity var(--motion-ui) ease,translate var(--motion-ui) var(--motion-ease);@starting-style{opacity:0;translate:-50% 6px}}
@media(max-width:600px){.md-field-row{grid-template-columns:24px minmax(0,1fr)}.md-field-row>.dt-input{grid-column:2}.md-field-toggle{grid-column:1/-1;grid-row:2;width:100%}.md-field-row-actions{grid-column:1/-1;grid-row:3;justify-content:flex-end}.md-field-settings{padding-top:16px}}
@media(prefers-reduced-motion:reduce){.md-scenario,.md-items-button,.md-text-button,.md-undo{transition:none}}


.md-field-type{font-size:14px;line-height:24px;color:var(--text-secondary);padding:8px 10px;cursor:default}
.md-key-details{margin-top:16px}.md-key-details>summary{font-size:13px;color:var(--text-muted);cursor:pointer}.md-key-details[open]>.dt-field{margin-top:12px}
.md-customization .md-fields{padding-top:16px}.md-customization .md-scenario-settings{border-top:1px solid #e9eaee;padding-top:16px;margin-top:20px}
.md-customization .md-field{background:var(--surface-data)}
.md-format{width:288px}
@media(max-width:600px){.md-field-type{grid-column:1/-1;grid-row:2;padding-left:34px}.md-format{width:100%}}
