/* Shared navigation and readable text across tools and server-rendered guides. */
:root{--bakkwo-text:#18243b;--bakkwo-secondary:#52627a;--bakkwo-muted:#5d6d83}
.home-header .home-free{display:none}
.home-header nav{flex:1;min-width:0;margin-left:30px;gap:24px}
.home-header nav>a{font-size:14px;font-weight:500;line-height:1.5;color:var(--bakkwo-secondary);white-space:nowrap}
.home-header nav>a[href="/guides/"]{margin-left:auto}
.home-header nav>a[aria-current]{color:var(--bakkwo-text);font-weight:700}
.home-header nav>a:hover{color:#1d4ed8}
.home-header [data-tool-finder]{font-size:14px;font-weight:600;line-height:1.5;min-height:42px;padding:10px 14px;color:#2457ad}
.home-header .home-pdf-link{display:inline-flex}
.home-header :focus-visible{outline:3px solid #83aff8;outline-offset:4px}
.home-page main :is(h1,h2,h3),.site-page main :is(h1,h2,h3){color:var(--bakkwo-text);word-break:keep-all;overflow-wrap:anywhere}
.home-tool h3,.directory-card h3,.office-utility-card h3{font-weight:700;line-height:1.5}
body.tool-directory-page .hero{padding:38px 24px 32px;text-align:center}
body.tool-directory-page .hero h1{font-size:40px;font-weight:700;line-height:1.3;letter-spacing:-1.5px;margin:15px 0 12px}
body.tool-directory-page .hero>p{font-size:15px;line-height:1.8;margin:0 auto;color:#52627a;text-align:center}
body.tool-directory-page .hero .eyebrow{font-size:12px;font-weight:500;line-height:1.7;letter-spacing:0;padding:6px 12px}
body.tool-directory-page>main#main-content{width:100%;max-width:none;margin:0;padding:0}
body.tool-directory-page .directory-wrap{width:100%;max-width:1120px;margin:32px auto 56px;padding:0 24px}
body.tool-directory-page .tool-search{max-width:650px;width:100%;margin:0 auto 28px}
body.tool-directory-page .tool-search label{display:block;font-size:14px;font-weight:600;line-height:1.5;color:#334155;margin-bottom:10px}
body.tool-directory-page #tool-search{width:100%;min-height:52px;padding:12px 16px;border:1px solid #d7dfed;border-radius:10px;background:#fff;color:#18243b;font-size:15px;line-height:1.5;box-shadow:none}
body.tool-directory-page .catalog-jumps{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:24px 0 30px}
.home-tool p,.directory-card p,.office-utility-card p,.finder-items small{font-size:14px;line-height:1.75;color:var(--bakkwo-secondary)}
.home-section-top p,.home-hero>p,.hero>p,.tool-hero>p,.office-hero>p,.id-hero p{font-size:15px;line-height:1.8;color:var(--bakkwo-secondary)}
.home-tool-category,.home-result-count,.home-kicker,.home-suggestions>span,.home-filters button span{font-size:12px;color:var(--bakkwo-muted);opacity:1}
.home-filters button[aria-pressed=true] span{color:inherit}
.home-confidence p,.home-how li p,.home-footer p,.home-footer>span{font-size:13px;line-height:1.7;color:var(--bakkwo-muted)}
.home-how h3{font-size:15px;font-weight:650;line-height:1.5}
.home-footer nav a{font-size:13px;color:var(--bakkwo-secondary)}
.home-text-link,.home-suggestions button,.home-more{font-size:13px;color:var(--bakkwo-secondary)}
.dropzone p,.pdf-dropzone p,.section-heading p,.how-grid p,.usage-notes p,.faq-answer p,.id-small{font-size:14px;line-height:1.75;color:var(--bakkwo-secondary)}
.file-hint,.workspace-footer,.steps,.pdf-steps{font-size:12px;line-height:1.7;color:var(--bakkwo-muted)}
.tool-button small{font-size:12px;line-height:1.6}
.guide-card p{font-size:15px;line-height:1.75;color:var(--bakkwo-secondary)}
.guide-card h2{font-weight:700}
.guide-label,.guide-card time,.guide-meta,.guide-count{font-size:13px;color:var(--bakkwo-muted)}
.guide-article p{font-size:16px;line-height:1.85;color:#334155}
.guide-article h2{font-weight:700}
.guide-sources p,.guide-sources li{font-size:14px;line-height:1.75;color:var(--bakkwo-secondary)}
.guide-tabs a,.guide-aside a,.guide-back{color:var(--bakkwo-secondary)}
.guide-tabs a[aria-current=page]{color:#fff}
.finder-count,.finder-results h3{font-size:13px;color:var(--bakkwo-secondary)}
.finder-items strong{font-size:15px;font-weight:650;line-height:1.5}
.catalog-jumps a{font-size:14px;font-weight:500;line-height:1.5}
.home-page input::placeholder,.site-page input::placeholder{color:#63738a;opacity:1}
.home-tool-icon{color:#2457ad}
.directory-mark.image-mark,.home-tool-icon.image{background:#edf3ff;color:#245fc6}
.directory-mark.pdf-mark,.home-tool-icon.pdf{background:#fff0e8;color:#b54724}
.directory-mark.document-mark,.home-tool-icon.document{background:#e9f5ee;color:#197343}
.office-icon,.office-format-icon{background:#e9f5ee;color:#197343}
.pdf-tool-picker .pdf-picker-card .pdf-choice-icon{background:#fff0e8;color:#b54724}
.home-tool-arrow,.office-card-arrow,.home-how li>span{color:#52627a}
.guide-art.pdf{color:#a14b33}.guide-art.image{color:#236b52}.guide-art.submission{color:#66509f}
.guide-bottom p{color:#52627a}
.format-badge,.small-label,.compare-labels span{font-size:12px}
.office-flow li>span,.office-flow li,.office-upload .office-upload-formats,.office-upload .office-upload-limit,.office-file-state,.office-option-hint{font-size:12px;color:#52627a}
.office-options label,.office-batch-setup label{font-size:13px;color:#52627a}
.office-settings .office-status{font-size:13px;color:#52627a}
.office-result-heading p{font-size:14px!important;color:#436951!important}
.office-result #office-note{font-size:14px;color:#466453}
.office-limit summary,.office-limit>p,.office-privacy{font-size:13px;color:#52627a}
.office-utility-card small,.office-menu-heading p,.office-format-group header p{font-size:13px;color:#52627a}
.office-category-jumps a,.pdf-hub-jumps a,.office-jumps a{font-size:12px}
.office-category-jumps span,.pdf-hub-jumps span{font-size:12px;color:#52627a}
.pdf-picker-tabs button{font-size:13px;color:#52627a}
.pdf-picker-tabs button[aria-selected=true],.pdf-picker-tabs button[aria-pressed=true]{color:#2457ad;font-weight:700}
.pdf-picker-tabs button span,.pdf-choice-current,.pdf-choice-format{font-size:12px}
.pdf-picker-card .pdf-choice-copy small{font-size:13px;line-height:1.65;color:#52627a}
.pdf-choice-arrow,.pdf-success{color:#52627a}
.option-note,.file-info span,.field-row,.field-row output,.advanced summary,.advanced label,.range-fields label,.progress-panel p,.text-button,.sample-row,.sample-row button,.quick-tools>span,.quick-tools button,.format-picker label,.background-intro p,.background-compare figcaption,.background-colors>span,.background-colors button,.background-colors label{font-size:12px;line-height:1.7}
.result #background-result>.option-note{font-size:12px}
.office-upload .office-upload-or{font-size:14px;color:#52627a}
.faq-list p{font-size:14px;line-height:1.8}
@media(max-width:900px){.home-header-inner{gap:20px}.home-header nav{margin-left:0;gap:16px}}
@media(max-width:800px){
 .home-header-inner{flex-wrap:wrap;gap:0;padding-top:16px;padding-bottom:0}
 .home-header nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:0 0 100%;width:100%;margin:8px 0 0;gap:0 8px;overflow:visible;padding-bottom:10px;max-width:100%}
 .home-header nav>a{display:flex;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:8px 0;font-size:13px;text-align:center}
 .home-header nav>a[href="/guides/"]{margin-left:0}
 .home-header [data-tool-finder]{align-self:center;min-height:38px;padding:8px;font-size:13px}
 .home-header .home-pdf-link{display:flex}
 .home-hero>p,.hero>p,.tool-hero>p,.office-hero>p,.id-hero p{font-size:15px}
 .home-section-top p{font-size:14px}
 .catalog-jumps a{font-size:13px}
 .home-page input[type=search],.site-page input[type=search]{font-size:16px}
}
@media(max-width:600px){body.tool-directory-page .hero{padding:30px 20px 25px}body.tool-directory-page .hero h1{font-size:29px;letter-spacing:-1px;margin:14px 0 12px}body.tool-directory-page .hero>p{font-size:14px}body.tool-directory-page .directory-wrap{padding:0 20px;margin-top:24px}body.tool-directory-page #tool-search{font-size:16px}}

/* Keep format labels within the same icon tile as the line artwork. */
.directory-mark.document-mark,.home-tool-icon.document{font-size:11px;font-weight:700;letter-spacing:0}