@font-face{font-display:swap;font-family:iA Writer Duo;font-style:normal;font-weight:400;src:url(/assets/iAWriterDuoS-Regular-06d9d43b.woff2) format("woff2"),url(/assets/iAWriterDuoS-Regular-f9ead166.woff) format("woff")}@font-face{font-display:swap;font-family:iA Writer Duo;font-style:bold;font-weight:600;src:url(/assets/iAWriterDuoS-Bold-55ce1ee7.woff2) format("woff2"),url(/assets/iAWriterDuoS-Bold-d9e8bbdf.woff) format("woff")}:root{--line-height: 1.5em;--font-size: 18px}*,:after,:before{box-sizing:border-box}body{--color-background: #fff;--color-background-rgb: 255, 255, 255;--color-text: #222;--color-light-grey: #f5f5f5;--color-almost-white: #fafafa;--color-light-grey-opaque: rgba(200, 200, 200, .2) !important;--color-white-opaque: rgba(255, 255, 255, .8);--color-primary: #00cb14;--max-dialog-width: 33rem;--max-dialog-annotation-width: 30rem;--dialog-character-indent: 20rem;--dialog-text-indent: 10rem;--dialog-annotation-indent: 12rem;--max-editor-with: 46rem;--font-family: "iA Writer Duo", monospace;background:var(--color-background);transition:background .4s;color:var(--color-text);font-family:var(--font-family)}@media (prefers-color-scheme: dark){body:not(.dark-mode){--color-background: #222;--color-background-rgb: 34, 34, 34;--color-text: #fff;--color-light-grey: #333;--color-almost-white: #262626;--color-light-grey-opaque: rgba(50, 50, 50, .2) !important;--color-white-opaque: rgba(34, 34, 34, .8)}body:not(.dark-mode) .two-color-icon{filter:invert(1)}}@media (prefers-color-scheme: light){body.dark-mode{--color-background: #222;--color-background-rgb: 34, 34, 34;--color-text: #fff;--color-light-grey: #333;--color-almost-white: #262626;--color-light-grey-opaque: rgba(50, 50, 50, .2) !important;--color-white-opaque: rgba(34, 34, 34, .8)}body.dark-mode .two-color-icon{filter:invert(1)}}input.bottom-text-input{position:fixed;bottom:1rem;left:1rem;font-size:1rem;color:var(--color-text);background:var(--color-background);border:2px solid var(--color-text);border-radius:3px;padding:.25rem .5rem}.window-overlay{--gap: 2.5rem;background:var(--color-background);position:fixed;--width: min(100vw, 50rem);width:calc(var(--width) - var(--gap) - var(--gap));height:calc(100vh - var(--gap) - var(--gap));overflow-y:scroll;top:var(--gap);left:calc(.5 * (100vw - var(--width)) + var(--gap));box-shadow:#00000040 0 14px 28px,#00000038 0 10px 10px;border-radius:5px;z-index:999;padding:var(--gap)}#screenwriter-editor{font-size:var(--font-size);line-height:var(--line-height);max-width:var(--max-editor-with);margin:0 auto;letter-spacing:0px;counter-reset:scene-counter 0}#screenwriter-editor [contenteditable]:focus{outline:none}#screenwriter-editor>section{position:relative;padding:1rem 2rem;transition:background-color .1s}#screenwriter-editor>section:before{position:absolute;font-size:.8rem;left:-5.5rem;text-align:right;width:5rem;opacity:.25}#screenwriter-editor>section.uppercase.description{counter-increment:scene-counter 1;font-weight:700}#screenwriter-editor>section.uppercase.description:before{content:counter(scene-counter);font-size:1rem;font-weight:400}#screenwriter-editor>section.selected{background:var(--color-light-grey-opaque)!important;outline:none}#screenwriter-editor>section:hover{background:var(--color-almost-white)}#screenwriter-editor>section>div:not(.parenthetical):before{position:absolute;left:0;top:0;font-size:.8rem;font-weight:400;opacity:.5}#screenwriter-editor>section>div:not(.parenthetical):focus:after{content:"Text";display:block;position:absolute;opacity:.15;font-size:.8rem;left:calc(100% + 1rem);text-align:left;text-transform:uppercase;top:calc(50% - .75rem);background:var(--color-text);color:var(--color-background);padding:0 .25rem;font-weight:400}#screenwriter-editor>section>div:not(.parenthetical).character:focus:after{content:"Character"}#screenwriter-editor>section>div:not(.parenthetical).dialog:focus:after{content:"Dialog"}#screenwriter-editor>section>div:not(.parenthetical).parenthetical:focus:after{content:"Parenthetical"}#screenwriter-editor>section>div:not(.parenthetical).transition:focus:after{content:"Tranition"}#screenwriter-editor div.transition{text-align:right}#screenwriter-editor div.character,#screenwriter-editor div.character+.suggestion-box ul{padding-left:var(--dialog-character-indent);text-transform:uppercase;font-weight:700}#screenwriter-editor div.dialog{padding-left:var(--dialog-text-indent);max-width:var(--max-dialog-width)}#screenwriter-editor div.parenthetical{padding-left:var(--dialog-annotation-indent);max-width:var(--max-dialog-annotation-width)}#screenwriter-editor div.parenthetical:before{content:"("}#screenwriter-editor div.parenthetical:after{content:")"}#screenwriter-editor section.strong div{font-weight:700}#screenwriter-editor section.h1 div,#screenwriter-editor section.h2 div,#screenwriter-editor section.h3 div,#screenwriter-editor section.h4 div,#screenwriter-editor section.h5 div{line-height:1.4em;font-weight:700}#screenwriter-editor section.h1 div{font-size:2rem}#screenwriter-editor section.h2 div{font-size:1.5rem}#screenwriter-editor section.h3 div{font-size:1.5rem;text-transform:uppercase}#screenwriter-editor section.h4 div{font-size:1.5rem;text-transform:normal}#screenwriter-editor section.h6 div{font-weight:400;text-transform:uppercase}#screenwriter-editor section.h7 div{opacity:.5}#screenwriter-editor section.comment{opacity:.6}#screenwriter-editor section.h5 div{font-weight:700;font-size:1rem}#screenwriter-editor section.parenthetical{padding-top:0;padding-bottom:0;margin-top:-.5rem}#screenwriter-editor section.character{padding-bottom:1rem}#screenwriter-editor section.character+section.dialog{padding-top:0}#screenwriter-editor section.description+section.character{margin-top:1rem}#screenwriter-editor section.dialog+section.description{margin-top:2.5rem}.focus{--opacity-out-of-focus: .25}.focus>#screenwriter-editor>section>div:not(.suggestion-box){opacity:var(--opacity-out-of-focus);transition:opacity .1s}.focus>#screenwriter-editor>section>div:not(.suggestion-box):focus,.focus>#screenwriter-editor>section>div:not(.suggestion-box):hover{opacity:1;background:none}.focus>#screenwriter-editor>section>div:not(.suggestion-box):focus{opacity:1!important}.focus>#screenwriter-editor>section>div:not(.parenthetical):focus:after{display:none}.focus>#screenwriter-editor>section:hover,.focus>#screenwriter-editor>section.selected{background:none}.focus .no-mouse-pointer{cursor:none}.focus .no-mouse-pointer>#screenwriter-editor>section>div:hover{opacity:var(--opacity-out-of-focus)}.focus #github-link,.focus .edit-meta-data{display:none}.focus #screenwriter-toolbar{opacity:0;transition:opacity .5s}.focus #screenwriter-toolbar:hover{opacity:1}span[data-hr]{background:rgb(254,255,212);border-radius:3px}span[data-hr].current{background:rgb(255,250,122)}.aside-overview-box{position:fixed;top:10%;left:1rem;width:min(30rem,.5 * (100% - (var(--max-editor-with))));height:80%;background:var(--color-almost-white);border-radius:5px;border:1rem solid var(--color-almost-white);overflow-y:scroll}.aside-overview-box ul,.aside-overview-box li{padding:0;margin:0}.aside-overview-box li{list-style:none}.aside-overview-box li.selected{font-weight:700}.aside-overview-box a{color:var(--color-text);text-decoration:none;display:block}.aside-overview-box a.current{background:var(--color-text);color:var(--color-background)}.aside-overview-box a:hover{background:var(--color-light-grey-opaque);color:var(--color-text);cursor:pointer}.dropzone-div{display:inline-block}#screenwriter-toolbar{position:fixed;z-index:999;display:flex;left:0;top:0;padding:.5rem}#screenwriter-toolbar:hover{width:100%}#screenwriter-toolbar:hover:before{content:"";background-color:var(--color-white-opaque);position:absolute;height:100%;width:100%;top:0;left:0;box-shadow:0 20px 20px var(--color-white-opaque)}#screenwriter-toolbar .icons{display:block;align-items:center}#screenwriter-toolbar .icon{font-size:20px;width:30px;height:30px;padding:5px;display:grid;place-content:center;border-radius:2px;position:relative}#screenwriter-toolbar .icon>div{width:1rem;height:1rem;position:relative}#screenwriter-toolbar .icon:hover{cursor:pointer;background:var(--color-light-grey);position:relative}#screenwriter-toolbar .icon:hover:before{content:attr(data-help);position:absolute;width:10rem;top:1.9rem;left:0;font-size:.8rem;color:var(--color-text);background:var(--color-background);z-index:99999;padding:.25rem}#screenwriter-toolbar .icon.active{background:var(--color-text);color:var(--color-background)}#screenwriter-toolbar .icon.active:hover{background:var(--color-text)}#screenwriter-toolbar .show-more-icons{position:relative}#screenwriter-toolbar .show-more-icons>.icons{display:none;position:absolute;left:0;top:.5rem}#screenwriter-toolbar .show-more-icons:hover .icons{display:flex}#screenwriter-toolbar .show-more-icons:hover .gg-more-alt{display:none}#screenwriter-toolbar .show-more-icons.vertical>.icons{top:1.85rem}#screenwriter-toolbar .show-more-icons.vertical:hover .icons{display:block}#screenwriter-toolbar .show-more-icons.vertical .icon:hover:before,#screenwriter-toolbar .show-more-icons.vertical:hover:before{padding:.5rem 1rem;top:0;left:2rem}#screenwriter-toolbar .show-more-icons.vertical:hover:before{top:2rem}.gg-add{box-sizing:border-box;position:relative;display:block;width:22px;height:22px;border:2px solid;transform:scale(var(--ggs, 1));border-radius:22px}.gg-add:after,.gg-add:before{content:"";display:block;box-sizing:border-box;position:absolute;width:10px;height:2px;background:currentColor;border-radius:5px;top:8px;left:4px}.gg-add:after{width:2px;height:10px;top:4px;left:8px}.gg-arrow-down-o{box-sizing:border-box;position:relative;display:block;width:22px;height:22px;border:2px solid;transform:scale(var(--ggs, 1));border-radius:20px}.gg-arrow-down-o:after,.gg-arrow-down-o:before{content:"";display:block;box-sizing:border-box;position:absolute;bottom:4px}.gg-arrow-down-o:after{width:6px;height:6px;border-bottom:2px solid;border-left:2px solid;transform:rotate(-45deg);left:6px}.gg-arrow-down-o:before{width:2px;height:10px;left:8px;background:currentColor}.gg-trash{box-sizing:border-box;position:relative;display:block;transform:scale(var(--ggs, 1));width:10px;height:12px;border:2px solid transparent;box-shadow:0 0 0 2px,inset -2px 0,inset 2px 0;border-bottom-left-radius:1px;border-bottom-right-radius:1px;margin-top:4px}.gg-trash:after,.gg-trash:before{content:"";display:block;box-sizing:border-box;position:absolute}.gg-trash:after{background:currentColor;border-radius:3px;width:16px;height:2px;top:-4px;left:-5px}.gg-trash:before{width:10px;height:4px;border:2px solid;border-bottom:transparent;border-top-left-radius:2px;border-top-right-radius:2px;top:-7px;left:-2px}.gg-brackets{box-sizing:border-box;position:relative;display:block;transform:scale(var(--ggs, 1));width:18px;height:18px;border:2px solid;border-radius:3px}.gg-brackets:after,.gg-brackets:before{content:"";display:block;box-sizing:border-box;position:absolute;border:2px solid;width:4px;height:10px;top:2px}.gg-brackets:before{border-right:0;left:2px}.gg-brackets:after{border-left:0;right:2px}.gg-font-height{box-sizing:border-box;position:relative;display:block;width:18px;height:18px;transform:scale(var(--ggs, 1));border-top:2px solid;border-bottom:2px solid;background:linear-gradient(to left,currentColor 10px,transparent 0) no-repeat center 8px/6px 2px}.gg-font-height:after,.gg-font-height:before{content:"";display:block;box-sizing:border-box;position:absolute;border-radius:3px;width:2px;height:10px;background:currentColor;top:2px}.gg-font-height:before{transform:rotate(25deg);left:6px}.gg-font-height:after{transform:rotate(-25deg);right:6px}.gg-performance{background:linear-gradient(to left,currentColor 8px,transparent 0) no-repeat center/2px 6px;box-sizing:border-box;position:relative;display:block;transform:scale(var(--ggs, 1));width:22px;height:22px;border:2px solid;border-radius:100px}.gg-performance:after,.gg-performance:before{content:"";display:block;position:absolute;border:2px solid}.gg-performance:before{bottom:2px;width:2px;height:2px;box-sizing:content-box;border-radius:100px;left:6px}.gg-performance:after{box-sizing:border-box;border-radius:100px 100px 3px 3px;width:14px;height:8px;border-bottom:0;top:2px;left:2px}.gg-box{box-sizing:border-box;position:relative;display:block;transform:scale(var(--ggs, 1));width:22px;height:20px;border:2px solid;border-radius:3px}.gg-box:after,.gg-box:before{content:"";display:block;box-sizing:border-box;position:absolute;border-radius:3px;height:2px;background:currentColor}.gg-box:before{left:6px;width:6px;top:8px}.gg-box:after{width:22px;left:-2px;top:4px}.settings{margin-left:0;padding:0;margin-top:0;flex-grow:1;flex-shrink:0}.settings h2{margin-top:0;text-decoration:underline}.settings li{list-style:none;margin:0;margin-bottom:1.5rem}.settings .toggle{display:flex;align-items:center;gap:2rem;justify-content:space-between;height:2rem}.settings .toggle .toggle-switch{margin-left:-5rem}.edit-settings>.window-overlay{display:flex;flex-direction:column;justify-content:space-between}details.keyboardshortcuts ul{margin:0;padding:0}details.keyboardshortcuts ul li{list-style:none;margin-bottom:.5rem}.toggle-switch{display:flex;justify-content:center;align-items:center;transform:scale(.25)}.toggle-switch input[type=checkbox]{height:0;width:0;visibility:hidden}.toggle-switch label{cursor:pointer;text-indent:-9999px;width:200px;height:100px;background:grey;display:block;border-radius:100px;position:relative}.toggle-switch label:after{content:"";position:absolute;top:10px;left:10px;width:80px;height:80px;background:#fff;border-radius:80px;transition:.3s}.toggle-switch input:checked+label{background:var(--color-primary)}.toggle-switch input:checked+label:after{left:calc(100% - 10px);transform:translate(-100%)}.toggle-switch label:active:after{width:130px}.button,.edit-meta-data button,.prompt-overlay button{display:inline-block;font-size:1rem;padding:.65rem 1.5rem;background:var(--color-text);color:var(--color-background);border:0;border-radius:6px;transition:background .2s;letter-spacing:.5px}.button.small,.edit-meta-data button.small,.prompt-overlay button.small{font-size:.85rem;padding:.35rem .5rem}@media (hover){.button:hover,.edit-meta-data button:hover,.prompt-overlay button:hover{background:var(--color-primary);cursor:pointer}}.button.outline,.edit-meta-data button.outline,.prompt-overlay button.outline{background:none;border:2px solid var(--color-text);color:var(--color-text)}@media (hover){.button.outline:hover,.edit-meta-data button.outline:hover,.prompt-overlay button.outline:hover{background:var(--color-text);color:var(--color-background);cursor:pointer}}.edit-meta-data,.prompt-overlay{width:100%;height:100%;background:rgba(var(--color-background-rgb),.98);position:fixed;top:0;left:0;z-index:1500;display:grid;place-content:center}.edit-meta-data textarea,.prompt-overlay textarea{border:2px solid var(--color-text);border-radius:4px;font-size:1rem;padding:.5rem .75rem;display:block;margin-bottom:1rem;width:100%;background:var(--color-background);color:var(--color-text)}.edit-meta-data button,.prompt-overlay button{margin-top:1rem}.edit-meta-data .icon,.prompt-overlay .icon{width:100%;display:flex;justify-content:flex-end}.edit-meta-data .icon>div,.prompt-overlay .icon>div{width:1rem;height:1rem;display:grid;place-content:center;margin-left:.5rem}.edit-meta-data .icon:hover,.prompt-overlay .icon:hover{cursor:pointer}.edit-meta-data .window,.prompt-overlay .window{width:20rem}#screenplay-cover{height:100svmax;display:grid;place-content:center}#screenplay-cover h1{font-size:2rem;font-weight:700}#screenplay-cover h2,#screenplay-cover h3{font-size:1rem;font-weight:700}#screenplay-cover .content{padding-left:5rem}#screenplay-cover .description{margin-top:4rem}@media screen{#screenplay-cover{display:none}}.document-history{left:inherit;right:1rem}.status-log{position:fixed;bottom:0;right:0;padding:.2rem;font-size:.8em;background:var(--color-background);color:var(--color-text);transition:opacity .2s}.status-log.error{color:#ff8383}.status-log.fade-out{opacity:0}@media print{:root{--line-height: 1.25em;--font-size: 11pt}body{--extra-top-padding: 1.25rem;--color-background: #fff !important;--color-text: #000 !important;--max-dialog-width: 28rem;--max-dialog-annotation-width: 25rem;--dialog-character-indent: 15rem;--dialog-text-indent: 9rem;--dialog-annotation-indent: 12rem;--scene-number-width: 3rem}body{font-size:var(--font-size)}#screenwriter-toolbar,#github-link,.edit-meta-data{display:none}#screenwriter-editor{padding-right:4rem;max-width:inherit}#screenwriter-editor>section{padding:0;padding-bottom:1rem;padding-left:var(--scene-number-width);padding-right:var(--scene-number-width)}#screenwriter-editor>section.selected{background:none!important}#screenwriter-editor>section:before{display:none}#screenwriter-editor>section.description.uppercase>div:before{content:counter(scene-counter) " ";text-align:inherit;opacity:inherit;font-size:inherit;top:var(--extra-top-padding);left:inherit;margin-left:calc(-1 * var(--scene-number-width))}#screenwriter-editor>section.description.uppercase>div:after{content:counter(scene-counter);display:block;position:absolute;text-align:inherit;opacity:inherit;font-size:inherit;top:inherit;right:1rem;font-weight:400;top:var(--extra-top-padding);margin-right:calc(-1 * var(--scene-number-width));background:inherit!important;color:inherit!important}#screenwriter-editor>section.character,#screenwriter-editor>section.dialog,#screenwriter-editor>section.parenthetical,#screenwriter-editor>section.transition{margin:0;padding:0}#screenwriter-editor>section.description{margin:0;padding-bottom:.8rem}#screenwriter-editor>section.description.uppercase{padding-top:var(--extra-top-padding);page-break-after:avoid;page-break-before:avoid}#screenwriter-editor>section.character,#screenwriter-editor>section.parenthetical{page-break-after:avoid}#screenwriter-editor>section.comment{display:none}#screenwriter-editor>section.h7{opacity:0;page-break-after:always}#screenwriter-editor>section:not(.comment)>div{opacity:1}#screenwriter-editor section.dialog+section.description{margin-top:1.25rem}#screenwriter-editor section.description+section.character{margin-top:0rem}#screenwriter-editor>section:hover,#screenwriter-editor>section.selected{background:none!important}#screenwriter-editor>section.character{padding-top:1rem}}body.print{--line-height: 1.25em;--font-size: 9pt;--extra-top-padding: 1.25rem;--color-background: #fff !important;--color-text: #000 !important;--max-dialog-width: 100vw;--max-dialog-annotation-width: 25rem;--dialog-character-indent: 15rem;--dialog-text-indent: 9rem;--dialog-annotation-indent: 12rem;--scene-number-width: 2rem}body.print #screenwriter-editor{margin:0 auto;padding:0 2rem}body.print #screenwriter-toolbar,body.print #github-link,body.print .edit-meta-data{display:none}body.print #screenwriter-editor{padding-right:4rem;max-width:inherit}body.print #screenwriter-editor>section{padding:0;padding-bottom:1rem;padding-left:var(--scene-number-width);padding-right:var(--scene-number-width)}body.print #screenwriter-editor>section.selected{background:none!important}body.print #screenwriter-editor>section:before{display:none}body.print #screenwriter-editor>section.description.uppercase>div:before{content:counter(scene-counter) " ";text-align:inherit;opacity:inherit;font-size:inherit;top:var(--extra-top-padding);left:inherit;margin-left:calc(-1 * var(--scene-number-width))}body.print #screenwriter-editor>section.description.uppercase>div:after{content:counter(scene-counter);display:block;position:absolute;text-align:inherit;opacity:inherit;font-size:inherit;top:inherit;right:1rem;font-weight:400;top:var(--extra-top-padding);margin-right:calc(-1 * var(--scene-number-width));background:inherit!important;color:inherit!important}body.print #screenwriter-editor>section.character,body.print #screenwriter-editor>section.dialog,body.print #screenwriter-editor>section.parenthetical,body.print #screenwriter-editor>section.transition{margin:0;padding:0}body.print #screenwriter-editor>section.description{margin:0;padding-bottom:.8rem}body.print #screenwriter-editor>section.description.uppercase{padding-top:var(--extra-top-padding);page-break-after:avoid;page-break-before:avoid}body.print #screenwriter-editor>section.character,body.print #screenwriter-editor>section.parenthetical{page-break-after:avoid}body.print #screenwriter-editor>section.comment{display:none}body.print #screenwriter-editor>section.h7{opacity:0;page-break-after:always}body.print #screenwriter-editor>section:not(.comment)>div{opacity:1}body.print #screenwriter-editor section.dialog+section.description{margin-top:1.25rem}body.print #screenwriter-editor section.description+section.character{margin-top:0rem}body.print #screenwriter-editor>section:hover,body.print #screenwriter-editor>section.selected{background:none!important}body.print #screenwriter-editor>section.character{padding-top:1rem}
