.editor-header{display:flex;gap:.5em;justify-content:space-between;align-items:center;padding:.5em 0}@media screen and (max-width: 640px){.editor-header{gap:2rem;align-items:flex-start;flex-direction:column-reverse;justify-content:flex-end;padding:0}.editor-header button{display:block;width:100%;padding:.5em}}.editor-header .format-buttons{display:flex;flex-wrap:wrap}@media screen and (max-width: 640px){.editor-header .format-buttons{flex-direction:column;width:100%}}.editor-wrapper{display:flex;flex-direction:row;gap:2rem;line-height:1.5;font-size:1.2rem;position:relative}@media screen and (max-width: 960px){.editor-wrapper{flex-direction:column}}.editor-container{flex:1;overflow:hidden;position:sticky;top:0;left:0;gap:.5rem;width:100%;display:flex;flex-direction:column;height:calc(100vh - 1rem)}@media print{.editor-container{display:none!important}}@media screen and (max-width: 640px){.editor-container{flex-direction:row-reverse;position:initial;top:unset;left:unset;width:100%;height:calc(50vh - 1rem)}}.editor-container .editor-textarea{width:100%;padding:10px;outline:none;font-family:Gordita,monospace;font-size:.7rem;border:none;border:1px solid var(--color-background);box-sizing:border-box;box-shadow:inset 5px 5px 10px 0 var(--color-background-dark),inset -20px 0 6px 0 var(--color-background);height:100%;min-height:50vh}@media screen and (max-width: 960px){.editor-container .editor-textarea{flex-grow:1;flex-shrink:0;width:unset}}.print-page-wrapper{flex:1;position:relative;display:flex;flex-direction:column;gap:.5rem}.print-page-wrapper .scroll-to-top{position:fixed;bottom:1rem;right:1rem;z-index:1000;box-shadow:var(--box-shadow)}@media print{.print-page-wrapper .scroll-to-top{display:none!important}}.print-page-header{position:sticky;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:flex-end;padding:.5em 0}@media print{.print-page-header{display:none!important}}@media screen and (max-width: 640px){.print-page-header{padding:.5em 0}}.print-page-container{box-shadow:inset 5px 5px 10px 0 var(--color-background-dark);display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--color-background);padding:2rem 1rem}@media print{.print-page-container{background-color:#fff!important;box-shadow:none!important;padding:0!important;margin:0!important}}@media screen and (max-width: 1600px){.print-page-container{zoom:.6}}@media screen and (max-width: 1240px){.print-page-container{zoom:.45}}@media screen and (max-width: 960px){.print-page-container{width:100%;padding:0;transform-origin:top center;margin:0 auto}}@media screen and (max-width: 640px){.print-page-container{zoom:.3}}.print-page{text-align:left;background-color:var(--color-background-lightest);overflow-y:auto;box-shadow:4px 4px 15px 0 var(--color-background-dark);padding:1cm 1.5cm 2cm;line-height:1.2;font-size:.34cm;max-width:21cm;box-sizing:border-box}@media print{.print-page{border:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.print-page::-webkit-scrollbar{display:none}}@media print{.print-page h1,.print-page h2,.print-page h3{page-break-before:auto}}.print-page h1{margin-top:2em;margin-bottom:.75em;font-size:.8cm;border-bottom:1px solid var(--color-background-dark);padding-bottom:.2em}@media print{.print-page h1{page-break-before:always}}.print-page h2{margin-top:1.2em;margin-bottom:.5em;font-size:.7cm;font-weight:500}.print-page h3{margin-top:1em;margin-bottom:.5em;font-size:.6cm}.print-page h4{font-size:.5cm;font-weight:500;margin:1em 0 .2em;line-height:1}.print-page h5{font-size:.4cm;font-weight:500;margin:.2em 0;line-height:1}.print-page h6{font-size:.3cm;font-weight:500;line-height:1}.print-page span.bold{font-weight:700}.print-page span.italic{font-style:italic}.print-page span.underline{text-decoration:underline}.print-page p{line-height:1.4;margin:.8em 0}.print-page table{border-collapse:collapse;border:none;box-shadow:none;text-align:left;font-size:.25cm;margin:.5cm 0}.print-page table thead{font-weight:700;background-color:var(--color-background);text-align:center}.print-page table td{padding:.2cm .25cm;border:1px solid var(--color-background);vertical-align:top}.print-page pre{padding:.2cm;line-height:0;background-color:#fff;border:1px solid var(--color-background)}.print-page code{padding:.2em;font-size:.25cm;line-height:1}.print-page li{margin:.2cm 0}
