@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap";:root{color:var(--text-light);background:var(--bg-dark);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg-dark:#11151b;--bg-panel:#1a1e24;--bg-raised:#22262b;--parchment:#eee4ce;--gold:#c4a365;--gold-bright:#e5c687;--gold-muted:#67563a;--deep-red:#753c37;--arcane-blue:#8fb5c1;--text-dark:#302b25;--text-light:#ece6d9;--muted:#a3a39f;--border:#393930;--input:#f7f1e5;--danger:#d69b92;--shadow:#00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:DM Sans,Segoe UI,sans-serif;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--border);background:var(--bg-raised);min-height:42px;color:var(--text-light);border-radius:5px;justify-content:center;align-items:center;gap:8px;padding:9px 15px;transition:background .16s,border-color .16s;display:inline-flex}button:hover:not(:disabled){border-color:var(--gold);background:var(--bg-panel)}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--arcane-blue);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--arcane-blue);outline-offset:1px}a{color:var(--gold-bright);overflow-wrap:anywhere}h1,h2,h3,h4{margin:0 0 16px;font-family:Cormorant Garamond,Georgia,serif;font-weight:600;line-height:1.1}h1{letter-spacing:-.8px;font-size:clamp(36px,4vw,55px)}h2{font-size:29px}h3{font-size:23px}p{margin:0 0 18px}em{color:var(--gold-bright);font-weight:500}small{font-size:12px}svg{flex-shrink:0}img{max-width:100%}fieldset{border:0;margin:0 0 20px;padding:0}summary{cursor:pointer;padding:8px 0}code{overflow-wrap:anywhere}::selection{background:var(--gold);color:var(--bg-dark)}.document-pages{--paper:#eee4ce;--ink:#392e25;--heading-ink:#753c37;--rule-ink:#a28a58;--paper-alt:#ded0af;--paper-muted:#76694f}.document-page{background:radial-gradient(ellipse at top right, #d4bf8d30, transparent 70%), var(--paper);color:var(--ink);border:1px solid var(--gold-muted);box-shadow:0 5px 25px var(--shadow);overflow-wrap:anywhere;min-height:630px;margin-bottom:20px;padding:40px 35px 24px;font-family:Georgia,serif;font-size:12px;line-height:1.7;position:relative}.document-page:before{content:"";border-top:1px solid var(--rule-ink);border-bottom:1px solid var(--rule-ink);height:4px;display:block;position:absolute;top:8px;left:8px;right:8px}.document-page h1{color:var(--heading-ink);letter-spacing:-.5px;margin-bottom:15px;font-size:36px;line-height:1.03}.document-kicker{text-transform:uppercase;letter-spacing:2px;color:var(--paper-muted);margin-bottom:15px;font-family:DM Sans,sans-serif;font-size:8px}.document-subtitle{color:var(--paper-muted);font-size:15px;font-style:italic}.ornament{color:var(--rule-ink);letter-spacing:1px;margin:18px 0;font-size:8px}.document-page .intro{font-style:italic;line-height:1.8}.document-page h3{color:var(--heading-ink);margin:13px 0 9px;font-size:25px}.document-feature{margin-top:22px}.document-feature p{white-space:pre-wrap;margin-bottom:12px}.level-rule{color:var(--heading-ink);text-transform:uppercase;letter-spacing:1.2px;border-bottom:1px solid var(--rule-ink);margin-bottom:14px;padding-bottom:6px;font-family:DM Sans,sans-serif;font-size:8px;font-weight:600}.document-page .mechanic-resource,.document-page .mechanic-callout{background:var(--paper-alt);border-left:2px solid var(--rule-ink);padding:10px}.document-page .mechanic-formula{color:var(--heading-ink);font-style:italic}.document-page footer{color:var(--paper-muted);border-top:1px solid var(--rule-ink);justify-content:space-between;margin-top:30px;padding-top:10px;font-size:8px;display:flex}.attribution{color:var(--paper-muted);margin-top:30px;font-family:DM Sans,sans-serif;font-size:7px;line-height:1.6}.attribution p{margin-bottom:8px}.document-art{object-fit:contain;max-height:230px;margin:10px auto 20px;display:block}.theme-ivory{--paper:#fcfaf3;--paper-alt:#e9e7dc}.theme-midnight{--paper:#252b33;--ink:#e9e1d0;--heading-ink:#dbc18b;--paper-alt:#353b41;--paper-muted:#b7b1a4}@media print{:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff}@page{size:letter;margin:14mm}.app-shell,dialog{display:none!important}.print-document{display:block}body{color:#302b25;background:#fff}.document-page{box-shadow:none;background:var(--paper);break-after:page;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:0;min-height:0;margin:0;padding:0;font-size:11pt}.document-page:last-child{break-after:auto}.document-page:before{display:none}.document-page h1{font-size:32pt}.document-page h3{break-after:avoid;font-size:20pt}.document-page .level-rule{break-after:avoid}.document-feature p{orphans:3;widows:3}.document-page table{font-size:10pt}.document-page tr{break-inside:avoid}.document-page thead{display:table-header-group}.table-scroll{overflow:visible}.attribution{font-size:7pt}.document-page footer{font-size:8pt}.document-page a{color:inherit}}.spell-access-level{margin-bottom:3px;font-family:inherit;font-size:1.15em;display:inline-block}.spell-summary,.source-pages.source-pages .page .spell-summary{border-block:2px solid var(--rule-ink,#a88d55);grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 20px;margin:18px 0 22px;padding:20px 0;font-family:ScalySansRemake,sans-serif;font-size:14px;line-height:1.3;display:grid}.spell-summary dt,.source-pages.source-pages .page .spell-summary dt{float:none;text-transform:uppercase;margin:0 0 5px;font-size:11px;font-weight:700;display:block}.spell-summary dd,.source-pages.source-pages .page .spell-summary dd{float:none;overflow-wrap:anywhere;margin:0;display:block}.spell-body p,.source-pages.source-pages .page .spell-body p{text-indent:0;margin:0 0 .8em;line-height:1.45}.source-pages.source-pages .page .spell-title{border:0;margin-bottom:18px;font-size:28px;line-height:1.1}@media (width<=640px){.modal-body .spell-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.app-shell{background:radial-gradient(ellipse at 78% 19%, #39302225, transparent 39%), var(--bg-dark);min-height:100vh}.app-header{justify-content:space-between;align-items:center;gap:16px;max-width:1512px;margin:auto;padding:23px 5%;display:flex}.brand{text-align:left;letter-spacing:2px;background:0 0;border:0;gap:13px;padding:0;font-family:Georgia,serif;font-size:19px}.brand:hover:not(:disabled){background:0 0}.brand strong{color:var(--gold);font-weight:400}.brand small{letter-spacing:2.6px;color:var(--muted);margin-top:2px;font-family:DM Sans,sans-serif;font-size:8px;display:block}.brand-mark{border:1px solid var(--gold-muted);width:43px;height:45px;color:var(--gold);border-radius:9px 2px;place-items:center;display:grid}.header-actions{align-items:center;gap:12px;display:flex}.header-button{color:var(--muted);background:0 0;border-color:#0000}.save-status{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.save-status svg{color:var(--arcane-blue)}.status-dot{background:var(--gold);border-radius:50%;width:5px;height:5px}.unsaved{color:var(--danger)}.progress-shell{border-block:1px solid var(--border);z-index:10;scrollbar-width:thin;scrollbar-color:var(--gold-muted) transparent;background:#15191ed9;position:sticky;top:0;overflow-x:auto}.progress-stepper{justify-content:space-between;align-items:center;gap:9px;min-width:max-content;max-width:1512px;margin:0 auto;padding:14px 5%;list-style:none;display:flex}.progress-stepper li{flex:1;align-items:center;gap:9px;display:flex}.progress-stepper li:last-child{flex:0}.progress-stepper button{letter-spacing:1.05px;text-transform:uppercase;white-space:nowrap;color:var(--muted);background:0 0;border-color:#0000;min-height:35px;padding:5px 6px;font-size:10px}.progress-stepper button[aria-current]{color:var(--gold-bright)}.step-number{border:1px solid var(--border);letter-spacing:0;border-radius:50%;place-items:center;width:25px;height:25px;font-size:10px;display:grid}.progress-stepper button[aria-current] .step-number{border-color:var(--gold);background:#c4a36512;box-shadow:0 0 14px #c4a36515}.step-connector{background:var(--border);flex:1;width:25px;min-width:10px;height:1px}main{max-width:1512px;margin:auto;padding:0 5%}.eyebrow{color:var(--gold);letter-spacing:2.5px;align-items:center;gap:10px;margin-bottom:17px;font-size:10px;font-weight:600;display:flex}.tiny-rule{background:var(--gold);width:27px;height:1px;display:inline-block}.primary{color:#211e17;border-color:var(--gold);background:linear-gradient(110deg,#c4a365,#dcc18b);font-weight:700;box-shadow:0 3px 16px #0002}.primary:hover:not(:disabled){background:var(--gold-bright);color:var(--text-dark)}.large{min-height:49px;padding:12px 24px}.ghost{background:0 0}.text-button{min-height:36px;color:var(--muted);background:0 0;border:0;padding:5px 0;font-size:12px}.text-button:hover:not(:disabled){color:var(--gold-bright);background:0 0}.button-row{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.muted,.form-hint{color:var(--muted)}.form-hint{margin-block:13px;font-size:12px;display:block}.demo-link{color:var(--gold);margin-top:13px;font-size:11px}.hero-notes{color:var(--muted);letter-spacing:.1px;gap:22px;margin-top:27px;font-size:9px;display:flex}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.section-heading h2{align-items:center;gap:10px;margin-bottom:0;font-size:25px;display:flex}.section-heading h2 svg{color:var(--gold)}.section-heading>.muted{white-space:nowrap;font-size:10px}.site-footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:18px;padding:22px 5%;font-size:9px;display:flex}.site-footer>span:first-child{letter-spacing:.8px;color:var(--gold-muted);align-items:center;gap:8px;display:flex}.site-footer button{color:var(--muted);background:0 0;border:0;min-height:35px;padding:0;font-size:10px}.footer-tagline{letter-spacing:0;color:var(--muted)}.class-selector>h1{margin-bottom:13px}.ruleset-control{gap:12px;margin:30px 0;display:flex}.ruleset-control button{background:0 0;justify-content:flex-start;gap:12px;min-width:195px;padding:13px 18px;position:relative}.ruleset-control button strong{font-size:13px}.ruleset-control button span{color:var(--muted);font-size:10px}.ruleset-control button[aria-pressed=true]{border-color:var(--gold);background:#c4a3650d}.ruleset-control svg{color:var(--gold)}.class-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.class-card{border-color:var(--border);background:linear-gradient(140deg,#24272965,#191d22);flex-direction:column;min-height:213px;padding:25px 12px;position:relative}.class-card.selected{border-color:var(--gold);background:linear-gradient(140deg,#5e513025,#252721);box-shadow:inset 0 0 20px #c4a36505}.class-icon{color:var(--gold);margin-bottom:2px}.class-card h2{margin:0 0 5px;font-size:27px}.class-level-label{letter-spacing:1px;color:var(--muted);font-size:8px}.class-levels{gap:7px;margin-top:2px;display:flex}.class-levels>span{border:1px solid var(--border);min-width:23px;color:var(--text-light);background:#0002;border-radius:3px;padding:1px 4px;font-size:10px}.selected-check{color:var(--gold);align-items:center;gap:3px;font-size:8px;display:flex;position:absolute;top:8px;right:9px}.data-note{color:var(--muted);text-align:center;margin-top:23px;font-size:11px}.workflow-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin:35px 0;padding-top:23px;display:flex}.workflow-footer>span{color:var(--muted);font-size:11px}.builder-heading{justify-content:space-between;align-items:center;gap:20px;margin:35px 0 27px;display:flex}.builder-heading h1{margin:0 0 12px;font-size:38px}.builder-heading .eyebrow{margin-bottom:12px}.builder-heading p{margin:0;font-size:12px}.text-divider{color:var(--gold-muted);padding:0 8px}.builder-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:35px;display:grid}.builder-edit,.live-preview{min-width:0}.identity-panel{background:var(--bg-panel);border:1px solid var(--border);border-radius:6px;margin-bottom:30px;padding:22px 24px}.identity-panel>.field:last-child{margin-bottom:0}.field{flex-direction:column;gap:7px;margin-bottom:18px;font-size:12px;font-weight:500;display:flex}.field input,.field textarea,.field select{border:1px solid var(--border);background:var(--bg-dark);width:100%;min-width:0;min-height:43px;color:var(--text-light);border-radius:4px;padding:10px 12px;font-size:14px}.field textarea{resize:vertical}.field input[type=file]{white-space:normal;padding:10px 6px;font-size:11px}.artwork-upload-preview{object-fit:contain;max-width:100%;max-height:160px;margin-bottom:12px;display:block}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.builder-edit>.muted{font-size:12px}.count-badge{border:1px solid var(--border);color:var(--muted);white-space:nowrap;border-radius:20px;padding:3px 10px;font-size:10px}.feature-card{border:1px solid var(--gold-muted);background:var(--parchment);color:var(--text-dark);border-radius:6px;margin:22px 0;overflow:hidden}.feature-card-top{color:var(--parchment);background:linear-gradient(90deg,#663c34,#4b3030);justify-content:space-between;align-items:center;padding:8px 20px;display:flex}.feature-card-top>span{letter-spacing:1.8px;font-size:9px}.feature-card-top button{min-height:32px;color:var(--parchment);background:0 0;border:0;padding:5px}.feature-card .field input{background:var(--input);color:var(--text-dark);border-color:#cbbfa5}.editor-label{margin-bottom:7px;font-size:12px;font-weight:500}.rich-editor{background:var(--input);border:1px solid #cbbfa5;border-radius:4px;overflow:hidden}.editor-toolbar{background:#e9dfcb;border-bottom:1px solid #d8cbb2;gap:2px;padding:3px 8px;display:flex}.editor-toolbar button{color:#665a49;background:0 0;border:0;min-width:34px;min-height:34px;padding:7px}.editor-toolbar button[aria-pressed=true]{background:#cbbfa5}.tiptap{outline:none;min-height:160px;padding:15px;font-size:14px;line-height:1.8}.tiptap p{margin-bottom:10px}.tiptap p.is-editor-empty:first-child:before{color:#918576;content:attr(data-placeholder);float:left;pointer-events:none;height:0}.insert-line{align-items:center;gap:13px;margin:13px 0;display:flex}.insert-line>span{color:#887b65;font-size:10px}.insert-button{color:#695034;background:#e2d5bb;border:1px solid #cbb790;min-height:36px;font-size:12px}.feature-actions{border-top:1px solid #d5c8ae;flex-wrap:wrap;gap:16px;margin-top:18px;padding-top:12px;display:flex}.feature-actions .text-button{color:#736550;min-height:32px}.feature-actions .danger{color:#91493d}.checkbox{align-items:center;gap:8px;font-size:11px;line-height:1.5;display:flex}.checkbox input{width:17px;height:17px;accent-color:var(--deep-red);flex-shrink:0}.feature-actions .checkbox{color:#7c6d56;margin-left:auto;font-size:10px}.add-feature{border:1px dashed var(--gold-muted);width:100%;color:var(--gold);background:0 0;min-height:48px}.editable-block{overflow-wrap:anywhere;background:#e7dbc1;border:1px solid #d2c19f;border-radius:4px;justify-content:space-between;align-items:start;gap:10px;margin-top:8px;padding:10px 12px;display:flex}.editable-block>div:first-child{flex:1;min-width:0}.editable-block p{margin:0;font-size:12px}.editable-block details{color:#6c604b;font-size:10px}.block-actions{flex-shrink:0;gap:2px;display:flex}.block-actions button{color:#76634c;background:0 0;border:0;min-height:30px;padding:5px;font-size:10px}.live-preview{scrollbar-width:thin;max-height:calc(100vh - 110px);padding:0 5px 0 0;position:sticky;top:90px;overflow-y:auto}.preview-heading{color:var(--muted);letter-spacing:1px;justify-content:space-between;align-items:center;gap:10px;margin:0 0 15px;font-size:8px;display:flex}.preview-heading span:first-child{color:var(--gold);align-items:center;gap:8px;font-size:10px;display:flex}.preview-heading span:last-child{font-size:7px}.preview-note{text-align:center;color:var(--gold-muted);padding-top:15px;font-family:Georgia,serif;font-size:12px;font-style:italic}.mobile-tabs{display:none}.table-scroll{max-width:100%;margin:12px 0;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:11px}th,td{border-bottom:1px solid #a28a5850;padding:6px 9px}th{background:#a28a5820}caption{text-align:left;padding-bottom:7px;font-weight:600}.center-panel{max-width:730px;min-height:65vh;margin:auto;padding:50px 0}.center-panel form{background:var(--bg-panel);border:1px solid var(--border);border-radius:6px;margin-top:30px;padding:30px}.rating{gap:10px;margin-top:12px;display:flex}.rating button{color:var(--gold);flex:1;padding:10px 5px}.rating span{font-size:11px}.success-panel{text-align:center;border:1px solid var(--gold-muted);margin-top:30px;padding:45px 20px}.success-panel svg{color:var(--gold);margin-bottom:20px}.export-page{grid-template-columns:1fr 1fr;align-items:start;gap:65px;padding-top:50px;display:grid}.export-page h1{font-size:48px}.export-options{flex-direction:column;gap:15px;margin:30px 0;display:flex}.export-options>button{text-align:left;background:var(--bg-panel);justify-content:flex-start;gap:18px;padding:20px}.export-options>button>svg{color:var(--gold)}.export-options>button>span{flex:1}.export-options strong{font-size:14px;font-weight:500;display:block}.export-options small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.licenses section{margin:35px 0}.licenses p{line-height:1.9}.licenses h2{margin-top:30px}@media screen{.print-document{display:none}}dialog{color:var(--text-light);background:var(--bg-panel);border:1px solid var(--gold-muted);border-radius:10px;width:720px;max-width:min(720px,100vw - 28px);max-height:87dvh;padding:0;box-shadow:0 25px 100px #0008}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#06090dbb}.modal-heading{z-index:3;background:var(--bg-panel);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:20px 25px;display:flex;position:sticky;top:0}.modal-heading h2{margin:0;font-size:29px}.icon-button{background:0 0;border:0;width:40px;min-height:40px;padding:5px}.modal-body{padding:25px}.modal-body .field{color:var(--text-light);font-size:14px}.modal-body>.primary{margin-top:15px}.modal-body>.text-button{margin-bottom:20px}.insert-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;display:grid}.insert-groups h3{color:var(--gold);font-size:20px}.insert-groups section>button{text-align:left;background:var(--bg-dark);border:0;justify-content:flex-start;width:100%;margin-top:7px;padding:10px;font-size:11px;display:flex}.insert-groups svg{color:var(--gold)}.token-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:15px 0;display:grid}.token-grid button{padding:7px;font-size:10px}.formula-display{background:var(--bg-dark);border:1px solid var(--gold-muted);color:var(--gold-bright);overflow-wrap:anywhere;border-radius:5px;padding:14px;font-family:Georgia,serif}.number-row{align-items:end;gap:10px;margin:12px 0;display:flex}.number-row .field{flex:1;min-width:0;margin:0}.number-row button{flex-shrink:0}.table-editor input{background:var(--bg-dark);border:1px solid var(--border);width:100%;min-width:80px;max-width:140px;color:var(--text-light);border-radius:3px;padding:7px}.table-editor th,.table-editor td{padding:5px}.table-editor button{min-height:30px;margin-top:4px;padding:5px}.spell-results{grid-template-columns:1fr 1fr;gap:7px;max-height:240px;padding:3px;display:grid;overflow-y:auto}.spell-results button{text-align:left;flex-direction:column;align-items:flex-start;gap:2px;font-size:12px}.spell-results small{color:var(--muted);font-size:10px}.spell-results button[aria-pressed=true]{border-color:var(--gold)}.spell-detail{border-top:1px solid var(--border);margin-top:25px;padding-top:22px}.spell-detail p{font-size:14px;line-height:1.65}.spell-description{overflow-wrap:anywhere;scrollbar-gutter:stable;max-height:35dvh;margin-bottom:18px;padding-right:8px;overflow-y:auto}.spell-description:focus-visible{outline:2px solid var(--arcane-blue);outline-offset:3px}.spell-detail a{font-size:11px}.spell-detail .primary{margin-top:20px;display:flex}.spell-detail dl{font-size:13px}.spell-detail dl>div{grid-template-columns:minmax(90px,1fr) minmax(0,4fr);gap:10px;display:grid}.spell-detail dt{min-width:90px;font-weight:600}.spell-detail dd{overflow-wrap:anywhere;margin:0}.library-list{margin-top:25px}.library-list>div{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:8px 0;display:flex}.library-list>div>button:first-child{text-align:left;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start}.library-list small{color:var(--muted)}.error-banner{color:var(--text-light);background:#592b2b;justify-content:space-between;align-items:center;gap:15px;padding:13px 5%;font-size:12px;display:flex}@media screen and (width<=1100px){.progress-stepper{justify-content:flex-start}.progress-stepper button{letter-spacing:.5px;font-size:9px}.progress-stepper li{gap:5px}.hero-notes{gap:13px;font-size:8px}.builder-layout{gap:22px}.document-page{padding:32px 23px}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-footer>span:last-child{display:none}.feature-actions .checkbox{margin-left:0}}@media screen and (width<=900px){.builder-layout{display:block}.mobile-tabs{gap:5px;display:flex}.mobile-tabs button{font-size:12px}.mobile-tabs [aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.view-edit .live-preview,.view-preview .builder-edit{display:none}.live-preview{max-width:680px;max-height:none;margin:auto;position:static;overflow:visible}.hero-notes{flex-wrap:wrap}.export-page{gap:30px}.export-page h1{font-size:40px}}@media screen and (width<=640px){.app-header{gap:8px;padding:16px 5%}.brand{letter-spacing:1.5px;gap:8px;font-size:14px}.brand small{letter-spacing:1.4px;font-size:6px}.brand-mark{width:34px;height:38px}.brand-mark svg{width:23px}.header-actions{gap:3px}.header-button{min-width:36px;padding:7px}.header-button span{display:none}.save-status{gap:4px;font-size:8px}.progress-stepper{gap:7px;padding:10px 5%}.progress-stepper button{gap:7px;font-size:9px}.step-number{width:23px;height:23px}.step-connector{width:15px}.large{padding:12px 17px;font-size:12px}.hero-notes{gap:12px;margin-top:18px;font-size:8px}.section-heading h2{font-size:23px}.section-heading>.muted{font-size:8px}.site-footer{flex-wrap:wrap;justify-content:space-between;gap:7px 15px;padding:18px 5%}.footer-tagline{display:none}.site-footer>span:first-child{font-size:8px}.class-selector{padding-top:30px}.class-selector h1{font-size:39px}.class-selector>.muted{font-size:12px}.ruleset-control{gap:8px;margin:23px 0}.ruleset-control button{flex-wrap:wrap;flex:1;gap:3px 8px;min-width:0;padding:11px 12px}.ruleset-control button strong{font-size:12px}.ruleset-control button span{font-size:9px}.ruleset-control svg{width:14px}.class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.class-card{gap:7px;min-height:190px;padding:22px 6px 16px}.class-card h2{font-size:26px}.class-level-label{letter-spacing:.6px;font-size:6px}.class-levels{gap:4px}.class-levels>span{min-width:21px;font-size:9px}.selected-check{font-size:7px;top:5px;right:5px}.selected-check svg{width:12px}.builder-heading{flex-direction:column;align-items:stretch;gap:17px;margin:27px 0 23px}.builder-heading h1{font-size:35px}.builder-heading .eyebrow{font-size:8px}.mobile-tabs button{flex:1}.identity-panel{margin-bottom:25px;padding:18px}.feature-card-body{padding:16px}.feature-card-top{padding:8px 16px}.feature-card{margin:19px 0}.field input,.field textarea,.field select{min-height:45px;font-size:16px}.tiptap{min-height:180px;font-size:16px}.editor-toolbar button{min-width:40px;min-height:40px}.insert-button{min-height:42px}.insert-line>span{font-size:9px}.feature-actions{gap:11px}.feature-actions .text-button{min-height:40px}.feature-actions .checkbox{min-height:32px;font-size:10px}.workflow-footer{margin:25px 0;padding-top:20px}.workflow-footer button{padding:12px;font-size:11px}.workflow-footer>span{font-size:9px}.workflow-footer .primary{gap:5px}.document-page{min-height:530px;padding:30px 23px;font-size:12px}.document-page h1{font-size:34px}.document-page h3{font-size:25px}.attribution{font-size:8px}.export-page{grid-template-columns:1fr;gap:25px;padding-top:35px}.export-page h1{font-size:43px}.export-options>button{gap:13px;padding:17px 15px}.center-panel{padding:33px 0}.center-panel h1{font-size:36px}.center-panel form{padding:20px 17px}.rating{gap:7px}.rating button{flex-direction:column;gap:3px}.form-grid{grid-template-columns:1fr;gap:0}dialog{border-radius:13px 13px 0 0;width:100%;max-width:100%;max-height:92dvh;margin:auto 0 0}.modal-heading{padding:17px 20px}.modal-heading h2{font-size:27px}.modal-body{padding:20px}.insert-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.insert-groups section>button{min-height:44px;font-size:11px}.token-grid button{min-height:44px;font-size:9px}.number-row{flex-wrap:wrap;gap:7px}.number-row button{font-size:11px}.table-editor input{font-size:16px}.spell-results{grid-template-columns:1fr}.spell-results button{min-height:53px}.modal-body .button-row>button{flex:1;font-size:11px}.library-list>div>button:first-child{font-size:12px}.preview-heading span:last-child{font-size:6px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.feature-card .insert-line>span,.feature-card .feature-actions .text-button,.feature-card .feature-actions .checkbox,.editable-block details,.block-actions button{color:#594a36}.variable-chip{color:#584022;white-space:normal;background:#e5d6b4;border:1px solid #baa16f;border-radius:4px;padding:0 6px;font-size:.87em;display:inline-block}button.spell-reference{color:#3c2818;min-height:0;font:inherit;cursor:pointer;background:#ead9af;border:1px solid #80672e;border-radius:3px;padding:2px 6px;text-decoration:underline;display:inline}.spell-description{white-space:pre-wrap}.welcome-clean{max-width:1080px;margin:0 auto;padding:48px 24px}.welcome-intro{text-align:center;max-width:760px;margin:0 auto;padding:40px 0}.welcome-intro h1{letter-spacing:.04em;margin:20px 0;font-size:clamp(32px,5vw,58px)}.welcome-intro p{max-width:600px;margin:0 auto 28px;font-size:18px;line-height:1.7}.welcome-intro .button-row,.welcome-intro .hero-notes{justify-content:center}.creation-steps{grid-template-columns:repeat(3,1fr);gap:20px;margin:16px 0 24px;padding:0;list-style:none;display:grid}.creation-steps li{border:1px solid var(--border);background:#101c24cc;border-radius:10px;gap:16px;padding:24px;font-size:13px;display:flex}.creation-steps svg{color:var(--gold);flex-shrink:0}.creation-steps strong,.creation-steps small{margin-bottom:8px;display:block}.creation-steps strong{font-size:18px}.creation-steps small{color:var(--gold)}.welcome-clean>.demo-link{margin:24px auto;display:flex}.feature-card-body>.insert-line{border-bottom:1px solid var(--border);flex-wrap:wrap;margin:0;padding:10px}@media (width<=700px){.welcome-clean{padding:20px 16px}.welcome-intro{padding:24px 0}.creation-steps{grid-template-columns:1fr;gap:10px}.creation-steps li{padding:18px}.welcome-intro .button-row{flex-wrap:wrap}}.feature-card-body .quick-inserts{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.rich-editor .tiptap table{border-collapse:collapse;width:100%;margin:12px 0}.rich-editor .tiptap td,.rich-editor .tiptap th{vertical-align:top;border:1px solid #b5a484;min-width:40px;padding:6px 10px}.rich-editor .tiptap td p,.rich-editor .tiptap th p{margin:0}.tiptap a[data-spell-target],.document-page a[data-spell-target]{color:inherit;text-underline-offset:2px;cursor:pointer;text-decoration:underline}:root{--bg-dark:#0b141a;--bg-panel:#142027;--bg-raised:#1b2930;--gold:#c6a261;--gold-bright:#f0cd85;--gold-muted:#806438;--deep-red:#671e19;--arcane-blue:#79d8ff;--parchment:#eadbbd;--parchment-ink:#302316;--parchment-muted:#655035;--brass-line:#9e7947;--paper-texture:url(/art/parchment-grain.svg)}body{background:var(--bg-dark)}.app-shell{isolation:isolate;background:linear-gradient(#07101820,#07101820);position:relative}.app-shell:before{content:"";z-index:-1;background:var(--bg-dark) url(/art/fantasy-study.png) center center/100% 100% no-repeat;pointer-events:none;position:fixed;inset:0}.app-header{border-bottom:2px ridge var(--gold-muted);background:linear-gradient(#080d12d9,#080d129c);max-width:none;min-height:83px;padding:17px 3%}.brand{color:var(--gold-bright);text-shadow:1px 2px 3px #000;letter-spacing:2px;font-family:Georgia,serif;font-size:22px}.brand strong{color:var(--gold-bright)}.brand-mark{border:1px solid var(--gold);outline-offset:4px;background:radial-gradient(#72522a55,#030709);border-radius:50%;outline:1px solid #8f6d3b;width:42px;height:42px;box-shadow:0 0 14px #c6a26122}.brand small{color:#c7b18a;letter-spacing:2px;font-size:8px}.header-actions{color:#d8c5a3}.progress-shell{border-bottom:3px ridge var(--gold-muted);background:linear-gradient(#07121bea,#0b151bf0);border-top:0;box-shadow:0 3px 12px #0008}.progress-stepper{gap:7px;max-width:1450px;padding:12px 4%}.progress-stepper button{letter-spacing:0;text-transform:none;color:#d7d0c2;gap:8px;font-family:Georgia,serif;font-size:12px}.step-number{color:#d4d5d0;background:#0d1920;border:2px solid #737b82;width:29px;height:29px;font-size:14px;box-shadow:inset 0 0 5px #000}.step-number:has(svg){color:#9af1bb;background:#153b2c;border-color:#61bd93;box-shadow:0 0 8px #35d88055}.progress-stepper button[aria-current] .step-number{color:#fff;background:radial-gradient(#1877b9,#052b57);border-color:#81ddff;box-shadow:0 0 13px #20adff,inset 0 0 7px #2f9de8}.progress-stepper button[aria-current]{color:#e5f8ff;text-shadow:0 0 7px #25aaff}.step-connector{background:linear-gradient(90deg,#ad9354,#69727a);min-width:5px}main{width:80%;max-width:1500px;margin:auto;padding:0 18px}.builder-heading{margin:25px 0 18px;padding:0 12px}.builder-heading .eyebrow{display:none}.builder-heading h1{color:var(--gold-bright);text-shadow:2px 3px 3px #000;margin-bottom:8px;font-size:48px;font-weight:700}.builder-heading h1:after{content:" ◆──◇── ";color:#a9894e;vertical-align:middle;letter-spacing:2px;padding-left:15px;font-size:18px}.builder-heading p{color:#e9e0cc;font-family:Georgia,serif;font-size:20px}.builder-heading .text-divider{color:var(--gold)}.level-tabs{z-index:2;gap:4px;margin:0 27px -2px;display:flex;position:relative}.level-tabs button{border:2px ridge var(--gold-muted);color:#eee3ce;background:linear-gradient(#293138,#111b21 70%);border-radius:3px 3px 0 0;flex:1;min-height:44px;font:18px Georgia,serif;box-shadow:inset 0 0 7px #0009,0 -1px 5px #0008}.level-tabs button[aria-current]{color:#fff;text-shadow:0 0 6px #3bafff;background:radial-gradient(#146cac,#073b6a 60%,#09202a);border-color:#d2ba7a;box-shadow:0 0 10px #11a6fa,inset 0 0 9px #11a6fa66}.builder-layout{border:5px ridge var(--brass-line);background:radial-gradient(ellipse at center, #fff7e644, transparent), var(--paper-texture);border-radius:9px;outline:1px solid #302315;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:23px;padding:23px;position:relative;box-shadow:0 3px 15px #000a,inset 0 0 30px #73502444}.builder-layout:before,.builder-layout:after{content:"◆";color:#76532c;text-shadow:1px 1px #ead9b6;pointer-events:none;font-size:16px;line-height:1;position:absolute}.builder-layout:before{top:3px;left:4px}.builder-layout:after{bottom:3px;right:4px}.builder-edit{color:var(--parchment-ink)}.builder-edit .section-heading{border-bottom:1px solid #94744770;padding-bottom:10px;position:relative}.builder-edit .section-heading:after{content:"◇───◆───◇";color:#866234;background:#e9d8b5;padding-left:12px;font-size:12px;position:absolute;bottom:-7px;right:0}.builder-edit .section-heading h2{color:#20180f;font-family:Georgia,serif;font-size:29px;font-weight:700}.builder-edit .section-heading .eyebrow{display:none}.builder-edit>.muted{color:#56412a;font-family:Georgia,serif;font-size:14px}.count-badge{color:#56412a;background:#eadbbd;border-color:#a18b67}.feature-card{background:var(--paper-texture);border:3px ridge #967447;border-radius:7px 3px;margin:19px 0;position:relative;box-shadow:0 3px 6px #4c341654,inset 0 0 16px #bda27655}.feature-card-top{background:linear-gradient(110deg, #641d16ee, #270e0edb 65%, #441510ee), var(--paper-texture);border-bottom:2px ridge var(--gold-muted);min-height:38px;padding:5px 13px}.feature-card-top>span{text-transform:none;letter-spacing:0;color:#f4dfb6;align-items:center;gap:9px;font:700 18px Georgia,serif;display:flex}.feature-card-top>span svg{color:#ffbd55;filter:drop-shadow(0 0 4px #fa6417)}.feature-card-top:after{content:"◇─✧";color:#a48144;font-size:13px;position:absolute;top:11px;right:85px}.feature-card-body{padding:16px}.feature-card .field,.editor-label{color:#302316;font:13px/1.6 Georgia,serif}.feature-card .field input{background:linear-gradient(#f5f0e5,#e9e1d1);border:1px solid #b4a181;border-radius:5px;min-height:35px;padding:6px 10px;font-family:Georgia,serif;font-size:15px;box-shadow:inset 0 1px 4px #66523926}.rich-editor{background:#f6efdf;border-color:#b4a181;box-shadow:inset 0 1px 4px #66523926}.editor-toolbar{background:#e3d4b8;padding:0 5px}.editor-toolbar button{color:#655036;min-width:30px;min-height:30px;padding:5px}.tiptap{color:#231b12;min-height:110px;padding:10px;font:15px/1.55 Georgia,serif}.tiptap p.is-editor-empty:first-child:before{color:#79664b}.insert-line{flex-wrap:wrap;gap:6px}.insert-line>span{display:none}.insert-button,.quick-inserts button{color:#2c261d;background:linear-gradient(#f0eadb,#c7bea9);border:1px solid #8e8269;border-radius:4px;min-height:31px;padding:4px 9px;font-family:Georgia,serif;font-size:12px;box-shadow:inset 0 1px #fff9}.quick-inserts{flex-wrap:wrap;gap:5px;display:flex}.feature-actions{border-top:1px solid #b0966a70;gap:9px;margin-top:12px;padding-top:9px}.feature-actions .text-button{color:#302316;background:linear-gradient(#eee7d7,#c4b89f);border:1px solid #938063;border-radius:4px;min-height:31px;padding:4px 9px}.feature-actions .danger{background:linear-gradient(#792c24,#451611);border-color:#823c2c;color:#fff0d9!important}.feature-actions .checkbox{color:#584427;font:10px/1.4 Georgia,serif}.editable-block{background:#e8d7b6aa;border-color:#af956c;border-radius:3px}.editable-block p{font:13px/1.55 Georgia,serif}.blocks table{color:#302316}.add-feature{color:#f3e6c9;background:linear-gradient(#1c2d36,#071822);border:3px ridge #a58d62;border-radius:4px;min-height:43px;font:18px Georgia,serif;box-shadow:0 2px 5px #4f36164d}.live-preview{color:#ede0c4;background:linear-gradient(#0b1b22ef,#0c1920f2);border:3px ridge #a98d5c;border-radius:5px;max-height:calc(100vh - 110px);padding:15px;top:85px;box-shadow:inset 0 0 10px #0008}.preview-heading{letter-spacing:0;margin-bottom:13px;display:block}.preview-heading span:first-child{color:#f3e9d2;gap:8px;font:21px Georgia,serif}.preview-heading span:last-child{color:#d7bd84;margin-top:7px;font:italic 11px/1.6 Georgia,serif;display:block}.document-page{background:radial-gradient(ellipse, #fffaf255, #b4935330), var(--paper-texture);border:4px ridge #a78a56;min-height:480px;padding:27px 21px 20px;box-shadow:0 2px 8px #0007}.document-page h1{text-align:center;font-variant:small-caps;color:#67261e;font-size:28px;font-weight:700}.document-kicker{text-align:center;text-transform:none;letter-spacing:0;font:italic 12px Georgia,serif}.document-subtitle{text-align:center;font-size:14px}.document-page h3{font-variant:small-caps;font-size:22px;font-weight:700}.document-page .ornament{text-align:center;color:#977745}.document-page .level-rule{color:#302316;text-transform:uppercase;font:700 13px Georgia,serif}.document-page .attribution{color:#605035;font-size:8px}.document-pages.theme-midnight .document-page{color:#e8dfc8;background:#202b30}.theme-midnight .document-page h1,.theme-midnight .document-page .attribution{color:#e8cd8f}.theme-ivory .document-page{background:#faf7ef}.resource-summary{background:#06131a66;border:2px ridge #ad8c53;margin-top:16px;padding:14px}.resource-summary h3{color:#e5c180;border-bottom:1px solid #6b5835;padding-bottom:10px;font:small-caps 19px Georgia,serif}.resource-summary dl{margin:0;font:12px Georgia,serif}.resource-summary dl>div{border-bottom:1px solid #8c794229;justify-content:space-between;padding:9px 0;display:flex}.resource-summary dd{margin:0}.resource-summary dt{color:#cabfa6}.workflow-footer{border:0;margin:17px 0 24px;padding:0 2px}.workflow-footer>span{color:#d7bd84;font-family:Georgia,serif}.workflow-footer button{color:#f2ead8;background:linear-gradient(#27353b,#101d23);border:3px ridge #9b8a68;border-radius:3px;min-width:125px;min-height:43px;font:16px Georgia,serif}.workflow-footer button.primary{color:#fff;background:radial-gradient(#125282,#092b4b);border-color:#88bfdf;box-shadow:0 0 9px #00b3ff88,inset 0 0 7px #0baaff77}.site-footer{border-top:2px ridge var(--gold-muted);background:#070f15cf;padding:13px 3%}.site-footer>span:first-child{color:#c3a771}.site-footer button,.hero-notes{color:#c8b891}.class-selector{padding:30px 18px}.class-selector>h1{color:#f0cd85}.class-selector>.muted{color:#dfd0b8}.class-card{background:linear-gradient(#19252cdd,#08121ae6);border:3px ridge #7e6945;box-shadow:inset 0 0 18px #000a}.class-card.selected{background:radial-gradient(#0c5078,#071c2f);border-color:#ddbf77;box-shadow:0 0 8px #46baff66,inset 0 0 12px #368fc655}.identity-panel{background:#11212a;border:2px ridge #947b50}.builder-edit .identity-panel{color:#eee1c6}.builder-edit .identity-panel .form-hint{color:#bdb8aa}.identity-panel .field input,.identity-panel .field textarea,.identity-panel .field select{background:#0a1820;border-color:#6a5b40}.center-panel{background:#09151eec;border:3px ridge #947645;margin-block:30px;padding:35px}.center-panel h1{color:var(--gold-bright)}.stage-pdf main{width:88%;max-width:1600px}.stage-pdf .builder-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stage-pdf .live-preview{max-height:calc(100vh - 105px);padding:16px}.pdf-actions{background:#0a1a22ed;border:2px ridge #9c814e;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;padding:15px 18px;display:flex}.pdf-actions .eyebrow{color:#d6b578;margin-bottom:5px;font-size:9px}.pdf-actions p{color:#e1d4b8;margin:0;font:14px Georgia,serif}.pdf-actions button{font-size:12px}.pdf-actions .primary{color:#f6f5ed;background:linear-gradient(#235e80,#0c3551);border:2px ridge #79bce3;min-height:43px;box-shadow:0 0 8px #46baff44}.download-menu{color:#e6d8bb;font-size:12px;position:relative}.download-menu>summary{border:1px solid #8c7448;border-radius:4px;min-height:43px;padding:10px}.download-menu>div{z-index:12;border:1px solid var(--gold);background:#101e26;min-width:210px;padding:7px;position:absolute;top:100%;right:0;box-shadow:0 5px 15px #0008}.download-menu button{white-space:nowrap;background:0 0;border:0;justify-content:flex-start;width:100%}.document-tabs{gap:4px;margin-bottom:14px;display:flex}.document-tabs button{color:#e9dfc9;white-space:nowrap;background:linear-gradient(#2a363c,#0d202a);border:2px ridge #88734b;flex:1;padding:8px;font:13px Georgia,serif}.document-tabs button[aria-pressed=true]{color:#fff;background:linear-gradient(#245b7b,#092f4c);border-color:#75bade}.source-editor-panel{color:#ede4d2;background:#0b1923;border:2px ridge #82693f}.source-editor-heading{justify-content:space-between;align-items:center;gap:8px;padding:17px 16px 0;display:flex}.source-editor-heading h2{color:#e7c68b;margin-bottom:10px;font:23px Georgia,serif}.source-editor-heading span{color:#b6c9ce;font-size:9px}.source-editor-panel>p{color:#b9c4c8;margin-bottom:13px;padding:0 16px;font-size:11px}.source-tools{flex-wrap:wrap;gap:5px;padding:0 12px 12px;display:flex}.player-level-control{color:#eee4ce;background:#1c2c36;border:1px solid #947644;border-radius:6px;margin:0 14px 16px;padding:14px}.player-level-control .field{margin:0}.player-level-control select{min-height:44px;font-size:16px}.player-level-control p{color:#d9c9ab;margin:8px 0 0;font-size:12px}.source-tools button{color:#d9c9ab;background:#1c2c36;border:1px solid #756243;min-height:34px;padding:6px 7px;font-size:10px}.column-break-example{margin:20px 0}.column-break-example figcaption{margin-bottom:8px;font-size:13px}.column-break-example-page{color:#392e25;background:#eee4ce;border:1px solid #947644;border-radius:6px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:22px 18px;font-family:Georgia,serif;display:grid}.column-break-example-page>div+div{border-left:1px dashed #947644;padding-left:18px}.column-break-example-page strong{color:#683426;font-size:20px}.column-break-example-page p{color:#392e25;font-size:14px;line-height:1.6}.column-break-example-marker{color:#683426;border-top:2px dashed #947644;margin-top:22px;padding-top:8px;font:700 12px/1.5 sans-serif;display:block}.source-editor-panel .cm-editor{text-align:left;font:13px/1.7 Consolas,monospace}.source-editor-panel .cm-scroller{overflow:auto}.source-editor-panel .cm-content{padding-block:10px}.source-editor-bottom{color:#c2b69b;justify-content:space-between;align-items:center;gap:10px;padding:10px;font-size:9px;display:flex}.source-editor-bottom button{background:0 0;min-height:33px;padding:6px;font-size:9px}.source-editor-panel details{color:#c4bfaf;padding:5px 15px 12px;font-size:11px}.source-editor-panel details p{font-size:11px;line-height:1.7}.homebrew-content{font-family:Georgia,serif;font-size:var(--document-font-size,14px);contain:layout paint;min-height:30px;line-height:1.6;position:relative}.homebrew-content.columns-2{column-count:2;column-gap:25px}.homebrew-content h1{column-span:all;font-size:2em;line-height:1.1}.homebrew-content h2{color:#352817;break-after:avoid;border-bottom:1px solid #947644;margin:20px 0 12px;font:small-caps 700 1.25em Georgia,serif}.homebrew-content h3{break-after:avoid;font-size:1.4em}.homebrew-content h4,.homebrew-content h5{color:#683426;margin:15px 0 8px;font:700 1em Georgia,serif}.homebrew-content p{orphans:3;widows:3;margin-bottom:12px}.homebrew-content em{color:inherit}.homebrew-content .note,.homebrew-content blockquote{break-inside:avoid;background:#e0cba5;border-block:2px ridge #987b42;margin:15px 0;padding:13px;box-shadow:1px 2px 4px #36270933}.homebrew-content .wide{column-span:all}.homebrew-content .columnSplit{break-after:column}.homebrew-content .blank{height:1em}.homebrew-content .inline-block{display:inline-block}.homebrew-content table{font:inherit;break-inside:avoid;font-size:.85em}.homebrew-content th{background:#cbb78f}.homebrew-content td{background:#ecddbd}.homebrew-content img{max-width:100%;height:auto}.homebrew-content code{overflow-wrap:anywhere;font-size:.85em}.homebrew-content pre{white-space:pre-wrap}.homebrew-content a{color:#684520}.theme-midnight .homebrew-content h2,.theme-midnight .homebrew-content h3,.theme-midnight .homebrew-content h4,.theme-midnight .homebrew-content h5{color:#e9c888}.theme-midnight .homebrew-content .note,.theme-midnight .homebrew-content td,.theme-midnight .homebrew-content th{background:#3a3930}.render-error{color:#fff3da;background:#552a22;padding:20px}.pdf-download-host{z-index:-10;background:#eee4ce;width:740px;position:fixed;top:0;left:-20000px}.pdf-download-pages{width:740px!important}.pdf-download-pages .document-page{box-shadow:none;break-after:page;border-width:2px;min-height:970px;margin:0;padding:35px 30px}.pdf-download-pages .document-page:last-child{break-after:auto}.pdf-download-pages .document-page:before{display:none}@media screen and (width>=1200px){.feature-card-body{grid-template-columns:105px minmax(0,1fr);gap:0 10px;display:grid}.feature-card-body>.field{grid-column:1/-1;grid-template-columns:105px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:10px;display:grid}.feature-card-body .editor-label{padding-top:6px}.feature-card-body>.insert-line,.feature-card-body>.blocks,.feature-card-body>.feature-actions{grid-column:1/-1}.stage-builder .feature-card .tiptap{min-height:100px}}@media screen and (width<=1200px){main{width:88%;padding:0 12px}.builder-layout{gap:16px;padding:17px}.builder-heading h1{font-size:40px}.document-page{padding:24px 16px}.quick-inserts{gap:4px}.quick-inserts button{padding:5px 7px;font-size:11px}.pdf-actions{flex-wrap:wrap}.progress-stepper button{font-size:11px}.stage-pdf main{width:94%}}@media screen and (width<=900px){main,.stage-pdf main{width:94%}.app-shell:before{background-position:50%;background-size:auto 100%}.app-header{padding-inline:4%}.builder-layout,.stage-pdf .builder-layout{display:block}.builder-heading{margin:23px 4px 18px}.builder-heading h1{font-size:38px}.builder-heading h1:after{font-size:12px}.mobile-tabs button{color:#e4d6b8;background:#112a3b;border:2px ridge #8a744c}.mobile-tabs button[aria-pressed=true]{color:#eaf8ff;border-color:#82c8e8;box-shadow:0 0 6px #1fa4ff55}.live-preview,.stage-pdf .live-preview{max-height:none;position:static}.level-tabs{margin-inline:12px}.level-tabs button{font-size:16px}.document-page,.source-editor-panel .cm-editor{font-size:14px}.homebrew-content.columns-2{column-gap:17px}}@media screen and (width<=640px){main,.stage-pdf main{width:100%;padding:0 12px}.app-shell:before{opacity:.75;background-size:auto 100%}.brand{gap:11px;font-size:15px}.brand small{letter-spacing:1.2px;font-size:6px}.brand-mark{outline-offset:2px;width:31px;height:34px}.app-header{min-height:70px;padding:14px 15px}.header-actions{gap:2px}.progress-stepper{padding:9px 12px}.progress-stepper button{min-height:40px;font-size:12px}.step-number{width:27px;height:27px;font-size:12px}.step-connector{width:12px}.builder-heading{margin:22px 4px 16px}.builder-heading h1{font-size:35px}.builder-heading h1:after{display:none}.builder-heading p{font-size:16px}.builder-layout{border-width:3px;border-radius:5px;padding:14px 10px}.builder-edit .section-heading h2{font-size:23px}.builder-edit>.muted{font-size:12px}.builder-edit .section-heading:after{font-size:8px;bottom:-5px}.level-tabs{scrollbar-width:thin;margin-inline:6px;overflow-x:auto}.level-tabs button{flex:1 0 61px;min-height:44px;padding:5px;font-size:13px}.feature-card{border-width:2px;margin:17px 0}.feature-card-top{padding:5px 10px}.feature-card-top>span{font-size:17px}.feature-card-top:after{display:none}.feature-card-top button{min-width:40px;min-height:40px}.feature-card-body{padding:13px 11px}.feature-card .field,.editor-label{font-size:13px}.feature-card .field input{min-height:44px;font-size:16px}.tiptap{min-height:140px;font-size:16px}.editor-toolbar button{min-width:40px;min-height:40px}.insert-button{min-height:44px;padding:8px 14px;font-size:14px}.quick-inserts{display:none}.insert-line>span{font-size:10px;display:block}.feature-actions .text-button{min-height:40px;font-size:12px}.feature-actions .checkbox{min-height:36px;font-size:11px}.add-feature{min-height:46px;font-size:16px}.live-preview{border-width:2px;padding:12px}.preview-heading span:first-child{font-size:21px}.document-page{border-width:3px;padding:24px 17px}.document-page h1{font-size:28px}.document-page .attribution{font-size:9px}.resource-summary h3{font-size:18px}.workflow-footer{gap:8px;margin:18px 0}.workflow-footer button{min-width:0;min-height:45px;padding:9px;font-size:13px}.workflow-footer>span{font-size:10px}.site-footer{padding-inline:15px}.class-selector{padding:28px 0}.class-selector>h1{font-size:38px}.class-card{border-width:2px}.center-panel{border-width:2px;margin-block:25px;padding:24px 15px}.pdf-actions{gap:12px;padding:13px}.pdf-actions>.button-row{flex-wrap:wrap;gap:7px;width:100%}.pdf-actions button{min-height:44px}.pdf-actions .eyebrow{font-size:8px}.pdf-actions p{font-size:12px}.pdf-actions>.button-row>.primary{flex:1}.download-menu{flex-basis:100%}.download-menu>summary{text-align:center}.download-menu>div{width:100%;position:static}.document-tabs{gap:3px}.document-tabs button{white-space:normal;min-height:44px;padding:5px;font-size:11px}.source-editor-heading{padding:13px 11px 0}.source-editor-heading h2{font-size:22px}.source-editor-heading span{font-size:8px}.source-tools{gap:4px;padding-inline:9px}.source-tools button{flex:40%;min-height:40px;font-size:10px}.source-editor-panel .cm-editor{font-size:14px}.source-editor-bottom{flex-wrap:wrap}.source-editor-bottom button{min-height:40px}.homebrew-content{font-size:var(--document-font-size,14px)}.homebrew-content.columns-2{column-count:2}.identity-panel .field input,.identity-panel .field select,.identity-panel .field textarea{font-size:16px}}@media print{.app-shell,.pdf-download-host{display:none!important}.source-pages .document-page{box-shadow:none;break-after:page;background:#eee4ce;border:0;min-height:0;padding:0}.source-pages .document-page:last-child{break-after:auto}.homebrew-content.columns-2{column-count:2}.homebrew-content{font-size:var(--document-font-size,14px)}.document-page .attribution{font-size:8px}}.source-editor-panel .cm-gutters{color:#b5bbc5!important}.source-editor-panel .cm-content .cm-line span,.source-editor-panel .cm-content .cm-line{color:#d6dfeb}.stage-builder .live-preview{max-height:none;overflow:visible}.stage-builder .live-preview .document-pages{scrollbar-width:thin;max-height:490px;overflow-y:auto}@media screen and (width<=900px){.stage-builder .live-preview .document-pages{max-height:none;overflow:visible}}
