/* FileHoney's shared visual layer. Loaded last for home, tools and support pages. */
:root {
  color-scheme: light;
  --bg: #f8f8f3;
  --page-bg: #f8f8f3;
  --surface: #fff;
  --surface-2: #f2f2ec;
  --text: #252720;
  --muted: #6b6e63;
  --line: #e3e5dc;
  --accent: #a85a13;
  --accent-2: #81420c;
  --honey: #f5b544;
  --honey-soft: #fff1d5;
  --shadow: 0 4px 18px rgb(36 39 30 / 4%);
  --shadow-lg: 0 18px 48px rgb(36 39 30 / 8%);
}
body.dark-forced {
  color-scheme: dark;
  --bg: #1b1e19;
  --page-bg: #1b1e19;
  --surface: #252922;
  --surface-2: #2e332a;
  --text: #f1f2e9;
  --muted: #b1b7a7;
  --line: #3d4337;
  --accent: #f5b544;
  --accent-2: #ffcd76;
  --honey-soft: #3e3422;
}
html { scroll-padding-top: 104px; }
body {
  background: var(--page-bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.015em;
}
body, button, input, select, textarea { font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
a { color: var(--accent); }
button, input, select, textarea { font-weight: 500; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.topbar {
  display: flex !important;
  gap: 28px;
  min-height: 80px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  background: color-mix(in srgb, var(--page-bg) 95%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.topbar .brand { order: 0; justify-content: flex-start; gap: 9px; }
.topbar .brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; background: var(--surface); box-shadow: none; }
.topbar .brand-logo { width: 38px; height: 38px; border-radius: 11px; }
.topbar .brand-word { display: inline !important; color: var(--text); font-size: 21px; font-weight: 750; letter-spacing: -.055em; }
.topbar .brand-file { color: var(--text); }
.topbar .brand-honey { color: var(--accent); }
.topbar .brand-domain { display: none; }
.topbar .top-nav { display: flex; justify-content: center; gap: 3px; flex: 1; min-width: 0; }
.topbar .top-nav > button, .topbar .top-nav > a {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 10px 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.01em;
  box-shadow: none;
}
.topbar .top-nav > a[aria-current], .topbar .top-nav > button:hover, .topbar .top-nav > a:hover { background: var(--surface-2); color: var(--text); }
.topbar .top-nav > a::after { display: none; }
.topbar .topbar-actions { display: flex; align-items: center; flex: 0 0 auto; margin: 0; order: 2; }
.topbar .dark-mode-btn { border-color: var(--line); background: var(--surface); color: var(--text); }
.topbar .menu-toggle { display: none; }
.top-mega-menu, .support-menu { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); }
.top-mega-menu::before { display: none; }
.reveal, .reveal-group > * { opacity: 1; animation: none; transform: none; }
body.finder-mode .workspace {
  display: block;
  min-height: calc(100vh - 80px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 28px 72px;
  background: var(--page-bg);
}
body.finder-mode .tool-finder-landing { display: block; width: min(1160px, 100%); margin: 0 auto; text-align: left; }
body.finder-mode .finder-shell { display: block; width: 100%; padding: 0; background: none; border: 0; box-shadow: none; }
.finder-shell::before, .finder-shell::after { display: none; }
.premium-hero { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; gap: 48px; padding: 72px 0 56px; }
.hero-copy { min-width: 0; }
.section-kicker { margin: 0 0 17px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .14em; line-height: 1.5; }
.hero-copy > .section-kicker { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #b57a26; }
.premium-hero #finderHeading { margin: 0; max-width: none; color: var(--text); font-size: clamp(42px, 4.8vw, 68px); line-height: 1.04; font-weight: 650; letter-spacing: -.065em; text-wrap: initial; }
.premium-hero #finderHeading em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.hero-description { margin: 24px 0 28px; max-width: 480px; color: var(--muted); font-size: 16px; line-height: 1.75; letter-spacing: -.01em; }
.finder-search { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 5px 15px rgb(35 38 28 / 3%); text-align: left; }
.finder-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--honey) 18%, transparent); }
.finder-search > svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; }
.finder-search input, .finder-search input:focus { flex: 1; min-width: 0; width: 100%; min-height: 62px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--text); font-size: 13px; font-weight: 450; line-height: normal; box-shadow: none; outline: none; transform: none; }
.finder-search input::placeholder { color: var(--muted); opacity: 1; }
.search-decoration { display: flex; gap: 12px; align-items: center; white-space: nowrap; color: var(--muted); font-size: 11px; font-weight: 500; text-decoration: none; }
.search-decoration > span { color: var(--text); font-size: 19px; }
.hero-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: 17px; font-size: 11px; }
.hero-suggestions > span { color: var(--muted); }
.hero-suggestions a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.hero-suggestions a:hover { color: var(--accent); }
.promise-strip { display: flex; align-items: center; gap: 38px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.promise-strip > span { display: flex; align-items: center; gap: 8px; }
.promise-strip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.promise-strip > a { margin-left: auto; color: var(--text); text-decoration: none; }
.promise-strip > a span { padding-left: 10px; }
.category-collection { margin: 54px 0 58px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-heading .section-kicker { margin-bottom: 9px; }
.section-heading h2, .catalog-heading h2, .home-workflows h2, .privacy-feature h2 { margin: 0; color: var(--text); font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
.section-heading > a { padding: 8px 0; color: var(--muted); font-size: 11px; text-decoration: none; white-space: nowrap; }
.section-heading > a span { padding-left: 12px; }
.mobile-home-category-grid.premium-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category-link { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 19px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.category-link:hover { border-color: var(--accent); transform: translateY(-3px); }
.category-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 17px; border-radius: 9px; background: #f9eee8; color: #b4654c; }
.category-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.category-link strong { font-size: 13px; font-weight: 650; }
.category-link > span:last-of-type { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.category-link > i { position: absolute; right: 13px; top: 21px; color: #a0a69a; font-size: 15px; font-style: normal; }
.category-image .category-icon { color: #6c8754; background: #eff3e8; }
.category-audio .category-icon { color: #8b78a4; background: #f2edf8; }
.category-video .category-icon { color: #4d8b7f; background: #eaf3f0; }
.category-document .category-icon { color: #69889c; background: #edf2f6; }
.category-utility .category-icon { color: #a18b4f; background: #f9f4e8; }
.catalog-heading { padding-top: 3px; scroll-margin-top: 100px; }
.catalog-heading .section-kicker { margin-bottom: 10px; }
.catalog-heading > p:last-child { margin: 12px 0 23px; color: var(--muted); font-size: 13px; }
body.finder-mode #finderCategoryTabs { display: flex; flex-wrap: nowrap; gap: 5px; max-width: 100%; margin: 0 0 23px; padding: 0 0 12px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
#finderCategoryTabs button { min-height: 36px; padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 500; white-space: nowrap; box-shadow: none; transform: none; }
#finderCategoryTabs button.active, #finderCategoryTabs button[aria-pressed="true"] { border-color: var(--line); background: var(--surface); color: var(--text); box-shadow: 0 2px 4px rgb(35 38 28 / 3%); }
#finderCategoryTabs button:hover { background: var(--surface-2); }
.finder-results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.finder-results-head h2 { margin: 0; color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.finder-results-head > span { color: var(--muted); font-size: 10px; font-weight: 450; }
body.finder-mode #finderResults { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-card-shell { position: relative; min-width: 0; }
#finderResults .tool-card, #finderResults .tool-card:nth-child(n) { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; height: 100%; min-height: 185px; padding: 22px 20px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: none; transform: none; }
#finderResults .tool-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--surface); box-shadow: 0 7px 16px rgb(35 38 28 / 4%); transform: translateY(-2px); }
#finderResults .tool-card::before, #finderResults .tool-card::after { display: none; }
#finderResults .tool-icon { display: grid; place-items: center; width: 39px; height: 39px; min-width: 39px; margin-bottom: 18px; border-radius: 10px; background: #f9eee8; color: #b4654c; box-shadow: none; transform: none; }
#finderResults .tone-photo, #finderResults .tone-resize { background: #eff3e8; color: #6c8754; }
#finderResults .tone-audio { background: #f2edf8; color: #8b78a4; }
#finderResults .tone-video { background: #eaf3f0; color: #4d8b7f; }
#finderResults .tone-convert { background: #edf2f6; color: #69889c; }
#finderResults .tone-compress { background: #f9f4e8; color: #a18b4f; }
#finderResults .tool-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
#finderResults .tool-card > strong { align-self: flex-start; margin-bottom: 6px; color: var(--text); font-size: 14px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; text-align: left; }
#finderResults .tool-card > .hint { display: block; height: auto; min-height: 32px; max-height: none; max-width: 92%; margin: 0 0 14px; overflow: visible; white-space: normal; text-overflow: clip; -webkit-line-clamp: unset; -webkit-box-orient: initial; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
#finderResults .tool-card-kind { display: block; align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; color: var(--muted); font-size: 8px; font-weight: 450; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
#finderResults .tool-favorite-button, body.finder-mode #finderResults .tool-favorite-button { position: absolute; z-index: 2; top: 11px; right: 11px; display: inline-grid; width: 40px; height: 40px; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: #a1a799; opacity: 1; box-shadow: none; }
#finderResults .tool-favorite-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#finderResults .tool-favorite-button:hover { background: var(--surface-2); color: var(--accent); }
#finderResults .tool-favorite-button.active { color: var(--accent); }
#finderResults .tool-favorite-button.active svg { fill: var(--honey-soft); }
.finder-empty { grid-column: 1 / -1; width: 100%; padding: 40px; border: 1px dashed var(--line); border-radius: 12px; background: transparent; color: var(--muted); text-align: center; }
.finder-more { display: flex; justify-content: center; grid-column: 1 / -1; padding: 12px 0 0; }
#finderResults .tool-card { content-visibility: visible; contain-intrinsic-size: none; }
.finder-more .secondary-button { min-height: 42px; padding: 10px 20px; border-color: var(--line); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 500; }
.home-workflows.practical-guide { margin: 62px 0 0; padding: 34px 0 30px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.home-workflows .section-kicker { margin-bottom: 11px; }
.home-workflows .workflow-grid { gap: 30px; margin-top: 30px; }
.home-workflows .workflow-grid article { position: relative; padding-left: 16px; border-left: 2px solid var(--line); }
.home-workflows .workflow-grid h3 { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.5; }
.home-workflows p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.home-workflows > h3 { margin-top: 28px; font-size: 14px; font-weight: 600; }
.home-workflows a { color: var(--text); text-decoration-color: #bcc3b3; }
.privacy-feature { display: grid; grid-template-columns: 65px 1fr 140px; align-items: start; gap: 28px; margin-top: 25px; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.privacy-feature-mark { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--accent); }
.privacy-feature-mark svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.privacy-feature .section-kicker { margin: 0 0 10px; }
.privacy-feature h2 { font-size: 25px; }
.privacy-feature p:not(.section-kicker) { max-width: 590px; margin: 14px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.privacy-feature a { color: var(--text); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #bcc3b3; }
.privacy-feature-note { align-self: center; color: var(--muted); font-family: Georgia, serif; font-size: 23px; font-style: italic; line-height: 1.5; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 22px; padding: 26px max(28px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); background: var(--page-bg); color: var(--muted); }
.site-footer > a { color: var(--muted); font-size: 11px; font-weight: 450; text-decoration: none; }
.site-footer > a:hover { color: var(--text); }
.site-footer .footer-copy { margin-left: auto; font-size: 10px; color: var(--muted); }
.primary-button { border: 1px solid var(--text); border-radius: 9px; background: var(--text); color: var(--surface); font-size: 13px; font-weight: 600; box-shadow: none; }
.primary-button:hover { border-color: var(--accent); background: var(--accent); color: var(--surface); box-shadow: none; transform: none; }
#browseButton.primary-button { border: 1px solid var(--text); border-radius: 9px; background: var(--text); color: var(--surface); box-shadow: none; }
body.dark-forced #browseButton.primary-button { border-color: var(--honey); background: var(--honey); color: #29271e; }
.secondary-button { border-color: var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font-weight: 500; box-shadow: none; }
body.selected-tool-mode { background: var(--page-bg); }
body.selected-tool-mode .workspace { width: min(1160px, calc(100% - 48px)); margin: 28px auto 56px; padding: 0; background: none; }
body.selected-tool-mode .tool-page-hero { padding: 22px 0 6px; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.selected-tool-mode .tool-page-title h1 { color: var(--text); font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.045em; }
body.selected-tool-mode .tool-page-title .eyebrow { color: var(--muted); font-size: 13px; font-weight: 400; }
body.selected-tool-mode .upload-band { padding: 25px; border: 1px dashed #b9c2ac; border-radius: 14px; background: var(--surface); box-shadow: none; }
body.selected-tool-mode .upload-band::before, body.selected-tool-mode .upload-band::after, body.selected-tool-mode .tool-page-hero::after, body.selected-tool-mode .tool-page-hero::before, body.selected-tool-mode .panel::before, body.selected-tool-mode .panel::after { display: none; }
body.selected-tool-mode .upload-art { background: var(--honey-soft); box-shadow: none; }
body.selected-tool-mode .panel, body.selected-tool-mode .status-strip { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
body.selected-tool-mode .panel-head { border-color: var(--line); background: transparent; }
body.selected-tool-mode .panel h2 { color: var(--text); font-size: 14px; font-weight: 600; }
body.selected-tool-mode input, body.selected-tool-mode select, body.selected-tool-mode textarea { border-color: var(--line); border-radius: 7px; background-color: var(--surface); color: var(--text); }
body.selected-tool-mode .tool-usage-guide, .practical-guide { border-color: var(--line); background: var(--surface); color: var(--text); box-shadow: none; }
body.selected-tool-mode .tool-usage-guide h3, .practical-guide h2, .practical-guide h3 { color: var(--text); font-weight: 600; }
body.selected-tool-mode .tool-usage-guide p, body.selected-tool-mode .usage-steps li { color: var(--muted); font-weight: 400; }
.legal-page { background: var(--page-bg); }
.legal-main { max-width: 900px; padding-top: 36px; }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: none; }
.legal-card h1 { font-weight: 600; letter-spacing: -.04em; }
.legal-card h2 { font-weight: 600; font-size: 21px; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.85; }
body.dark-forced .format-tile, body.dark-forced .category-link, body.dark-forced .tool-card { border-color: var(--line); }
body.dark-forced #finderResults .tool-icon, body.dark-forced .category-icon { background: var(--surface-2); color: var(--honey); }
body.dark-forced .primary-button { background: var(--honey); color: #29271e; border-color: var(--honey); }
@media (max-width: 1100px) {
  .topbar { gap: 16px; }
  .topbar .top-nav { display: none; }
  .topbar .topbar-actions { margin-left: auto; order: 1; }
  .topbar .menu-toggle, body.finder-mode .topbar .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; order: 2; margin: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); }
  .menu-toggle-label { display: none; }
  .sidebar.open, body.finder-mode .sidebar.open { position: fixed; top: 0; bottom: 0; left: 0; z-index: 70; display: flex; flex-direction: column; width: min(370px, calc(100% - 32px)); height: 100dvh; border: 0; border-right: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); transform: translateX(0); overflow-y: auto; }
  .sidebar-backdrop.open, body.finder-mode .sidebar-backdrop.open { position: fixed; z-index: 65; inset: 0; display: block; background: rgb(20 25 17 / 35%); }
  .premium-hero { gap: 30px; }
  .hero-toolbox { padding: 25px 15px; gap: 14px; }
  .format-tile { min-height: 168px; padding: 18px 13px 14px; }
  .format-tile strong { font-size: 12px; }
  .format-tile > span:last-child { font-size: 8px; }
  .category-link { padding: 15px 12px; }
  .category-link > span:last-of-type { display: none; }
  .category-link > i { display: none; }
  .search-decoration { display: none; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 82px; }
  .topbar { min-height: 68px; padding: 12px 20px; }
  .topbar .brand-word { font-size: 20px; }
  .topbar .brand-mark, .topbar .brand-logo { width: 34px; height: 34px; }
  .topbar .brand-mark { flex-basis: 34px; }
  body.finder-mode .workspace { padding: 0 20px 36px; }
  .premium-hero { grid-template-columns: 1fr; padding: 42px 0 30px; gap: 0; }
  .premium-hero #finderHeading { font-size: clamp(43px, 8vw, 60px); line-height: 1.04; text-align: left; }
  .hero-description { margin: 20px 0 23px; max-width: 520px; font-size: 14px; line-height: 1.7; }
  .section-kicker { font-size: 9px; letter-spacing: .12em; }
  .finder-search { min-height: 56px; padding: 0 14px; gap: 10px; }
  .finder-search input, .finder-search input:focus { min-height: 54px; padding: 0; margin: 0; background: none; font-size: 12px; box-shadow: none; }
  .finder-search > svg { width: 18px; flex-basis: 18px; }
  .hero-suggestions { gap: 9px 12px; margin-top: 16px; font-size: 9px; }
  .promise-strip { flex-wrap: wrap; gap: 10px 20px; padding: 17px 0; font-size: 10px; }
  .promise-strip > a { display: none; }
  .promise-strip > span { gap: 6px; }
  .promise-strip svg { width: 13px; height: 13px; }
  .category-collection { margin: 31px 0 34px; }
  .section-heading { margin-bottom: 17px; }
  .section-heading h2, .catalog-heading h2, .home-workflows h2 { font-size: 24px; }
  .section-heading > a { display: none; }
  .mobile-home-category-grid.premium-categories { display: grid; grid-template-columns: repeat(6, 112px); gap: 9px; margin-right: -20px; padding: 0 20px 7px 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .premium-categories::-webkit-scrollbar { display: none; }
  .category-link { min-height: 110px; padding: 15px 12px; scroll-snap-align: start; }
  .category-icon { width: 30px; height: 30px; margin-bottom: 14px; border-radius: 8px; }
  .category-link strong { font-size: 11px; }
  .catalog-heading { padding-top: 0; }
  .catalog-heading > p:last-child { margin: 9px 0 19px; font-size: 12px; }
  body.finder-mode #finderCategoryTabs { margin-bottom: 19px; padding-bottom: 10px; }
  .finder-results-head { margin-bottom: 13px; }
  .finder-results-head h2 { font-size: 15px; }
  .finder-results-head > span { font-size: 9px; }
  body.finder-mode #finderResults { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #finderResults .tool-card, #finderResults .tool-card:nth-child(n) { min-height: 182px; padding: 19px 15px 15px; }
  #finderResults .tool-card > strong { font-size: 12px; }
  #finderResults .tool-card > .hint { font-size: 11px; }
  .home-workflows.practical-guide { margin-top: 38px; padding-top: 30px; }
  .home-workflows .workflow-grid { grid-template-columns: 1fr; gap: 19px; margin-top: 24px; }
  .home-workflows p { font-size: 12px; }
  .privacy-feature { grid-template-columns: 44px 1fr; gap: 16px; padding: 24px; margin-top: 14px; }
  .privacy-feature-mark { width: 42px; height: 42px; }
  .privacy-feature-mark svg { width: 24px; height: 24px; }
  .privacy-feature h2 { font-size: 22px; }
  .privacy-feature-note { display: none; }
  body.finder-mode.mobile-category-page .premium-hero, body.finder-mode.mobile-category-page .promise-strip, body.finder-mode.mobile-category-page .category-collection, body.finder-mode.mobile-category-page .catalog-heading { display: none; }
  body.finder-mode.mobile-category-page .finder-results-head { display: flex; }
  body.finder-mode.mobile-category-page #finderCategoryTabs { display: flex; margin-top: 16px; }
  .mobile-category-page-head { margin: 0 0 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mobile-category-page-head .mobile-category-back, .mobile-category-page-head strong { color: var(--text); font-weight: 600; }
  .mobile-category-page-head > div span { color: var(--muted); font-weight: 450; }
  .mobile-bottom-nav { z-index: 30; border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; background: color-mix(in srgb, var(--surface) 95%, transparent); box-shadow: 0 -3px 15px rgb(35 38 28 / 3%); backdrop-filter: blur(12px); }
  .mobile-bottom-item { color: var(--muted); font-weight: 500; }
  .mobile-bottom-item.active { color: var(--accent); background: none; }
  .site-footer { gap: 14px 20px; padding: 25px 20px 98px; }
  .site-footer .footer-copy { width: 100%; margin: 6px 0 0; }
  body.selected-tool-mode .workspace { width: calc(100% - 32px); margin: 14px auto 30px; padding-bottom: 55px; }
  body.selected-tool-mode .tool-page-hero { padding: 14px 0 4px; }
  body.selected-tool-mode .upload-band { padding: 20px; }
  body.selected-tool-mode .content-grid { grid-template-columns: minmax(0, 1fr); }
  body.selected-tool-mode .content-grid > * { grid-column: 1; min-width: 0; }
  .legal-main { padding: 18px 16px; }
}
@media (max-width: 560px) {
  body.finder-mode #finderResults { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #finderResults .tool-card, #finderResults .tool-card:nth-child(n) { min-height: 180px; padding: 17px 14px 14px; }
  #finderResults .tool-icon { width: 34px; height: 34px; min-width: 34px; margin-bottom: 17px; border-radius: 9px; }
  #finderResults .tool-icon svg { width: 18px; height: 18px; }
  #finderResults .tool-card > strong { padding-right: 0; font-size: 13px; }
  #finderResults .tool-card > .hint { max-width: 100%; margin-bottom: 10px; font-size: 11px; line-height: 1.6; }
  #finderResults .tool-card-kind { font-size: 9px; }
  #finderResults .tool-favorite-button { top: 7px; right: 5px; width: 40px; height: 40px; }
  .desktop-break { display: none; }
  .privacy-feature { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 360px) {
  .topbar { padding-left: 16px; padding-right: 16px; gap: 10px; }
  body.finder-mode .workspace { padding-left: 16px; padding-right: 16px; }
  .premium-hero { padding-top: 34px; }
  .premium-hero #finderHeading { font-size: 39px; }
  .hero-copy > .section-kicker { font-size: 8px; letter-spacing: .07em; }
  .promise-strip { gap: 10px 14px; font-size: 9px; }
  .hero-suggestions { gap: 9px; font-size: 8px; }
  .section-heading h2, .catalog-heading h2 { font-size: 22px; }
  .mobile-home-category-grid.premium-categories { margin-right: -16px; padding-right: 16px; }
  #finderResults .tool-card, #finderResults .tool-card:nth-child(n) { padding: 16px 12px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.pdf-operation-status {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel, #fff);
  font-size: .9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.pdf-operation-status[data-state="busy"] { border-left: 4px solid #b58413; }
.pdf-operation-status[data-state="done"] { border-left: 4px solid #398264; }
.pdf-operation-status[data-state="error"] { border-left: 4px solid #bf5346; }
#toolBody .data-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
#toolBody .data-table th, #toolBody .data-table td { padding: .65rem; border-bottom: 1px solid var(--line); text-align: left; }
#toolBody [aria-live], #toolBody .code-box { overflow-wrap: anywhere; }

/* Homepage: a focused directory with FileHoney's honey accent. */
body.finder-mode {
  --bg: #f6f7f9;
  --page-bg: #f6f7f9;
  --surface: #fff;
  --surface-2: #eceef2;
  --text: #19212e;
  --muted: #626c7a;
  --line: #e1e5eb;
  --accent: #8b5500;
  --accent-2: #6b4100;
  --honey: #f8c448;
  --honey-soft: #fff3cd;
  letter-spacing: -.015em;
}
body.finder-mode.dark-forced {
  --bg: #141820;
  --page-bg: #141820;
  --surface: #1d2430;
  --surface-2: #283140;
  --text: #f1f4fa;
  --muted: #adb7c7;
  --line: #343e4e;
  --accent: #f8c448;
  --accent-2: #ffda7d;
  --honey-soft: #3e3420;
}
body.finder-mode .topbar {
  min-height: 72px;
  padding: 12px max(28px, calc((100vw - 1160px) / 2));
  gap: 24px;
  background: var(--surface);
  backdrop-filter: none;
}
body.finder-mode .topbar .brand-word { font-size: 22px; letter-spacing: -.06em; }
body.finder-mode .topbar .brand-honey { color: var(--text); }
body.finder-mode .topbar .top-nav { justify-content: flex-end; }
body.finder-mode .topbar .top-nav > button,
body.finder-mode .topbar .top-nav > a { font-size: 12px; padding: 10px 9px; }
body.finder-mode .topbar .top-nav > a[aria-current] { background: var(--honey-soft); color: var(--accent); }
body.finder-mode .topbar .dark-mode-btn { border-radius: 10px; }
body.finder-mode .workspace { padding-bottom: 56px; }
body.finder-mode .premium-hero { display: block; padding: 36px 0 12px; text-align: center; }
body.finder-mode .hero-copy { max-width: 1000px; margin: 0 auto; }
body.finder-mode .hero-copy > .section-kicker {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .1em;
}
body.finder-mode .status-dot { background: #d19712; }
body.finder-mode .premium-hero #finderHeading {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 49px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-align: center;
}
body.finder-mode #finderHeading > span { box-shadow: inset 0 -.13em var(--honey); }
body.finder-mode #finderHeading > br { display: none; }
body.finder-mode .hero-description { max-width: 600px; margin: 16px auto 22px; font-size: 14px; line-height: 1.65; }
body.finder-mode .finder-search {
  max-width: 600px;
  min-height: 60px;
  margin: 0 auto;
  padding: 7px 8px 7px 18px;
  gap: 12px;
  border-color: #c8ced8;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgb(24 33 48 / 5%);
}
body.finder-mode.dark-forced .finder-search { border-color: var(--line); }
body.finder-mode .finder-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--honey-soft); }
body.finder-mode .finder-search input,
body.finder-mode .finder-search input:focus { min-height: 44px; font-size: 14px; }
body.finder-mode .search-decoration { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 8px; background: var(--honey); color: #352709; }
body.finder-mode .search-decoration svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.finder-mode .search-decoration:hover { background: #edb62e; }
body.finder-mode .hero-suggestions { justify-content: center; gap: 8px 12px; margin-top: 16px; font-size: 11px; }
body.finder-mode .hero-suggestions a { text-decoration: none; }
body.finder-mode .hero-suggestions a > span { padding-left: 3px; color: var(--muted); }
body.finder-mode .hero-suggestions a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.finder-mode .promise-strip { justify-content: center; gap: 26px; padding: 14px 0; border: 0; font-size: 11px; }
body.finder-mode .promise-strip svg { color: var(--muted); width: 14px; height: 14px; }
body.finder-mode .category-collection { margin: 26px 0 30px; }
body.finder-mode .section-heading { align-items: center; margin-bottom: 14px; }
body.finder-mode .section-heading h2 { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
body.finder-mode .section-note { font-size: 11px; color: var(--muted); }
body.finder-mode .mobile-home-category-grid.premium-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; overflow: visible; }
body.finder-mode .category-link { padding: 17px 14px; border-radius: 10px; background: var(--surface); }
body.finder-mode .category-link:hover { border-color: #c6a445; transform: translateY(-2px); }
body.finder-mode .category-icon { width: 30px; height: 30px; margin-bottom: 12px; border-radius: 7px; }
body.finder-mode .category-link strong { font-size: 12px; font-weight: 650; }
body.finder-mode .category-link > span:last-of-type { font-size: 10px; margin-top: 5px; }
body.finder-mode .category-link > i { top: 15px; right: 13px; color: var(--muted); }
body.finder-mode .catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; padding: 25px 0 0; border-top: 1px solid var(--line); }
body.finder-mode .catalog-heading .section-kicker { margin: 0 0 8px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
body.finder-mode .catalog-heading h2 { font-size: 26px; font-weight: 700; letter-spacing: -.04em; }
body.finder-mode .catalog-browse { display: inline-flex; align-items: center; gap: 14px; min-height: 42px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 600; box-shadow: none; white-space: nowrap; }
body.finder-mode .catalog-browse:hover { border-color: var(--accent); background: var(--honey-soft); transform: none; }
body.finder-mode #finderCategoryTabs { flex-wrap: wrap; gap: 5px; margin-bottom: 19px; padding-bottom: 16px; }
body.finder-mode #finderCategoryTabs button { min-height: 36px; padding: 8px 11px; border-radius: 6px; font-size: 11px; }
body.finder-mode #finderCategoryTabs button.active,
body.finder-mode #finderCategoryTabs button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--surface); box-shadow: none; }
body.finder-mode .finder-results-head { margin: 0 0 15px; scroll-margin-top: 92px; }
body.finder-mode .finder-results-head h2 { font-size: 15px; font-weight: 650; }
body.finder-mode .finder-results-head > span { font-size: 11px; }
body.finder-mode #finderResults { gap: 12px; }
body.finder-mode #finderResults .tool-card,
body.finder-mode #finderResults .tool-card:nth-child(n) { min-height: 184px; padding: 20px 18px 16px; border-radius: 11px; transition: border-color .15s, box-shadow .15s, transform .15s; }
body.finder-mode #finderResults .tool-card:hover { border-color: #b0b8c5; box-shadow: 0 5px 18px rgb(24 33 48 / 6%); transform: translateY(-2px); }
body.finder-mode #finderResults .tool-icon { width: 36px; height: 36px; min-width: 36px; border-radius: 8px; margin-bottom: 16px; }
body.finder-mode #finderResults .tool-card > strong { margin-bottom: 7px; max-width: 100%; font-size: 14px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; }
body.finder-mode #finderResults .tool-card > .hint { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; min-height: 36px; max-height: 36px; margin-bottom: 15px; font-size: 12px; line-height: 18px; }
body.finder-mode #finderResults .tool-card-kind { font-size: 9px; letter-spacing: .06em; color: var(--muted); }
body.finder-mode #finderResults .tool-favorite-button { top: 10px; right: 9px; width: 40px; height: 40px; color: var(--muted); }
body.finder-mode #finderResults .tool-favorite-button.active { color: var(--accent); }
body.finder-mode .home-workflows.practical-guide { margin-top: 48px; padding: 30px 0 20px; }
body.finder-mode .home-workflows h2 { font-size: 26px; font-weight: 700; }
body.finder-mode .home-workflows .workflow-grid { gap: 14px; margin-top: 24px; counter-reset: workflow; }
body.finder-mode .home-workflows .workflow-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
body.finder-mode .home-workflows .workflow-grid article::before { counter-increment: workflow; content: "0" counter(workflow); display: inline-block; margin-bottom: 16px; color: var(--accent); font-size: 12px; font-weight: 700; }
body.finder-mode .home-workflows .workflow-grid h3 { margin: 0 0 10px; }
body.finder-mode .home-workflows p { margin-top: 0; }
body.finder-mode .privacy-feature { grid-template-columns: 52px 1fr; padding: 28px; gap: 22px; border-radius: 12px; background: var(--surface); }
body.finder-mode .privacy-feature-mark { width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--honey-soft); }
body.finder-mode .privacy-feature h2 { font-size: 26px; font-weight: 700; }
body.finder-mode .privacy-feature p:not(.section-kicker) { max-width: 750px; }
body.finder-mode .privacy-feature-note { display: none; }
body.finder-mode .site-footer { background: var(--surface); }
@media (max-width: 1100px) and (min-width: 861px) {
  body.finder-mode .topbar { gap: 16px; }
  body.finder-mode .topbar .top-nav > button,
  body.finder-mode .topbar .top-nav > a { font-size: 11px; padding: 9px 7px; }
  body.finder-mode .category-link { padding: 15px 11px; }
}
@media (max-width: 860px) {
  body.finder-mode .topbar { min-height: 64px; padding: 12px 20px; gap: 12px; }
  body.finder-mode .topbar .top-nav { display: none; }
  body.finder-mode .topbar .brand { flex: 1; }
  body.finder-mode .topbar .brand-word { font-size: 21px; }
  body.finder-mode .topbar .menu-toggle { display: inline-flex; }
  body.finder-mode .premium-hero { padding: 26px 0 10px; }
  body.finder-mode .premium-hero #finderHeading { font-size: clamp(35px, 7vw, 50px); line-height: 1.1; }
  body.finder-mode #finderHeading > br { display: initial; }
  body.finder-mode .hero-copy > .section-kicker { display: none; }
  body.finder-mode .hero-description { margin: 15px 0 20px; font-size: 13px; line-height: 1.65; }
  body.finder-mode .finder-search { min-height: 54px; padding: 6px 7px 6px 14px; gap: 9px; }
  body.finder-mode .finder-search input,
  body.finder-mode .finder-search input:focus { min-height: 40px; font-size: 12px; }
  body.finder-mode .search-decoration { width: 38px; height: 38px; flex-basis: 38px; }
  body.finder-mode .hero-suggestions { gap: 7px 10px; margin-top: 13px; font-size: 10px; }
  body.finder-mode .promise-strip { flex-wrap: wrap; gap: 8px 16px; padding: 10px 0; font-size: 10px; }
  body.finder-mode .promise-strip > span { gap: 5px; }
  body.finder-mode .category-collection { margin: 16px 0 18px; }
  body.finder-mode .section-heading { margin-bottom: 12px; }
  body.finder-mode .section-heading h2 { font-size: 14px; }
  body.finder-mode .section-note { display: none; }
  body.finder-mode .mobile-home-category-grid.premium-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body.finder-mode .category-link { flex-direction: row; align-items: center; gap: 9px; min-height: 58px; padding: 10px; }
  body.finder-mode .category-icon { width: 28px; height: 28px; flex: 0 0 28px; margin: 0; }
  body.finder-mode .category-icon svg { width: 17px; height: 17px; }
  body.finder-mode .category-link strong { font-size: 11px; line-height: 1.3; }
  body.finder-mode .category-link > span:last-of-type,
  body.finder-mode .category-link > i { display: none; }
  body.finder-mode .catalog-heading { align-items: flex-end; margin-bottom: 16px; padding-top: 22px; }
  body.finder-mode .catalog-heading h2 { max-width: 240px; font-size: 24px; line-height: 1.15; }
  body.finder-mode .catalog-heading .section-kicker { display: none; }
  body.finder-mode .catalog-browse { gap: 8px; min-height: 36px; padding: 8px 10px; font-size: 10px; }
  body.finder-mode #finderCategoryTabs { flex-wrap: nowrap; margin-bottom: 16px; padding-bottom: 12px; scrollbar-width: thin; }
  body.finder-mode #finderCategoryTabs button { min-height: 36px; padding: 8px 10px; font-size: 11px; }
  body.finder-mode .finder-results-head { scroll-margin-top: 80px; }
  body.finder-mode #finderResults .tool-card,
  body.finder-mode #finderResults .tool-card:nth-child(n) { min-height: 180px; padding: 17px 14px 14px; }
  body.finder-mode #finderResults .tool-card > strong { font-size: 13px; }
  body.finder-mode #finderResults .tool-card > .hint { font-size: 11px; }
  body.finder-mode #finderResults .tool-favorite-button { top: 7px; right: 5px; }
  body.finder-mode .home-workflows .workflow-grid { grid-template-columns: 1fr; }
  body.finder-mode .home-workflows h2,
  body.finder-mode .privacy-feature h2 { font-size: 23px; }
  body.finder-mode .privacy-feature { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  body.finder-mode .mobile-bottom-nav { background: var(--surface); border-radius: 0; backdrop-filter: none; box-shadow: 0 -2px 10px rgb(24 33 48 / 4%); }
  body.finder-mode .mobile-bottom-item.active { color: var(--accent); }
  body.finder-mode .workspace { padding-bottom: 30px; }
}
@media (max-width: 380px) {
  body.finder-mode .topbar { padding-left: 16px; padding-right: 16px; }
  body.finder-mode .premium-hero { padding-top: 28px; }
  body.finder-mode .premium-hero #finderHeading { font-size: 33px; }
  body.finder-mode .hero-suggestions { gap: 7px; font-size: 9px; }
  body.finder-mode .promise-strip { gap: 8px 10px; font-size: 9px; }
  body.finder-mode .category-link { gap: 6px; padding: 8px; }
  body.finder-mode .category-link strong { font-size: 10px; }
  body.finder-mode .category-icon { width: 24px; height: 26px; flex-basis: 24px; }
  body.finder-mode .catalog-heading h2 { font-size: 21px; }
  body.finder-mode .catalog-browse { gap: 6px; padding: 8px; font-size: 9px; }
}
