body.gk-app .gk-pdf-max #branding-preview,body.gk-app .gk-pdf-max .gk-pdf-legacy-accent{display:none}
.gk-pdf-designer{border-top:1px solid var(--border);padding-top:24px;margin-top:24px}
.gk-pdf-heading{font-size:19px;line-height:1.3;margin:0 0 10px}
.gk-pdf-help{color:var(--muted);font-size:13px;line-height:1.65;margin:10px 0 20px;max-width:760px}
.gk-pdf-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}
.gk-pdf-field{display:block;min-width:0}.gk-pdf-field>span{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:var(--text)}
.gk-pdf-field textarea{resize:vertical;min-height:74px}.gk-pdf-field .form-input{width:100%;min-width:0;font-size:16px}
.gk-pdf-colour{display:grid;grid-template-columns:1fr 46px;gap:10px;align-items:end;min-width:0}
.gk-pdf-colour input[type=color]{width:46px;height:46px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--gk-panel,#111827);cursor:pointer}
.gk-pdf-checkbox{display:flex;align-items:center;gap:12px;min-height:48px;font-size:13px;line-height:1.5;margin:14px 0}
.gk-pdf-checkbox input{width:19px;height:19px;accent-color:var(--cyan);flex-shrink:0}
.gk-pdf-preview-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:26px 0 14px}.gk-pdf-preview-heading h4{font-size:15px}
.gk-pdf-sample-badge{font-size:11px;color:var(--muted);border:1px solid var(--border);border-radius:6px;padding:4px 8px}
#gk-pdf-preview{margin-bottom:16px;max-width:760px}.gk-pdf-status{font-size:13px;line-height:1.6;color:var(--muted);min-height:1.6em;margin:12px 0}.gk-pdf-status[data-error=true]{color:#fca5a5}
.gk-document-sheet.gk-pdf-custom{background:var(--pdf-paper);color:var(--pdf-text);font-family:var(--pdf-font);border-top-color:var(--pdf-accent)}
.gk-pdf-custom p,.gk-pdf-custom td{color:var(--pdf-text)}.gk-pdf-custom h3,.gk-pdf-custom h4,.gk-pdf-custom .gk-document-totals{color:var(--pdf-heading)}
.gk-pdf-custom .gk-document-type{color:var(--pdf-title)}.gk-pdf-custom .gk-document-items th{background:var(--pdf-table-header);color:var(--pdf-table-text)}
.gk-pdf-custom .gk-document-footnote{color:var(--pdf-text)}.gk-pdf-custom[data-pdf-layout=classic]{border-radius:0;border-top:2px solid var(--pdf-accent)}.gk-pdf-custom[data-pdf-layout=classic] .gk-document-items thead{outline:1px solid var(--pdf-heading)}
.gk-pdf-custom[data-pdf-layout=minimal]{border-top:0;border-radius:0;box-shadow:none}
.gk-pdf-custom[data-pdf-alignment=center] .gk-document-header{display:flex;flex-direction:column;align-items:center;text-align:center}.gk-pdf-custom[data-pdf-alignment=center] .gk-document-header>div:last-child{text-align:center}.gk-pdf-custom[data-pdf-alignment=center] .gk-document-logo{margin-left:auto;margin-right:auto;display:block}
.gk-pdf-custom[data-pdf-logo=small] .gk-document-logo{max-width:68px;max-height:68px}.gk-pdf-custom[data-pdf-logo=medium] .gk-document-logo{max-width:94px;max-height:94px}.gk-pdf-custom[data-pdf-logo=large] .gk-document-logo{max-width:121px;max-height:121px}
.gk-pdf-document-footer{margin-top:24px;border-top:1px solid #cbd5e1;padding-top:14px;text-align:center;font-size:11px;line-height:1.5}.gk-pdf-document-footer p{color:var(--pdf-text);overflow-wrap:anywhere}
@media(max-width:600px){.gk-pdf-grid{grid-template-columns:1fr;gap:16px}.gk-pdf-preview-heading{align-items:flex-start;flex-wrap:wrap}.gk-pdf-custom[data-pdf-layout=classic] .gk-document-items thead{outline:0}.gk-pdf-custom .gk-document-items td:before{color:var(--pdf-text)}}
