.pj-md[data-state=empty] .pj-strip,.pj-md[data-state=empty] .pj-md__run,.pj-md:not([data-state=empty]) .pj-mat,.pj-md:not([data-state=empty]) .pj-trust,.pj-md:not([data-state=done]) :is(.pj-md__output,.pj-md__exports){display:none}.pj-md__file{min-width:0}.pj-md__mat-actions{flex-wrap:wrap;gap:4px;margin-left:auto;display:flex}.pj-md__mat-actions:has([data-pj=cancel]:not([hidden])) [data-pj=choose]{display:none}.pj-md__block{grid-template-columns:max-content max-content minmax(max-content,1fr) max-content}.pj-md__block>*{border-top:0}.pj-md__block>.pj-trust{border-top:1px solid var(--pj-rule)}.pj-md__r{border-bottom:1px solid var(--pj-rule);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px;min-height:72px;padding:12px 16px;display:flex}.pj-md__r:has(>.pj-status:empty){display:none}.pj-md__exports{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.pj-md{--pj-md-warn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='butt' stroke-linejoin='bevel'%3E%3Cpath d='M12 3L2 21h20z'/%3E%3Cpath d='M12 9v6M12 17v2'/%3E%3C/svg%3E");--pj-md-danger:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='butt' stroke-linejoin='bevel'%3E%3Cpath d='M8 3h8l5 5v8l-5 5H8l-5-5V8z'/%3E%3Cpath d='M12 7v7M12 16v2'/%3E%3C/svg%3E")}.pj-md__status{min-width:0;min-height:28px;color:var(--pj-text);flex:320px;font-size:17px;line-height:28px;position:relative}.pj-md__status[data-tone=ok]{color:var(--pj-text);text-wrap:balance;font-size:20px;font-weight:600}.pj-md__status:is([data-tone=warn],[data-tone=danger]){padding-left:28px}.pj-md__status:is([data-tone=warn],[data-tone=danger]):before{content:"";width:20px;height:20px;-webkit-mask:var(--pj-md-warn) center / 20px no-repeat;mask:var(--pj-md-warn) center / 20px no-repeat;background:currentColor;position:absolute;top:4px;left:0}.pj-md__status[data-tone=danger]:before{-webkit-mask-image:var(--pj-md-danger);mask-image:var(--pj-md-danger)}.pj-md__block .pj-select{width:220px}.pj-md__ocr{justify-content:flex-start}.pj-md__run{border-left:1px solid var(--pj-rule);justify-content:flex-end;align-items:flex-end}.pj-md[data-state=done] .pj-md__run .pj-button--primary:not(:disabled){background:var(--pj-sheet);min-height:44px;color:var(--pj-text);border-color:var(--pj-control-edge)}.pj-md[data-state=done] .pj-md__run .pj-button--primary:not(:disabled):hover{background:var(--pj-sheet-hover);border-color:var(--pj-text)}.pj-md[data-state=done] .pj-md__run .pj-button--primary:not(:disabled):active{background:var(--pj-sheet-sunk)}.pj-md__output{background:var(--pj-sheet);border:1px solid var(--pj-rule);border-radius:var(--pj-r2);grid-template-rows:auto 480px;grid-template-columns:480px minmax(0,1fr);margin-top:24px;display:grid;overflow:hidden}.pj-md__pane{display:contents}.pj-md__pane--original>.pj-md__head{border-right:1px solid var(--pj-rule);grid-area:1/1}.pj-md__pane--original>.pj-md__bench{border-right:1px solid var(--pj-rule);grid-area:2/1}.pj-md__pane--markdown>.pj-md__head{grid-area:1/2}.pj-md__pane--markdown>.pj-md__panel{grid-area:2/2}.pj-md__head{border-bottom:1px solid var(--pj-rule);flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:60px;padding:8px 16px;display:flex}.pj-md__head-key{flex:1}.pj-md__page{width:248px}.pj-md__page-status{color:var(--pj-text-2);margin-left:auto;font-size:14px;line-height:20px}.pj-md__tabs{display:inline-flex}.pj-md__tab{border:1px solid var(--pj-control-edge);background:var(--pj-sheet);min-width:64px;min-height:44px;padding:0 16px;font-size:16px;font-weight:600;line-height:24px;position:relative}.pj-md__tab+.pj-md__tab{margin-left:-1px}.pj-md__tab:first-child{border-radius:var(--pj-r2) 0 0 var(--pj-r2)}.pj-md__tab:last-child{border-radius:0 var(--pj-r2) var(--pj-r2) 0}@media (hover:hover){.pj-md__tab:hover{background:var(--pj-sheet-hover)}}.pj-md__tab[aria-selected=true]{--pj-inset:inset 0 0 0 2px var(--pj-selected-edge);background:var(--pj-selected-fill);box-shadow:var(--pj-inset);z-index:1}.pj-md__tab:focus-visible{z-index:2;box-shadow:var(--pj-inset,0 0 #0000), var(--pj-ring)}.pj-md__bench{background:var(--pj-sheet-sunk);justify-content:center;align-items:flex-start;min-width:0;padding:16px;display:flex;position:relative;overflow:hidden}.pj-md__bench canvas{border:1px solid var(--pj-rule);background:#fff;width:auto;max-width:100%;height:auto;max-height:448px}.pj-md__panel{min-width:0;min-height:0}.pj-md__editor{resize:none;background:var(--pj-sheet);width:100%;height:100%;color:var(--pj-text);font-family:var(--pj-font-mono);tab-size:4;border:0;border-radius:0;margin:0;padding:16px 24px;font-size:14px;line-height:20px;display:block}.pj-md__editor:focus-visible,.pj-md__panel--preview:focus-visible{box-shadow:inset 0 0 0 2px var(--pj-focus)}.pj-md__panel--preview{padding:16px 24px;overflow:auto}.pj-md__limit{border:1px solid var(--pj-warn-edge);border-radius:var(--pj-r2);background:var(--pj-warn-soft);color:var(--pj-text);margin-bottom:16px;padding:8px 12px;font-size:14px;line-height:20px}.pj-md__preview{overflow-wrap:anywhere;font-size:16px;line-height:26px}.pj-md__preview :where(p,ul,ol,pre,blockquote,table,figure,h1,h2,h3,h4,h5,h6){margin:0}.pj-md__preview>*+*{margin-top:12px}.pj-md__preview>:is(h1,h2,h3,h4,h5,h6):not(:first-child){margin-top:24px}.pj-md__preview :is(h1,h2,h3,h4,h5,h6){text-wrap:balance;font-weight:600}.pj-md__preview h1{font-size:23px;line-height:30px}.pj-md__preview h2{font-size:20px;line-height:28px}.pj-md__preview :is(h3,h4,h5,h6){font-size:16px;line-height:24px}.pj-md__preview :is(ul,ol){padding-left:24px}.pj-md__preview code{font-family:var(--pj-font-mono);background:var(--pj-sheet-sunk);border-radius:var(--pj-r1);padding:0 4px;font-size:14px}.pj-md__preview pre{background:var(--pj-sheet-sunk);border-radius:var(--pj-r2);padding:12px 16px;overflow:auto}.pj-md__preview pre code{background:0 0;padding:0}.pj-md__preview blockquote{color:var(--pj-text-2);padding:0 16px}.pj-md__preview hr{border:0;border-top:1px solid var(--pj-rule);margin:16px 0}.pj-md__preview table{border-collapse:collapse;font-size:14px;line-height:20px}.pj-md__preview :is(th,td){border:1px solid var(--pj-rule);text-align:left;vertical-align:top;padding:6px 10px}.pj-md__preview th{background:var(--pj-sheet-sunk);font-weight:600}.pj-md__preview img{max-width:100%;height:auto}@media (width<=1099px){.pj-md .pj-md__block{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pj-md__block .pj-md__ocr{border-left:0;border-top:1px solid var(--pj-rule)}.pj-md__block .pj-md__run{border-top:1px solid var(--pj-rule)}.pj-md[data-state=empty] .pj-md__ocr{grid-column:1/-1}.pj-md__block .pj-select{width:100%}.pj-md__output{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.pj-md__page{flex:160px;width:auto}}@media (width<=760px){.pj-md__output{grid-template-rows:none;grid-template-columns:minmax(0,1fr)}.pj-md__pane>*{border-right:0!important;grid-area:auto/1!important}.pj-md__bench{border-bottom:1px solid var(--pj-rule);height:320px}.pj-md__bench canvas{max-height:288px}.pj-md__panel{height:480px}}@media (width<=600px){.pj-md__file{flex-wrap:nowrap}.pj-md__file .pj-file__name{flex:0 auto;max-width:none}.pj-md__file .pj-file__meta{flex:none}.pj-md__mat-actions{margin-left:-12px}.pj-md .pj-md__block{grid-template-columns:minmax(0,1fr)}.pj-md__r{padding:16px}.pj-md__exports{width:100%;display:grid}.pj-md__exports .pj-button{width:100%}.pj-md__block .pj-md__run{border-left:0;align-items:stretch}.pj-md__run .pj-button{width:100%}.pj-md__output{margin-inline:calc(var(--pj-gutter) * -1);border-inline:0;border-radius:0}.pj-md__head{padding:8px 16px}.pj-md__head-key{flex:0 0 100%}.pj-md__page,.pj-md__tabs{flex:100%}.pj-md__tab{flex:1 1 0}.pj-md__page-status{margin-left:0}.pj-md__editor,.pj-md__panel--preview{padding:16px}}
