.qb-template-library .qb-page-heading{display:block}.qb-template-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:14px 0;border-top:1px solid var(--qb-line);border-bottom:1px solid var(--qb-line)}.qb-template-filters .qb-kind-filter,.qb-template-filters .qb-kind-filter select{flex:0 1 auto}.qb-template-selects{display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;gap:10px 18px;min-width:0}.qb-template-select{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;font-size:var(--qbx-fs-2, 13px);color:var(--qb-muted)}.qb-template-select span{white-space:nowrap}.qb-template-select select{min-height:36px;min-width:0;max-width:100%;padding:6px 10px;font-size:var(--qbx-fs-2, 13px);color:var(--qb-ink);background:var(--qbx-bg-card, white);border:1px solid var(--qb-line);border-radius:var(--qbx-r-sm, 6px);cursor:pointer}.qb-template-select select:hover{border-color:var(--qbx-line-brand, var(--qb-green))}.qb-template-filters .qb-search{flex:1 1 220px;max-width:360px;margin-left:0;margin-inline-start:auto}.qb-template-filters .qb-search input{width:100%;min-width:0}.qb-template-count{margin:14px 0 18px;color:var(--qb-muted);font-size:var(--qbx-fs-2, 13px)}.qb-template-library .qb-template-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:24px}.qb-template-library .qb-template-preview{height:360px}.qb-template-library .qb-template-preview,.qb-template-library .qb-template-feature-preview{position:relative}.qb-template-library .qb-template-preview:after,.qb-template-library .qb-template-feature-preview:after{content:"";position:absolute;inset:auto 0 0;height:56px;background:linear-gradient(rgba(var(--qbx-bg-deep-rgb, 238, 242, 240),0),var(--qbx-bg-deep, #eef2f0));pointer-events:none}.qb-template-library .qb-template-feature-preview:after{background:linear-gradient(rgba(var(--qbx-bg-card-rgb, 255, 255, 255),0),var(--qbx-bg-card, #fff))}.qb-template-library .qb-template-caption{grid-template-columns:minmax(0,1fr)}.qb-template-library .qb-template-actions{flex-direction:row;align-items:center;justify-content:space-between}.qb-template-caption h3{margin-top:5px;font-size:var(--qbx-fs-4, 16px);font-weight:600}.qb-template-actions a,.qb-template-caption button{min-height:36px;padding:0 2px}.qb-template-library .qb-template{transition:border-color .15s,box-shadow .15s}.qb-template-library .qb-template:hover,.qb-template-library .qb-template:focus-within{border-color:var(--qbx-line-strong, #9fc7bd);box-shadow:0 4px 14px rgba(var(--qbx-bg-ink-rgb, 33, 55, 68),.078)}.qb-template-actions a:hover,.qb-template-caption button:not(:disabled):hover{text-decoration:underline;text-underline-offset:3px}[dir=rtl] .qb-template-actions svg{transform:scaleX(-1)}.qb-show-more{display:flex;align-items:center;justify-content:center;min-height:44px;margin:28px auto 0;padding:0 22px;font-size:var(--qbx-fs-3, 14px);font-weight:600;color:var(--qb-green);background:var(--qbx-bg-card, white);border:1px solid var(--qbx-line-brand, var(--qb-green));border-radius:var(--qbx-r-sm, 6px);cursor:pointer}.qb-show-more:hover{background:var(--qbx-bg-brand-soft, #eef6f3)}.qb-template-browser .qb-empty{border-top:0}.qb-empty-title{font-size:var(--qbx-fs-3, 15px);font-weight:500}.qb-template-browser .qb-empty .qb-text-button{min-height:40px;padding:0 12px;text-decoration:underline;text-underline-offset:3px}.qb-template-browser>h2{margin-bottom:14px;font-size:var(--qbx-fs-6, 20px);font-weight:700;line-height:1.4}.qb-template-guidance-reserve{min-height:100vh}body:has(.qb-template-guidance-reserve[data-holds]) :is(footer.qb-footer,.qb-feedback-line){display:none}.qb-template-guidance .qb-guidance-faq dt{margin-top:0}.qb-guidance-faq dl>div+div{margin-top:18px}.qb-template-guidance .qb-embed-offer{margin-top:32px;padding:20px 22px;background:var(--qbx-bg-card, #f7f9f8);border:1px solid var(--qb-line);border-radius:var(--qbx-r-md, 10px)}.qb-template-guidance .qb-embed-offer h2{font-size:var(--qbx-fs-4, 16px);font-weight:700;line-height:1.4}.qb-embed-offer p{margin-top:6px;color:var(--qbx-brand, #405157);font-size:var(--qbx-fs-3, 14px)}.qb-embed-code{display:block;width:100%;min-height:104px;margin:14px 0 12px;padding:12px;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--qbx-ink, #20302c);background:var(--qbx-bg-card, white);border:1px solid var(--qb-line);border-radius:var(--qbx-r-sm, 6px);resize:vertical;direction:ltr;text-align:left}.qb-embed-code:focus-visible{outline:2px solid var(--qbx-line-brand, #087f72);outline-offset:1px}.qb-embed-offer .qb-guide-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:var(--qbx-fs-3, 14px);font-weight:600;color:var(--qb-green);background:var(--qbx-bg-card, white);border:1px solid var(--qbx-line-brand, var(--qb-green));border-radius:var(--qbx-r-sm, 6px);cursor:pointer}.qb-embed-offer .qb-guide-link:hover{background:var(--qbx-bg-brand-soft, #eef6f3)}.qb-template-feature-figure{min-width:0;display:flex;flex-direction:column;gap:8px}.qb-template-feature-figure figcaption{color:var(--qbx-text, #4f5f66);font-size:var(--qbx-fs-2, 13px);line-height:1.5}.qb-template-feature .qb-template-gate{margin-top:10px;color:var(--qbx-text, #4f5f66);font-size:var(--qbx-fs-2, 13px);line-height:1.6}.qb-template-feature-lead,.qb-template-feature-files{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.qb-template-next{display:inline-flex;align-items:center;gap:8px;margin:12px 0 0;padding:6px 12px;border:1px solid var(--qb-line);border-radius:var(--qbx-r-md, 12px);background:var(--qbx-bg-card, #fff);color:var(--qbx-brand, #33444a);font-size:var(--qbx-fs-2, 13px);line-height:1.4}.qb-template-feature .qb-template-next{font-size:var(--qbx-fs-2, 13px);line-height:1.4;color:var(--qbx-brand, #33444a)}.qb-template-next svg{flex:none;color:var(--qb-green)}[dir=rtl] .qb-template-next svg{transform:scaleX(-1)}@media(max-width:640px){.qb-template-library .qb-template-feature{gap:18px}.qb-template-library .qb-template-feature>.qb-template-feature-text{display:contents}.qb-template-library .qb-template-feature-lead{order:1}.qb-template-library .qb-template-feature-figure{order:2}.qb-template-library .qb-template-feature-files{order:3}}.qb-template-feature-preview .qb-template-picture{display:block;width:100%;height:auto;box-shadow:0 0 15px rgba(var(--qbx-bg-ink-rgb, 0, 0, 0),.1)}.qb-template-hint{display:grid;gap:6px;margin:2px 0 12px;padding:12px 14px;font-size:var(--qbx-fs-3, 14px);line-height:1.6;color:var(--qbx-brand, #33444a);background:var(--qbx-bg-deep, #f4f8f6);border:1px solid var(--qb-line);border-radius:var(--qbx-r-sm, 8px)}.qb-template-hint p{display:flex;align-items:flex-start;gap:8px}.qb-template-hint svg{flex:none;margin-top:3px;color:var(--qb-green)}.qb-template-hint a{color:var(--qb-green);font-weight:600;text-decoration:underline;text-underline-offset:3px}.qb-contract-templates{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:14px 16px;background:var(--qbx-bg-deep, #f4f8f6);border:1px solid var(--qb-line);border-radius:var(--qbx-r-sm, 8px)}.qb-contract-templates>svg{flex:none;margin-top:2px;color:var(--qb-green)}.qb-contract-templates h2{font-size:var(--qbx-fs-4, 16px);font-weight:650;line-height:1.5}.qb-contract-templates h2 a{display:inline-flex;align-items:center;gap:6px;color:var(--qb-green)}.qb-contract-templates h2 a:hover{text-decoration:underline;text-underline-offset:3px}.qb-contract-templates p{margin-top:2px;font-size:var(--qbx-fs-3, 14px);line-height:1.6;color:var(--qbx-brand, #33444a)}.qb-contract-templates a:focus-visible{outline:2px solid var(--qbx-line-focus, var(--qb-green));outline-offset:3px}.qb-template-kinds-label{color:var(--qbx-text, #4f5f66);font-size:var(--qbx-fs-3, 14px)}.qb-template-kinds{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:640px}.qb-template-kinds button{min-height:40px;padding:0 14px;font-size:var(--qbx-fs-3, 14px);color:var(--qb-ink);background:var(--qbx-bg-card, white);border:1px solid var(--qb-line);border-radius:999px;cursor:pointer}.qb-template-kinds button:hover{border-color:var(--qb-ink)}@media(max-width:768px){.qb-template-actions a,.qb-template-caption button{min-height:44px;padding:0 8px}}@media(max-width:640px){.qb-template-filters{gap:10px}.qb-template-selects{width:100%}.qb-template-select{flex:1 1 100%;justify-content:space-between}.qb-template-select select{flex:1 1 auto;max-width:70%}.qb-template-filters .qb-search{flex-basis:100%;max-width:none;margin-inline-start:0}.qb-template-library .qb-template-preview{height:330px}.qb-template-guidance .qb-embed-offer{padding:16px}}
