:root {
  color-scheme: light;
  --paper: #f7f7f0;
  --white: #fcfcf8;
  --ink: #1b231a;
  --muted: #586053;
  --quiet: #6c7467;
  --line: #dcded3;
  --line-dark: #c8cbbd;
  --wash: #eceee4;
  --lime: #e0ef9e;
  --font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --header: 70px;
  --page-gutter: clamp(24px, 5vw, 82px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
svg { display: inline-block; flex: none; vertical-align: middle; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 2px solid #417053; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 10; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }
.frame { width: min(1240px, calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }

.topbar { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar-inner, .topnav, .header-actions, .wordmark { display: flex; align-items: center; }
.topbar-inner { min-height: calc(var(--header) - 1px); gap: clamp(24px, 4.55vw, 66px); }
.wordmark { gap: 9px; flex: none; font-weight: 760; font-size: 16px; line-height: 1.08; letter-spacing: -.04em; }
.wordmark svg { width: 35px; height: 35px; }
.wordmark small { display: block; margin-top: 4px; color: var(--muted); font: 650 9px/1 var(--mono); letter-spacing: .13em; }
.topnav { gap: 27px; align-self: stretch; }
.toplink { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-weight: 580; white-space: nowrap; }
.topnav .toplink { position: relative; color: var(--muted); }
.topnav .toplink:hover, .topnav .toplink[aria-current] { color: var(--ink); }
.topnav .toplink[aria-current] { font-weight: 720; }
.topnav .toplink[aria-current]::after { content: ''; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: var(--ink); }
.header-actions { margin-left: auto; gap: 9px; }
.header-search { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; }
.header-search svg, .saved-link svg { width: 17px; height: 17px; }
.header-search:hover { background: var(--wash); }
.saved-link { border: 1px solid var(--line-dark); border-radius: 24px; padding: 6px 13px; }
.saved-link:hover { background: var(--wash); }
.saved-link[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.saved-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding-inline: 4px; border-radius: 50px; color: var(--ink); background: var(--lime); font: 650 11px/1 var(--mono); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); align-items: center; gap: clamp(28px, 4.4vw, 68px); padding-block: clamp(42px, 4.1vw, 66px) clamp(36px, 3.25vw, 54px); }
.hero-copy { min-width: 0; }
.hero-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 650 11px/1.4 var(--mono); letter-spacing: .17em; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #5f7952; }
.hero h1 { margin: 19px 0 17px; font-size: clamp(51px, 5.4vw, 87px); font-weight: 820; line-height: 1.06; letter-spacing: -.055em; }
.hero h1 > span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; }
.hero-stop { color: #668454; }
.hero-description { color: var(--muted); font-size: clamp(14px, 1.18vw, 17px); }
.search-box { display: flex; align-items: center; gap: 11px; width: min(100%, 485px); min-height: 53px; margin-top: 23px; padding: 0 12px 0 15px; border-radius: 11px; border: 1px solid var(--line-dark); background: var(--white); box-shadow: 0 2px 3px #1b231a06; }
.search-box:focus-within { border-color: #61775a; box-shadow: 0 0 0 3px #66845422; }
.search-icon { width: 20px; height: 20px; }
.search-box input { min-width: 0; width: 100%; min-height: 51px; padding: 0; background: transparent; border: 0; outline: none; font-size: 16px; appearance: none; }
.search-box input::placeholder { color: var(--quiet); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.shortcut { flex: none; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--muted); padding: 3px 5px; font: 550 11px/1.2 var(--mono); white-space: nowrap; }
.search-clear { flex: none; display: grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 0; border-radius: 7px; background: var(--wash); }
.search-clear:hover { background: var(--line); }
.search-clear svg { width: 17px; height: 17px; }
.quick-search { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin-top: 10px; color: var(--quiet); font-size: 12px; }
.quick-search > span { margin-right: 3px; }
.quick-search a { display: inline-flex; align-items: center; min-height: 29px; padding: 2px 8px; color: var(--muted); border: 1px solid transparent; border-radius: 6px; background: var(--wash); font-weight: 570; }
.quick-search a:hover { color: var(--ink); border-color: var(--line-dark); background: var(--white); }
.hero-panel { min-width: 0; overflow: hidden; border: 1px solid #cbd1bb; border-radius: 17px; background: #e8ecd9; }
.hero-art { width: 100%; height: auto; }
.hero-index { display: flex; align-items: center; gap: 17px; min-height: 45px; padding: 0 15px; border-top: 1px solid #cbd1bb; background: #eff1e5; color: #485043; font-size: 11px; white-space: nowrap; }
.hero-index-label { margin-right: auto; color: var(--muted); font-weight: 650; letter-spacing: .07em; }
.hero-index b { color: var(--ink); font: 680 14px/1 var(--mono); }

.category-nav { border-block: 1px solid var(--line); }
.categories { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; padding: 10px 0; }
.category-filter { display: flex; align-items: center; gap: 7px; min-height: 37px; padding: 4px clamp(8px, .85vw, 13px); border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 580; white-space: nowrap; }
.category-filter svg { width: 15px; height: 15px; }
.category-filter:hover { background: var(--wash); color: var(--ink); }
.category-filter[aria-current] { background: var(--ink); color: var(--white); }
.category-filter[aria-current] svg { color: var(--lime); }
.directory { padding-top: clamp(25px, 2.7vw, 39px); }
.directory-head, .directory-heading { display: flex; min-width: 0; align-items: center; }
.directory-head { justify-content: space-between; gap: 9px; margin-bottom: 18px; }
.directory-heading { flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.directory-head h2 { font-size: clamp(24px, 2.05vw, 33px); line-height: 1.2; font-weight: 780; letter-spacing: -.055em; overflow-wrap: anywhere; }
.directory-head h2:focus-visible { outline-offset: 3px; }
.result-count { color: var(--quiet); font-size: 12px; font-weight: 580; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sorter { display: grid; position: relative; align-items: center; flex: none; }
.sorter select { appearance: none; min-height: 37px; border: 1px solid var(--line-dark); border-radius: 8px; padding: 4px 29px 4px 11px; background: var(--white); font-size: 12px; font-weight: 610; }
.sorter select:hover { border-color: #9ea393; }
.sorter svg { position: absolute; right: 8px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(13px, 1.3vw, 20px); }
.tool-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 2px 3px #1b231a06; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.card-cover { overflow: hidden; aspect-ratio: 2 / 1; background: var(--cover-color); border-radius: 14px 14px 0 0; }
.card-cover img, .detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-cover img { transition: transform .3s ease; }
.card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; margin-top: -21px; padding: 0 15px 12px; }
.card-top { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 8px; }
.tool-logo { position: relative; display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border: 3px solid var(--white); border-radius: 13px; background: linear-gradient(145deg, #ffffff78, transparent 74%), var(--tile, var(--wash)); box-shadow: 0 1px 4px #1b231a1c, inset 0 0 0 1px #1b231a0e; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: -.04em; }
.tool-logo img, .tool-logo svg { width: 26px; height: 26px; object-fit: contain; }
.category-label { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 610; white-space: nowrap; }
.category-label i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--category-dot); box-shadow: inset 0 0 0 1px #18201822; }
.card-top .category-label { margin-bottom: 4px; }
.card-body h3 { margin-bottom: 5px; font-size: clamp(16px, 1.38vw, 21px); font-weight: 760; letter-spacing: -.039em; line-height: 1.24; overflow-wrap: anywhere; }
.card-link::after { content: ''; position: absolute; z-index: 1; inset: 0; border-radius: 14px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid #417053; outline-offset: 3px; }
.card-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: auto; padding-top: 11px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; gap: 4px; }
.tags li { max-width: 100%; border-radius: 5px; padding: 2px 6px; background: #eeefe7; color: #50594a; font-size: 11px; font-weight: 560; line-height: 1.4; overflow-wrap: anywhere; }
.card-outbound { position: relative; z-index: 2; display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 3px; min-height: 28px; margin-right: -4px; padding: 0 4px; border-radius: 4px; color: var(--ink); font-size: 12px; font-weight: 690; white-space: nowrap; }
.card-outbound svg { width: 13px; height: 13px; }
.card-outbound:hover { background: var(--lime); }
.bookmark-btn { position: absolute; z-index: 2; top: 9px; right: 9px; display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border-radius: 50%; border: 1px solid #1b231a24; background: #fcfcf8f5; box-shadow: 0 1px 2px #1b231a12; }
.bookmark-btn svg { width: 16px; height: 16px; }
.bookmark-btn:hover, .bookmark-btn[aria-pressed='true'], .btn-save[aria-pressed='true'] { background: var(--lime); border-color: #93a568; }
.bookmark-btn[aria-pressed='true'] svg, .btn-save[aria-pressed='true'] svg { fill: currentColor; }
.tool-card:focus-within { border-color: #a9ae9d; }
@media (hover: hover) and (pointer: fine) {
  .tool-card:hover { transform: translateY(-2px); border-color: #a9ae9d; box-shadow: 0 7px 18px #1b231a0c; }
  .tool-card:hover .card-cover img { transform: scale(1.036); }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 7px 16px; border: 1px solid var(--line-dark); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 680; line-height: 1.4; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { background: var(--wash); border-color: #9ea393; }
.btn-primary { min-height: 48px; padding-inline: 17px; border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-primary svg { color: var(--lime); }
.btn-primary:hover { background: #344432; border-color: #344432; }
.btn-soft { border-color: var(--ink); }
.empty { padding: 42px 16px 48px; border: 1px dashed var(--line-dark); border-radius: 14px; background: var(--white); text-align: center; }
.empty-icon { display: inline-grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: var(--wash); }
.empty h3 { margin-top: 12px; font-size: 18px; }
.empty p { color: var(--muted); margin: 5px 0 16px; }
.noscript { color: var(--muted); margin-top: 12px; }

.tool-detail { padding-top: clamp(22px, 2.5vw, 38px); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--muted); font-size: 12px; }
.breadcrumb [aria-current] { font-weight: 670; color: var(--ink); overflow-wrap: anywhere; }
.breadcrumb svg { width: 13px; height: 13px; color: var(--quiet); }
.breadcrumb a:hover, .detail-category:hover, .domain:hover, .plain-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(25px, 5vw, 76px); padding-block: clamp(29px, 3.65vw, 54px) clamp(30px, 3.3vw, 52px); }
.detail-identity { display: flex; align-items: center; gap: 12px; }
.detail-identity .tool-logo { width: 56px; height: 56px; border-radius: 15px; font-size: 18px; }
.detail-identity .tool-logo img, .detail-identity .tool-logo svg { width: 30px; height: 30px; }
.detail-category .category-label { border-radius: 6px; padding: 4px 7px; background: var(--wash); }
.detail-summary h1 { margin: 14px 0 12px; font-size: clamp(42px, 5.25vw, 81px); font-weight: 810; letter-spacing: -.055em; line-height: 1.03; overflow-wrap: anywhere; }
.detail-summary p { max-width: 33em; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; text-wrap: pretty; }
.detail-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.domain { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 12px; color: var(--quiet); font-size: 12px; font-weight: 620; overflow-wrap: anywhere; }
.domain svg { width: 14px; height: 14px; }
.detail-figure { min-width: 0; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--white); }
.detail-cover { aspect-ratio: 2 / 1; background: var(--cover-color); }
.detail-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 41px; padding: 6px 13px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; }
.detail-figure figcaption a { display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; }
.detail-figure figcaption a:hover { color: var(--ink); }
.detail-figure figcaption svg { width: 12px; height: 12px; }
.detail-uses { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-block: 18px; border-block: 1px solid var(--line); }
.detail-uses h2 { font-size: 13px; font-weight: 740; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-tags a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 560; }
.detail-tags a svg { width: 14px; height: 14px; }
.detail-tags a:hover { border-color: #a9ae9d; color: var(--ink); background: var(--wash); }
.related { margin-top: clamp(31px, 3.6vw, 53px); }
.related .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plain-link, .footer a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 630; }
.plain-link svg, .footer a svg { width: 16px; height: 16px; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: clamp(38px, 6vw, 83px); padding-block: 19px 26px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 24px; height: 24px; }
.footer b { color: var(--ink); }
.footer-dot { margin-inline: 7px; }

/* Browser tools */
.util-home { padding-top: clamp(22px, 2.5vw, 38px); }
.util-hero { padding-block: clamp(26px, 3.4vw, 46px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.util-hero h1 { margin: 13px 0 14px; font-size: clamp(40px, 5.2vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; }
.util-hero h1 em { font-style: normal; color: #5f7a4e; }
.util-hero p { max-width: 46em; color: var(--muted); font-size: clamp(14px, 1.24vw, 17px); line-height: 1.65; }
.util-group { padding-block: clamp(24px, 3vw, 38px); border-bottom: 1px solid var(--line); }
.util-group-head { display: grid; gap: 5px; margin-bottom: 15px; }
.util-group-head h2 { font-size: clamp(21px, 1.9vw, 28px); font-weight: 770; letter-spacing: -.045em; }
.util-group-head p { color: var(--muted); font-size: 13px; }
.util-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.util-item { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.util-item:hover { border-color: #a9ae9d; background: var(--wash); }
.util-item > svg { width: 16px; height: 16px; color: var(--quiet); margin-left: auto; }
.util-item-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--wash); }
.util-item-icon svg { width: 16px; height: 16px; }
.util-item-text { display: grid; gap: 1px; min-width: 0; }
.util-item-text b { font-size: 12.5px; font-weight: 690; letter-spacing: -.015em; overflow-wrap: anywhere; }
.util-item-text span { color: var(--quiet); font-size: 11px; overflow-wrap: anywhere; }
.util-page { padding-top: clamp(22px, 2.5vw, 38px); }
.util-head { padding-block: clamp(22px, 2.6vw, 36px) clamp(20px, 2.4vw, 30px); max-width: 52em; }
.util-head h1 { font-size: clamp(33px, 3.9vw, 55px); font-weight: 810; letter-spacing: -.055em; line-height: 1.03; }
.util-head p { margin-top: 11px; color: var(--muted); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.65; }
.util-kicker { color: var(--quiet) !important; font: 650 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.util-workbench { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; padding: clamp(16px, 2vw, 26px); border: 1px solid var(--line-dark); border-radius: 16px; background: var(--white); }
.util-drop { position: relative; display: grid; place-items: center; grid-column: 1 / -1; min-height: 148px; padding: 20px; border: 1.5px dashed #b8bdab; border-radius: 12px; background: #fbfbf5; text-align: center; }
.util-drop.is-over { border-color: #5f7a4e; background: #f1f5e6; }
.util-drop-label { display: grid; justify-items: center; gap: 6px; cursor: pointer; }
.util-drop-label svg { width: 26px; height: 26px; color: #5f7a4e; }
.util-drop-label b { font-size: 14px; font-weight: 700; }
.util-drop-label span { color: var(--quiet); font-size: 12px; }
.util-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.util-controls { display: grid; align-content: start; gap: 12px; }
.util-field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.util-field { display: grid; gap: 1px; flex: 1 1 118px; min-width: 0; }
.util-field span { color: var(--quiet); font: 620 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.util-field input, .util-field select { width: 100%; min-height: 41px; padding: 6px 9px; border: 1px solid var(--line-dark); border-radius: 7px; background: var(--paper); font-size: 13px; }
.util-field input[type=range] { padding: 0; min-height: 26px; accent-color: #5f7a4e; }
.util-field input[readonly] { color: var(--muted); background: var(--wash); }
.util-preset-note { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: var(--lime); color: #38431f; font: 640 11px/1.4 var(--mono); }
.util-status { color: var(--quiet); font-size: 11.5px; line-height: 1.55; }
.util-status[data-tone=ok] { color: #4a6c3c; }
.util-status[data-tone=bad] { color: #9a3b30; }
.util-preview { display: grid; place-items: center; min-height: 190px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #f2f2ea; }
.util-preview img { max-height: 300px; width: auto; object-fit: contain; }
.util-preview figcaption { width: 100%; padding: 6px 10px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; }
.util-preview figcaption:empty { display: none; }
.util-result { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; grid-column: 1 / -1; gap: 9px 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.util-result > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.util-result-label { color: var(--quiet); font: 620 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.util-result b { font-size: 20px; font-weight: 770; letter-spacing: -.03em; }
.util-result span { color: var(--quiet); font-size: 11px; }
.util-result a[aria-disabled=true] { opacity: .42; pointer-events: none; }
.util-notes { max-width: 58em; margin-top: clamp(26px, 3vw, 42px); padding-top: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--line); }
.util-notes h2 { margin-bottom: 9px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 760; letter-spacing: -.04em; }
.util-notes p, .util-notes li { color: var(--muted); font-size: 13.5px; line-height: 1.72; }
.util-notes p + p { margin-top: 11px; }
.util-notes ul { display: grid; gap: 7px; padding-left: 18px; list-style: disc; }
.size-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(20px, 3.6vw, 54px); padding: clamp(18px, 2.4vw, 32px); border: 1px solid var(--line-dark); border-radius: 16px; background: var(--white); }
.size-visual { display: grid; place-items: center; min-height: 210px; padding: 18px; border-radius: 11px; background: #eff1e4; }
.size-visual span { display: grid; place-items: center; width: min(100%, 190px); max-height: 230px; border: 1px solid #b6bca8; background: #fffef9; box-shadow: 0 8px 22px #1b231a14; }
.size-visual b { color: #4a5540; font: 650 11px/1.3 var(--mono); }
.size-facts { display: grid; gap: 1px; }
.size-facts > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.size-facts > div:last-child { border-bottom: 0; }
.size-facts dt { color: var(--quiet); font: 620 10px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.size-facts dd { display: flex; align-items: center; gap: 8px; font-size: clamp(15px, 1.5vw, 20px); font-weight: 700; letter-spacing: -.025em; }
.copy { border: 1px solid var(--line-dark); border-radius: 5px; padding: 2px 6px; background: var(--paper); color: var(--quiet); font-size: 10px; font-weight: 600; }
.copy:hover { border-color: #8f9682; color: var(--ink); }
.copy.is-copied { border-color: #7d9c62; color: #43602f; background: #f0f5e4; }
.util-table-wrap { margin-top: clamp(24px, 3vw, 38px); }
.util-table-wrap h2 { margin-bottom: 10px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 750; letter-spacing: -.04em; }
.util-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.util-table th, .util-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.util-table th { color: var(--quiet); font: 620 10px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.util-table td:first-child { font-weight: 650; }
.alt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.alt-card { display: grid; gap: 5px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.alt-card:hover { border-color: #a9ae9d; background: var(--wash); }
.alt-logo { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 3px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.alt-logo img { width: 28px; height: 28px; object-fit: contain; }
.alt-card b { font-size: 16px; font-weight: 720; letter-spacing: -.03em; }
.alt-card span:not(.alt-logo) { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.alt-card i { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--quiet); font-size: 11.5px; font-style: normal; font-weight: 640; }
.alt-card i svg { width: 14px; height: 14px; }
.util-footnote { margin-top: 14px; color: var(--quiet); font-size: 11.5px; }
.aspect-workbench { display: grid; gap: 14px; max-width: 560px; padding: clamp(16px, 2vw, 26px); border: 1px solid var(--line-dark); border-radius: 16px; background: var(--white); }
.aspect-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 10px; border-block: 1px solid var(--line); }
.aspect-result span { color: var(--quiet); font: 620 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.aspect-result b { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.05em; }
.util-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 30px; padding: 3px 9px; border: 1px solid var(--line-dark); border-radius: 6px; background: var(--paper); font: 640 11px/1.4 var(--mono); }
.chip:hover { border-color: #8f9682; background: var(--wash); }
.text-workbench { display: grid; gap: 11px; max-width: 780px; }
.text-field textarea { width: 100%; min-height: 190px; padding: 12px 13px; border: 1px solid var(--line-dark); border-radius: 11px; background: var(--white); font: 13px/1.65 var(--mono); resize: vertical; }
.text-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.text-output { min-height: 96px; margin: 0; padding: 12px 13px; overflow: auto; border: 1px solid var(--line); border-radius: 11px; background: #f2f2ea; font: 12.5px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.text-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--line); }
.text-stats > div { padding: 11px 12px; background: var(--white); }
.text-stats dt { color: var(--quiet); font: 620 9.5px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.text-stats dd { margin: 2px 0 0; font-size: 20px; font-weight: 770; letter-spacing: -.04em; }
.color-swatch { display: block; width: 100%; height: 56px; border: 1px solid var(--line-dark); border-radius: 9px; background: #417053; }
.pdf-list { display: grid; gap: 6px; grid-column: 1 / -1; }
.pdf-list:empty { display: none; }
.pdf-list li { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.pdf-list img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; background: var(--wash); }
.pdf-list span { display: grid; min-width: 0; font-size: 12px; font-weight: 620; overflow-wrap: anywhere; }
.pdf-list small { color: var(--quiet); font-size: 10.5px; font-weight: 500; }
.pdf-list button { margin-left: auto; border: 0; background: none; color: var(--quiet); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.pdf-list button:hover { color: #9a3b30; }
.util-result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1100px) {
  .categories { column-gap: 2px; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 890px) {
  .util-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .util-workbench { grid-template-columns: 1fr; }
  .size-card { grid-template-columns: 1fr; }
  .size-visual { min-height: 160px; }
  .hero { column-gap: 26px; }
  .hero h1 { font-size: clamp(45px, 6.45vw, 58px); }
  .categories { flex-wrap: nowrap; overflow: auto; scrollbar-width: none; padding-inline: 4px; }
  .categories::-webkit-scrollbar { display: none; }
  .categories li { flex: none; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero { gap: 26px; }
  .related .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .util-list, .alt-grid { grid-template-columns: 1fr; }
  .util-hero h1 { font-size: 38px; }
  .util-workbench, .size-card, .aspect-workbench { padding: 14px; border-radius: 12px; }
  .util-drop { min-height: 126px; padding: 14px; }
  .util-preview { min-height: 150px; }
  .util-result b { font-size: 17px; }
  .size-facts dd { font-size: 15px; }
  .text-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --header: 59px; --page-gutter: 18px; }
  .topbar-inner { gap: 17px; }
  .wordmark svg { width: 32px; height: 32px; }
  .wordmark small { font-size: 8px; }
  .topnav { display: none; }
  .header-actions { gap: 3px; }
  .saved-link { min-height: 36px; padding-inline: 9px; font-size: 12px; }
  .header-search { width: 42px; height: 42px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 32px 25px; }
  .hero-label { font-size: 10px; }
  .hero h1 { margin: 13px 0 12px; font-size: clamp(43px, 10.6vw, 64px); }
  .hero-description { font-size: 14px; }
  .search-box { width: 100%; min-height: 49px; margin-top: 16px; padding-inline: 12px; }
  .search-box input { min-height: 47px; }
  .shortcut, .hero-panel { display: none; }
  .quick-search { gap: 4px 6px; margin-top: 9px; }
  .quick-search a { padding-inline: 6px; }
  .categories { padding-block: 7px; }
  .category-filter { min-height: 40px; }
  .directory { padding-top: 21px; }
  .directory-head { margin-bottom: 13px; }
  .tool-grid { gap: 10px; }
  .tool-card { border-radius: 12px; }
  .card-cover { border-radius: 11px 11px 0 0; }
  .card-body { margin-top: -15px; padding: 0 10px 8px; }
  .card-top { gap: 4px; margin-bottom: 5px; }
  .tool-logo { width: 38px; height: 38px; border-radius: 10px; font-size: 11px; }
  .tool-logo img, .tool-logo svg { width: 22px; height: 22px; }
  .category-label { font-size: 10px; gap: 3px; }
  .category-label i { width: 5px; height: 5px; }
  .card-body h3 { font-size: 16px; }
  .card-desc { -webkit-line-clamp: 3; font-size: 12px; }
  .card-bottom { padding-top: 5px; }
  .card-outbound { min-height: 35px; }
  .tags li:nth-child(2) { display: none; }
  .bookmark-btn { width: 32px; height: 32px; top: 6px; right: 6px; }
  .bookmark-btn::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; }
  .detail-hero { grid-template-columns: 1fr; gap: 23px; }
  .detail-summary h1 { font-size: clamp(42px, 11vw, 65px); }
  .detail-actions { margin-top: 16px; }
  .detail-figure { border-radius: 12px; }
  .detail-uses { gap: 8px 14px; padding-block: 14px; }
  .related .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 354px) {
  :root { --page-gutter: 14px; }
  .hero h1 { font-size: 39px; }
  .hero-description { font-size: 13px; }
  .tool-grid, .related .tool-grid { grid-template-columns: 1fr; }
  .tags li:nth-child(2) { display: list-item; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
