@font-face{font-family:"TRES Tools Sans JP";font-style:normal;font-weight:100 900;font-display:swap;src:url("./fonts/tres-tools-sans-jp-site-v2.woff") format("woff")}
/* TRES Tools / Material Design 3 local theme. Content and application logic are preserved. */
html[data-tres-design] {
  --tres-gold:#c9a333; --tres-ink:#000; --tres-body:#4a4a4a; --tres-surface:#fff;
  --tres-low:#f7f7f7; --tres-container:#f2f2f2; --tres-high:#e9e9e9; --tres-outline:#dbdbdb;
  --tres-font:"TRES Tools Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;
  color-scheme:light;
}
html[data-tres-design][data-theme="dark"] {
  --tres-ink:#f4f4f4; --tres-body:#d0d0d0; --tres-surface:#171717;
  --tres-low:#1e1e1e; --tres-container:#252525; --tres-high:#303030; --tres-outline:#575757;
  color-scheme:dark;
}
html[data-tres-design], html[data-tres-design] body, html[data-tres-design] #redesign-home {
  --gold:var(--tres-gold)!important; --gold-l:#dec36c!important; --gold-light:#dec36c!important;
  --bg:var(--tres-surface)!important; --bg2:var(--tres-low)!important; --bg3:var(--tres-container)!important;
  --paper:var(--tres-low)!important; --surface:var(--tres-surface)!important; --panel:var(--tres-surface)!important; --panel2:var(--tres-low)!important;
  --heading:var(--tres-ink)!important; --heading2:var(--tres-ink)!important; --ink:var(--tres-ink)!important; --text:var(--tres-ink)!important;
  --text-body:var(--tres-body)!important; --text-dim:var(--tres-body)!important; --text-faint:var(--tres-body)!important;
  --body:var(--tres-body)!important; --dim:var(--tres-body)!important; --faint:var(--tres-body)!important; --muted:var(--tres-body)!important;
  --line:var(--tres-outline)!important; --line2:var(--tres-outline)!important; --line-soft:var(--tres-outline)!important; --border:var(--tres-outline)!important;
  --accent:var(--tres-gold)!important; --accent-hover:#b7952f!important; --accent-soft:#eee5c8!important;
  --nav-bg:var(--tres-surface)!important; --focus:var(--tres-ink)!important; --radius:12px!important;
  --col:1200px!important; --site-max:1200px!important; --max:1200px!important; --pad:32px!important;
  --rd-paper:var(--tres-surface)!important; --rd-paper2:var(--tres-container)!important; --rd-ink:var(--tres-ink)!important;
  --rd-muted:var(--tres-body)!important; --rd-line:var(--tres-outline)!important; --rd-line-strong:var(--tres-outline)!important; --rd-gold:var(--tres-gold)!important;
  --th-ink:var(--tres-ink)!important; --th-bg:var(--tres-surface)!important; --th-muted:var(--tres-body)!important; --th-line:var(--tres-outline)!important;
}
html[data-tres-design] body {
  background:var(--tres-surface)!important; color:var(--tres-ink)!important; border-top:0!important;
  font-family:var(--tres-font)!important; font-size:16px!important; line-height:1.5!important;
}
html[data-tres-design] :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--tres-ink)!important; outline-offset:4px!important; box-shadow:0 0 0 4px var(--tres-surface)!important;
}
html[data-tres-design] a { color:inherit; text-underline-offset:4px; }
html[data-tres-design] :is(h1,h2,h3,h4) { color:var(--tres-ink); font-family:var(--tres-font); font-weight:400; }
html[data-tres-design] :is(h1,.page-title,.hero-title) { font-size:45px!important; line-height:52px!important; font-weight:400!important; letter-spacing:0!important; }
html[data-tres-design] :is(h2.section-title,.section-title,.page-header h2) { font-size:32px!important; line-height:40px!important; font-weight:400!important; letter-spacing:0!important; }
html[data-tres-design] :is(.section-h3,.feat-title,.stitle,.step-title,.faq-q) { font-size:16px!important; line-height:24px!important; font-weight:500!important; }
html[data-tres-design] :is(.hero-subtitle,.body-text,.section>p,.sbody,.art-body,.privacy-body) { font-size:16px!important; line-height:24px!important; color:var(--tres-body)!important; }
html[data-tres-design] :is(.feat-desc,.sdesc,.step-desc,.faq-a,.download-description,.caption,.sc-caption,.hero-note,.hero-version,.simple-footnote,.simple-story-caption) { font-size:14px!important; line-height:20px!important; color:var(--tres-body)!important; }
html[data-tres-design] :is(.hero-subtitle,.body-text,.section>p,.sdesc,.step-desc,.faq-a) { max-width:none!important; }
html[data-tres-design] :is(.skip-link,.privacy-skip) { background:var(--tres-surface)!important; color:var(--tres-ink)!important; border-color:var(--tres-ink)!important; min-height:48px; }

/* Shared header and its older variants. */
html[data-tres-design] .tres-header { background:var(--tres-surface)!important; color:var(--tres-ink)!important; border:0!important; box-shadow:none!important; position:relative!important; backdrop-filter:none!important; padding:0!important; }
html[data-tres-design] .tres-header__inner { max-width:1200px!important; width:calc(100% - 64px)!important; margin:auto!important; padding:16px 0!important; min-height:80px!important; gap:24px!important; }
html[data-tres-design] .tres-header__brand { font:800 22px/28px "Arial Black",Arial,sans-serif!important; letter-spacing:.035em!important; color:var(--tres-ink)!important; min-height:48px!important; gap:12px!important; }
html[data-tres-design] .tres-header__mark { width:40px!important; height:40px!important; background:var(--tres-gold)!important; color:#000!important; border:0!important; border-radius:12px!important; font:900 26px/1 "Arial Black",Arial,sans-serif!important; }
html[data-tres-design] :is(.tres-header__link,.tres-header__language,.tres-header .theme-toggle) { background:transparent!important; color:var(--tres-ink)!important; border:0!important; border-radius:24px!important; min-height:48px!important; padding:12px 16px!important; font:500 14px/20px var(--tres-font)!important; }
html[data-tres-design] :is(.tres-header__link,.tres-header__language,.tres-header .theme-toggle):hover { background:var(--tres-container)!important; }
html[data-tres-design] .top-stripe { background:var(--tres-gold)!important; height:0!important; }
html[data-tres-design] .site-nav { position:relative!important; background:var(--tres-surface)!important; border:0!important; height:auto!important; min-height:80px; padding:16px 32px!important; }
html[data-tres-design] .nav-logo-box { width:40px!important; height:40px!important; background:var(--tres-gold)!important; border:0!important; border-radius:12px!important; }
html[data-tres-design] .nav-logo-box span { color:#000!important; font:900 26px/1 "Arial Black",Arial,sans-serif!important; }
html[data-tres-design] .nav-wordmark { color:var(--tres-ink)!important; font:800 22px/28px "Arial Black",Arial,sans-serif!important; }

/* Content pages, download panels and table-of-contents navigation. */
html[data-tres-design] :is(.sections-wrap,.rd-shell) { max-width:1200px!important; width:calc(100% - 64px)!important; margin-inline:auto!important; padding-inline:0!important; }
html[data-tres-design] :is(.hero,.page-header) { padding-top:48px!important; padding-bottom:48px!important; }
html[data-tres-design] :is(.product-hero-layout,.batchre-hero-layout) { max-width:1200px!important; gap:48px!important; }
html[data-tres-design] :is(.product-action-card,.download-card) { background:var(--tres-container)!important; border:0!important; border-radius:28px!important; padding:32px!important; box-shadow:none!important; }
html[data-tres-design] .download-title { font-size:22px!important; line-height:28px!important; font-weight:400!important; color:var(--tres-ink)!important; }
html[data-tres-design] :is(.hero-platform,.hero-tag,.tag,.download-badge,.preset-tag) { background:var(--tres-container)!important; color:var(--tres-body)!important; border:0!important; border-radius:8px!important; font:500 12px/16px var(--tres-font)!important; padding:6px 12px!important; }
html[data-tres-design] .hero-platform:has(.tres-product-icon) { padding:0!important; background:transparent!important; border-radius:0!important; gap:16px!important; align-items:center!important; }
html[data-tres-design] .tres-product-icon { display:inline-block; width:64px; height:64px; object-fit:contain; border-radius:16px; vertical-align:middle; flex-shrink:0; }
html[data-tres-design] .tres-card-icon { display:block; width:48px; height:48px; object-fit:contain; border-radius:12px; flex-shrink:0; }
html[data-tres-design] :is(.btn-dl,.btn-primary,.btn-home,.btn-guide,.cta,.closing-cta a) { background:var(--tres-gold)!important; color:#000!important; border:0!important; border-radius:24px!important; min-height:48px!important; padding:14px 24px!important; font:500 14px/20px var(--tres-font)!important; box-shadow:none!important; text-decoration:none!important; transform:none!important; }
html[data-tres-design] :is(.btn-dl,.btn-primary,.btn-home,.btn-guide,.cta):hover { background:#bda039!important; transform:none!important; box-shadow:0 1px 3px #0002!important; }
html[data-tres-design] :is(.btn-dl-secondary,.cta.secondary) { background:var(--tres-high)!important; color:var(--tres-ink)!important; }
html[data-tres-design] .toc-bar { background:var(--tres-surface)!important; border-color:var(--tres-outline)!important; box-shadow:none!important; position:sticky!important; top:0!important; }
html[data-tres-design] .toc-bar-inner { gap:8px!important; padding-block:8px!important; }
html[data-tres-design] .toc-btn { background:transparent!important; color:var(--tres-body)!important; border:0!important; border-radius:24px!important; min-height:48px!important; padding:12px 20px!important; font:500 14px/20px var(--tres-font)!important; }
html[data-tres-design] .toc-btn:is(.active,:hover) { background:var(--tres-container)!important; color:var(--tres-ink)!important; }
html[data-tres-design] :is(.toc-btn-num,.section-num,.section-label,.section-eyebrow,.eyebrow,.hero-platform) { color:var(--tres-body)!important; }
html[data-tres-design] .section { padding-block:48px!important; border-color:var(--tres-outline)!important; }
html[data-tres-design] :is(.feat-grid,.mode-grid,.pins-grid,.export-grid,.pricing-grid,.safety-grid) { background:transparent!important; gap:24px!important; }
html[data-tres-design] :is(.feat-card,.mode-card,.pin-item,.export-item,.price-card,.safety-card,.english-landing .card) { background:var(--tres-container)!important; border:0!important; border-radius:12px!important; padding:24px!important; box-shadow:none!important; color:var(--tres-ink)!important; }
html[data-tres-design] :is(.feat-icon,.snum,.step-num,.section-num) { background:var(--tres-high)!important; color:var(--tres-ink)!important; border:0!important; border-radius:12px!important; }
html[data-tres-design] .price-card.featured { background:var(--tres-low)!important; border:1px solid var(--tres-gold)!important; }
html[data-tres-design] :is(.note-box,.note,.tip,.performance-note,.codec-notice,.mode-intro,.simple-story,.language-note) { background:var(--tres-container)!important; color:var(--tres-body)!important; border-color:var(--tres-outline)!important; border-radius:12px!important; }
html[data-tres-design] .simple-story { padding:24px!important; border-left:0!important; }
html[data-tres-design] .simple-headline { font-size:32px!important; line-height:40px!important; font-weight:400!important; color:var(--tres-ink)!important; letter-spacing:0!important; }
html[data-tres-design] .simple-benefits { font-size:16px!important; line-height:24px!important; }
html[data-tres-design] .simple-benefits li::before { color:var(--tres-ink)!important; }
html[data-tres-design] :is(.ui-preview,.ui-card) { border-radius:16px!important; }
html[data-tres-design] :is(.dtable,.spec-table) { line-height:1.5!important; }
html[data-tres-design] :is(.dtable,.spec-table) th { background:var(--tres-low)!important; color:var(--tres-body)!important; font-size:14px!important; }
html[data-tres-design] :is(.dtable,.spec-table) td { font-size:14px!important; line-height:20px!important; padding-block:16px!important; border-color:var(--tres-outline)!important; }
html[data-tres-design] :is(.faq-item,.cl-entry,.release-notes) { border-radius:12px!important; border-color:var(--tres-outline)!important; background:var(--tres-low)!important; }
html[data-tres-design] :is(.screenshot-img,.sc-img,.screenshot-vertical,.screenshot-horizontal) { border-radius:12px!important; object-fit:contain!important; }
html[data-tres-design] .screenshot-img { width:auto!important; max-width:100%!important; max-height:640px!important; margin-inline:auto!important; display:block!important; }
html[data-tres-design] :is(.sc-wrap,.img-col) { background:var(--tres-container)!important; border-radius:16px!important; padding:16px!important; }

/* Original home-page content, with the approved card and header treatment. */
html[data-tres-design] .rd-hero { padding-block:64px!important; gap:48px!important; }
html[data-tres-design] .rd-hero h1 { font-size:45px!important; line-height:52px!important; font-weight:400!important; letter-spacing:0!important; }
html[data-tres-design] .rd-hero h1 em { color:var(--tres-ink)!important; }
html[data-tres-design] .rd-eyebrow { color:var(--tres-body)!important; font:500 14px/20px var(--tres-font)!important; letter-spacing:0!important; }
html[data-tres-design] .rd-lead { font:400 16px/24px var(--tres-font)!important; color:var(--tres-body)!important; }
html[data-tres-design] .rd-screen { background:var(--tres-container)!important; border:0!important; padding:32px!important; border-radius:28px!important; box-shadow:none!important; }
html[data-tres-design] .rd-screen img { max-height:480px!important; }
html[data-tres-design] :is(.rd-caption,.rd-mono) { color:var(--tres-body)!important; font-size:12px!important; line-height:16px!important; letter-spacing:0!important; }
html[data-tres-design] .rd-featured { gap:24px!important; background:transparent!important; }
html[data-tres-design] .rd-feature { background:var(--tres-container)!important; color:var(--tres-ink)!important; border:0!important; border-radius:12px!important; padding:24px!important; box-shadow:none!important; gap:16px!important; min-height:0!important; }
html[data-tres-design] .rd-feature h3 { font-size:22px!important; line-height:28px!important; font-weight:400!important; letter-spacing:0!important; }
html[data-tres-design] .rd-feature h3 small { font:500 16px/24px var(--tres-font)!important; color:var(--tres-ink)!important; letter-spacing:0!important; }
html[data-tres-design] .rd-product-kicker { background:transparent!important; color:var(--tres-body)!important; border:0!important; padding:0!important; margin:0!important; font-size:12px!important; }
html[data-tres-design] .rd-copy { margin:8px 0!important; font-size:14px!important; line-height:20px!important; color:var(--tres-body)!important; }
html[data-tres-design] .rd-copy strong { font-size:16px!important; line-height:24px!important; font-weight:500!important; color:var(--tres-ink)!important; }
html[data-tres-design] .rd-feature-foot { border:0!important; margin-top:auto!important; }
html[data-tres-design] .rd-list { gap:24px!important; }
html[data-tres-design] .rd-row { background:var(--tres-container)!important; border:0!important; border-radius:12px!important; padding:24px!important; min-height:144px!important; grid-template-columns:32px minmax(0,1fr)!important; }
html[data-tres-design] .rd-row:hover { background:var(--tres-high)!important; }
html[data-tres-design] .rd-index { color:var(--tres-body)!important; }
html[data-tres-design] .rd-name { font-size:22px!important; line-height:28px!important; font-weight:400!important; gap:12px!important; }
html[data-tres-design] .rd-name .tres-card-icon { width:40px; height:40px; border-radius:10px; }
html[data-tres-design] .rd-desc { font-size:14px!important; line-height:20px!important; }
html[data-tres-design] .rd-platform-label { background:transparent!important; border:0!important; color:var(--tres-body)!important; font-size:12px!important; line-height:16px!important; }
html[data-tres-design] .rd-about { border:0!important; background:var(--tres-low)!important; border-radius:28px!important; padding:32px!important; margin-top:48px!important; gap:32px!important; }
html[data-tres-design] .rd-about h2 { font-size:32px!important; line-height:40px!important; font-weight:400!important; }
html[data-tres-design] .pp-dialog { background:var(--tres-surface)!important; color:var(--tres-body)!important; border-radius:28px!important; }
html[data-tres-design] .pp-close { width:48px!important; height:48px!important; border-radius:24px!important; }

/* Recently added iOS guide pages retain every original heading, table and screenshot. */
html[data-tres-page="ios"] :is(header,main,footer) { max-width:1200px!important; width:calc(100% - 64px)!important; padding:24px 0!important; margin-inline:auto!important; }
html[data-tres-page="ios"] body>header { border:0!important; min-height:80px; align-items:center; }
html[data-tres-page="ios"] body>header a { display:inline-flex; align-items:center; min-height:48px; font-weight:500; }
html[data-tres-page="ios"] body>header>a:first-child { gap:12px; font-family:"Arial Black",Arial,var(--tres-font); font-weight:800; text-decoration:none; }
html[data-tres-page="ios"] body>header>a:first-child::before { content:"T"; display:grid; place-items:center; flex-shrink:0; width:40px; height:40px; background:var(--tres-gold); color:#000; border-radius:12px; font:900 26px/1 "Arial Black",Arial,sans-serif; }
html[data-tres-page="ios"] main>nav { gap:8px 16px!important; margin-block:24px!important; }
html[data-tres-page="ios"] main>nav a { border:0!important; border-radius:24px!important; min-height:48px!important; padding:14px 24px!important; background:var(--tres-container)!important; text-decoration:none; font:500 14px/20px var(--tres-font)!important; }
html[data-tres-page="ios"] section { padding:40px 0!important; border-color:var(--tres-outline)!important; }
html[data-tres-page="ios"] h2 { font-size:28px!important; line-height:36px!important; font-weight:400!important; }
html[data-tres-page="ios"] p { max-width:none!important; line-height:24px!important; margin-block:16px!important; }
html[data-tres-page="ios"] table { font-size:14px!important; line-height:20px!important; border-color:var(--tres-outline)!important; }
html[data-tres-page="ios"] th { background:var(--tres-container)!important; }
html[data-tres-page="ios"] :is(th,td) { padding:16px!important; border-color:var(--tres-outline)!important; }
html[data-tres-page="ios"] figure { background:var(--tres-container)!important; padding:24px!important; border-radius:28px!important; text-align:center; }
html[data-tres-page="ios"] figure img { max-height:560px!important; margin:auto!important; border:0!important; border-radius:12px!important; }
html[data-tres-page="ios"] figcaption { font:400 14px/20px var(--tres-font)!important; color:var(--tres-body)!important; }

/* Legal pages and the camera compatibility list. */
html[data-tres-page="legal"] :is(.privacy-body,.container) { max-width:1000px!important; }
html[data-tres-page="legal"] :is(.doc-section,.privacy-body section) { border-color:var(--tres-outline)!important; }
html[data-tres-page="legal"] :is(.art-num,.header-tag,.header-meta) { color:var(--tres-body)!important; }
html[data-tres-page="legal"] .lang-btn { border-radius:24px!important; min-height:48px!important; font-size:14px!important; }
html[data-tres-page="legal"] .lang-btn.active { background:var(--tres-gold)!important; color:#000!important; border-color:transparent!important; }
html[data-tres-page="cameras"] main { max-width:1200px!important; padding:48px 32px!important; }
html[data-tres-page="cameras"] .product { color:var(--tres-body)!important; }
html[data-tres-page="cameras"] .intro { font-size:16px!important; line-height:24px!important; }
html[data-tres-page="cameras"] :is(.purchase-note,.brand-count,.brand-verified,.notes,.updated) { font-size:14px!important; line-height:20px!important; }
html[data-tres-page="cameras"] .brand { background:var(--tres-low)!important; border-color:var(--tres-outline)!important; border-radius:16px!important; }
html[data-tres-page="cameras"] .brand-name { font:400 22px/28px var(--tres-font)!important; }
html[data-tres-page="cameras"] summary:hover { background:var(--tres-container)!important; }
html[data-tres-page="cameras"] .list-actions { gap:16px!important; flex-wrap:wrap; }
html[data-tres-page="cameras"] .list-actions button { min-height:48px!important; padding:12px 20px!important; border-radius:24px!important; background:var(--tres-container)!important; color:var(--tres-ink)!important; font-size:14px!important; }
html[data-tres-page="cameras"] table { table-layout:auto!important; }
html[data-tres-page="cameras"] :is(th,td,td small) { font-size:14px!important; line-height:20px!important; border-color:var(--tres-outline)!important; }

/* Existing app work surfaces: preserve image/canvas/map dimensions and output colors. */
html[data-tres-page="webapp"] :is(button,.button,.header-help) { border-radius:24px!important; min-height:48px!important; font:500 14px/20px var(--tres-font)!important; }
html[data-tres-design][data-tres-page="webapp"] :is(h1,header h1,.app-header h1) { font-size:22px!important; line-height:28px!important; font-weight:400!important; }
html[data-tres-page="webapp"] :is(button.primary,.button.primary) { background:var(--tres-gold)!important; color:#000!important; border-color:transparent!important; }
html[data-tres-page="webapp"] :is(button.primary,.button.primary):hover:not(:disabled) { background:#bda039!important; color:#000!important; }
html[data-tres-page="webapp"] :is(.button.outline,.header-help) { background:var(--tres-surface)!important; border-color:#767676!important; color:var(--tres-ink)!important; }
html[data-tres-page="webapp"] :is(.mode-tabs,.control-section,.input-summary,.output-policy) { border-radius:12px!important; }
html[data-tres-page="webapp"] .mode-tabs button[aria-selected="true"] { background:#eee5c8!important; color:#000!important; box-shadow:none!important; }
html[data-tres-page="webapp"] :is(.app-header,header,.controls,.save-panel,aside) { background:var(--tres-surface)!important; border-color:var(--tres-outline)!important; }
html[data-tres-page="webapp"] :is(input:not([type="range"]):not([type="color"]),select,textarea) { border-radius:8px!important; border-color:#767676!important; }
html[data-tres-page="webapp"] :is(.dropzone,#dropzone) { background:var(--tres-low)!important; border-color:#767676!important; border-radius:16px!important; }
html[data-tres-page="webapp"] .brand-mark { background:var(--tres-gold)!important; color:#000!important; border-radius:12px!important; }
html[data-tres-page="travel"] #root { --tw-ring-color:#000; }
html[data-tres-page="travel"] #root :is(.bg-blue-600,.bg-gray-900,.bg-gray-950) { background:var(--tres-gold)!important; color:#000!important; }
html[data-tres-page="travel"] #root .bg-blue-100 { background:var(--tres-container)!important; }
html[data-tres-page="travel"] #root .text-blue-700 { color:var(--tres-ink)!important; }
html[data-tres-page="travel"] #root .hover\:bg-blue-50:hover { background:var(--tres-container)!important; }
html[data-tres-page="travel"] #root :is(button,input,select,textarea) { font-family:var(--tres-font)!important; min-height:48px; }
html[data-tres-page="travel"] #root button { border-radius:24px!important; }
html[data-tres-page="analytics"] button { min-height:48px!important; border-radius:24px!important; }
html[data-tres-page="analytics"] button[aria-pressed="true"] { background:var(--tres-gold)!important; color:#000!important; border-color:transparent!important; }
html[data-tres-page="analytics"] :is(.stat,.section) { border-radius:12px!important; background:var(--tres-low)!important; }
html[data-tres-page="analytics"] .section { padding:24px!important; }
html[data-tres-page="analytics"] h1 { font-size:32px!important; line-height:40px!important; }

/* Shared content components: card spacing is independent of legacy page styles. */
html[data-tres-design] { --tres-card-padding:24px; --tres-card-gap:16px; }
html[data-tres-design] :is(.faq-item,.faq-list>.faq-item) {
  padding:var(--tres-card-padding)!important; margin:0 0 var(--tres-card-gap)!important;
  background:var(--tres-low)!important; border:0!important; border-radius:12px!important;
}
html[data-tres-design] .faq-q {
  display:block!important; position:relative!important; padding:12px 32px!important;
  margin:0!important; min-height:48px!important; list-style:none!important;
  font:500 16px/24px var(--tres-font)!important; color:var(--tres-ink)!important;
}
html[data-tres-design] .faq-q::-webkit-details-marker { display:none; }
html[data-tres-design] .faq-q::before {
  content:"Q."!important; position:absolute!important; top:12px!important; left:0!important;
  width:24px!important; height:24px!important; color:var(--tres-body)!important;
  font:500 14px/24px var(--tres-font)!important;
}
html[data-tres-design] .faq-q::after {
  content:"＋"!important; position:absolute!important; top:12px!important; right:0!important;
  width:24px!important; text-align:center!important; font:400 20px/24px var(--tres-font)!important;
}
html[data-tres-design] details[open]>.faq-q::after { content:"−"!important; }
html[data-tres-design] .faq-a {
  display:block!important; position:relative!important; padding:0 0 0 32px!important;
  margin:8px 0 0!important; max-width:none!important;
  font:400 16px/24px var(--tres-font)!important; color:var(--tres-body)!important;
}
html[data-tres-design] .faq-a::before {
  content:"A."!important; position:absolute!important; top:0!important; left:0!important;
  width:24px!important; height:24px!important; color:var(--tres-body)!important;
  font:500 14px/24px var(--tres-font)!important;
}
html[data-tres-design] .faq-list { display:block!important; gap:0!important; }
html[data-tres-design] .tres-update-card {
  background:var(--tres-container)!important; border:0!important; border-radius:12px!important;
  padding:var(--tres-card-padding)!important; margin:0 0 var(--tres-card-gap)!important;
  color:var(--tres-body)!important; box-shadow:none!important;
}
html[data-tres-design] .tres-update-card :is(.cl-head,h3) { margin-top:0!important; margin-bottom:16px!important; }
html[data-tres-design] .tres-update-card :is(.cl-head,h3) { border:0!important; padding:0!important; }
html[data-tres-design] .tres-update-card h3::before { content:none!important; }
html[data-tres-design] .tres-update-card :is(.cl-ver,h3) { font:500 22px/28px var(--tres-font)!important; color:var(--tres-ink)!important; }
html[data-tres-design] .tres-update-card :is(ul,.cl-list,.release-list) { list-style:disc!important; padding-left:20px!important; margin:16px 0 0!important; }
html[data-tres-design] .tres-update-card li { display:list-item!important; padding:0!important; border:0!important; margin:0 0 8px!important; font:400 14px/20px var(--tres-font)!important; }
html[data-tres-design] .tres-update-card li::before { content:none!important; }
html[data-tres-design] .tres-update-card summary { min-height:48px!important; font:500 16px/24px var(--tres-font)!important; }
html[data-tres-design] .tres-update-card p { margin:16px 0 0!important; font:400 14px/20px var(--tres-font)!important; }
html[data-tres-design] .tres-update-card :is(.cl-now,.download-badge) { padding:4px 8px!important; background:#eee5c8!important; color:#000!important; border-radius:8px!important; font:500 12px/16px var(--tres-font)!important; }
html[data-tres-design] .tres-update-card.latest::before { content:none!important; }
html[data-tres-design] .steps { display:flex!important; flex-direction:column!important; gap:16px!important; margin-block:24px!important; }
html[data-tres-design] .steps>:is(li,.step) { background:var(--tres-container)!important; padding:var(--tres-card-padding)!important; border:0!important; border-radius:12px!important; display:flex!important; gap:16px!important; align-items:flex-start!important; }
html[data-tres-design] .steps :is(.snum,.step-num) { position:static!important; flex:0 0 32px!important; width:32px!important; height:32px!important; border-radius:50%!important; display:grid!important; place-items:center!important; background:var(--tres-gold)!important; color:#000!important; font:500 14px/20px var(--tres-font)!important; }
html[data-tres-design] .steps :is(.sbody,.step-body) { min-width:0!important; flex:1; }
html[data-tres-design] .steps :is(.stitle,.step-title) { margin:0 0 8px!important; }
html[data-tres-design] :is(.note,.note-box,.tip,.performance-note,.codec-notice,.alert) { padding:var(--tres-card-padding)!important; }
html[data-tres-design] .tres-generated-toc .toc-bar-inner { display:flex!important; overflow-x:auto!important; max-width:1200px; margin:auto; }
html[data-tres-design] .tres-generated-toc .toc-btn { flex-shrink:0!important; white-space:nowrap; }
html[data-tres-design] [data-tres-section-role] { scroll-margin-top:96px!important; }
@media(max-width:680px) { html[data-tres-design] { --tres-card-padding:16px; } }

@media (min-width:1440px) { html[data-tres-design] :is(.hero-title,.rd-hero h1) { font-size:57px!important; line-height:64px!important; } }
@media (max-width:900px) {
  html[data-tres-design] :is(.product-hero-layout,.batchre-hero-layout) { grid-template-columns:1fr!important; gap:32px!important; }
  html[data-tres-design] .tres-header__inner { flex-wrap:wrap!important; gap:8px 16px!important; }
  html[data-tres-design] :is(.tres-header__left,.tres-header__actions) { flex-wrap:wrap!important; gap:8px!important; }
}
@media (max-width:680px) {
  html[data-tres-design],html[data-tres-design] body { --pad:16px!important; }
  html[data-tres-design] :is(.sections-wrap,.rd-shell,.tres-header__inner) { width:calc(100% - 32px)!important; }
  html[data-tres-design] .tres-header__brand { font-size:18px!important; line-height:24px!important; }
  html[data-tres-design] :is(.tres-header__link,.tres-header__language) { padding-inline:12px!important; }
  html[data-tres-design] :is(h1,.page-title,.hero-title,.rd-hero h1) { font-size:32px!important; line-height:40px!important; }
  html[data-tres-design] :is(.section-title,h2.section-title) { font-size:28px!important; line-height:36px!important; }
  html[data-tres-design] :is(.hero,.page-header,.rd-hero) { padding-block:32px!important; }
  html[data-tres-design] .section { padding-block:32px!important; }
  html[data-tres-design] :is(.feat-grid,.mode-grid,.export-grid,.pricing-grid,.safety-grid,.rd-featured,.rd-list) { grid-template-columns:1fr!important; gap:16px!important; }
  html[data-tres-design] :is(.product-action-card,.download-card,.rd-screen) { padding:24px!important; }
  html[data-tres-design] .tres-product-icon { width:56px; height:56px; border-radius:14px; }
  html[data-tres-design] .rd-about { padding:24px!important; }
  html[data-tres-page="ios"] :is(header,main,footer) { width:calc(100% - 32px)!important; }
  html[data-tres-page="ios"] figure { padding:16px!important; }
  html[data-tres-page="ios"] :is(th,td) { padding:12px!important; }
  html[data-tres-page="cameras"] main { padding:32px 16px!important; }
  html[data-tres-page="cameras"] summary { flex-wrap:wrap; gap:8px 12px!important; padding:16px!important; }
}
@media (prefers-reduced-motion:reduce) { html[data-tres-design] { scroll-behavior:auto!important; } html[data-tres-design] *,html[data-tres-design] *::before,html[data-tres-design] *::after { transition:none!important; animation:none!important; } }
@media (forced-colors:active) {
  html[data-tres-design] :is(.btn-dl,.btn-primary,.feat-card,.product-action-card,.tres-header__mark) { border:1px solid ButtonText!important; }
  html[data-tres-design] :is(a,button,input,select,textarea,summary):focus-visible { outline-color:Highlight!important; }
}

/* v4: plain content labels, consistent product headers, image-and-copy guides. */
html[data-tres-design] .rd-section-head { padding:24px 0!important; }
html[data-tres-design] .rd-section-head h2 { margin:0!important; font:400 32px/40px var(--tres-font)!important; letter-spacing:0!important; }
html[data-tres-design] .rd-featured { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
html[data-tres-design] :is(.rd-feature,.rd-row) { display:flex!important; flex-direction:column!important; gap:16px!important; align-items:stretch!important; min-height:0!important; }
html[data-tres-design] .tres-tool-heading { display:grid!important; grid-template-columns:64px minmax(0,1fr)!important; align-items:center!important; gap:16px!important; }
html[data-tres-design] .tres-tool-heading .tres-card-icon { width:64px!important; height:64px!important; margin:0!important; border-radius:16px!important; }
html[data-tres-design] .tres-tool-title { min-width:0; }
html[data-tres-design] .tres-tool-title h3 { margin:0!important; font:400 22px/28px var(--tres-font)!important; overflow-wrap:anywhere; }
html[data-tres-design] .tres-tool-platform { display:block; margin-top:4px; font:400 14px/20px var(--tres-font); color:var(--tres-body); }
html[data-tres-design] .tres-tool-subtitle { margin:0!important; font:500 16px/24px var(--tres-font)!important; }
html[data-tres-design] .rd-row .rd-desc { margin:0!important; grid-column:auto!important; padding:0!important; font:400 16px/24px var(--tres-font)!important; }
html[data-tres-design] .tres-web-icon { padding:14px; background:#e4e4e4; color:#333; }
html[data-tres-design] .rd-copy { font:400 16px/24px var(--tres-font)!important; }
html[data-tres-design] .rd-screen { padding:0!important; background:transparent!important; border:0!important; border-radius:0!important; }
html[data-tres-design] :is(.img-col,.sc-wrap) { padding:0!important; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
html[data-tres-design] .sections-wrap .img-row { display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:32px!important; margin-block:32px!important; }
html[data-tres-design] .sections-wrap .img-row .img-col { display:grid!important; grid-template-columns:minmax(180px,280px) minmax(0,1fr)!important; grid-template-rows:auto auto!important; gap:8px 32px!important; align-items:start!important; width:100%!important; max-width:880px!important; flex:none!important; }
html[data-tres-design] .img-col :is(.guide-image-button,img) { grid-column:1; grid-row:1; width:auto!important; max-width:100%!important; justify-self:center; }
html[data-tres-design] .img-col :is(.screenshot-vertical,.screenshot-horizontal) { display:block!important; width:auto!important; max-height:480px!important; object-fit:contain!important; }
html[data-tres-design] .img-col .guide-image-hint { grid-column:1; grid-row:2; text-align:center; margin:0!important; font:400 14px/20px var(--tres-font)!important; }
html[data-tres-design] .img-col .caption { grid-column:2; grid-row:1 / span 2; width:100%!important; max-width:40em!important; margin:0!important; font:400 16px/26px var(--tres-font)!important; }
html[data-tres-design] .sc-row { gap:32px!important; }
html[data-tres-page="ios"] figure { padding:0!important; background:transparent!important; border:0!important; border-radius:0!important; }
html[data-tres-design] .fmt-grid { display:flex!important; flex-wrap:wrap!important; gap:12px!important; background:transparent!important; border:0!important; padding:0!important; }
html[data-tres-design] .fmt-card { flex:0 1 176px!important; max-width:100%; min-width:0; background:var(--tres-low)!important; border:0!important; border-radius:12px!important; padding:16px!important; }
html[data-tres-design] .fmt-maker { font:500 14px/20px var(--tres-font)!important; color:var(--tres-ink)!important; text-transform:none!important; letter-spacing:0!important; }
html[data-tres-design] .fmt-exts { font:400 16px/24px var(--tres-font)!important; overflow-wrap:anywhere; }
html[data-tres-page="licenses"] main { max-width:960px; margin:auto; padding:48px 32px; }
html[data-tres-page="licenses"] h1 { font:400 32px/40px var(--tres-font); margin-bottom:24px; }
html[data-tres-page="licenses"] section { padding-block:24px; }
html[data-tres-page="licenses"] h2 { font:400 24px/32px var(--tres-font); margin-bottom:16px; }
html[data-tres-page="licenses"] p { margin:16px 0; line-height:1.7; }
html[data-tres-page="licenses"] li { margin:12px 0; overflow-wrap:anywhere; }
html[data-tres-page="licenses"] pre { white-space:pre-wrap; overflow-wrap:anywhere; font:400 14px/24px ui-monospace,Consolas,monospace; margin-block:24px; }
html[data-tres-page="licenses"] summary { min-height:48px; padding-block:12px; cursor:pointer; font-size:16px; }
@media(max-width:680px) {
 html[data-tres-design] .rd-featured { grid-template-columns:1fr!important; }
 html[data-tres-design] .tres-tool-heading { grid-template-columns:56px minmax(0,1fr)!important; gap:16px!important; }
 html[data-tres-design] .tres-tool-heading .tres-card-icon { width:56px!important; height:56px!important; border-radius:14px!important; }
 html[data-tres-design] .sections-wrap .img-row .img-col { display:flex!important; flex-direction:column!important; gap:12px!important; align-items:flex-start!important; }
 html[data-tres-design] .img-col :is(.guide-image-button,img) { align-self:center; max-width:100%!important; }
 html[data-tres-design] .img-col .guide-image-hint { align-self:center; }
 html[data-tres-design] .img-col .caption { width:100%!important; }
 html[data-tres-design] .fmt-card { flex-basis:calc(50% - 6px)!important; }
 html[data-tres-page="licenses"] main { padding:32px 16px; }
}
