/*
Theme Name: whyaiai
Theme URI: https://whyaiai.com
Author: whyaiai
Author URI: https://whyaiai.com
Description: A fast, accessible WordPress theme for whyaiai, a private image metadata cleaner.
Version: 1.3.52
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whyaiai
Tags: accessibility-ready, custom-logo, featured-images, responsive-layout
*/

:root {
  --ink: #211f2a;
  --ink-soft: #555164;
  --muted: #817b8d;
  --paper: #f8f7f3;
  --surface: #fffefa;
  --surface-soft: #eeeaff;
  --line: #e6e1e8;
  --green: #7356d8;
  --green-dark: #5538b8;
  --green-soft: #dff5ea;
  --yellow: #f3b6a5;
  --shadow: 0 18px 50px rgba(33, 31, 42, 0.08);
  --radius: 18px;
  --content: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Keep SiteSEO consent controls visually consistent with the product. */
#siteseo-cookie-bar {
  background: rgba(255, 254, 250, 0.98) !important;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(33, 31, 42, 0.1) !important;
  color: var(--ink) !important;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom)) !important;
}

#siteseo-cookie-bar .siteseo-cookie-bar-content { gap: 8px; margin: 0 auto; max-width: 780px; }
#siteseo-cookie-bar .siteseo-cookie-bar-content > span { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; }
#siteseo-cookie-bar .siteseo-cookie-bar-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
#siteseo-cookie-bar .siteseo-cookie-bar-button,
#siteseo-cookie-bar-manage-btn {
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

#siteseo-cookie-bar-accept,
#siteseo-cookie-bar-manage-btn {
  background: var(--ink) !important;
  color: #fff !important;
}

#siteseo-cookie-bar-accept:hover,
#siteseo-cookie-bar-manage-btn:hover { background: var(--green-dark) !important; }

#siteseo-cookie-bar-close {
  background: #efecf2 !important;
  color: var(--ink) !important;
}

#siteseo-cookie-bar-close:hover { background: #e3dfea !important; }

/* Consent can be reviewed on the Cookies page. A fixed settings button on
 * every page adds clutter and used to overlap the mobile consent banner. */
#siteseo-cookie-bar-manage-btn { display: none !important; }

/* SiteSEO exposes an editor-only floating icon on the public page. It is not
 * part of whyaiai's visitor experience and should not compete with the UI. */
#siteseo-universal-metabox-icon {
  display: none !important;
}

/* Some logged-in WordPress sessions can print the admin toolbar twice (for
 * example after a plugin adds the bar a second time). Keep the first toolbar
 * for editing, but never let a duplicate consume another 32px of the page. */
body > #wpadminbar ~ #wpadminbar,
body > #wpadminbar + #wpadminbar {
  display: none !important;
}

/* Same protection for a duplicate footer injected after wp_footer(). */
body > .site-footer ~ .site-footer {
  display: none !important;
}

body.admin-bar .site-header { top: 32px; }

/* The cleaner homepage is the public product surface, even for an editor who
 * is signed in to WordPress. Do not let the fixed admin toolbar sit over the
 * embedded cleaner header or leave a phantom 32px gutter above it. */
html:has(body.whyaiai-cleaner-home) { margin-top: 0 !important; }
body.whyaiai-cleaner-home #wpadminbar { display: none !important; }

img { height: auto; max-width: 100%; }

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }

button,
input,
select,
textarea { font: inherit; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  background: var(--ink);
  color: #fff;
  height: auto;
  left: 12px;
  padding: 10px 14px;
  top: 12px;
  width: auto;
  z-index: 9999;
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content);
  padding-left: 28px;
  padding-right: 28px;
  width: min(calc(100% - 56px), var(--content));
}

/* Keep article and archive content inside the same readable rail even when a
 * WordPress/plugin stylesheet adds a generic rule for .site-main. */
.site-main > .wrap {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--content) !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  width: min(calc(100% - 56px), var(--content)) !important;
}

.site-header {
  background: rgba(245, 247, 243, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.header-inner { align-items: center; display: flex; gap: 28px; min-height: 74px; }

.site-brand { align-items: center; color: var(--ink); display: inline-flex; flex: 0 0 auto; font-size: 22px; font-weight: 850; gap: 9px; letter-spacing: -0.06em; text-decoration: none; }

.brand-mark {
  background: url("assets/images/whyaiai-mark.svg") center / contain no-repeat;
  display: inline-block;
  flex: 0 0 auto;
  height: 32px;
  width: 32px;
}

.primary-nav { align-items: center; display: flex; gap: 22px; margin-left: auto; }
.primary-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover { color: var(--green-dark); }
.language-switcher { position: relative; z-index: 30; }
.language-current { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; display: inline-flex; font: inherit; font-size: 13px; font-weight: 800; gap: 6px; min-height: 40px; padding: 8px 11px; }
.language-current:hover, .language-switcher.is-open .language-current { border-color: var(--green); }
.language-chevron { font-size: 14px; line-height: 1; margin-left: 2px; transition: transform .18s ease; }
.language-switcher.is-open .language-chevron { transform: rotate(180deg); }
.language-options { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: grid; gap: 2px; min-width: 174px; padding: 7px; position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; }
.language-options[hidden] { display: none !important; }
.language-options a { align-items: center; border-radius: 7px; color: var(--ink-soft); display: flex; font-size: 14px; min-height: 38px; padding: 8px 10px; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current="true"] { background: var(--surface-soft); color: var(--ink); }
.menu-toggle { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; display: none; height: 42px; justify-content: center; padding: 0; width: 42px; }
.menu-toggle-icon { display: grid; gap: 4px; width: 18px; }
.menu-toggle-icon span { background: currentColor; border-radius: 999px; display: block; height: 2px; transform-origin: center; transition: opacity .16s ease, transform .16s ease; width: 18px; }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header-cta, .button-primary { background: var(--ink); border: 1px solid var(--ink); border-radius: 10px; color: #fff; display: inline-flex; font-size: 14px; font-weight: 800; justify-content: center; padding: 12px 17px; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.header-cta:hover, .button-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.button-secondary { align-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); display: inline-flex; font-size: 14px; font-weight: 800; justify-content: center; padding: 12px 17px; text-decoration: none; }
.button-secondary:hover { background: var(--surface); color: var(--green-dark); }
.cookie-choice-action { margin-top: 24px; }

.site-main { overflow: hidden; }
.hero { padding: 92px 0 78px; }
.hero-grid { align-items: center; display: grid; gap: 72px; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .13em; margin: 0 0 16px; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -0.055em; line-height: 1.05; }
h1 { font-size: clamp(46px, 6vw, 78px); margin: 0 0 22px; max-width: 760px; }
h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; }
h3 { font-size: 21px; margin: 0 0 9px; }
.hero-copy { color: var(--ink-soft); font-size: 19px; line-height: 1.55; max-width: 650px; }
.hero-copy strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

.hero-card { background: var(--green-soft); border: 1px solid #a8d8c6; border-radius: 24px; box-shadow: var(--shadow); min-height: 360px; overflow: hidden; padding: 28px; position: relative; }
.hero-card::before { border: 1px solid rgba(23, 120, 102, .25); border-radius: 50%; content: ""; height: 290px; left: 50%; position: absolute; top: 48px; transform: translateX(-50%); width: 290px; }
.hero-card-face { align-items: center; background: #71c8b0; border: 2px solid var(--green-dark); border-radius: 50%; color: var(--ink); display: flex; flex-direction: column; height: 220px; justify-content: center; left: 50%; position: absolute; top: 70px; transform: translateX(-50%) rotate(-4deg); width: 220px; }
.hero-card-face strong { font-size: 48px; letter-spacing: -.1em; line-height: 1; }
.hero-card-face span { font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-top: 12px; text-transform: uppercase; }
.hero-card-badge { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 25px rgba(23, 34, 31, .1); color: var(--ink); font-size: 12px; font-weight: 800; padding: 10px 13px; position: absolute; right: 22px; top: 26px; }
.hero-card-badge.bottom { bottom: 25px; left: 25px; right: auto; top: auto; }

.section { padding: 82px 0; }
.section-tight { padding-top: 28px; }
.section-heading { margin-bottom: 34px; max-width: 700px; }
.section-heading p { color: var(--ink-soft); font-size: 17px; margin: 0; max-width: 650px; }
.section-kicker { color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .13em; margin-bottom: 12px; text-transform: uppercase; }
.benefit-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.benefit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-height: 190px; padding: 24px; }
.benefit-card p, .use-card p, .page-intro p, .content-card p { color: var(--ink-soft); margin: 0; }
.benefit-mark { align-items: center; background: var(--surface-soft); border-radius: 9px; color: var(--green-dark); display: inline-flex; font-size: 14px; font-weight: 900; height: 34px; justify-content: center; margin-bottom: 29px; width: 34px; }

.keyword-section { background: var(--surface-soft); }
.two-column { align-items: start; display: grid; gap: 70px; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
.prose { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; }
.check-list li { align-items: start; display: flex; gap: 10px; list-style: none; }
.check-list li::before { color: var(--green); content: "✓"; font-weight: 900; }

.use-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.use-card { border-top: 2px solid var(--green); padding: 21px 4px 0; }
.use-card h3 { font-size: 18px; }

.page-intro { padding: 90px 0 48px; }
.page-intro h1 { font-size: clamp(44px, 6vw, 72px); max-width: 850px; }
.page-intro p { font-size: 19px; max-width: 700px; }
.content-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.content-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.content-card h2 { font-size: 28px; }
.content-card h3 { font-size: 20px; margin-top: 24px; }
.content-card ul { color: var(--ink-soft); padding-left: 20px; }
.content-card li + li { margin-top: 8px; }
.trust-section { background: var(--surface-soft); }
.trust-section h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.055em; margin: 0 0 16px; max-width: 620px; }
.trust-intro { color: var(--ink-soft); font-size: 19px; line-height: 1.6; margin: 0; max-width: 620px; }
.trust-steps { max-width: 560px; }
.trust-steps ol { counter-reset: trust-step; display: grid; gap: 16px; list-style: none; margin: 0 0 24px; padding: 0; }
.trust-steps li { align-items: start; color: var(--ink-soft); display: grid; gap: 13px; grid-template-columns: 34px 1fr; line-height: 1.5; }
.trust-steps li::before { align-items: center; background: var(--ink); border-radius: 50%; color: #fff; content: counter(trust-step); counter-increment: trust-step; display: inline-flex; font-size: 13px; font-weight: 800; height: 28px; justify-content: center; width: 28px; }
.trust-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trust-card h3 { font-size: 22px; letter-spacing: -.035em; margin: 0 0 9px; }
.trust-card p { color: var(--ink-soft); margin: 0; }
.trust-card-accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.trust-card-accent p { color: rgba(255,255,255,.78); }
.faq-list { border-top: 1px solid var(--line); max-width: 850px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 19px 0; }
.faq-list summary { cursor: pointer; font-size: 19px; font-weight: 800; list-style: none; padding-right: 30px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--green); content: "+"; font-size: 24px; position: absolute; right: 2px; top: -7px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--ink-soft); margin: 12px 0 0; max-width: 760px; }

.posts-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.post-card-media { border-radius: calc(var(--radius) - 8px); display: block; margin: -8px -8px 20px; overflow: hidden; }
.post-card-media img { aspect-ratio: 3 / 2; display: block; height: auto; object-fit: cover; transition: transform .25s ease; width: 100%; }
.post-card-media:hover img, .post-card-media:focus-visible img { transform: scale(1.025); }
.post-card h2 { font-size: 26px; }
.post-meta { color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 18px; }
.post-excerpt { color: var(--ink-soft); }
.archive-description { color: var(--ink-soft); font-size: 19px; line-height: 1.6; max-width: 700px; }
.archive-description p { margin: 0; }
.archive-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 760px; padding: 34px; }
.archive-empty h2 { font-size: 32px; }
.archive-empty p { color: var(--ink-soft); margin: 0; }
.article-shell { padding-bottom: 88px; padding-top: 82px; }
.article { max-width: 790px; }
.article h1 { font-size: clamp(43px, 6vw, 68px); }
.article-hero { margin: 28px 0 42px; }
.article-hero img { aspect-ratio: 3 / 2; border-radius: var(--radius); display: block; height: auto; object-fit: cover; width: 100%; }
.article-content { color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.article-content > * { max-width: 100%; }
.article-content h2 { color: var(--ink); font-size: 32px; margin-top: 45px; }
.article-content h3 { color: var(--ink); font-size: 23px; margin-top: 33px; }

.site-footer { border-top: 1px solid var(--line); padding: 46px 0 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr 1fr; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 300px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { font-size: 14px; text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 12px; gap: 18px; justify-content: space-between; margin-top: 40px; padding-top: 17px; }

/* App promotion is rendered only after an App Store URL is configured. It
 * follows the quieter download patterns used by established utility apps:
 * a short editorial message, the real app icon, and Apple's official badge.
 * There is no invented badge or oversized decorative card. */
.app-promo { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; display: grid; gap: clamp(28px, 6vw, 82px); grid-template-columns: minmax(0, 1fr) minmax(250px, .42fr); margin-top: 48px; max-width: 100%; min-width: 0; overflow: hidden; padding: clamp(28px, 5vw, 48px); position: relative; width: 100%; }
.app-promo::before { background: var(--green); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 5px; }
.app-promo-copy, .app-promo-visual { min-width: 0; }
.app-promo .eyebrow { color: var(--green-dark); margin-bottom: 12px; }
.app-promo h2 { color: var(--ink); font-size: clamp(34px, 4vw, 52px); letter-spacing: -.065em; line-height: 1.02; margin-bottom: 18px; max-width: 620px; }
.app-promo-lede { color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin: 0; max-width: 620px; overflow-wrap: anywhere; }
.app-promo-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.app-promo-points span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 13px; font-weight: 750; line-height: 1.2; padding: 9px 12px; }
.app-promo-visual { align-items: center; background: var(--surface-soft); border-radius: 16px; display: flex; flex-wrap: wrap; gap: 22px 18px; justify-content: flex-start; padding: 22px; }
.app-promo-app-row { align-items: center; display: flex; gap: 13px; min-width: 0; }
.app-promo-mark { align-items: center; background: #fff; border-radius: 17px; box-shadow: 0 7px 18px rgba(33,31,42,.12); display: flex; flex: 0 0 64px; height: 64px; justify-content: center; overflow: hidden; width: 64px; }
.app-promo-mark img { display: block; height: 100%; width: 100%; }
.app-promo-app-name { display: grid; gap: 1px; min-width: 0; }
.app-promo-app-name strong { color: var(--ink); font-size: 20px; letter-spacing: -.04em; line-height: 1.1; }
.app-promo-app-name span { color: var(--muted); font-size: 13px; }
.app-store-badge { display: block; flex: 0 0 auto; max-width: 160px; }
.app-store-badge img { display: block; width: 100%; }
.app-promo .app-promo-cta { align-items: center; background: var(--ink); border-color: var(--ink); color: #fff; display: inline-flex; gap: 8px; width: 100%; }
.app-promo .app-promo-cta:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

@media (max-width: 900px) {
  .hero-grid, .two-column { gap: 42px; grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .app-promo { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body.admin-bar .site-header { top: 46px; }
  .wrap { padding-left: 18px; padding-right: 18px; width: calc(100% - 36px); }
  .site-main > .wrap { padding-left: 18px !important; padding-right: 18px !important; width: calc(100% - 36px) !important; }
  .header-inner { gap: 9px; min-height: 64px; }
  .site-brand { font-size: 20px; gap: 8px; }
  .brand-mark { height: 28px; width: 28px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0; left: 18px; margin: 0; opacity: 0; padding: 7px; pointer-events: none; position: absolute; right: 18px; top: calc(100% + 8px); transform: translateY(-8px); transition: opacity .16s ease, transform .16s ease; visibility: hidden; }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .primary-nav a { border-radius: 8px; padding: 11px 12px; width: 100%; }
  .primary-nav a:hover, .primary-nav a:focus-visible { background: var(--surface-soft); }
  .header-cta { display: none; }
  .language-switcher { margin-left: 0; }
  .language-current { min-height: 42px; padding: 8px 9px; }
  .language-options { right: 0; }
  .hero, .page-intro { padding: 60px 0 42px; }
  .article-shell { padding-bottom: 60px; padding-top: 58px; }
  h1 { font-size: clamp(42px, 13vw, 59px); }
  .hero-copy, .page-intro p { font-size: 17px; }
  .hero-card { min-height: 315px; }
  .hero-card-face { height: 190px; top: 65px; width: 190px; }
  .hero-card-face strong { font-size: 40px; }
  .section { padding: 60px 0; }
  .benefit-grid, .content-grid, .posts-grid, .trust-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .app-promo { border-radius: 18px; margin-top: 34px; padding: 26px 22px; }
  .app-promo h2 { font-size: clamp(32px, 10vw, 48px); }
  .app-promo-visual { align-items: center; gap: 18px 14px; padding: 18px; }
  .app-store-badge { max-width: 150px; }

  #siteseo-cookie-bar { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) !important; }
  #siteseo-cookie-bar .siteseo-cookie-bar-content { max-width: 100%; }
  #siteseo-cookie-bar .siteseo-cookie-bar-content > span { font-size: 14px; }
  #siteseo-cookie-bar .siteseo-cookie-bar-buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  #siteseo-cookie-bar .siteseo-cookie-bar-button { min-height: 44px; width: 100%; }
}

/* Native cleaner on whyaiai.com. The workflow is intentionally compact:
   one drop area, one settings card, one queue, and one clear result state. */
body.home {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

body.home .site-header,
body.home .site-footer { display: block; }

.native-cleaner { padding: 72px 0 58px; }
.native-cleaner-shell { max-width: 1180px; }
.native-cleaner-intro { max-width: 850px; margin-bottom: 38px; }
.native-cleaner-intro h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; }
.native-cleaner-intro .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 760px; }
.native-cleaner-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); align-items: start; }
.cleaner-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.card-heading { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; }
.card-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.card-heading p { color: var(--muted); margin: 0; }
.limit-note { color: var(--muted); font-size: 13px; white-space: nowrap; }
.drop-zone { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; transform: translateY(-1px); }
.drop-zone > div { display: grid; gap: 3px; }
.drop-zone strong { font-size: 17px; }
.drop-zone span:not(.drop-icon) { color: var(--muted); }
.drop-icon { align-items: center; border: 2px solid var(--green); border-radius: 11px; color: var(--green-dark); display: inline-flex; flex: 0 0 46px; font-size: 31px; height: 46px; justify-content: center; line-height: 1; }
.drop-zone .button { margin-left: auto; }
.button { border: 0; border-radius: 10px; cursor: pointer; display: inline-flex; font: inherit; font-weight: 800; justify-content: center; min-height: 44px; padding: 11px 18px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover, .button-dark:focus-visible { background: var(--green-dark); color: #fff; }
.button-light { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.button-light:hover, .button-light:focus-visible { background: var(--surface-soft); color: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-wide { width: 100%; }
.queue-bar { align-items: center; display: flex; justify-content: space-between; margin-top: 26px; }
.queue-count { align-items: baseline; display: flex; gap: 10px; }
.queue-count strong { font-size: 18px; }
.queue-count span { color: var(--muted); }
.text-button { background: none; border: 0; color: var(--green-dark); cursor: pointer; font: inherit; font-weight: 800; padding: 4px 0; }
.text-button:disabled { color: var(--muted); cursor: not-allowed; }
.queue-progress { background: #eeeaf2; border-radius: 999px; height: 5px; margin-top: 16px; overflow: hidden; }
.queue-progress span { background: var(--green); display: block; height: 100%; transition: width .2s ease; width: 0; }
.status-line { color: var(--muted); font-size: 14px; margin: 16px 0 0; min-height: 22px; }
.file-list { list-style: none; margin: 12px 0 0; padding: 0; }
.file-row { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto auto auto; padding: 14px 0; }
.file-name { display: grid; min-width: 0; }
.file-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-name span { color: var(--muted); font-size: 13px; }
.file-state { color: var(--muted); font-size: 13px; }
.file-state.done { color: #18795d; font-weight: 800; }
.file-state.error { color: #bd4e3f; font-weight: 800; }
.file-download { color: var(--green-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.file-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 21px; line-height: 1; padding: 2px 0 2px 8px; }
.file-remove:hover, .file-remove:focus-visible { color: var(--ink); }
.setting-group { border: 0; margin: 26px 0 0; padding: 0; }
.setting-group legend, .setting-label { font-size: 14px; font-weight: 800; margin-bottom: 12px; padding: 0; width: 100%; }
.choice-row { background: #f0edf2; border-radius: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding: 4px; }
.choice-row label { cursor: pointer; position: relative; }
.choice-row label:has(input:disabled) { cursor: not-allowed; opacity: .5; }
.choice-row input { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.choice-row span { border-radius: 8px; display: block; padding: 10px 8px; text-align: center; }
.choice-row input:checked + span { background: var(--surface); box-shadow: 0 2px 8px rgba(33,31,42,.1); color: var(--ink); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(115,86,216,.32); outline-offset: 2px; }
.setting-label { display: flex; justify-content: space-between; }
.setting-label output { color: var(--green-dark); }
.quality-group input[type=range] { accent-color: var(--green); width: 100%; }
.target-size-group select { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; padding: 11px 12px; width: 100%; }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 8px 0 0; }
.range-labels { color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; margin-top: 5px; }
.settings-note { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; margin: 26px 0 20px; padding-top: 18px; }
.settings-status { color: var(--green-dark); }
.cleaner-report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 22px; padding: clamp(22px, 3vw, 34px); }
.cleaner-report[hidden] { display: none; }
.report-heading { max-width: 720px; }
.report-heading h2 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.045em; margin: 0 0 6px; }
.report-heading p { color: var(--muted); margin: 0; }
.report-heading .report-method { font-size: 12px; margin-top: 8px; }
.report-file { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.report-file h3 { font-size: 17px; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-meta, .report-note, .report-risk, .report-gps { color: var(--muted); font-size: 13px; margin: 0; }
.report-risk { color: var(--ink); font-weight: 700; margin-top: 6px; }
.report-gps { background: var(--surface-soft); border-radius: 9px; margin-top: 10px; padding: 9px 11px; }
.report-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.report-panel { background: var(--surface-soft); border-radius: 12px; padding: 15px 16px; }
.report-panel h4 { font-size: 14px; margin: 0 0 9px; }
.report-list { list-style: none; margin: 0; padding: 0; }
.report-row { align-items: baseline; border-top: 1px solid var(--line); display: flex; font-size: 13px; gap: 12px; justify-content: space-between; padding: 8px 0; }
.report-status { font-size: 12px; font-weight: 800; text-align: right; }
.report-status.detected, .report-status.present { color: #bd4e3f; }
.report-status.removed { color: #18795d; }
.report-status.not-detected { color: var(--muted); }
.report-note { margin-top: 13px; }
.report-actions { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; padding-top: 20px; }
.report-actions .status-line { margin: 0; }
.cleaner-proof { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.cleaner-proof > div { display: grid; gap: 3px; padding: 22px 24px; }
.cleaner-proof > div + div { border-left: 1px solid var(--line); }
.cleaner-proof strong { font-size: 14px; }
.cleaner-proof span { color: var(--muted); font-size: 13px; }
.home-tools { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 34px; }
.home-tools-heading { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.home-tools-heading .eyebrow { margin: 0 0 9px; }
.home-tools-heading h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.055em; line-height: 1; margin: 0 0 10px; }
.home-tools-heading p:not(.eyebrow) { color: var(--muted); margin: 0; max-width: 650px; }
.home-tools-heading .button { flex: 0 0 auto; text-decoration: none; }
.home-tool-list { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.home-tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 152px; padding: 20px; }
.home-tool-card h3 { font-size: 22px; letter-spacing: -.04em; margin: 0 0 8px; }
.home-tool-card p { color: var(--muted); line-height: 1.5; margin: 0; }
.home-tool-card a { color: var(--green-dark); font-weight: 800; margin-top: auto; padding-top: 18px; text-decoration: none; }
.home-tool-card a:hover, .home-tool-card a:focus-visible { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .native-cleaner { padding-top: 54px; }
  .native-cleaner-grid { grid-template-columns: 1fr; }
  .home-tool-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .native-cleaner { padding: 42px 0 36px; }
  .native-cleaner-intro h1 { font-size: clamp(40px, 12vw, 58px); }
  .drop-zone { align-items: flex-start; flex-wrap: wrap; }
  .drop-zone .button { margin-left: 62px; }
  .file-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .file-state { grid-column: 2; grid-row: 1; }
  .file-remove { grid-column: 3; grid-row: 1; }
  .file-download { grid-column: 1 / -1; }
  .report-grid { grid-template-columns: 1fr; }
  .cleaner-proof { grid-template-columns: 1fr; }
  .cleaner-proof > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .home-tools-heading { align-items: flex-start; flex-direction: column; }
  .home-tools-heading .button { width: 100%; }
  .home-tool-list { grid-template-columns: 1fr; }
}

/* HTML-to-text utility. Keep the editor compact and readable on small screens. */
.text-tool-hero { padding: 72px 0 36px; }
.text-tool-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 840px; }
.text-tool-hero .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 820px; }
.html-text-seo-intro { padding: 0 0 30px; }
.html-text-seo-intro-inner { max-width: 800px; }
.html-text-seo-intro h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; line-height: 1.08; margin: 0 0 10px; }
.html-text-seo-intro p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 74ch; }
.html-text-workspace { padding-bottom: 72px; }
.html-text-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); }
.html-text-card, .html-text-output-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.html-text-card .card-heading, .html-text-output-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.html-text-card .card-heading h2, .html-text-output-card h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.html-text-card .card-heading p, .html-text-output-card .card-heading p { color: var(--muted); margin: 0; }
.html-text-label { display: block; font-size: 13px; font-weight: 800; margin: 25px 0 8px; }
.html-text-source { background: var(--surface-soft); border: 1px solid var(--line-strong); border-radius: 12px; box-sizing: border-box; color: var(--ink); display: block; font: 500 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; min-height: 330px; padding: 16px; resize: vertical; width: 100%; }
.html-text-source:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(46, 133, 117, .14); outline: none; }
.html-text-input-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.html-text-file-label { cursor: pointer; }
.html-text-status { margin: 14px 0 0; }
.html-text-settings .card-heading { margin-bottom: 24px; }
.html-text-check { align-items: center; display: flex; gap: 10px; margin: 15px 0; }
.html-text-check input { accent-color: var(--green-dark); height: 18px; width: 18px; }
.html-text-settings .button-wide { margin-top: 24px; }
.html-text-privacy { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; margin: 24px 0 0; padding-top: 20px; }
.html-text-output-card { margin-top: 22px; }
.html-text-output-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.html-text-output { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; box-sizing: border-box; color: var(--ink); font: 500 15px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; margin: 22px 0 0; max-height: 560px; min-height: 220px; overflow: auto; padding: 20px; white-space: pre-wrap; word-break: break-word; }
.html-text-output:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(46, 133, 117, .14); outline: none; }
.html-text-meta { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.html-text-output-card[hidden] { display: none; }
.html-text-explainer { padding: 0 0 84px; }
.html-text-example-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
.html-text-example-card, .html-text-faq { min-width: 0; }
.html-text-example-panels { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.html-text-example-panel { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; min-width: 0; padding: 16px; }
.html-text-example-panel-after { background: rgba(219, 244, 232, .62); border-color: rgba(46, 133, 117, .26); }
.html-text-example-label { color: var(--green-dark); display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.html-text-example-panel pre { color: var(--ink); font: 500 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; margin: 14px 0 0; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.html-text-faq h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 16px; }
.html-text-faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.html-text-faq details:last-child { border-bottom: 1px solid var(--line); }
.html-text-faq summary { cursor: pointer; font-weight: 800; list-style-position: outside; padding-right: 12px; }
.html-text-faq details p { color: var(--muted); line-height: 1.55; margin: 10px 0 0; }
@media (max-width: 760px) {
	.text-tool-hero { padding: 48px 0 28px; }
	.text-tool-hero h1 { font-size: clamp(38px, 11vw, 52px); }
	.html-text-seo-intro { padding-bottom: 22px; }
	.html-text-workspace { padding-bottom: 44px; }
	.html-text-grid { grid-template-columns: 1fr; }
	.html-text-card .card-heading, .html-text-output-heading { display: block; }
	.html-text-card .limit-note { display: block; margin-top: 8px; }
	.html-text-source { min-height: 240px; }
	.html-text-output-actions { margin-top: 18px; }
	.html-text-output-actions .button { flex: 1; }
	.html-text-example-grid, .html-text-example-panels { grid-template-columns: 1fr; }
	.html-text-explainer { padding-bottom: 56px; }
}

/* Standalone converter. It shares the cleaner's compact queue language but
   keeps conversion controls on one clear panel. */
.converter-hero { padding: 72px 0 36px; }
.converter-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 780px; }
.converter-lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 760px; }
.converter-workspace { padding-bottom: 72px; }
.converter-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); }
.converter-card, .converter-results { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.converter-card-heading, .converter-results-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.converter-card-heading h2, .converter-results-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.converter-card-heading p, .converter-results-heading p { color: var(--muted); margin: 0; }
.converter-limit { color: var(--muted); font-size: 13px; white-space: nowrap; }
.converter-drop-zone { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.converter-drop-zone:hover, .converter-drop-zone:focus-visible, .converter-drop-zone.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; transform: translateY(-1px); }
.converter-drop-zone > div { display: grid; gap: 3px; }
.converter-drop-zone strong { font-size: 17px; }
.converter-drop-zone span:not(.drop-icon) { color: var(--muted); }
.converter-drop-zone .button { margin-left: auto; }
.converter-queue-bar { align-items: baseline; display: flex; gap: 10px; justify-content: flex-start; margin-top: 25px; }
.converter-queue-bar > span { color: var(--muted); }
.converter-queue-bar .text-button { margin-left: auto; }
.converter-file-list { margin-top: 12px; }
.converter-file-row { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto auto; padding: 14px 0; }
.converter-file-row .file-name { min-width: 0; }
.converter-file-row .file-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.converter-file-row .file-name span { color: var(--muted); font-size: 13px; }
.converter-file-row .file-state { color: var(--muted); font-size: 13px; }
.converter-file-row .file-state.done { color: #18795d; font-weight: 800; }
.converter-file-row .file-state.error { color: #bd4e3f; font-weight: 800; }
.converter-file-row .file-download { color: var(--green-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.converter-settings .setting-group { margin-top: 26px; }
.converter-dimensions { grid-template-columns: repeat(4, 1fr); }
.converter-quality-group { border-top: 1px solid var(--line); padding-top: 20px; }
.converter-quality-group input[type=range] { accent-color: var(--green); width: 100%; }
.converter-results { margin-top: 22px; }
.converter-results-heading { align-items: center; }
.converter-results-heading .button { white-space: nowrap; }
.converter-result-list { margin-top: 20px; }
.converter-result-item { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 15px; justify-content: space-between; padding: 15px 0; }
.converter-result-item .file-name { display: grid; min-width: 0; }
.converter-result-item .file-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.converter-result-item .file-name span { color: var(--muted); font-size: 13px; }
.converter-result-item .file-download { color: var(--green-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.converter-results[hidden] { display: none; }

/* Standalone image comparison. The comparison stays local and keeps the
   result easy to read on a phone as well as a wide screen. */
.diff-hero { padding: 72px 0 36px; }
.diff-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 780px; }
.diff-hero .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 800px; }
.diff-workspace { padding-bottom: 72px; }
.diff-card, .diff-results { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.diff-card { max-width: 900px; }
.diff-card .card-heading { align-items: flex-start; }
.diff-drop-zone { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.diff-drop-zone:hover, .diff-drop-zone:focus-visible, .diff-drop-zone.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; transform: translateY(-1px); }
.diff-drop-zone > div { display: grid; gap: 3px; }
.diff-drop-zone strong { font-size: 17px; }
.diff-drop-zone span:not(.drop-icon) { color: var(--muted); }
.diff-drop-zone .button { margin-left: auto; }
.diff-queue-bar { align-items: center; display: flex; justify-content: space-between; margin-top: 24px; }
.diff-file-list { list-style: none; margin: 12px 0 0; padding: 0; }
.diff-file-list li { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 120px minmax(0, 1fr) auto; padding: 14px 0; }
.diff-file-kind { color: var(--green-dark); font-size: 13px; font-weight: 800; }
.diff-file-info { display: grid; min-width: 0; }
.diff-file-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diff-file-info small { color: var(--muted); font-size: 13px; }
.diff-pair-note { background: var(--surface-soft); border-radius: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; margin: 20px 0 18px; padding: 12px 14px; }
.diff-privacy-note { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.diff-results { margin-top: 22px; }
.diff-results-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.diff-results-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 5px; }
.diff-summary-title { font-size: 15px; margin: 14px 0 3px; }
.diff-summary { color: var(--muted); margin: 0; }
.diff-view-switcher { background: #f0edf2; border-radius: 10px; display: inline-flex; gap: 4px; padding: 4px; }
.choice-button { background: transparent; border: 0; border-radius: 8px; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; padding: 10px 12px; }
.choice-button.is-active { background: var(--surface); box-shadow: 0 2px 8px rgba(33,31,42,.1); color: var(--ink); }
.diff-side-by-side { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.diff-figure { margin: 0; }
.diff-figure figcaption { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.diff-image-frame, .diff-canvas-frame { align-items: center; background: #f3f0f4; border: 1px solid var(--line); border-radius: 12px; display: flex; justify-content: center; min-height: 220px; overflow: hidden; }
.diff-image-frame img, .diff-canvas-frame canvas { display: block; height: auto; max-height: 560px; max-width: 100%; object-fit: contain; width: auto; }
.diff-difference-view { margin-top: 24px; }
.diff-difference-view[hidden], .diff-side-by-side[hidden] { display: none; }
.diff-details-grid { border-top: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; padding-top: 22px; }
.diff-details-grid h3 { font-size: 15px; margin: 0 0 8px; }
.diff-details-grid dl { display: grid; font-size: 13px; grid-template-columns: 1fr auto; margin: 0; }
.diff-details-grid dt, .diff-details-grid dd { border-top: 1px solid var(--line); margin: 0; padding: 8px 0; }
.diff-details-grid dt { color: var(--muted); }
.diff-details-grid dd { font-weight: 700; text-align: right; }
.diff-results > .button { margin-top: 22px; }

@media (max-width: 600px) {
  .diff-hero { padding: 48px 0 28px; }
  .diff-workspace { padding-bottom: 44px; }
  .diff-card .card-heading, .diff-results-heading { display: block; }
  .diff-card .limit-note { display: block; margin-top: 8px; }
  .diff-drop-zone { align-items: flex-start; flex-wrap: wrap; }
  .diff-drop-zone .button { margin-left: 62px; }
  .diff-file-list li { grid-template-columns: 1fr auto; }
  .diff-file-kind { grid-column: 1 / -1; }
  .diff-side-by-side, .diff-details-grid { grid-template-columns: 1fr; }
  .diff-view-switcher { margin-top: 18px; width: 100%; }
  .choice-button { flex: 1; }
}

@media (max-width: 900px) {
  .converter-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .converter-hero { padding: 48px 0 28px; }
  .converter-workspace { padding-bottom: 44px; }
  .converter-card-heading, .converter-results-heading { display: block; }
  .converter-limit { display: block; margin-top: 8px; }
  .converter-drop-zone { align-items: flex-start; flex-wrap: wrap; }
  .converter-drop-zone .button { margin-left: 62px; }
  .converter-dimensions { grid-template-columns: repeat(2, 1fr); }
  .converter-results-heading .button { margin-top: 18px; width: 100%; }
  .converter-result-item { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Standalone privacy analyzer. It reports the common markers it can read,
   without pretending to be a full forensic metadata parser. */
.analyzer-hero { padding: 72px 0 36px; }
.analyzer-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 780px; }
.analyzer-hero .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 820px; }
.analyzer-workspace { padding-bottom: 72px; }
.analyzer-card, .analyzer-results { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.analyzer-input-card { max-width: 940px; }
.analyzer-card .card-heading, .analyzer-results-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.analyzer-card .card-heading h2, .analyzer-results-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.analyzer-card .card-heading p, .analyzer-results-heading p { color: var(--muted); margin: 0; }
.analyzer-drop-zone { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.analyzer-drop-zone:hover, .analyzer-drop-zone:focus-visible, .analyzer-drop-zone.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; transform: translateY(-1px); }
.analyzer-drop-zone > div { display: grid; gap: 3px; }
.analyzer-drop-zone strong { font-size: 17px; }
.analyzer-drop-zone span:not(.drop-icon) { color: var(--muted); }
.analyzer-drop-zone .button { margin-left: auto; }
.analyzer-queue-bar { align-items: baseline; display: flex; gap: 10px; justify-content: flex-start; margin-top: 24px; }
.analyzer-queue-bar span { color: var(--muted); font-size: 13px; }
.analyzer-queue-bar .text-button { margin-left: auto; }
.analyzer-progress { background: #eeeaf2; border-radius: 999px; height: 5px; margin-top: 12px; overflow: hidden; }
.analyzer-progress span { background: var(--green-dark); border-radius: inherit; display: block; height: 100%; transition: width .2s ease; width: 0; }
.analyzer-file-list { list-style: none; margin: 12px 0 0; padding: 0; }
.analyzer-file-list li { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; padding: 14px 0; }
.analyzer-file-info { display: grid; min-width: 0; }
.analyzer-file-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analyzer-file-info small { color: var(--muted); font-size: 13px; }
.analyzer-privacy-note, .analyzer-markers-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 18px 0 0; }
.analyzer-markers-note { background: var(--surface-soft); border-radius: 10px; padding: 12px 14px; }
.analyzer-input-card .button-wide { margin-top: 20px; }
.analyzer-results { margin-top: 22px; max-width: 940px; }
.analyzer-report { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.analyzer-report h3 { font-size: 18px; margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analyzer-report-meta { color: var(--muted); font-size: 13px; margin: 0; }
.analyzer-risk { align-items: center; border-radius: 10px; display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; padding: 13px 15px; }
.analyzer-risk span { font-weight: 800; }
.analyzer-risk-none, .analyzer-risk-low { background: #e7f5ef; color: #18795d; }
.analyzer-risk-moderate { background: #fff0df; color: #9d5b23; }
.analyzer-risk-high { background: #ffe7e2; color: #bd4e3f; }
.analyzer-marker-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.analyzer-marker-row { align-items: baseline; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 10px 0; }
.analyzer-marker-row span { color: var(--muted); font-size: 13px; }
.analyzer-marker-row strong { font-size: 13px; text-align: right; }
.analyzer-marker-row.is-found strong { color: #bd4e3f; }
.analyzer-marker-row.is-clear strong { color: #18795d; }
.analyzer-gps { background: var(--surface-soft); border-radius: 10px; display: flex; gap: 12px; justify-content: space-between; margin-top: 18px; padding: 13px 15px; }
.analyzer-gps > div { display: grid; gap: 3px; }
.analyzer-gps span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.analyzer-gps small { color: var(--muted); flex-basis: 100%; font-size: 11px; line-height: 1.4; }
.analyzer-export-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.analyzer-values { background: var(--surface-soft); border-radius: 10px; margin-top: 18px; padding: 14px 15px; }
.analyzer-values h4 { font-size: 15px; margin: 0 0 7px; }
.analyzer-value-row { align-items: baseline; border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr); padding: 9px 0; }
.analyzer-value-row span { color: var(--muted); display: grid; font-size: 13px; }
.analyzer-value-row span small { font-size: 10px; text-transform: uppercase; }
.analyzer-value-row strong { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.analyzer-value-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 9px 0 0; }
.analyzer-report-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 16px 0 0; }
.analyzer-results > .button { margin-top: 24px; }

/* Content Credentials checker. */
.credentials-hero { padding: 72px 0 36px; }
.credentials-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 900px; }
.credentials-hero .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 850px; }
.credentials-workspace { padding-bottom: 72px; }
.credentials-card, .credentials-results { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 960px; padding: clamp(24px, 3vw, 34px); }
.credentials-card .card-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.credentials-card .card-heading h2, .credentials-results-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.credentials-card .card-heading p, .credentials-results-heading p { color: var(--muted); margin: 0; }
.credentials-drop-zone { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.credentials-drop-zone:hover, .credentials-drop-zone:focus-visible, .credentials-drop-zone.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; transform: translateY(-1px); }
.credentials-drop-zone > div { display: grid; gap: 3px; }
.credentials-drop-zone strong { font-size: 17px; }
.credentials-drop-zone span:not(.drop-icon) { color: var(--muted); }
.credentials-drop-zone .button { margin-left: auto; }
.credentials-queue-bar { align-items: baseline; display: flex; gap: 10px; margin-top: 24px; }
.credentials-queue-bar span { color: var(--muted); font-size: 13px; }
.credentials-queue-bar .text-button { margin-left: auto; }
.credentials-file-list { list-style: none; margin: 12px 0 0; padding: 0; }
.credentials-file-list li { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; padding: 14px 0; }
.credentials-file-info { display: grid; min-width: 0; }
.credentials-file-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.credentials-file-info small { color: var(--muted); font-size: 13px; }
.credentials-privacy { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.credentials-card .button-wide { margin-top: 20px; }
.credentials-results { margin-top: 22px; }
.credentials-trust-warning { background: #fff0df; border-radius: 10px; color: #7a491d; line-height: 1.5; margin: 20px 0 0; padding: 13px 15px; }
.credentials-report { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.credentials-report-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.credentials-report-heading h3 { font-size: 18px; margin: 0 0 4px; overflow-wrap: anywhere; }
.credentials-report-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.credentials-badge { border-radius: 999px; flex: 0 0 auto; font-size: 12px; padding: 8px 11px; }
.credentials-trusted .credentials-badge { background: #e7f5ef; color: #18795d; }
.credentials-valid .credentials-badge { background: #fff0df; color: #8b511e; }
.credentials-no_credentials .credentials-badge { background: #eeebf0; color: var(--ink-soft); }
.credentials-invalid .credentials-badge, .credentials-error .credentials-badge { background: #ffe7e2; color: #bd4e3f; }
.credentials-meaning { color: var(--ink-soft); line-height: 1.5; margin: 16px 0 0; }
.credentials-details { display: grid; margin: 18px 0 0; }
.credentials-detail-row { border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr); padding: 10px 0; }
.credentials-detail-row dt { color: var(--muted); font-size: 13px; }
.credentials-detail-row dd { font-size: 13px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.credentials-validation, .credentials-raw { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.credentials-validation summary, .credentials-raw summary { color: var(--green-dark); cursor: pointer; font-weight: 800; }
.credentials-validation ul { list-style: none; margin: 12px 0 0; padding: 0; }
.credentials-validation li { border-top: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; padding: 8px 0; }
.credentials-validation li.is-success { color: #18795d; }
.credentials-validation li.is-failure { color: #a84335; }
.credentials-raw pre { background: #262230; border-radius: 10px; color: #f8f4ff; font-size: 11px; line-height: 1.5; max-height: 420px; overflow: auto; padding: 15px; white-space: pre-wrap; }
.credentials-download { margin-top: 18px; }
.credentials-error-detail { background: #fff0ed; border-radius: 8px; color: #9d3c30; display: block; font-size: 12px; margin-top: 15px; overflow-wrap: anywhere; padding: 10px 12px; }
.credentials-results > .button { margin-top: 24px; }

@media (max-width: 600px) {
  .analyzer-hero { padding: 48px 0 28px; }
  .analyzer-workspace { padding-bottom: 44px; }
  .analyzer-card .card-heading, .analyzer-results-heading { display: block; }
  .analyzer-card .limit-note { display: block; margin-top: 8px; }
  .analyzer-drop-zone { align-items: flex-start; flex-wrap: wrap; }
  .analyzer-drop-zone .button { margin-left: 62px; }
  .analyzer-marker-grid { grid-template-columns: 1fr; }
  .analyzer-gps { align-items: flex-start; flex-direction: column; }
  .analyzer-gps span { text-align: left; }
  .analyzer-value-row { gap: 3px; grid-template-columns: 1fr; }
  .analyzer-export-actions { margin-top: 16px; }
  .analyzer-export-actions .button { flex: 1; }
  .credentials-hero { padding: 48px 0 28px; }
  .credentials-workspace { padding-bottom: 44px; }
  .credentials-card .card-heading { display: block; }
  .credentials-card .limit-note { display: block; margin-top: 8px; }
  .credentials-drop-zone { align-items: flex-start; flex-wrap: wrap; }
  .credentials-drop-zone .button { margin-left: 62px; }
  .credentials-report-heading { display: block; }
  .credentials-badge { display: inline-block; margin-top: 12px; }
  .credentials-detail-row { gap: 3px; grid-template-columns: 1fr; }
}

/* Folder audit and image redactor. Both tools keep their controls compact and
   let the result carry the visual weight. */
.tool-hero { padding: 72px 0 36px; }
.tool-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 940px; }
.tool-hero .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 860px; }
.tool-card, .audit-results, .redactor-editor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.tool-card .card-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.tool-card .card-heading h2, .audit-results h2, .redactor-editor h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.tool-card .card-heading p, .audit-results h2 + p, .redactor-editor h2 + p { color: var(--muted); margin: 0; }
.audit-workspace, .redactor-workspace { padding-bottom: 72px; }
.audit-picker { max-width: 940px; }
.audit-picker-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.audit-results { margin-top: 22px; }
.audit-summary-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.audit-summary { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.audit-summary > div { display: grid; gap: 2px; padding: 18px; }
.audit-summary > div + div { border-left: 1px solid var(--line); }
.audit-summary strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.audit-summary span { color: var(--muted); font-size: 12px; }
.audit-toolbar { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-top: 24px; }
.audit-filters { background: #f0edf2; border-radius: 10px; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; }
.audit-report-actions { display: flex; gap: 8px; }
.audit-select-row { align-items: center; display: flex; font-size: 13px; justify-content: space-between; margin-top: 20px; }
.audit-select-row input { accent-color: var(--green-dark); height: 17px; width: 17px; }
.audit-table-wrap { overflow-x: auto; }
.audit-table { border-collapse: collapse; font-size: 13px; margin-top: 8px; min-width: 820px; width: 100%; }
.audit-table th, .audit-table td { border-top: 1px solid var(--line); padding: 13px 10px; text-align: left; vertical-align: top; }
.audit-table th { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.audit-table td:first-child { width: 34px; }
.audit-table td:nth-child(2) { width: 34%; }
.audit-table td:nth-child(2) strong, .audit-table td:nth-child(2) small { display: block; overflow-wrap: anywhere; }
.audit-table td:nth-child(2) small { color: var(--muted); }
.audit-risk { border-radius: 999px; display: inline-block; font-size: 11px; font-weight: 800; padding: 5px 8px; white-space: nowrap; }
.audit-risk-none, .audit-risk-low { background: #e7f5ef; color: #18795d; }
.audit-risk-moderate { background: #fff0df; color: #9d5b23; }
.audit-risk-high { background: #ffe7e2; color: #bd4e3f; }
.audit-table details summary { color: var(--green-dark); cursor: pointer; font-weight: 800; }
.audit-table dl { display: grid; gap: 0; margin: 9px 0 0; min-width: 240px; }
.audit-table dt, .audit-table dd { border-top: 1px solid var(--line); margin: 0; overflow-wrap: anywhere; padding: 6px 0; }
.audit-table dt { color: var(--muted); }
.audit-table dd { font-weight: 700; }
.audit-clean-actions { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; margin-top: 20px; padding-top: 22px; }
.audit-clean-actions p { color: var(--muted); font-size: 13px; margin: 3px 0 0; max-width: 680px; }

.redactor-picker { max-width: 940px; }
.redactor-drop { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; }
.redactor-drop:hover, .redactor-drop:focus-visible, .redactor-drop.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; }
.redactor-drop > div { display: grid; gap: 3px; }
.redactor-drop > div span { color: var(--muted); }
.redactor-drop .button { margin-left: auto; }
.redactor-editor { margin-top: 22px; }
.redactor-toolbar { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.redactor-history { display: flex; flex-wrap: wrap; gap: 8px; }
.redactor-grid { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); margin-top: 24px; }
.redactor-stage { align-items: center; background: #292630; border-radius: 14px; display: flex; justify-content: center; max-height: 72vh; min-height: 340px; overflow: auto; padding: 12px; }
.redactor-stage canvas { cursor: crosshair; display: block; height: auto; max-height: calc(72vh - 24px); max-width: 100%; touch-action: none; width: auto; }
.redactor-stage-help, .redactor-export-note { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 10px 0 0; }
.redactor-controls { border-left: 1px solid var(--line); padding-left: 24px; }
.redactor-tool-choices { display: grid; gap: 7px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.redactor-tool-choices .choice-button { border: 1px solid var(--line); }
.redactor-controls > input[type="range"] { accent-color: var(--green-dark); width: 100%; }
.redactor-controls .setting-label { margin-top: 22px; }
.redactor-controls .button-wide { margin-top: 24px; }
.redactor-new { display: block; margin: 15px auto 0; }

@media (max-width: 900px) {
  .audit-toolbar, .redactor-toolbar { align-items: flex-start; flex-direction: column; }
  .audit-summary { grid-template-columns: repeat(2, 1fr); }
  .audit-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .audit-summary > div:nth-child(4) { border-top: 1px solid var(--line); }
  .redactor-grid { grid-template-columns: 1fr; }
  .redactor-controls { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
}

@media (max-width: 600px) {
  .tool-hero { padding: 48px 0 28px; }
  .tool-hero h1 { font-size: clamp(38px, 11vw, 50px); letter-spacing: -.055em; }
  .audit-workspace, .redactor-workspace { padding-bottom: 44px; }
  .tool-card .card-heading, .audit-summary-heading { display: block; }
  .tool-card .limit-note { display: block; margin-top: 8px; }
  .audit-picker-actions .button { width: 100%; }
  .audit-toolbar { display: block; }
  .audit-filters { display: grid; grid-template-columns: repeat(2, 1fr); }
  .audit-report-actions { margin-top: 12px; }
  .audit-report-actions .button { flex: 1; }
  .audit-clean-actions { align-items: stretch; flex-direction: column; }
  .redactor-drop { align-items: flex-start; flex-wrap: wrap; }
  .redactor-drop .button { margin-left: 62px; }
  .redactor-history { width: 100%; }
  .redactor-history .button { flex: 1; }
  .redactor-tool-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .redactor-stage { min-height: 240px; padding: 7px; }
}

/* Selective JPEG metadata editor. */
.exif-editor-hero { padding: 72px 0 36px; }
.exif-editor-hero h1 { font-size: clamp(44px, 6vw, 74px); letter-spacing: -.065em; line-height: .98; margin: 0 0 18px; max-width: 940px; }
.exif-editor-hero .lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0; max-width: 880px; }
.exif-editor-workspace { padding-bottom: 72px; }
.exif-editor-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); }
.exif-editor-card, .exif-editor-results { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); }
.exif-editor-card .card-heading, .exif-editor-results-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.exif-editor-card .card-heading h2, .exif-editor-results-heading h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; }
.exif-editor-card .card-heading p, .exif-editor-results-heading p { color: var(--muted); margin: 0; }
.exif-editor-drop-zone { align-items: center; background: var(--surface-soft); border: 1px dashed #9b82ef; border-radius: 14px; cursor: pointer; display: flex; gap: 16px; margin-top: 26px; min-height: 132px; padding: 22px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.exif-editor-drop-zone:hover, .exif-editor-drop-zone:focus-visible, .exif-editor-drop-zone.is-dragging { background: #e8e1ff; border-color: var(--green-dark); outline: none; transform: translateY(-1px); }
.exif-editor-drop-zone > div { display: grid; gap: 3px; }
.exif-editor-drop-zone strong { font-size: 17px; }
.exif-editor-drop-zone span:not(.drop-icon) { color: var(--muted); }
.exif-editor-drop-zone .button { margin-left: auto; }
.exif-editor-queue-bar { align-items: baseline; display: flex; gap: 10px; margin-top: 24px; }
.exif-editor-queue-bar span { color: var(--muted); font-size: 13px; }
.exif-editor-queue-bar .text-button { margin-left: auto; }
.exif-editor-file-list { list-style: none; margin: 12px 0 0; padding: 0; }
.exif-editor-file-row { border-top: 1px solid var(--line); padding: 16px 0; }
.exif-editor-file-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.exif-editor-file-info { display: grid; min-width: 0; }
.exif-editor-file-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exif-editor-file-info small { color: var(--muted); font-size: 13px; }
.exif-editor-file-error { color: #bd4e3f; font-size: 13px; margin: 9px 0 0; }
.exif-editor-values { background: var(--surface-soft); border-radius: 10px; margin: 12px 0 0; padding: 4px 13px; }
.exif-editor-values > div { align-items: baseline; border-top: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: minmax(120px, .36fr) minmax(0, 1fr); padding: 8px 0; }
.exif-editor-values > div:first-child { border-top: 0; }
.exif-editor-values dt { color: var(--muted); font-size: 12px; }
.exif-editor-values dd { font-size: 13px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.exif-editor-empty-values { color: var(--muted); font-size: 13px; margin: 11px 0 0; }
.exif-editor-selection-actions { display: flex; gap: 18px; margin-top: 21px; }
.exif-editor-options { border-bottom: 1px solid var(--line); margin-top: 12px; padding-bottom: 8px; }
.exif-editor-option { align-items: flex-start; border-top: 1px solid var(--line); cursor: pointer; display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr); padding: 13px 0; }
.exif-editor-option input { accent-color: var(--green-dark); height: 18px; margin: 2px 0 0; width: 18px; }
.exif-editor-option span { display: grid; gap: 3px; }
.exif-editor-option strong { font-size: 14px; }
.exif-editor-option small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.exif-editor-settings .button-wide { margin-top: 20px; }
.exif-editor-results { margin-top: 22px; }
.exif-editor-results-heading { align-items: center; }
.exif-editor-results-heading .button { flex: 0 0 auto; }
.exif-editor-report { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.exif-editor-report-heading { align-items: flex-start; display: flex; gap: 18px; justify-content: space-between; }
.exif-editor-report-heading h3 { font-size: 18px; margin: 0 0 4px; overflow-wrap: anywhere; }
.exif-editor-report-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.exif-editor-proof { border-radius: 999px; flex: 0 0 auto; font-size: 12px; font-weight: 800; padding: 8px 11px; }
.exif-editor-proof.is-verified { background: #e7f5ef; color: #18795d; }
.exif-editor-proof.is-warning { background: #fff0df; color: #9d5b23; }
.exif-editor-report-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.exif-editor-report-grid > section { background: var(--surface-soft); border-radius: 12px; padding: 15px; }
.exif-editor-report-grid h4 { font-size: 15px; margin: 0 0 8px; }
.exif-editor-report-grid .exif-editor-values { background: transparent; margin: 0; padding: 0; }
.exif-editor-removed, .exif-editor-lossless-note { color: var(--ink-soft); font-size: 13px; line-height: 1.5; margin: 14px 0 0; }
.exif-editor-lossless-note { color: var(--muted); margin-top: 4px; }
.exif-editor-report-actions { margin-top: 16px; }
.exif-editor-results > .button-light { margin-top: 26px; }

@media (max-width: 900px) {
  .exif-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .exif-editor-hero { padding: 48px 0 28px; }
  .exif-editor-workspace { padding-bottom: 44px; }
  .exif-editor-card .card-heading, .exif-editor-results-heading, .exif-editor-report-heading { display: block; }
  .exif-editor-card .limit-note { display: block; margin-top: 8px; }
  .exif-editor-drop-zone { align-items: flex-start; flex-wrap: wrap; }
  .exif-editor-drop-zone .button { margin-left: 62px; }
  .exif-editor-values > div { gap: 3px; grid-template-columns: 1fr; }
  .exif-editor-results-heading .button { margin-top: 18px; width: 100%; }
  .exif-editor-proof { display: inline-block; margin-top: 12px; }
  .exif-editor-report-grid { grid-template-columns: 1fr; }
  .exif-editor-report-actions .button { text-align: center; width: 100%; }
}
