:root{--bg:#ebf2fa;--surface:#f8fafd;--surface-2:#d7e4ef;--text:#021f2a;--muted:#3b6e91;--border:#c6d8e6;--accent:#05668d;--accent-hover:#034a67;--accent-text:#fff;--cta:#52762b;--cta-hover:#486826;--cta-text:#fff;--brand:#679436;--focus:#427aa1;--desk:#b8cedf;--shadow:0 1px 2px #021f2a0f, 0 6px 24px #05668d14;--serif:"Iowan Old Style", Charter, Palatino, Georgia, serif;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--radius:10px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#011a23;--surface:#022330;--surface-2:#023346;--text:#ebf2fa;--muted:#759ebc;--border:#033d55;--accent:#a7c2d6;--accent-hover:#ebf2fa;--accent-text:#011a23;--cta:#a5be00;--cta-hover:#c0d24c;--cta-text:#011a23;--brand:#a5be00;--focus:#a5be00;--desk:#023346;--shadow:0 1px 2px #00000059, 0 6px 24px #0000004d;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased;margin:0}a{color:var(--accent)}a:hover{color:var(--accent-hover)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}code{font-family:var(--mono);background:var(--surface-2);overflow-wrap:break-word;border-radius:4px;padding:.1em .35em;font-size:.88em}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.site-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;max-width:1400px;margin:0 auto;padding:18px 24px;display:flex}.brand{font-family:var(--serif);color:var(--text);letter-spacing:-.01em;font-size:1.6rem;text-decoration:none}.brand span{color:var(--brand,var(--accent))}.brand:hover{color:var(--text)}.site-header nav{flex-wrap:wrap;gap:4px 20px;display:flex}.site-header nav a,.site-footer nav a{color:var(--muted);font-size:.95rem;text-decoration:none}.site-header nav a:hover,.site-footer nav a:hover,.site-header nav a[aria-current=page],.site-footer nav a[aria-current=page]{color:var(--text)}.site-footer{border-top:1px solid var(--border);max-width:1400px;color:var(--muted);margin:64px auto 0;padding:32px 24px 40px;font-size:.9rem}.footer-columns{grid-template-columns:repeat(3,max-content);gap:24px 64px;display:grid}.footer-columns h2{font:600 .8rem var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text);margin:0 0 8px}.footer-columns ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.site-footer p{margin:28px 0 0}.site-footer p a{color:inherit}@media (width<=680px){.footer-columns{grid-template-columns:1fr}}main{max-width:1400px;margin:0 auto;padding:0 24px}.install-button{border:1px solid var(--cta,var(--accent));color:var(--cta,var(--accent));font:600 .85rem var(--sans);cursor:pointer;background:0 0;border-radius:999px;padding:2px 12px}.install-button:hover{background:var(--cta,var(--accent));color:var(--cta-text,var(--accent-text))}.install-button[hidden]{display:none}.app-tip{justify-content:center;max-width:1400px;margin:0 auto 8px;padding:0 24px;display:flex}.app-tip[hidden]{display:none}.app-tip p{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-right:0;border-radius:18px 0 0 18px;margin:0;padding:6px 8px 6px 14px;font-size:.88rem}.app-tip strong{color:var(--text);font-weight:600}.app-tip button{border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;border-left:0;border-radius:0 18px 18px 0;padding:0 12px 0 6px;font-size:1.1rem;line-height:1}.app-tip button:hover{color:var(--text)}@media (display-mode:standalone){.hero,.marketing,main>.ad{display:none}main{padding-top:4px}}.hero{text-align:center;padding:24px 0 28px}.hero h1{font-family:var(--serif);letter-spacing:-.01em;margin:0 0 10px;font-size:clamp(2rem,5vw,3rem);font-weight:400;line-height:1.15}.hero p{max-width:40em;color:var(--muted);margin:0 auto;font-size:1.05rem}.tool{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);position:relative}.toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.toolbar-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.button,.select select{border:1px solid var(--border);background:var(--surface);height:36px;color:var(--text);font:500 .9rem var(--sans);cursor:pointer;white-space:nowrap;border-radius:8px;align-items:center;padding:0 14px;display:inline-flex}.button:hover,.select select:hover{background:var(--surface-2)}.button:disabled{opacity:.5;pointer-events:none}.select select{padding-right:10px}.button-primary{background:var(--cta,var(--accent));border-color:var(--cta,var(--accent));color:var(--cta-text,var(--accent-text));padding:0 18px;font-weight:600}.button-primary:hover{background:var(--cta-hover,var(--accent-hover));border-color:var(--cta-hover,var(--accent-hover))}.style-picker{position:relative}.style-button{gap:4px}.style-button:after{content:"";border:1.5px solid;border-width:0 1.5px 1.5px 0;width:6px;height:6px;margin:-3px 0 0 6px;transform:rotate(45deg)}.style-button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.style-menu{z-index:20;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(320px,100vw - 32px);box-shadow:var(--shadow);padding:6px;position:absolute;top:calc(100% + 6px);left:0}.style-tabs{background:var(--surface-2);border-radius:8px;gap:2px;margin-bottom:10px;padding:2px;display:flex}.style-tabs[hidden]{display:none}.style-tab{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;padding:6px 12px;font-size:.85rem}.style-tab[aria-selected=true]{background:var(--surface);box-shadow:inset 0 0 0 1px var(--border), 0 1px 2px #0000001f;font-weight:600}.style-tab.has-current:after{content:"";background:var(--accent);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.style-tab:focus-visible{outline:2px solid var(--focus)}.style-option{display:block;position:relative}.style-option input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.style-option span{border-radius:6px;gap:2px;padding:8px 12px;display:grid}.style-option strong{font-size:.9rem;font-weight:600}.style-option small{color:var(--muted);font-size:.8rem}.style-option:hover span{background:var(--surface-2)}.style-option input:checked+span{background:var(--surface-2);box-shadow:inset 3px 0 0 var(--accent)}.style-option input:focus-visible+span{outline:2px solid var(--focus)}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;display:grid}.style-thumb span{justify-items:center;gap:6px;padding:6px}.style-thumb img{aspect-ratio:3/2;border:1px solid var(--border);background:#fff;border-radius:3px;width:100%;height:auto;display:block}.style-thumb input:checked+span{box-shadow:none}.style-thumb input:checked+span img{outline:2px solid var(--accent);outline-offset:2px}.style-caption{min-height:2.8em;color:var(--muted);margin:2px 6px 0;font-size:.8rem;line-height:1.4}.style-custom{border-top:1px solid var(--border);margin-top:6px;padding-top:6px}.style-custom-button{width:100%;color:var(--accent);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 12px;font-size:.9rem}.style-custom-button:hover{background:var(--surface-2)}.style-custom-button:focus-visible{outline:2px solid var(--focus)}.style-custom-note{color:var(--muted);margin:0;font-size:.8rem}.style-custom-note:not(:empty){padding:2px 12px 8px}.panes{grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:clamp(480px,72vh,900px);display:grid}.pane{flex-direction:column;min-height:0;display:flex}.pane-editor{border-right:1px solid var(--border)}.pane-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--border);padding:8px 14px;font-size:.75rem;font-weight:600}.pane-label span{text-transform:none;letter-spacing:0;font-weight:400}.pane-label .style-status:not(:empty),.pane-label .keep-status:not(:empty),.pane-label .editor-note:not(:empty){color:var(--text);margin-left:6px}.pane-preview .pane-label{flex-wrap:wrap;align-items:center;column-gap:.35em;display:flex}.pane-preview .pane-label .style-status:not(:empty),.pane-preview .pane-label .pages-hint:not(:empty){color:var(--text);flex-basis:100%;order:1;margin-left:0}.pages-toggle{cursor:pointer;align-items:center;gap:.4em;margin-left:auto;display:inline-flex}.pages-toggle[hidden]{display:none}.pages-toggle input{accent-color:var(--accent);margin:0}@media (pointer:coarse){.pages-toggle{position:relative}.pages-toggle:after{content:"";position:absolute;inset:-13px -8px}}.editor-note a,.keep-status a{color:var(--accent)}.editor-note a:hover,.keep-status a:hover{color:var(--accent-hover)}.editor-note button{font:inherit;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.editor-note button:hover{color:var(--accent-hover)}.editor-note.is-new,.keep-status.is-new,.pages-hint.is-new{border-radius:4px;animation:2s ease-out editor-note-new}@keyframes editor-note-new{0%{background:var(--surface-2);box-shadow:0 0 0 4px var(--surface-2)}}@media (prefers-reduced-motion:reduce){.editor-note.is-new,.keep-status.is-new,.pages-hint.is-new{animation:none}}#editor{resize:none;background:var(--surface);width:100%;color:var(--text);font:14px/1.6 var(--mono);tab-size:2;border:0;flex:1;padding:16px}#editor:focus{outline:none}.preview-stack{flex:1;min-height:0;position:relative}#preview{background:var(--desk,#e8e5df);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border:0;width:100%;height:100%;position:absolute;inset:0}.pages-pane{scrollbar-gutter:stable;background:var(--desk,#e8e5df);visibility:hidden;position:absolute;inset:0;overflow:auto}.pages-pane.is-shown{visibility:visible}.pages-sizer{position:relative}#pages{transform-origin:0 0;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--desk,#e8e5df);border:0;position:absolute;top:0}.tool-hint{border-top:1px solid var(--border);color:var(--muted);margin:0;padding:10px 14px;font-size:.85rem}.drop-overlay{z-index:10;background:color-mix(in srgb, var(--bg) 85%, transparent);border:3px dashed var(--accent);font-family:var(--serif);color:var(--accent);pointer-events:none;place-items:center;font-size:2rem;display:grid;position:fixed;inset:0}.drop-overlay[hidden]{display:none}@media (width<=820px){.panes{grid-template-rows:45vh 60vh;grid-template-columns:minmax(0,1fr);height:auto}.pane-editor{border-right:0;border-bottom:1px solid var(--border)}.toolbar,.toolbar-group{justify-content:flex-start}.button-primary{flex:1;justify-content:center}}@media (width>=821px){.toolbar-group:last-child{flex-grow:1;justify-content:flex-end}}@media (width>=1000px){.style-menu{left:auto;right:0}}@media (width<=820px){.toolbar-group:last-child{width:100%}.toolbar-group:last-child>*{flex:auto}.toolbar-group:last-child .select{display:flex}.toolbar-group:last-child .select select,.style-button{width:100%}.toolbar .button,.toolbar .select select{height:44px}.style-tab{min-height:44px}.editor-note button,.editor-note a,.keep-status a{position:relative}.editor-note button:after,.editor-note a:after,.keep-status a:after{content:"";position:absolute;inset:-13px -8px}.editor-note button~a:after,.keep-status:not(:empty)~.editor-note button:after,.keep-status:not(:empty)~.editor-note a:after{top:0}.keep-status:has(~.editor-note:not(:empty)) a:after{bottom:0}.style-menu{width:min(320px,100vw - 61px)}.style-button:after{margin-left:auto}}.ad{max-width:970px;min-height:90px;margin:32px auto}.ad-placeholder{border:1px dashed var(--border);color:var(--muted);border-radius:8px;place-items:center;font-size:.8rem;display:grid}.ad-placeholder:before{content:"Ad slot: " attr(data-ad)}.content{max-width:760px;margin:0 auto;font-size:1.05rem}.content h1,.content h2{font-family:var(--serif);font-weight:400;line-height:1.2}.content h1{margin:24px 0 12px;font-size:clamp(2rem,5vw,2.6rem)}.content h2{margin:56px 0 16px;font-size:1.7rem}.content h3{margin:32px 0 8px;font-size:1.1rem}.content .lede{color:var(--muted);font-size:1.15rem}.steps,.features{padding-left:1.3em}.steps li,.features li{margin:.6em 0}.faq details{border-bottom:1px solid var(--border);padding:14px 0}.faq summary{cursor:pointer;font-weight:600}.faq details p{color:var(--muted);margin:10px 0 0}.content pre{background:var(--surface);border:1px solid var(--border);font:14px/1.55 var(--mono);border-radius:8px;padding:14px 16px;overflow-x:auto}.content pre code,.handout-markdown pre code{font-size:inherit;background:0 0;padding:0}.content table{border-collapse:collapse;width:100%;font-size:.95rem}.content th,.content td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:8px 10px}.content .table-scroll{overflow-x:auto}.toc{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 20px}.toc ol{columns:2;margin:0;padding-left:1.2em}@media (width<=600px){.toc ol{columns:1}}.cta{text-align:center;margin:48px 0 0}.cta .button-primary{height:44px;font-size:1rem;text-decoration:none}.hero .hero-note{margin-top:12px;font-size:.9rem}.hero .gallery-jump{margin-top:12px}.gallery-group{max-width:1100px;margin:0 auto}.gallery-group>h2{font-family:var(--serif);margin:24px 0 4px;scroll-margin-top:16px;font-size:2.1rem;font-weight:400}.gallery-group>p{color:var(--muted);margin:0 0 24px}.gallery{grid-template-columns:repeat(auto-fill,minmax(max(min(100%,340px),50% - 20px),1fr));gap:0 40px;max-width:1100px;margin:8px auto 0;display:grid}.style-card{grid-template-rows:subgrid;grid-row:span 5;justify-self:center;gap:0;width:100%;max-width:560px;margin-bottom:48px;scroll-margin-top:16px;display:grid}.style-card h3{font-family:var(--serif);margin:0 0 4px;font-size:1.6rem;font-weight:400}.style-card p{margin:0 0 12px}.style-card .style-for{font-weight:600}.style-card .style-sheet+p{margin-top:16px}.style-card>.button{place-self:end start;text-decoration:none}.style-sheet{aspect-ratio:8.5/11;box-shadow:var(--shadow);background:#fff;border-radius:2px;position:relative;overflow:hidden}.style-sheet:before{content:"Drawing the preview…";color:#5c6b77;text-align:center;place-items:start center;padding:30% 24px 24px;font-size:.9rem;display:grid;position:absolute;inset:0}.style-card.is-failed .style-sheet:before{content:"The preview couldn't load. Use the button below to see this style in the converter."}.style-card[data-handout].is-failed .style-sheet:before{content:"The preview couldn't load. Use the button below to load this handout into the converter."}.style-sheet iframe{opacity:0;border:0;width:100%;height:100%;transition:opacity .2s;display:block;position:relative}.style-card.is-drawn .style-sheet iframe{opacity:1}.style-sheet-link{position:absolute;inset:0}.style-sheet:hover,.style-card:target .style-sheet{outline:3px solid var(--accent);outline-offset:3px}.style-gallery-link{text-decoration:none;display:block}.hero .hero-picture{width:100%;max-width:1100px;height:auto;margin:16px auto 0;display:block}.style-card .style-sheet+.button{margin-top:16px}.legal-note{color:var(--muted);font-size:.9rem}.handout-markdown{min-width:0;margin-top:12px}.handout-markdown summary{cursor:pointer;padding:12px 0;font-weight:600}.handout-markdown pre{border:1px solid var(--border);background:var(--surface);max-height:28em;font:13px/1.5 var(--mono);white-space:pre-wrap;border-radius:8px;margin:10px 0 0;padding:12px 14px;overflow:auto}@media print{body>:not(main),.tool,.ad{display:none!important}}
