:root {
  color-scheme: light;
  --page: #f8faf8;
  --surface: #fff;
  --ink: #17251f;
  --muted: #52635b;
  --line: #dce5de;
  --forest: #14372c;
  --green: #245e46;
  --lime: #cef784;
  --radius: 19px;
  --shadow: 0 8px 24px #1631260b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
body, button, input, select, textarea { font-size: 1rem; }
button, input, select, textarea { font-family: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #348467; outline-offset: 3px; }
.hero :focus-visible { outline-color: var(--lime); }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 4; padding: 12px; background: #fff; border-radius: 8px; }

.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; font-weight: 780; font-size: 1.15rem; letter-spacing: -.035em; }
.brand b { color: #47715b; font-weight: 650; }
.brand-icon { display: grid; place-items: center; background: var(--forest); color: var(--lime); width: 34px; height: 34px; border-radius: 9px; }
.brand-icon svg { width: 22px; height: 22px; }
.topbar nav, .footer nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; color: var(--muted); font-size: .9rem; font-weight: 660; text-decoration: none; white-space: nowrap; }
.topbar nav a:hover, .footer nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.topbar nav svg, .footer nav svg { width: 14px; height: 14px; }
.language-menu { position: relative; z-index: 3; }
.language-menu summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding-inline: 8px; color: var(--forest); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: .83rem; font-weight: 700; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { background: #eef6ee; }
.language-menu .language-code { display: none; }
.language-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 5px); width: 188px; max-block-size: min(65vh, 520px); overflow: auto; overscroll-behavior: contain; padding: 5px; margin: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px #16312629; }
.topbar .language-menu li a { display: flex; padding-inline: 9px; border-radius: 7px; }
.topbar .language-menu a:hover { background: #f2f7f3; }
.topbar .language-menu a[aria-current="page"] { color: var(--forest); background: #e7f2e8; }

.hero-wrap { margin-top: 25px; }
.hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: clamp(24px, 5vw, 70px); min-height: 420px; padding: clamp(32px, 5.3vw, 70px); border-radius: 29px; color: #f7fff9; background: radial-gradient(ellipse at 100% 6%, #397359 0%, #225541 34%, #15382d 70%, #112b23 100%); }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .26; background: repeating-linear-gradient(0deg, transparent 0 29px, #acc0a934 29px 30px), repeating-linear-gradient(90deg, transparent 0 29px, #acc0a934 29px 30px); mask-image: linear-gradient(110deg, transparent 20%, #000 65%); }
.eyebrow { color: #49705c; font-size: .71rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; }
.hero-label, .art-label { display: inline-flex; gap: 8px; align-items: center; }
.hero-label { color: #d7f6a3; margin-bottom: 17px; }
.hero-label span, .art-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #cef78424; }
.hero h1 { font-size: clamp(2.9rem, 5.7vw, 5rem); line-height: .98; letter-spacing: -.078em; overflow-wrap: anywhere; hyphens: auto; }
.hero h1 span { color: var(--lime); }
.hero p { max-width: 33rem; color: #e2f0e5; margin-top: 22px; font-size: clamp(1rem, 1.7vw, 1.16rem); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 9px; padding: 9px 16px; font-weight: 720; border-radius: 10px; text-decoration: none; border: 1px solid transparent; }
.primary { background: var(--forest); color: #fff; }
.primary:hover { background: #245a46; }
.primary:disabled { opacity: .6; }
.secondary { background: #fff; color: var(--forest); border-color: #ceddd2; }
.secondary:hover { background: #f0f7f1; }
.hero-cta { color: #173026; background: var(--lime); margin-top: 26px; }
.hero-cta:hover { background: #e1ffa9; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #e2f0e5; font-size: .84rem; margin-top: 20px; }
.hero-meta span { display: flex; gap: 6px; align-items: center; }
.hero-meta svg { color: var(--lime); width: 16px; height: 16px; }
.hero-art { justify-self: center; width: min(100%, 350px); padding: 20px; border: 1px solid #8eb6a076; border-radius: 22px; background: #e5f4e41a; box-shadow: 0 20px 50px #0d261d63; }
.art-label { color: #ebf5e9; font-size: .68rem; font-weight: 770; letter-spacing: .08em; margin: 0 0 12px 4px; }
.art-label span { width: 5px; height: 5px; box-shadow: none; }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.art-cell { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 13px; padding: 13px; background: var(--tint); color: var(--accent); border-radius: 12px; font-size: .78rem; }
.art-cell svg { width: 26px; height: 26px; }
.art-footer { display: flex; align-items: center; gap: 8px; padding: 15px 3px 1px; color: #e3f0e2; font-size: .82rem; }
.art-footer strong { color: var(--lime); font-size: 1.45rem; line-height: 1; letter-spacing: -.045em; }
.art-footer svg { margin-inline-start: auto; color: var(--lime); }

.pdf { --accent: #9e322e; --tint: #fbe6e2; }
.image { --accent: #694095; --tint: #f0e7fa; }
.qr { --accent: #17654e; --tint: #dcf3e7; }
.text { --accent: #265c91; --tint: #e4effb; }
.convert { --accent: #9a541a; --tint: #fff0de; }
.developer { --accent: #4b529b; --tint: #e8eafd; }
.utility { --accent: #5a671e; --tint: #edf2d7; }
.popular, .directory { margin-top: 43px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-heading h2, .related h2 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); margin-top: 4px; }
.text-link, .back-link { color: var(--green); font-weight: 710; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link { min-height: 40px; font-size: .9rem; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool-tile { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .16s, box-shadow .16s; }
.tool-tile:hover, .tool-tile:focus-within { border-color: #a7bfb0; box-shadow: var(--shadow); }
.tile-link { display: grid; grid-template-columns: auto minmax(0, 1fr) 20px; column-gap: 10px; row-gap: 4px; min-height: 112px; padding: 15px 13px; align-content: center; align-items: start; text-decoration: none; border-radius: 13px; }
.tile-link h3 { grid-column: 2; padding-inline-end: 17px; align-self: center; font-size: 1rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.tile-link p { grid-column: 2 / 4; color: var(--muted); font-size: .81rem; line-height: 1.42; overflow-wrap: anywhere; }
.tool-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: var(--accent, var(--green)); background: var(--tint, #e0f2e6); flex: none; }
.tool-icon svg { width: 22px; height: 22px; }
.tile-link .tool-icon { grid-row: 1 / 3; }
.tile-arrow { color: #59816b; position: absolute; inset-inline-end: 12px; bottom: 9px; }
.tile-arrow svg { width: 15px; height: 15px; }
.tile-link p { padding-inline-end: 16px; }
.favorite { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 9px; color: #63776b; background: transparent; }
.favorite svg { width: 19px; height: 19px; }
.favorite:hover { background: #f3f7f3; }
.favorite[aria-pressed="true"] { color: #79580b; }
.favorite[aria-pressed="true"] svg { fill: #ffdc72; }
.tool-tile .favorite { position: absolute; top: 1px; inset-inline-end: 1px; }
.directory { scroll-margin-top: 15px; }
.count-badge { flex: none; padding: 5px 11px; background: #e8f2e9; border-radius: 999px; color: #335d49; font-weight: 710; font-size: .82rem; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 13px; box-shadow: var(--shadow); }
.search-box { display: flex; align-items: center; gap: 10px; padding-inline: 13px; background: #f6f9f6; border: 1px solid #d7e3da; border-radius: 9px; color: var(--green); }
.search-box:focus-within { outline: 2px solid #348467; outline-offset: 2px; }
.search-box input { width: 100%; min-width: 0; min-height: 46px; outline: none; border: 0; background: transparent; color: var(--ink); padding: 0; }
.search-box input::placeholder { color: #566b60; }
.filters { display: flex; flex-wrap: wrap; gap: 5px 7px; margin-top: 9px; }
.filters button { min-height: 44px; padding: 5px 12px; background: #fff; border: 1px solid #dce6de; border-radius: 999px; color: #315244; font-size: .82rem; font-weight: 690; }
.filters button:hover { border-color: #8bad98; }
.filters button[aria-pressed="true"] { color: #fff; background: var(--forest); border-color: var(--forest); }
.filters button svg { width: 15px; height: 15px; }
.tool-group { margin-top: 25px; }
.group-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 10px; }
.group-heading h3 { font-size: 1.23rem; }
.group-heading p { font-size: .85rem; color: var(--muted); margin-top: 3px; }
.group-count { color: var(--accent); background: var(--tint); font-size: .78rem; font-weight: 740; padding: 3px 9px; border-radius: 999px; margin-inline-start: auto; }
.empty-state { padding: 22px; margin-top: 13px; border: 1px dashed #adc5b6; border-radius: 13px; color: var(--muted); }
.empty-state button { margin-top: 10px; }
.privacy-band { margin-block: 42px; padding: 23px; display: flex; align-items: center; gap: 13px; background: #eaf4ec; border: 1px solid #dce9df; border-radius: var(--radius); }
.privacy-band h2 { font-size: 1.3rem; }
.privacy-band p { margin-top: 4px; color: var(--muted); font-size: .89rem; }
.privacy-band > a { margin-inline-start: auto; flex: none; }
.footer { margin-top: 33px; border-top: 1px solid var(--line); }
.footer-inner { min-height: 76px; display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; color: var(--muted); font-size: .85rem; }
.footer-inner .brand { color: var(--ink); font-size: .98rem; }
.footer-inner .brand svg { color: #5f9c73; }
.footer nav { margin-inline-start: auto; }

.tool-main { margin-top: 20px; }
.back-link { min-height: 44px; font-size: .9rem; }
.back-link svg { width: 17px; height: 17px; }
.tool-heading { display: flex; align-items: flex-start; gap: 13px; margin: 11px 0 23px; }
.tool-heading > .tool-icon { width: 56px; height: 56px; border-radius: 15px; margin-top: 4px; }
.tool-heading > .tool-icon svg { width: 27px; height: 27px; }
.tool-heading > div { min-width: 0; }
.tool-heading h1, .prose h1 { font-size: clamp(2rem, 5.1vw, 3.65rem); overflow-wrap: anywhere; }
.tool-heading p { color: var(--muted); margin-top: 6px; }
.tool-heading .favorite { margin-inline-start: auto; flex: none; border: 1px solid var(--line); background: #fff; }
.workspace-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(200px, 1fr); align-items: start; gap: 16px; }
.workspace, .workspace-aside section { min-width: 0; padding: clamp(15px, 3vw, 27px); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.workspace { box-shadow: var(--shadow); }
.workspace-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; align-items: center; margin-bottom: 17px; }
.workspace-head h2, .result h2 { font-size: 1.37rem; }
.workspace-head span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: #eaf5ec; color: var(--green); font-size: .76rem; font-weight: 690; }
.workspace-head svg { width: 15px; height: 15px; }
.workspace-aside { display: grid; gap: 10px; }
.workspace-aside h2 { font-size: 1.1rem; }
.workspace-aside h2 svg { color: var(--green); }
.workspace-aside ol { margin: 9px 0 0; padding-inline-start: 19px; }
.workspace-aside li + li { margin-top: 3px; }
.workspace-aside li, .workspace-aside p { color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.workspace-aside p { margin-top: 8px; }
.tool-note { padding-top: 9px; border-top: 1px solid var(--line); }
.related { margin-block: 32px; }
.related h2 { margin-bottom: 13px; }
fieldset { display: grid; gap: 15px; min-inline-size: 0; border: 0; margin: 0; padding: 0; }
fieldset:disabled { opacity: .63; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .91rem; font-weight: 710; }
.field input:not([type="file"], [type="checkbox"], [type="range"]), .field select, .field textarea, .output-text { width: 100%; min-width: 0; min-height: 46px; padding: 9px 11px; border: 1px solid #cbdad0; border-radius: 9px; background: #fbfdfb; color: var(--ink); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: #ae4841; }
.field input[type="color"] { max-width: 80px; padding: 4px; cursor: pointer; }
.field textarea, .output-text { resize: vertical; min-height: 110px; }
.output-text { min-height: 100px; }
.field .checkbox { display: flex; min-height: 44px; align-items: center; gap: 9px; cursor: pointer; }
input[type="checkbox"] { width: 20px; height: 20px; margin: 0; }
input[type="checkbox"], input[type="range"] { accent-color: var(--green); }
.range-field { grid-template-columns: minmax(0, 1fr) auto; }
.range-field label, .range-field .hint { grid-column: 1 / -1; }
.range-field input { width: 100%; min-height: 32px; margin: 0; }
.range-field output { min-width: 3ch; align-self: center; text-align: end; font-variant-numeric: tabular-nums; }
.hint { font-size: .81rem; color: var(--muted); overflow-wrap: anywhere; }
.drop-zone { position: relative; min-height: 138px; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; padding: 15px; border: 1px dashed #89ab98; border-radius: 11px; background: #f3faf4; }
.drop-zone:hover, .drop-zone.dragging { border-color: #2e7756; background: #e7f5e9; }
.drop-zone:focus-within { outline: 2px solid #348467; outline-offset: 3px; }
.drop-zone:has(input[aria-invalid="true"]) { border-color: #ae4841; }
.drop-zone input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.drop-icon { color: var(--green); }
.drop-icon svg { width: 25px; height: 25px; }
.drop-title { font-weight: 730; }
.drop-hint { font-size: .81rem; color: var(--muted); }
.file-list { display: grid; gap: 5px; padding: 0; margin: 0; list-style: none; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; padding: 4px 5px 4px 9px; border: 1px solid var(--line); border-radius: 9px; }
.file-name { min-width: 0; overflow-wrap: anywhere; font-size: .83rem; }
.file-name small, .download small { display: block; color: var(--muted); }
.file-controls { display: flex; flex: none; }
.file-control { padding: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: var(--green); }
.file-control:hover { background: #edf6ef; }
.file-control:disabled { opacity: .28; }
.file-control:first-child:not(:last-child) svg { transform: rotate(180deg); }
.form-actions, .result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.error, .run-status { margin-top: 12px; padding: 10px; border-radius: 8px; overflow-wrap: anywhere; }
.error { color: #861e1c; background: #fff0ef; }
.run-status { color: var(--green); background: #eaf6ec; }
.result { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); scroll-margin: 16px; }
.result:focus { outline: none; }
#result-content { display: grid; gap: 9px; margin-top: 9px; }
.result-message { color: var(--muted); overflow-wrap: anywhere; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(128px, 100%), 1fr)); gap: 7px; margin: 0; }
.metrics > div { min-width: 0; padding: 8px; border-radius: 8px; background: #edf6ef; overflow-wrap: anywhere; }
.metrics dt { color: var(--muted); font-size: .78rem; }
.metrics dd { font-weight: 730; margin: 0; }
.downloads { display: grid; gap: 7px; }
.download { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 8px; padding: 8px 10px; border: 1px solid #c8e0ce; border-radius: 9px; background: #eef8f0; color: var(--forest); text-decoration: none; overflow-wrap: anywhere; }
.download:hover { background: #dff1e4; }
.result-preview { width: auto; height: auto; max-width: 100%; max-height: 380px; border: 1px solid var(--line); border-radius: 8px; object-fit: contain; }
.prose { max-width: 760px; margin-block: 35px 65px; }
.prose h1 { margin: 8px 0 16px; }
.prose h2 { margin-top: 21px; font-size: 1.35rem; }
.prose p { margin-top: 7px; color: var(--muted); }
.prose .primary { margin-top: 12px; }
:is(:lang(ar), :lang(hi), :lang(zh-Hans)) :is(h1, h2, h3, .eyebrow, .art-label, .tile-link h3) { letter-spacing: normal; }
:is(:lang(ar), :lang(hi), :lang(zh-Hans)) .hero h1 { line-height: 1.15; }
[dir="rtl"] :is(.primary, .back-link, .privacy-band .text-link, .workspace-aside .text-link, .tile-arrow, .download) svg { transform: scaleX(-1); }

@media (max-width: 950px) {
  .tile-link { grid-template-columns: auto minmax(0, 1fr); }
  .tile-link h3 { padding-inline-end: 19px; }
  .tile-link p { grid-column: 2; }
}
@media (max-width: 790px) {
  .container { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr .63fr; gap: 22px; min-height: 350px; padding: 30px; }
  .hero-art { padding: 13px; }
  .art-cell { padding: 9px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-layout { grid-template-columns: minmax(0, 1fr); }
  .workspace-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .container { width: calc(100% - 28px); }
  .topbar-inner { min-height: 58px; }
  .topbar nav { gap: 12px; }
  .topbar nav a { font-size: .81rem; }
  .topbar nav .main-site { display: none; }
  .language-menu .language-current { display: none; }
  .language-menu .language-code { display: inline; }
  .language-menu[open] ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(282px, calc(100vw - 28px)); }
  .brand { font-size: 1.02rem; }
  .brand-icon { width: 30px; height: 30px; }
  .hero-wrap { margin-top: 13px; }
  .hero { grid-template-columns: 1fr; border-radius: 20px; min-height: 0; padding: 26px 19px; }
  .hero-art { display: none; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 3.75rem); }
  .hero-label { margin-bottom: 11px; }
  .hero p { margin-top: 13px; }
  .hero-cta { margin-top: 17px; }
  .hero-meta { margin-top: 15px; gap: 6px 12px; font-size: .76rem; }
  .popular, .directory { margin-top: 29px; }
  .section-heading { flex-wrap: wrap; gap: 3px 8px; margin-bottom: 11px; }
  .section-heading .text-link { min-height: 32px; }
  .card-grid { gap: 7px; }
  .tile-link { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-content: start; gap: 5px; padding: 9px 8px 11px; min-height: 100%; }
  .tile-link .tool-icon { grid-row: auto; width: 32px; height: 32px; border-radius: 8px; }
  .tile-link .tool-icon svg { width: 18px; height: 18px; }
  .tile-link h3, .tile-link p { grid-column: 1; padding: 0; }
  .tile-link h3 { font-size: .92rem; }
  .tile-link p { font-size: .77rem; }
  .tile-arrow { display: none; }
  .filter-panel { padding: 9px; }
  .filters { gap: 4px; }
  .filters button { padding-inline: 8px; }
  .privacy-band { flex-wrap: wrap; align-items: flex-start; padding: 14px; margin-block: 26px; }
  .privacy-band > div { flex: 1; min-width: 165px; }
  .privacy-band > a { margin-inline-start: 52px; }
  .footer-inner { padding-block: 9px; }
  .footer nav { margin-inline-start: 0; }
  .tool-main { margin-top: 8px; }
  .tool-heading { gap: 8px; margin-bottom: 15px; }
  .tool-heading > .tool-icon { width: 37px; height: 37px; border-radius: 9px; }
  .tool-heading > .tool-icon svg { width: 19px; height: 19px; }
  .tool-heading p { font-size: .9rem; }
  .workspace-aside { grid-template-columns: minmax(0, 1fr); }
  .drop-hint { display: none; }
  .drop-zone { min-height: 105px; }
}
@media (max-width: 350px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .tile-link { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
