@import url('/assets/workspace.css');

:root {
  --ink: #24262b;
  --muted: #666d78;
  --line: #e4e7ed;
  --primary: #3159d5;
  --surface: #fff;
  --soft: #f7f9fd;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
input, select { min-width: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #6c8aec;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px #0000000a; }
.header-inner { max-width: 1200px; height: 65px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; color: #dd3b35; font-size: 26px; font-weight: 700; letter-spacing: -1px; }
.ui-icon { display: inline-block; width: 16px; height: 16px; flex: none; fill: currentColor; vertical-align: middle; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.header-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-link { font-size: 13px; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #d43e3f; }
.nav-link[aria-current="page"] { background: #fff5f5; border-radius: 18px; padding: 8px 12px; margin: -8px -12px; }
.header-actions { display: flex; align-items: center; gap: 11px; }
.header-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.header-icon-button .ui-icon { width: 19px; height: 19px; }
.header-icon-button:hover { border-color: #e7a0a3; color: #d43e3f; }
.menu-open { display: none; }
.language-picker { position: relative; }
.language-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 31px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 12px; font-weight: 700; white-space: nowrap; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: #df5960; }
.language-trigger .ui-icon { width: 11px; height: 11px; }
.language-flag { display: block; width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px #00000012; }
.language-popover { position: absolute; top: calc(100% + 8px); right: 0; z-index: 65; width: 250px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 9px 25px #1d2c4d24; }
.language-search-wrap { padding: 9px; border-bottom: 1px solid var(--line); }
.language-search { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 13px; }
.language-options { max-height: 249px; overflow-y: auto; overscroll-behavior: contain; }
.language-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 39px; padding: 8px 13px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; text-align: left; }
.language-option:last-child { border-bottom: 0; }
.language-option:hover, .language-option:focus-visible, .language-option[aria-selected="true"] { background: var(--soft); }
.language-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 13px; }
.hero { background: linear-gradient(110deg, #28428f, #2563eb 70%, #4079f0); text-align: center; color: #fff; padding: 52px 0 33px; }
.hero h1 { font-size: 42px; margin: 0 0 16px; letter-spacing: -1px; }
.hero p { font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; border: 0; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; min-height: 44px; }
.button-light { background: #fff; color: #2559cf; border-radius: 25px; }
.button-light .ui-icon { width: 16px; height: 16px; }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover:not(:disabled) { background: #2549b7; }
.home-directory { background: var(--surface); }
.tools-section { padding-top: 18px; padding-bottom: 40px; scroll-margin-top: 78px; }
.tool-category { margin: 0 0 36px; }
.tool-category > h2 { position: relative; font-size: 21px; border-bottom: 2px solid var(--line); padding-bottom: 12px; margin: 0 0 22px; }
.tool-category > h2::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 44px; border-bottom: 2px solid #3159d5; }
.tool-category > h2 a:hover { color: var(--primary); }
.category-hero { background: linear-gradient(110deg, #28428f, #2563eb 70%, #4079f0); color: #fff; text-align: center; padding: 50px 0 46px; }
.category-hero h1 { font-size: 36px; margin: 0 0 12px; }
.category-hero p { max-width: 720px; margin: auto; font-size: 15px; line-height: 1.6; }
.category-page { min-height: 210px; padding-top: 36px; padding-bottom: 80px; }
.category-page .back-link { margin-bottom: 24px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 15px 14px; min-height: 92px; }
.tool-card:hover { border-color: #aebfe9; background: #fafbff; }
.tool-card > div { min-width: 0; }
.tool-card h3 { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0 0 5px; }
.tool-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.tool-icon { width: 43px; height: 43px; flex-shrink: 0; display: grid; place-items: center; font-size: 25px; border-radius: 8px; background: #f1ecff; color: #7454b7; }
.tool-icon svg { width: 24px; height: 24px; fill: currentColor; }
.tone-peach .tool-icon { background: #fff1e8; color: #bb6333; }
.tone-mint .tool-icon { background: #eaf8f0; color: #32895a; }
.tone-blue .tool-icon { background: #eaf2fc; color: #3c7baa; }
.tone-pink .tool-icon { background: #fcecf2; color: #b14d75; }
.tone-yellow .tool-icon { background: #fcf5df; color: #aa8432; }
.privacy-note { font-size: 12px; text-align: center; color: var(--muted); margin: 35px 0 0; }
.site-footer { border-top: 4px solid #e6414c; background: #f8fafd; color: #516481; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 56px; padding-top: 56px; padding-bottom: 58px; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 700; color: #172136; }
.footer-brand p { margin: 26px 0 0; line-height: 1.6; }
.footer-links h2 { position: relative; margin: 4px 0 28px; font-size: 20px; color: #172136; }
.footer-links h2::after { content: ''; position: absolute; left: 0; bottom: -11px; width: 44px; border-bottom: 3px solid #e63741; }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 0 0 14px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a .ui-icon { width: 13px; height: 13px; color: #e63741; }
.footer-links a:hover { color: #d43e3f; }
.footer-bottom { padding: 25px 15px; border-top: 1px solid var(--line); background: #f0f3f8; text-align: center; }
.legal-page { max-width: 1020px; padding-top: 34px; padding-bottom: 75px; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; }
.legal-page > h1 { margin: 0 0 25px; padding-bottom: 12px; border-bottom: 2px solid #d9383f; color: #1a4570; font-size: 35.2px; font-weight: 600; text-align: center; }
.legal-language-note { margin: -8px 0 18px; color: var(--muted); font-size: 14px; text-align: center; }
.legal-card { padding: 34px 30px 45px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); box-shadow: 0 1px 10px #1f2d4a0c; color: #444; font-size: 16px; line-height: 1.6; }
.legal-card h1 { margin: 0 0 25px; padding-bottom: 12px; border-bottom: 2px solid #d9383f; color: #1a4570; font-size: 35.2px; font-weight: 600; line-height: 1.7; text-align: center; }
.legal-card h2 { margin: 25px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #d9383f; color: #1a4570; font-size: 24px; line-height: 1.7; }
.legal-card h3 { margin: 20px 0 10px; color: #333; font-size: 19.2px; line-height: 1.7; }
.legal-card p { margin: 0 0 15px; }
.legal-card ul { margin: 0 0 18px; padding-left: 25px; }
.legal-page[dir="rtl"] .legal-card ul { padding-right: 25px; padding-left: 0; }
.legal-card li { margin: 0 0 9px; }
.info-page { min-height: 70vh; max-width: 850px; padding-top: 65px; padding-bottom: 65px; }
.info-page h1 { font-size: 32px; margin: 0 0 25px; }
.info-page p { color: var(--muted); line-height: 1.8; margin: 0 0 30px; }
.blog-page { padding-top: 32px; padding-bottom: 80px; min-height: 70vh; }
.blog-heading { text-align: center; margin-bottom: 26px; }
.blog-heading h1 { color: #1e416a; font-size: 36px; margin: 0 0 26px; line-height: 1.2; }
.blog-heading h1::after { content: ''; display: block; width: 50px; height: 3px; background: #c94b51; margin: 12px auto 0; }
.blog-heading p { color: var(--muted); max-width: 650px; line-height: 1.5; margin: 0 auto; }
.blog-search { display: flex; max-width: 565px; height: 50px; margin: 0 auto 30px; border-radius: 28px; overflow: hidden; box-shadow: 0 3px 12px #00000012; }
.blog-search input { flex: 1; min-width: 0; padding: 0 20px; border: 1px solid var(--line); border-right: 0; border-radius: 28px 0 0 28px; background: var(--surface); }
.blog-search button { width: 66px; border: 0; background: #c94b51; color: #fff; }
.blog-search-status { text-align: center; color: var(--muted); margin: 0 0 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { min-width: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); overflow: hidden; box-shadow: 0 1px 5px #0000000a; }
.blog-card-image { display: block; height: 210px; overflow: hidden; }
.blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-card-content { padding: 16px 18px; }
.blog-card h2 { color: #1e416a; font-size: 20px; line-height: 1.3; margin: 0 0 14px; }
.blog-card h2 a:hover, .blog-card-bottom a:hover { color: #a83238; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #6a6a6a; font-size: 12px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.blog-meta .ui-icon, .blog-card-bottom .ui-icon, .recent-post .ui-icon { width: 12px; height: 12px; color: #c94b51; }
.blog-card p { color: #464646; line-height: 1.55; font-size: 14px; min-height: 45px; margin: 14px 0; white-space: normal; }
.blog-card-bottom { border-top: 1px solid var(--line); padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #888; font-size: 12px; }
.blog-card-bottom span, .blog-card-bottom a { display: inline-flex; align-items: center; gap: 5px; }
.blog-card-bottom a { color: #c94b51; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 25px; padding-top: 20px; padding-bottom: 65px; }
.article-page { min-width: 0; }
.article-page .back-link { color: #c94b51; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.article-page header { margin: 0 0 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.article-page h1 { color: #1e416a; font-size: 32px; line-height: 1.3; margin: 0 0 12px; }
.article-page .blog-meta { font-size: 14px; gap: 20px; }
.article-featured-image { display: block; width: 100%; max-height: 450px; object-fit: cover; border-radius: 5px; margin: 0 0 32px; }
.article-body { color: #444; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.article-body h1, .article-body h2 { color: #1e416a; font-size: 26px; line-height: 1.35; margin: 30px 0 15px; padding-bottom: 8px; border-bottom: 1px solid #c94b51; }
.article-body h3 { color: #333; font-size: 21px; margin: 25px 0 12px; }
.article-body h4 { font-size: 18px; margin: 20px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { padding-left: 28px; margin: 0 0 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: #c94b51; }
.article-body a:hover { text-decoration: underline; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 20px 0; border-radius: 5px; }
.article-body pre { overflow: auto; white-space: pre-wrap; padding: 14px; background: var(--soft); }
.article-body table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px; }
.blog-sidebar { align-self: start; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: 20px; }
.blog-sidebar h2 { color: #1e416a; font-size: 20px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #c94b51; }
.recent-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent-post:last-child { border-bottom: 0; }
.recent-post img { flex: 0 0 70px; width: 70px; height: 55px; object-fit: cover; border-radius: 3px; }
.recent-post strong { display: block; font-size: 14px; line-height: 1.35; }
.recent-post small { display: flex; align-items: center; gap: 4px; color: #888; font-size: 12px; margin-top: 6px; }
.blog-discussion { margin-top: 45px; padding-top: 28px; border-top: 2px solid #c94b51; }
.blog-discussion h2 { color: #1e416a; font-size: 23px; margin: 0 0 24px; }
.blog-discussion > p { color: var(--muted); }
.blog-comment-list { list-style: none; margin: 0; padding: 0; }
.blog-comment-list li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.blog-comment-list li div { display: flex; gap: 10px; align-items: baseline; }
.blog-comment-list strong { color: #1e416a; }
.blog-comment-list time { color: #888; font-size: 13px; }
.blog-comment-list p { color: #555; line-height: 1.65; margin: 10px 0 0; }
.blog-reply { margin-top: 35px; padding: 25px; border: 1px solid var(--line); background: var(--surface); border-radius: 5px; }
.blog-reply h3 { color: #1e416a; font-size: 21px; margin: 0 0 20px; }
.blog-reply form { display: grid; gap: 16px; }
.blog-reply-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.blog-reply label span { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14px; }
.blog-reply input, .blog-reply textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: var(--surface); color: var(--ink); }
.blog-reply button { justify-self: start; border: 0; border-radius: 4px; background: #c94b51; color: #fff; padding: 12px 20px; font-weight: 600; }
.static-page > p { color: var(--muted); line-height: 1.75; }
.static-page a:not(.button) { color: var(--primary); text-decoration: underline; }
.contact-page { max-width: 760px; }
.contact-form { display: grid; gap: 19px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #cbd1dd; border-radius: 6px; padding: 12px 13px; background: #fff; color: var(--ink); line-height: 1.5; }
.contact-form textarea { resize: vertical; }
.contact-form .optional { color: var(--muted); font-weight: 400; }
.contact-form .button { justify-self: start; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice, .form-error { padding: 14px 16px; border-radius: 6px; }
.form-notice { color: #23643e !important; background: #ecf8f0; }
.form-error { color: #a32e2e !important; background: #fff0f0; }
.feedback-section { max-width: 860px; padding-top: 28px; padding-bottom: 70px; }
.feedback-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rating-form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-right: auto; }
.rating-form label { font-weight: 600; font-size: 14px; }
.rating-form select { min-height: 44px; border: 1px solid #cbd1dd; border-radius: 6px; padding: 8px; background: #fff; }
.rating-summary, .share-status { color: var(--muted); font-size: 13px; }
.button-secondary { border: 1px solid #cbd1dd; background: #fff; color: var(--ink); }
.button-secondary:hover { background: #f5f7fc; }
.report-panel { margin: 18px 0 30px; }
.report-panel summary { color: var(--primary); cursor: pointer; font-size: 14px; }
.report-panel .feedback-form { margin-top: 16px; }
.discussion h2 { font-size: 22px; margin: 0 0 18px; }
.discussion h3 { font-size: 19px; margin: 32px 0 17px; }
.discussion > p, .feedback-form > p { color: var(--muted); font-size: 14px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list time { margin-left: 10px; color: var(--muted); font-size: 12px; }
.comment-list p { line-height: 1.6; white-space: normal; }
.feedback-form { display: grid; gap: 16px; }
.feedback-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feedback-form label { font-size: 14px; font-weight: 600; }
.feedback-form label small { color: var(--muted); font-weight: 400; }
.feedback-form input, .feedback-form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #cbd1dd; border-radius: 6px; background: #fff; }
.feedback-form .button { justify-self: start; }
.category-links { padding: 34px 18px 26px; text-align: center; }
.category-links h2 { margin: 0 0 17px; color: #42464d; font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.category-pill-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; max-width: 1000px; margin: 0 auto; }
.category-pill { display: inline-block; padding: 7px 16px; border: 1px solid #dce3f1; border-radius: 19px; background: #fafbfe; color: #47566f; font-size: 13px; font-weight: 700; line-height: 1.3; }
.category-pill:hover, .category-pill:focus-visible { color: #2559cf; border-color: #9cb5ed; background: #eef3ff; }
.button-outline { margin-top: 32px; border: 1px solid #3262d9; background: var(--surface); color: #2559cf; border-radius: 22px; }
.button-outline:hover { background: #eef3ff; }
.category-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 36px; padding-bottom: 48px; }
.category-card { min-width: 0; min-height: 195px; padding: 24px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; }
.category-card:hover { border-color: #9cb5ed; box-shadow: 0 4px 14px #3159d51a; }
.category-card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; color: #2862d8; background: #eef3ff; }
.category-card-icon .ui-icon { width: 24px; height: 24px; }
.category-card h2 { margin: 13px 0 8px; font-size: 17px; }
.category-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.recent-page, .pricing-page { min-height: 56vh; padding-top: 55px; padding-bottom: 80px; }
.recent-page h1 { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; font-size: 32px; }
.recent-page h1 .ui-icon { width: 29px; height: 29px; color: #d43e3f; }
.recent-page > p, .pricing-page > p { color: var(--muted); line-height: 1.6; }
.recent-page .tool-grid { margin-top: 26px; }
#recent-empty a { color: var(--primary); text-decoration: underline; }
.pricing-page { text-align: center; }
.pricing-page h1 { margin: 0 0 14px; font-size: 38px; }
.pricing-page > p { max-width: 660px; margin: 0 auto 30px; }
.pricing-card { max-width: 465px; margin: 0 auto; border: 1px solid #20af84; border-radius: 15px; background: var(--surface); overflow: hidden; text-align: left; box-shadow: 0 10px 30px #10203510; }
.pricing-card-header { display: flex; flex-direction: column; align-items: center; padding: 22px; background: #16ad83; color: #fff; }
.pricing-card-header span { font-size: 20px; font-weight: 800; letter-spacing: .06em; }
.pricing-card-header strong { margin-top: 13px; font-size: 44px; }
.pricing-card-header small { font-size: 13px; }
.pricing-card-body { padding: 20px 28px 28px; }
.pricing-card-body ul { margin: 0 0 22px; padding: 0; list-style: none; }
.pricing-card-body li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pricing-card-body li::before { content: '✓'; display: inline-block; width: 25px; color: #16ad83; font-weight: 800; }
.pricing-card-body .button { width: 100%; }
.pricing-page .pricing-note { margin-top: 22px; font-size: 13px; }
.search-dialog { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: linear-gradient(#f1f5ffef, #fffffff2 42%, #ffffffed); color: var(--ink); backdrop-filter: blur(7px); }
.search-dialog::backdrop { background: transparent; }
.search-close { position: absolute; top: 17px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; }
.search-close .ui-icon { width: 25px; height: 25px; }
.search-inner { max-width: 1000px; max-height: calc(100dvh - 65px); margin: 0 auto; padding: 85px 22px 35px; overflow: auto; }
.search-input-wrap { display: flex; align-items: center; gap: 12px; width: min(700px, 100%); height: 68px; margin: 0 auto; padding: 0 22px; border: 2px solid #e63e49; border-radius: 40px; background: var(--surface); }
.search-input-wrap input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 20px; }
.search-input-wrap .ui-icon { width: 24px; height: 24px; color: #9299a3; }
.search-hint { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.search-result { min-height: 85px; }
.search-result p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.mobile-menu { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--surface); color: var(--ink); overflow-y: auto; box-shadow: 6px 0 26px #0003; }
.mobile-menu::backdrop { background: #10172588; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.menu-heading .brand { font-size: 22px; }
.mobile-menu nav { display: grid; padding: 20px 16px; gap: 7px; }
.mobile-menu nav a { display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 10px 12px; border-radius: 7px; font-size: 14px; }
.mobile-menu nav a:hover { background: var(--soft); color: var(--primary); }
.mobile-settings { display: grid; gap: 12px; padding: 20px 22px; border-top: 1px solid var(--line); }
.mobile-settings-label { font-size: 13px; font-weight: 700; }
.mobile-language-picker .language-trigger { width: 100%; justify-content: flex-start; min-height: 42px; border-radius: 6px; font-size: 14px; }
.mobile-language-picker .language-trigger .ui-icon { margin-left: auto; }
.mobile-language-picker .language-popover { position: static; width: 100%; margin-top: 7px; box-shadow: none; }
.mobile-language-picker .language-options { max-height: 230px; }
.mobile-theme-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 8px 0; border: 0; background: transparent; text-align: left; }
.mobile-bottom-nav { display: none; }
#back-to-top { position: fixed; right: 22px; bottom: 24px; z-index: 45; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid #e6424b; border-radius: 50%; background: #172136; color: #fff; box-shadow: 0 4px 14px #0003; }
#back-to-top .ui-icon { width: 20px; height: 20px; }
#back-to-top:hover { background: #2d3f69; }
.skip-link { position: absolute; top: -100px; left: 10px; background: #fff; padding: 14px; z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 1000px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { gap: 28px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-open { display: inline-flex; border-color: #d83b45; background: #d83b45; color: #fff; }
  .menu-open:hover { background: #bd2a35; color: #fff; }
  .desktop-language-picker { display: none; }
}
@media (max-width: 600px) {
  body { padding-bottom: 80px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { height: 62px; padding: 0 18px; gap: 10px; }
  .brand { font-size: 22px; }
  .brand img { width: 25px; height: 31px; }
  .header-actions { gap: 8px; }
  .header-icon-button { width: 37px; height: 37px; }
  .hero { padding: 57px 0 42px; }
  .category-hero { padding: 36px 0; }
  .category-hero h1 { font-size: 28px; }
  .category-hero p { font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 14px; }
  .category-links { padding: 28px 13px 16px; }
  .category-links h2 { font-size: 18px; }
  .category-pill-list { gap: 8px; }
  .category-pill { padding: 7px 16px; font-size: 13px; }
  .category-index { gap: 12px; padding-top: 25px; padding-bottom: 30px; }
  .category-card { min-height: 180px; padding: 18px 10px; }
  .category-card h2 { font-size: 15px; }
  .category-card p { font-size: 12px; }
  .tool-grid { grid-template-columns: 1fr; gap: 12px; }
  .tool-category > h2 { font-size: 19px; }
  .tool-card { min-height: 96px; }
  .footer-inner { grid-template-columns: 1fr; gap: 27px; padding-top: 36px; padding-bottom: 40px; }
  .footer-brand p { margin-top: 14px; }
  .footer-links h2 { margin-bottom: 25px; }
  .site-footer { font-size: 13px; }
  .search-inner { padding: 82px 14px 20px; }
  .search-input-wrap { height: 58px; padding: 0 15px; }
  .search-input-wrap input { font-size: 16px; }
  .search-results { grid-template-columns: 1fr; margin-top: 25px; }
  .search-hint { font-size: 12px; }
  .mobile-bottom-nav { position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; min-height: 65px; padding: 4px 3px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 6px 24px #1a25432a; }
  .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 54px; color: #61728d; font-size: 10px; }
  .mobile-bottom-nav a .ui-icon { width: 20px; height: 20px; }
  .mobile-bottom-nav a[aria-current="page"] { color: #d33943; font-weight: 700; }
  .mobile-bottom-nav .mobile-scan-link { width: 49px; height: 49px; min-height: 49px; justify-self: center; margin-top: -20px; border: 3px solid #fff; border-radius: 13px; background: #d33943; color: #fff; box-shadow: 0 4px 13px #d3394370; }
  #back-to-top { right: 18px; bottom: 91px; width: 41px; height: 41px; }
  .info-page h1 { font-size: 27px; }
  .legal-page { padding: 55px 15px 60px; }
  .legal-page > h1 { font-size: 28.8px; }
  .legal-card { padding: 20px; }
  .legal-card h1 { font-size: 28.8px; }
  .blog-page { padding-top: 35px; }
  .blog-heading h1, .article-page h1 { font-size: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 205px; }
  .blog-article-layout { padding-top: 25px; }
  .blog-reply-fields { grid-template-columns: 1fr; }
  .article-body h1, .article-body h2 { font-size: 21px; }
  .article-body h3 { font-size: 18px; }
  .feedback-fields { grid-template-columns: 1fr; }
  .rating-form { width: 100%; }
}
@media (max-width: 350px) {
  .brand { font-size: 19px; }
  .header-inner { padding: 0 12px; }
  .category-index { grid-template-columns: 1fr; }
  .mobile-bottom-nav a { font-size: 9px; }
}
:root[data-theme="dark"] {
  --ink: #e8e9ed;
  --muted: #a7b0bf;
  --line: #3c4049;
  --primary: #85a7ff;
  --surface: #1f2023;
  --soft: #2a2d33;
  color-scheme: dark;
  background: #1d1d1e;
}
:root[data-theme="dark"] body { background: #1d1d1e; }
:root[data-theme="dark"] .site-header { background: #1b1c1e; }
:root[data-theme="dark"] .nav-link[aria-current="page"] { background: #302429; }
:root[data-theme="dark"] .header-icon-button, :root[data-theme="dark"] .language-trigger { background: #242529; }
:root[data-theme="dark"] .home-directory { background: #1d1d1e; }
:root[data-theme="dark"] .category-links h2 { color: #e1e4eb; }
:root[data-theme="dark"] .category-pill { background: #282a2d; border-color: #383b42; color: #c5ccda; }
:root[data-theme="dark"] .category-pill:hover { background: #323a50; color: #b7caff; }
:root[data-theme="dark"] .tool-card:hover, :root[data-theme="dark"] .category-card:hover { background: #282b31; }
:root[data-theme="dark"] .category-card-icon, :root[data-theme="dark"] .tool-icon { filter: brightness(.85); }
:root[data-theme="dark"] .site-footer { background: #22242a; color: #aeb9ca; }
:root[data-theme="dark"] .legal-page > h1, :root[data-theme="dark"] .legal-card h1, :root[data-theme="dark"] .legal-card h2, :root[data-theme="dark"] .legal-card h3 { color: #d6e1f5; }
:root[data-theme="dark"] .legal-card { color: var(--ink); }
:root[data-theme="dark"] .footer-logo, :root[data-theme="dark"] .footer-links h2 { color: #f0f1f4; }
:root[data-theme="dark"] .footer-bottom { background: #1b1d22; }
:root[data-theme="dark"] .search-dialog { background: linear-gradient(#202738f2, #1d1d1ef2 38%, #1d1d1eed); }
:root[data-theme="dark"] .search-input-wrap { background: #292b30; }
:root[data-theme="dark"] .search-input-wrap input { color: #f1f2f5; }
:root[data-theme="dark"] .button-outline, :root[data-theme="dark"] .button-secondary { background: #282b32; color: #b5c8ff; }
:root[data-theme="dark"] .button-primary { background: #3159d5; color: #fff; }
:root[data-theme="dark"] .mobile-bottom-nav { background: #23252a; }
:root[data-theme="dark"] .document-panel, :root[data-theme="dark"] .options-panel, :root[data-theme="dark"] .blog-card, :root[data-theme="dark"] .page-card, :root[data-theme="dark"] .page-dialog, :root[data-theme="dark"] .scan-crop-dialog, :root[data-theme="dark"] .pricing-card { background: #24262b; }
:root[data-theme="dark"] .drop-zone, :root[data-theme="dark"] .page-preview, :root[data-theme="dark"] .blank-preview, :root[data-theme="dark"] .office-preview, :root[data-theme="dark"] #html-preview-host { background: #2a2e36; }
:root[data-theme="dark"] .drop-zone { border-color: #475572; }
:root[data-theme="dark"] .page-action { background: #343b4e; color: #d0dcf5; }
:root[data-theme="dark"] .page-action:hover { background: #475575; }
:root[data-theme="dark"] .results { background: #1e382b; border-color: #315e42; }
:root[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=color]), :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { background: #2b2d34; color: #e8e9ed; border-color: #4b505a; }
:root[data-theme="dark"] .search-input-wrap input { background: transparent !important; border: 0 !important; }
:root[data-theme="dark"] .tool-card p, :root[data-theme="dark"] .option-guide, :root[data-theme="dark"] .page-caption > span:first-child { color: #aab5c7; }
:root[data-theme="dark"] .rating-form select, :root[data-theme="dark"] .feedback-form input, :root[data-theme="dark"] .feedback-form textarea { background: #2b2d34; }
:root[data-theme="dark"] .csv-preview th { background: #34495e; }
:root[data-theme="dark"] .csv-preview tr:nth-child(even) td { background: #2b2e34; }
