:root {
  --ink: #0b1220;
  --muted: #647084;
  --line: #dfe5ec;
  --soft-line: #edf1f5;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --navy: #09101f;
  --navy-2: #111b31;
  --mint: #76f2ce;
  --mint-dark: #0a8e75;
  --blue: #5e7bff;
  --purple: #a270ff;
  --orange: #ff9a63;
  --red: #ef5b67;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px rgba(14, 27, 47, .09);
  --shell: 1180px;
  --tool-control-size: 17px;
  --tool-copy-size: 15px;
  --tool-meta-size: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary, select, input[type="range"] { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.shell.narrow { width: min(820px, calc(100% - 40px)); }
.skip-link { position: fixed; left: 18px; top: -70px; z-index: 100; padding: 10px 16px; color: var(--navy); background: var(--mint); border-radius: 9px; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 30; height: 76px; color: #fff; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { position: relative; display: block; width: 31px; height: 31px; transform: rotate(-1deg); }
.brand-mark span { position: absolute; left: 3px; width: 25px; height: 7px; border-radius: 99px; background: var(--mint); transform: rotate(-43deg); }
.brand-mark span:first-child { top: 7px; }
.brand-mark span:last-child { bottom: 6px; transform: rotate(0); width: 27px; background: #8a9dff; }
.brand-copy { display: flex; align-items: baseline; gap: 5px; line-height: 1; }
.brand-copy strong { font-size: 19px; letter-spacing: -.03em; }
.brand-copy small { font-size: 8px; letter-spacing: .15em; color: var(--mint); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { font-size: 14px; color: #aeb8c9; font-weight: 650; transition: color .2s; }
.main-nav a:hover { color: #fff; }
.user-tools-menu { position: relative; }
.user-tools-menu > summary { display: flex; align-items: center; gap: 8px; padding: 8px 11px; color: #dbe2ee; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; list-style: none; font-size: 13px; font-weight: 700; user-select: none; }
.user-tools-menu > summary::-webkit-details-marker { display: none; }
.user-tools-menu > summary svg { width: 17px; color: var(--mint); }
.user-tools-menu > summary b { min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; color: #07130f; background: var(--mint); border-radius: 99px; font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.user-tools-menu[open] > summary { color: #fff; border-color: rgba(118,242,206,.42); background: rgba(255,255,255,.05); }
.user-tools-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(410px, calc(100vw - 28px)); overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 70px rgba(0,0,0,.23); }
.user-tools-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 21px 22px 15px; }
.user-tools-heading p { margin: 0 0 3px; color: #7d899c; font: 750 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; text-transform: uppercase; }
.user-tools-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.user-tools-tabs { display: flex; gap: 6px; padding: 0 22px 14px; border-bottom: 1px solid var(--soft-line); }
.user-tools-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: var(--muted); background: #f4f6f9; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 750; }
.user-tools-tabs button.is-active { color: #243aab; background: #eef1ff; border-color: #dce2ff; }
.user-tools-tabs span { min-width: 17px; height: 17px; display: inline-grid; place-items: center; padding: 0 4px; color: #6a7588; background: #fff; border-radius: 99px; font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.user-tools-privacy { display: flex; gap: 9px; margin: 0; padding: 13px 22px; color: #506072; background: #f0fbf7; border-bottom: 1px solid #d8f0e8; font-size: 11px; line-height: 1.55; }
.user-tools-privacy svg { flex: 0 0 auto; width: 16px; margin-top: 1px; color: var(--mint-dark); }
.user-tools-content { max-height: min(440px, calc(100vh - 250px)); overflow-y: auto; }
.user-tools-list { display: grid; margin: 0; padding: 7px; list-style: none; }
.user-tools-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-radius: 10px; }
.user-tools-list li:hover { background: #f6f8fb; }
.user-tools-list a { min-width: 0; display: block; padding: 10px 8px 10px 11px; }
.user-tools-list a > span { min-width: 0; display: grid; gap: 1px; }
.user-tools-list strong { overflow: hidden; font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.user-tools-list small { overflow: hidden; color: #8290a2; font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.user-tool-favorite { width: 34px; height: 34px; display: grid; place-items: center; margin-right: 5px; color: #8a96a7; background: transparent; border: 0; border-radius: 9px; }
.user-tool-favorite:hover { color: #7354dc; background: #eeebff; }
.user-tool-favorite svg { width: 17px; }
.user-tool-favorite.is-favorite { color: #6946dc; }
.user-tool-favorite.is-favorite svg { fill: #e7e0ff; }
.user-tools-empty, .user-tools-error { margin: 0; padding: 34px 25px; color: #7b8799; font-size: 12px; text-align: center; }
.user-tools-error { color: #a33c48; background: #fff7f7; }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; color: #dbe2ee; list-style: none; font-size: 13px; font-weight: 650; user-select: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary svg { width: 17px; }
.language-list { position: absolute; right: 0; top: calc(100% + 10px); width: 190px; padding: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.language-list a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; font-size: 14px; }
.language-list a:hover, .language-list a[aria-current="true"] { background: #f0f4ff; }
.language-list a[aria-current="true"] { color: #445fd9; font-weight: 750; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.home-hero { min-height: 660px; padding: 90px 0 0; }
.hero-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.hero-glow { position: absolute; width: 580px; height: 580px; filter: blur(90px); border-radius: 50%; opacity: .14; pointer-events: none; }
.glow-one { right: -130px; top: -220px; background: var(--blue); }
.glow-two { left: 20%; bottom: -450px; background: var(--mint); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--mint-dark); font-size: 12px; line-height: 1.4; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow, .tool-hero .eyebrow, .page-hero .eyebrow { color: var(--mint); }
.eyebrow span { width: 24px; height: 2px; background: currentColor; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: 1.03; letter-spacing: -.052em; text-wrap: balance; }
.hero-lead { max-width: 610px; margin: 26px 0 33px; color: #aeb9cc; font-size: 19px; line-height: 1.75; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #07130f; background: var(--mint); box-shadow: 0 10px 30px rgba(118,242,206,.16); }
.button-primary:hover { background: #98f9dc; box-shadow: 0 12px 36px rgba(118,242,206,.22); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-secondary:hover { border-color: #bac4d0; }
.button.full, .text-button.full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .46; transform: none; box-shadow: none; }
.hero-orbit { position: relative; width: 430px; height: 430px; justify-self: end; }
.orbit { position: absolute; inset: 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; top: 21px; right: 74px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }
.orbit-b { inset: 92px; border-style: dashed; transform: rotate(32deg); }
.orbit-b::after { top: auto; right: auto; bottom: 19px; left: 44px; background: #8a9dff; box-shadow: 0 0 16px #8a9dff; }
.core-logo { position: absolute; inset: 142px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.055); box-shadow: inset 0 0 50px rgba(118,242,206,.08), 0 0 80px rgba(94,123,255,.08); backdrop-filter: blur(10px); }
.brand-mark.large { width: 63px; height: 63px; }
.brand-mark.large span { left: 5px; width: 52px; height: 13px; }
.brand-mark.large span:first-child { top: 16px; }
.brand-mark.large span:last-child { bottom: 12px; width: 55px; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 13px; color: #dfe8f6; background: rgba(17,27,49,.82); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.25); backdrop-filter: blur(10px); font: 650 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.float-chip svg { width: 17px; color: var(--mint); }
.chip-calendar { left: 4px; top: 75px; }
.chip-time { right: -6px; top: 165px; }
.chip-image { left: 46px; bottom: 46px; }
.hero-category-list { display: none; }
.hero-tool-map .orbit-a { inset: 45px; border-color: rgba(118,242,206,.2); border-style: dashed; }
.hero-tool-map .orbit-b { inset: 105px; border-color: rgba(126,149,255,.28); }
.hero-tool-map .orbit::after { width: 6px; height: 6px; }
.tool-map-core { position: absolute; inset: 133px; display: grid; place-content: center; justify-items: center; border: 1px solid rgba(150,169,255,.62); border-radius: 50%; background: rgba(20,31,55,.74); box-shadow: inset 0 0 45px rgba(94,123,255,.08); }
.tool-map-core strong { color: var(--mint); font: 800 64px/.9 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.08em; }
.tool-map-core span { margin-top: 9px; color: #eaf0f9; font: 850 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.tool-map-node { position: absolute; z-index: 2; width: 112px; display: grid; justify-items: center; gap: 7px; color: #dce4f1; text-align: center; font-size: 11px; font-weight: 750; }
.tool-map-node i { width: 52px; height: 52px; display: grid; place-items: center; color: #f3f6fb; background: #101a30; border: 1px solid rgba(130,151,255,.72); border-radius: 50%; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.tool-map-node svg { width: 24px; height: 24px; }
.node-pdf { left: 159px; top: -3px; }
.node-image { right: -8px; top: 104px; }
.node-text { right: 4px; bottom: 67px; }
.node-date { left: 159px; bottom: -3px; }
.node-qr { left: -2px; bottom: 67px; }
.node-focus { left: -8px; top: 104px; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 78px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stats div { display: flex; align-items: center; gap: 13px; padding: 23px 0; border-right: 1px solid rgba(255,255,255,.1); }
.hero-stats div:not(:first-child) { padding-left: 26px; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { color: var(--mint); font: 700 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-stats span { color: #8995aa; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: 105px 0; }
.tools-section { background: #fff; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading.compact { margin-bottom: 30px; }
.section-kicker { margin: 0 0 9px; color: #738095; font: 750 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.04em; }
.section-heading > p { max-width: 490px; margin: 0; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card-shell { position: relative; min-width: 0; }
.tool-card { min-height: 340px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tool-card-shell .tool-card { height: 100%; }
.tool-card:hover { transform: translateY(-5px); border-color: #c8d2df; box-shadow: var(--shadow); }
.tool-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 50px; }
.tool-icon { width: 54px; height: 54px; display: grid; place-items: center; color: #415fe8; background: #eef1ff; border-radius: 15px; }
.tool-icon svg { width: 27px; height: 27px; }
.tool-timestamp .tool-icon { color: #9c5de0; background: #f4ecff; }
.tool-compress .tool-icon { color: #e26b34; background: #fff0e8; }
.tool-pdf-merge .tool-icon, .tool-pdf-split .tool-icon, .tool-images-pdf .tool-icon, .tool-pdf-word .tool-icon { color: #df4e5c; background: #fff0f2; }
.tool-qr-code .tool-icon { color: #087d69; background: #e9fbf6; }
.tool-text-diff .tool-icon { color: #2673b8; background: #eaf5ff; }
.tool-pomodoro .tool-icon { color: #d94f5d; background: #fff0f2; }
.tool-memo .tool-icon { color: #a26618; background: #fff7df; }
.tool-json-code .tool-icon { color: #7254d8; background: #f3efff; }
.tool-badge { padding: 5px 9px; color: #607087; background: #f3f6f9; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tool-card h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.025em; }
.tool-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-link { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 28px; color: #304ac0; font-size: 13px; font-weight: 850; }
.card-link svg { transition: transform .2s; }
.tool-card:hover .card-link svg { transform: translateX(4px); }
.tool-favorite-button { position: absolute; z-index: 2; right: 22px; bottom: 20px; width: 38px; height: 38px; display: grid; place-items: center; color: #718095; background: #f4f6f9; border: 1px solid #e3e8ee; border-radius: 11px; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.tool-favorite-button:hover { color: #6848d8; background: #f0edff; border-color: #d8d0ff; transform: translateY(-1px); }
.tool-favorite-button svg { width: 19px; }
.tool-favorite-button.is-favorite { color: #6848d8; background: #eeeaff; border-color: #d7ceff; }
.tool-favorite-button.is-favorite svg { fill: #ddd4ff; }
.tool-favorite-button:disabled, .user-tool-favorite:disabled, .tool-page-favorite:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.related-tools-section { padding-top: 48px; background: #f8fafc; }
.related-tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.related-tool-link { min-height: 250px; }
.related-tool-link .tool-card-top { margin-bottom: 28px; }
.tool-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.tool-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-filter { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.tool-filter:hover { border-color: #c2ccd9; }
.tool-filter.is-active { color: #07130f; background: var(--mint); border-color: var(--mint); }
.tool-filter-count { display: inline-grid; place-items: center; min-width: 20px; padding: 0 6px; height: 18px; color: #607087; background: #eef2f7; border-radius: 99px; font-size: 11px; font-weight: 800; }
.tool-filter.is-active .tool-filter-count { color: #07130f; background: rgba(7,19,15,.12); }
.tool-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 320px; }
.tool-search-icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.tool-search-input { width: 100%; height: 44px; padding: 0 44px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.tool-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.tool-search-input::placeholder { color: #9aa6b8; }
.tool-search-input:focus { outline: none; border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(118,242,206,.35); }
.tool-search-clear { position: absolute; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; }
.tool-search-clear:hover { color: var(--ink); background: #eef2f7; }
.tool-search-clear svg { width: 16px; height: 16px; }
.tool-results { margin: 0 0 20px; color: var(--muted); font-size: 13px; font-weight: 700; }
.tool-results strong { color: var(--ink); font: 800 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.tool-empty { display: grid; place-items: center; gap: 6px; margin: 10px 0 0; padding: 58px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.tool-empty span { font-size: 13px; }
.promise-section { background: var(--canvas); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.promise-grid article { padding: 34px 35px 0 0; }
.promise-grid article + article { padding-left: 35px; border-left: 1px solid var(--line); }
.promise-grid article > span, .explainer-grid article > span, .prose-grid article > span { color: #8895a8; font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.promise-grid h3 { margin: 25px 0 11px; font-size: 20px; }
.promise-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { padding: 60px 0 22px; color: #aeb8ca; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr .55fr; gap: 70px; align-items: start; padding-bottom: 48px; }
.brand-footer { color: #fff; }
.footer-grid > div > p { max-width: 300px; margin: 18px 0 0; color: #7f8ba0; font-size: 13px; }
.footer-note { display: flex; gap: 13px; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(255,255,255,.025); }
.footer-note svg { flex: 0 0 auto; width: 22px; color: var(--mint); }
.footer-note p { margin: 0 !important; }
.footer-links { display: grid; gap: 10px; justify-items: start; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.08); color: #647087; font-size: 11px; }

.page-hero, .tool-hero { color: #fff; background: var(--navy); }
.page-hero { padding: 100px 0 90px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1, .tool-hero h1 { margin: 0; font-size: clamp(42px, 6vw, 66px); line-height: 1.08; letter-spacing: -.05em; }
.page-hero p:last-child { margin: 20px auto 0; color: #aeb8ca; font-size: 18px; }
.tool-hero { padding: 52px 0 72px; }
.tool-hero > .shell { position: relative; }
.tool-page-favorite { position: absolute; right: 0; top: 0; min-height: 39px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: #dce5f2; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; font-size: 12px; font-weight: 750; transition: color .2s, border-color .2s, background .2s; }
.tool-page-favorite:hover { color: #fff; border-color: rgba(118,242,206,.45); background: rgba(118,242,206,.08); }
.tool-page-favorite svg { width: 17px; color: var(--mint); }
.tool-page-favorite.is-favorite { color: #fff; border-color: rgba(118,242,206,.48); background: rgba(118,242,206,.1); }
.tool-page-favorite.is-favorite svg { fill: rgba(118,242,206,.22); }
.tool-hero .shell > p:last-of-type { max-width: 740px; margin: 20px 0 0; color: #aeb8ca; font-size: 17px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 45px; color: #8d99ad; font-size: 12px; font-weight: 750; }
.back-link:hover { color: #fff; }
.privacy-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; padding: 7px 11px; color: #aef9e3; border: 1px solid rgba(118,242,206,.2); border-radius: 99px; background: rgba(118,242,206,.07); font-size: 11px; font-weight: 750; }
.privacy-chip svg { width: 16px; }
.tool-workspace { padding: 55px 0 75px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(13,27,46,.04); }
.panel-label { margin: 0 0 8px; color: #7b879a; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.notice { margin-bottom: 20px; padding: 13px 16px; border-radius: 10px; font-size: 13px; }
.error-notice { color: #8c3038; background: #fff0f1; border: 1px solid #ffd2d6; }

.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.calendar-panel { overflow: hidden; }
.calendar-toolbar { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 20px; padding: 22px 25px; border-bottom: 1px solid var(--soft-line); text-align: center; }
.calendar-toolbar p { margin: 0 0 2px; color: #8a96a7; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.calendar-toolbar h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 11px; transition: border-color .2s, background .2s; }
button.icon-button { font: inherit; }
.icon-button:hover { background: #f7f9fb; border-color: #bac5d2; }
.month-form { display: flex; align-items: flex-end; gap: 10px; padding: 14px 25px; background: #fafbfd; border-bottom: 1px solid var(--soft-line); }
label { display: grid; gap: 7px; color: #566277; font-size: 12px; font-weight: 750; }
input, select, textarea { min-height: 43px; padding: 8px 11px; color: var(--ink); background: #fff; border: 1px solid #cfd7e2; border-radius: 9px; outline: 0; }
input:focus, select:focus, textarea:focus { border-color: #5a72e3; box-shadow: 0 0 0 3px rgba(90,114,227,.12); }
textarea { width: 100%; resize: vertical; font: 500 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.month-form input { width: 100px; }
.month-form select { width: 78px; }
.text-button { min-height: 42px; padding: 9px 12px; color: #445ac1; background: transparent; border: 0; font-size: 13px; font-weight: 800; }
.calendar-local-notice { margin: 0; padding: 10px 25px; color: #356b60; background: #f0faf7; border-bottom: 1px solid #d8f0e9; font-size: 11px; line-height: 1.55; }
.calendar-table { padding: 0 18px 18px; }
.calendar-week, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-week span { padding: 14px 6px 9px; color: #8a96a7; text-align: center; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.calendar-day { position: relative; min-height: 93px; display: flex; flex-direction: column; padding: 9px; border-top: 1px solid var(--soft-line); border-right: 1px solid var(--soft-line); transition: background .15s; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:hover { background: #f4f7ff; }
.calendar-day.outside { color: #aab3c1; background: #fbfcfd; }
.calendar-day.today { box-shadow: inset 0 0 0 2px #5e75eb; }
.calendar-day.selected { background: #eef1ff; box-shadow: inset 0 0 0 2px #667ceb; }
.calendar-day.weekend .solar-day { color: #e16a42; }
.calendar-day.holiday-rest { background: #f1fbf7; }
.calendar-day.holiday-work { background: #fff8f2; }
.solar-day { font: 700 17px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.lunar-day { margin-top: 7px; color: #7e899a; font-size: 10px; }
.festival { max-width: 100%; margin-top: auto; color: #3d57c3; font-size: 10px; font-weight: 750; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holiday-mark { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; display: grid; place-items: center; color: #087560; background: #c7f5e8; border-radius: 6px; font-size: 9px; font-weight: 900; }
.holiday-work .holiday-mark { color: #aa4c1f; background: #ffe1d0; }
.calendar-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 13px 25px; border-top: 1px solid var(--soft-line); color: #69768a; font-size: 10px; }
.calendar-legend strong { margin-right: auto; color: var(--ink); }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend-weekend { background: var(--orange); }.legend-rest { background: #32bd98; }.legend-work { background: #ee8957; }
.date-detail { position: sticky; top: 20px; padding: 24px; }
.date-detail h2 { margin: 0 0 22px; font-size: 23px; line-height: 1.3; }
.date-detail dl { margin: 0; }
.date-detail dl div { padding: 13px 0; border-top: 1px solid var(--soft-line); }
.date-detail dt { color: #8490a2; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.date-detail dd { margin: 3px 0 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.status-pill { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 5px; font-size: 9px; font-weight: 900; }
.status-pill.rest { color: #087560; background: #d2f6eb; }.status-pill.work { color: #a2471b; background: #ffe2d2; }
.daily-fortune { margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--soft-line); }
.daily-fortune-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.daily-fortune-heading > span { color: #657287; font-size: 14px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.fortune-status { padding: 6px 10px; border-radius: 7px; font-size: 14px; line-height: 1.35; }
.fortune-status.good { color: #087560; background: #dff8f0; }
.fortune-status.bad { color: #9a402e; background: #fff0eb; }
.almanac-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 9px; margin-top: 11px; }
.almanac-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; font-size: 15px; }
.almanac-mark.good { color: #087560; background: #dff8f0; }
.almanac-mark.bad { color: #9a402e; background: #fff0eb; }
.almanac-list { display: flex; flex-wrap: wrap; gap: 5px; }
.almanac-list span { padding: 5px 8px; color: #526075; background: #f5f7fa; border: 1px solid #e6eaf0; border-radius: 6px; font-size: 13px; line-height: 1.4; }
.range-note { margin: 19px 0 0; padding-top: 17px; color: #7b8798; border-top: 1px solid var(--soft-line); font-size: 10px; line-height: 1.6; }
.cultural-note { margin: 10px 0 0; color: #8993a2; font-size: 10px; line-height: 1.6; }

.tool-explainer { background: #fff; }
.explainer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 90px; }
.explainer-grid h2 { margin: 20px 0 12px; font-size: 25px; letter-spacing: -.03em; }
.explainer-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.knowledge-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; margin-top: 72px; padding-top: 62px; border-top: 1px solid var(--line); }
.knowledge-grid > * > span { color: #8895a8; font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.knowledge-grid h2 { margin: 20px 0 12px; font-size: 25px; letter-spacing: -.03em; }
.methodology-block > p { margin: 0; color: var(--muted); font-size: 14px; }
.source-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin-top: 22px; }
.source-links strong { width: 100%; color: #6f7c90; font-size: 11px; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; color: #4059ca; font-size: 12px; font-weight: 750; }
.source-links a:hover { text-decoration: underline; }
.source-links svg { width: 14px; height: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 17px; min-width: 17px; transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list p { margin: -2px 34px 17px 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.prose-grid { display: grid; gap: 20px; }
.prose-grid article { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prose-grid h2 { margin: 17px 0 8px; font-size: 22px; }
.prose-grid p { margin: 0; color: var(--muted); }

.timestamp-stack { display: grid; gap: 20px; }
.live-time { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 28px; color: #fff; background: var(--navy-2); border-color: #24304a; }
.live-time .panel-label { color: #8e9ab0; }
.mono-live { display: block; color: var(--mint); font: 750 clamp(25px, 4vw, 38px)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.04em; }
.live-controls { display: flex; align-items: center; gap: 9px; }
.live-controls select { color: #dce4f1; background: #1d2941; border-color: #34425c; }
.live-controls .button-secondary, .live-controls .icon-button { color: #dce4f1; background: #1d2941; border-color: #34425c; }
.live-controls .button-secondary:hover, .live-controls .icon-button:hover { background: #25334f; }
.converter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.converter { padding: 28px; }
.panel-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 23px; border-bottom: 1px solid var(--soft-line); }
.panel-heading > span { width: 30px; height: 30px; display: grid; place-items: center; color: #4c63c8; background: #eef1ff; border-radius: 8px; font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.panel-heading h2 { margin: 0; font-size: 20px; }
.converter form { display: grid; grid-template-columns: 1.3fr .85fr; gap: 13px; padding: 24px 0; border-bottom: 1px solid var(--soft-line); }
.converter form .button { grid-column: 1 / -1; justify-self: start; }
.form-error { grid-column: 1 / -1; margin: 0; color: #b63c48; font-size: 12px; }
.result-list { display: grid; }
.result-list > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 15px; padding: 15px 64px 15px 0; border-bottom: 1px solid var(--soft-line); }
.result-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.result-list span { color: #7e899a; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.result-list output { grid-column: 1 / -1; min-width: 0; color: #202b3c; font: 650 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.copy-button { position: absolute; right: 0; top: 23px; padding: 4px 7px; color: #5268c8; background: #f1f3ff; border: 0; border-radius: 6px; font-size: 9px; font-weight: 850; }

.timestamp-examples { background: var(--canvas); }
.code-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.code-example { min-width: 0; overflow: hidden; border: 1px solid #202c44; border-radius: var(--radius); background: var(--navy-2); box-shadow: 0 16px 40px rgba(13,27,46,.07); }
.code-example header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 19px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-example-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.code-window-dots { display: flex; gap: 5px; flex: 0 0 auto; }
.code-window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }
.code-window-dots i:nth-child(2) { background: #f5c451; }
.code-window-dots i:nth-child(3) { background: #56d58c; }
.code-example h3 { margin: 0; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.code-units { flex: 0 0 auto; color: #8e9bb1; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.code-example pre { min-height: 150px; margin: 0; padding: 14px 0; overflow-x: auto; color: #cbd5e6; font: 500 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.code-example code { display: block; min-width: max-content; font: inherit; }
.code-line { display: flex; min-height: 21px; }
.code-line:hover { background: rgba(255,255,255,.035); }
.code-line-number { flex: 0 0 46px; padding-right: 13px; color: #526079; border-right: 1px solid rgba(255,255,255,.055); text-align: right; user-select: none; }
.code-line-content { display: block; padding: 0 19px; color: #d5deec; white-space: pre; }
.code-line-content::selection { color: #07130f; background: var(--mint); }

.compressor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.compress-main { display: grid; gap: 20px; min-width: 0; }
.drop-zone { padding: 45px 30px; text-align: center; border: 1.5px dashed #bdc8d5; transition: border-color .2s, background .2s; }
.drop-zone.dragging { border-color: #5e75e9; background: #f3f5ff; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-zone h2 { margin: 14px 0 4px; font-size: 21px; }
.drop-zone p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.drop-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: auto; color: #5068d4; background: #eef1ff; border-radius: 16px; }
.drop-icon svg { width: 27px; height: 27px; }
.file-results { min-height: 230px; padding: 24px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.results-heading h2 { margin: 0; font-size: 19px; }
.batch-summary { text-align: right; }
.batch-summary span { display: block; color: #8a96a7; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.batch-summary strong { color: var(--mint-dark); font: 750 17px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.empty-state { display: grid; place-items: center; padding: 34px 0; color: #9aa5b5; }
.empty-state svg { width: 34px; height: 34px; }
.empty-state p { margin: 8px 0 0; font-size: 12px; }
.file-list { display: grid; gap: 10px; }
.file-item { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px; border: 1px solid var(--soft-line); border-radius: 12px; background: #fbfcfd; }
.file-preview { width: 66px; height: 56px; display: block; border-radius: 8px; object-fit: cover; background: #eef1f4; }
.file-info { min-width: 0; }
.file-name { display: block; margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.file-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; color: #7f8b9c; font-size: 10px; }
.file-meta strong { color: #364257; }
.file-saved { color: #06836a !important; }
.file-status { display: flex; align-items: center; gap: 7px; }
.file-status button, .file-status a { padding: 6px 8px; color: #5369c7; background: #eef1ff; border: 0; border-radius: 7px; font-size: 9px; font-weight: 850; }
.file-status .remove-file { color: #8b5360; background: #f8eef0; }
.file-status button:disabled { cursor: not-allowed; opacity: .45; }
.file-status .status-text { color: #7c8798; font-size: 10px; }
.compress-settings { position: sticky; top: 20px; display: grid; gap: 21px; padding: 24px; }
.compress-settings .panel-label { margin-bottom: -3px; }
.range-field > span { display: flex; justify-content: space-between; }
.range-field output { color: #4058c2; font: 750 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.range-field input { min-height: auto; width: 100%; padding: 0; accent-color: #536de0; border: 0; box-shadow: none; }

.video-compressor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.video-compressor-main { min-width: 0; display: grid; gap: 20px; }
.video-drop-zone { min-height: 430px; display: grid; place-content: center; justify-items: center; padding: 54px 30px; text-align: center; border: 1.5px dashed #bdc8d5; transition: border-color .2s, background .2s; }
.video-drop-zone.dragging { border-color: #5e75e9; background: #f3f5ff; }
.video-drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.video-drop-zone h2 { margin: 16px 0 5px; font-size: 23px; }
.video-drop-zone p { max-width: 520px; margin: 0 0 22px; color: var(--muted); }
.video-preview-panel { padding: 24px; }
.video-preview-wrap { aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 60% 30%, #5467bd, #131c33 72%); border-radius: 14px; }
.video-preview-wrap video { width: 100%; height: 100%; display: block; object-fit: contain; }
.video-file-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 21px; }
.video-file-head h2 { max-width: 620px; margin: 2px 0 0; overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.video-file-head .panel-label { margin: 0; }
.video-file-head .text-button { flex: 0 0 auto; }
.video-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.video-meta span { padding: 5px 9px; color: #536076; background: #f5f7fa; border: 1px solid var(--line); border-radius: 7px; font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.video-size-comparison { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 20px; padding: 17px 19px; background: #f8f9fb; border: 1px solid var(--soft-line); border-radius: 12px; }
.video-size-comparison > div { display: grid; gap: 3px; }
.video-size-comparison > div:last-child { text-align: right; }
.video-size-comparison span { color: var(--muted); font-size: var(--tool-meta-size); }
.video-size-comparison strong { color: #263248; font: 800 16px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.video-size-comparison svg { color: #7889d6; }
.video-file-warning { margin: 15px 0 0; padding: 11px 13px; color: #795516; background: #fff8e8; border: 1px solid #f0dfb6; border-radius: 9px; font-size: var(--tool-copy-size); }
.video-compressor-settings { position: sticky; top: 20px; display: grid; gap: 20px; padding: 24px; }
.video-compressor-settings > label { display: grid; gap: 7px; }
.video-compressor-settings select { width: 100%; }
.video-mode-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.video-mode-field legend { margin-bottom: 8px; color: #455268; font-size: var(--tool-copy-size); }
.video-mode-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-mode-options label { position: relative; min-width: 0; }
.video-mode-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.video-mode-options span { min-height: 52px; display: grid; place-items: center; padding: 7px 5px; color: #657186; background: #f8f9fb; border: 1px solid var(--line); font-size: 12px; font-weight: 750; line-height: 1.25; text-align: center; cursor: pointer; }
.video-mode-options label:first-child span { border-radius: 9px 0 0 9px; }
.video-mode-options label + label span { border-left: 0; }
.video-mode-options label:last-child span { border-radius: 0 9px 9px 0; }
.video-mode-options input:checked + span { color: #fff; background: #556ce0; border-color: #556ce0; box-shadow: 0 8px 20px rgba(85,108,224,.2); }
.video-mode-options input:focus-visible + span { outline: 3px solid rgba(94,123,255,.28); outline-offset: 2px; }
.video-local-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #087560; font-size: 12px; line-height: 1.55; }
.video-local-note svg { flex: 0 0 auto; margin-top: 2px; }
.video-support-note { margin: -7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.video-progress-panel { padding: 28px; }
.video-progress-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.video-progress-heading h2 { margin: 2px 0 0; font: 800 35px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.video-progress-heading .panel-label { margin: 0; }
.video-progress-track { height: 12px; margin-top: 24px; overflow: hidden; background: #e8ecf2; border-radius: 99px; }
.video-progress-track span { width: 0; height: 100%; display: block; background: linear-gradient(90deg, #5e7bff, #76f2ce); border-radius: inherit; transition: width .2s ease; }
.video-progress-panel > p { margin: 13px 0 0; color: var(--muted); font-size: var(--tool-copy-size); }
.video-result-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 24px; }
.video-result-mark { width: 52px; height: 52px; display: grid; place-items: center; color: #087560; background: #e7fbf4; border-radius: 15px; }
.video-result-mark svg { width: 26px; height: 26px; stroke-width: 2.4; }
.video-result-panel .panel-label { margin: 0; }
.video-result-panel h2 { margin: 2px 0 0; font-size: 20px; }
.video-result-panel p:last-child { margin: 4px 0 0; color: var(--muted); font-size: var(--tool-copy-size); }
.video-result-actions { display: flex; gap: 8px; }
.video-compressor-error { margin: 0; padding: 13px 15px; color: #9b3945; background: #fff0f2; border: 1px solid #f0cbd0; border-radius: 10px; }
.tool-video-compress .tool-icon { color: #6a56c9; background: #f0edff; }

.audio-processor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.audio-processor-main { min-width: 0; display: grid; gap: 20px; }
.audio-drop-zone { min-height: 430px; display: grid; place-content: center; justify-items: center; padding: 54px 30px; text-align: center; border: 1.5px dashed #bdc8d5; transition: border-color .2s, background .2s; }
.audio-drop-zone.dragging { border-color: #11a883; background: #effbf7; }
.audio-drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.audio-drop-zone h2 { margin: 16px 0 5px; font-size: 23px; }
.audio-drop-zone p { max-width: 570px; margin: 0 0 22px; color: var(--muted); }
.audio-editor { padding: 24px; }
.audio-file-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.audio-file-head h2 { max-width: 650px; margin: 3px 0 0; overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.audio-file-head .panel-label { margin: 0; }
.audio-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.audio-meta span { padding: 5px 9px; color: #536076; background: #f5f7fa; border: 1px solid var(--line); border-radius: 7px; font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audio-waveform-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--soft-line); }
.audio-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.audio-section-heading .panel-label { margin: 0; }
.audio-section-heading h3 { margin: 4px 0 0; color: #647086; font-size: 12px; font-weight: 550; line-height: 1.55; }
.audio-section-heading h3 strong { color: #304059; font: 800 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
#waveform-status { max-width: 240px; color: #76839a; font-size: 11px; line-height: 1.45; text-align: right; }
.audio-waveform-frame { overflow: hidden; background: #111b31; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.audio-waveform-frame canvas { width: 100%; height: auto; display: block; cursor: crosshair; outline: 0; touch-action: none; }
.audio-waveform-frame canvas:focus-visible { box-shadow: inset 0 0 0 3px #8fa3ff; }
.audio-waveform-time { display: flex; justify-content: space-between; padding: 8px 13px 10px; color: #adbad1; background: rgba(4,9,20,.48); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audio-waveform-section audio { width: 100%; height: 42px; display: block; margin-top: 13px; }
.audio-trim-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--soft-line); }
.audio-trim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audio-trim-control { min-width: 0; padding: 15px; background: #f8f9fb; border: 1px solid var(--soft-line); border-radius: 11px; }
.audio-trim-control label { display: flex; justify-content: space-between; gap: 12px; color: #59667b; font-size: 12px; font-weight: 700; }
.audio-trim-control output { color: #4058c2; font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audio-trim-control input { width: 100%; min-height: auto; margin: 14px 0 10px; padding: 0; accent-color: #536de0; border: 0; box-shadow: none; }
.audio-trim-control .text-button { padding: 0; font-size: 11px; }
.audio-preview-selection { display: inline-flex; margin-top: 14px; }
.audio-preview-selection svg { width: 18px; height: 18px; }
.audio-processor-settings { position: sticky; top: 20px; display: grid; gap: 20px; padding: 24px; }
.audio-processor-settings > label { display: grid; gap: 7px; }
.audio-processor-settings select { width: 100%; }
.audio-local-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #087560; font-size: 12px; line-height: 1.55; }
.audio-local-note svg { flex: 0 0 auto; margin-top: 2px; }
.audio-support-note { margin: -7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.audio-progress-panel { padding: 28px; }
.audio-progress-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.audio-progress-heading h2 { margin: 2px 0 0; font: 800 35px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audio-progress-heading .panel-label { margin: 0; }
.audio-progress-track { height: 12px; margin-top: 24px; overflow: hidden; background: #e8ecf2; border-radius: 99px; }
.audio-progress-track span { width: 0; height: 100%; display: block; background: linear-gradient(90deg, #536de0, #69eac2); border-radius: inherit; transition: width .2s ease; }
.audio-progress-panel > p { margin: 13px 0 0; color: var(--muted); font-size: var(--tool-copy-size); }
.audio-result-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 24px; }
.audio-result-mark { width: 52px; height: 52px; display: grid; place-items: center; color: #087560; background: #e7fbf4; border-radius: 15px; }
.audio-result-mark svg { width: 26px; height: 26px; stroke-width: 2.4; }
.audio-result-panel .panel-label { margin: 0; }
.audio-result-panel h2 { margin: 2px 0 0; font-size: 20px; }
.audio-result-panel p:last-child { margin: 4px 0 0; color: var(--muted); font-size: var(--tool-copy-size); }
.audio-result-actions { display: flex; gap: 8px; }
.audio-processor-error { margin: 0; padding: 13px 15px; color: #9b3945; background: #fff0f2; border: 1px solid #f0cbd0; border-radius: 10px; }
.tool-audio-process .tool-icon { color: #087a69; background: #e5faf4; }

.cropper-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.crop-main { min-width: 0; display: grid; gap: 20px; }
.crop-editor { min-width: 0; padding: 24px; }
.crop-editor-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.crop-editor-header h2 { max-width: 590px; margin: 0; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.crop-editor-header p:last-child { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.crop-editor-header > div:last-child { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.crop-stage-wrap { padding: 12px; overflow: hidden; background: #101929; border-radius: 14px; }
.crop-stage-wrap canvas { width: 100%; height: auto; display: block; border-radius: 8px; outline: 0; touch-action: none; user-select: none; }
.crop-stage-wrap canvas:focus-visible { box-shadow: 0 0 0 3px #91a2ff; }
.crop-help { margin: 12px 0 16px; color: var(--muted); font-size: 12px; }
.crop-coordinate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 17px; border-top: 1px solid var(--soft-line); }
.crop-coordinate-grid label, .crop-setting-group label, .crop-settings > label { min-width: 0; }
.crop-coordinate-grid input, .crop-setting-group input, .crop-setting-group select, .crop-settings > label input, .crop-settings > label select { width: 100%; min-width: 0; }
.crop-coordinate-grid input[readonly] { color: #667287; background: #f4f6f8; }
.crop-settings { position: sticky; top: 20px; display: grid; gap: 19px; padding: 24px; }
.crop-settings .panel-label { margin-bottom: -3px; }
.crop-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.crop-fieldset legend, .crop-setting-group > .setting-title { margin-bottom: 8px; color: #566277; font-size: var(--tool-copy-size); font-weight: 750; }
.crop-shape-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crop-shape-options label { position: relative; }
.crop-shape-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.crop-shape-options span { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; color: #657186; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; font-size: var(--tool-copy-size); font-weight: 750; cursor: pointer; }
.crop-shape-options svg { width: 20px; height: 20px; }
.crop-shape-options input:checked + span { color: #344bb4; background: #eef1ff; border-color: #91a2ef; box-shadow: 0 0 0 1px #91a2ef; }
.crop-shape-options input:focus-visible + span { outline: 3px solid rgba(94,123,255,.28); outline-offset: 2px; }
.crop-setting-group { display: grid; gap: 10px; }
.crop-setting-group .settings-note { margin: -2px 0 0; }
.color-input { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 9px; margin-top: 4px; }
.color-input input[type="color"] { width: 54px; min-height: 43px; padding: 4px; background: #fff; }
.color-input output { min-height: 43px; display: flex; align-items: center; padding: 8px 11px; color: #39455a; background: #f7f9fb; border: 1px solid var(--line); border-radius: 9px; font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.crop-result { padding: 24px; }
.crop-result .results-heading strong { color: #566277; font: 700 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.crop-result-preview { min-height: 240px; display: grid; place-items: center; margin-bottom: 18px; padding: 22px; overflow: hidden; border-radius: 13px; background-color: #edf0f4; background-image: linear-gradient(45deg, #dfe4ea 25%, transparent 25%), linear-gradient(-45deg, #dfe4ea 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dfe4ea 75%), linear-gradient(-45deg, transparent 75%, #dfe4ea 75%); background-position: 0 0, 0 10px, 10px -10px, -10px 0; background-size: 20px 20px; }
.crop-result-empty { max-width: 330px; display: grid; justify-items: center; gap: 10px; padding: 24px; color: #7d899a; text-align: center; }
.crop-result-empty svg { width: 44px; height: 44px; color: #9ba6b5; }
.crop-result-empty p { margin: 0; font-size: var(--tool-copy-size); line-height: 1.65; }
.crop-result-preview img { max-width: 100%; max-height: 520px; display: block; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(13,27,46,.14)); }
.crop-result .button.is-disabled { cursor: not-allowed; opacity: .42; pointer-events: none; box-shadow: none; transform: none; }
.tool-crop .tool-icon { color: #d65d91; background: #fff0f7; }

/* Batch image watermark editor */
.watermark-workspace { background: var(--canvas); }
.watermark-drop { min-height: 390px; display: grid; place-content: center; justify-items: center; padding: 52px 30px; text-align: center; border: 1.5px dashed #b8c4d4; }
.watermark-drop.dragging { border-color: #16a486; background: #effbf7; }
.watermark-drop input, .watermark-add-row input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.watermark-drop h2 { margin: 15px 0 5px; font-size: 23px; }
.watermark-drop p { max-width: 590px; margin: 0 0 22px; color: var(--muted); }
.watermark-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; align-items: start; }
.watermark-main { min-width: 0; display: grid; gap: 20px; }
.watermark-source-panel { min-width: 0; padding: 20px; }
.watermark-source-panel > header, .watermark-preview-panel > header, .watermark-results > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.watermark-source-panel h2, .watermark-preview-panel h2, .watermark-results h2 { margin: 2px 0 0; font-size: 18px; }
.watermark-source-panel > header > div:last-child { display: flex; align-items: center; gap: 12px; }
.watermark-add-images { min-height: 40px !important; padding: 8px 12px; }
.watermark-source-list { display: flex; gap: 10px; padding-bottom: 3px; overflow-x: auto; scroll-snap-type: x proximity; }
.watermark-source-card { position: relative; flex: 0 0 190px; min-width: 0; scroll-snap-align: start; }
.watermark-source-select { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 30px 8px 8px; color: inherit; background: #f8f9fb; border: 1px solid var(--soft-line); border-radius: 11px; text-align: left; }
.watermark-source-card.is-selected .watermark-source-select { background: #f0f3ff; border-color: #8396ec; box-shadow: 0 0 0 1px #8396ec; }
.watermark-source-select img { width: 56px; height: 48px; display: block; object-fit: cover; background: #e9edf2; border-radius: 7px; }
.watermark-source-select span { min-width: 0; }
.watermark-source-select strong, .watermark-source-select small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watermark-source-select strong { color: var(--ink); font-size: 12px; }
.watermark-source-select small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.watermark-source-remove { position: absolute; top: 7px; right: 7px; width: 25px; height: 25px; padding: 0; color: #8f5260; background: #f8eaed; border: 0; border-radius: 50%; font-size: 17px; line-height: 1; }
.watermark-preview-panel { min-width: 0; padding: 20px; }
.watermark-preview-panel > header output { flex: 0 0 auto; color: var(--muted); font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.watermark-preview-panel h2 { max-width: 590px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watermark-canvas-wrap { min-height: 420px; display: grid; place-items: center; padding: 12px; overflow: hidden; background: #101929; border-radius: 14px; }
.watermark-canvas-wrap canvas { width: 100%; height: auto; display: block; border-radius: 8px; outline: 0; touch-action: none; user-select: none; }
.watermark-canvas-wrap canvas:focus-visible { box-shadow: 0 0 0 3px #91a2ff; }
.watermark-help { margin: 12px 0 0; color: var(--muted); font-size: var(--tool-copy-size); line-height: 1.6; }
.watermark-results { padding: 20px; }
.watermark-results > header output { color: #087560; font-size: var(--tool-copy-size); font-weight: 750; }
.watermark-result-list { display: grid; gap: 9px; }
.watermark-result-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px; background: #f8f9fb; border: 1px solid var(--soft-line); border-radius: 10px; }
.watermark-result-row img { width: 54px; height: 46px; display: block; object-fit: cover; background: #e9edf2; border-radius: 7px; }
.watermark-result-row > span { min-width: 0; }
.watermark-result-row strong, .watermark-result-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watermark-result-row strong { font-size: var(--tool-copy-size); }
.watermark-result-row small { margin-top: 4px; color: var(--muted); font-size: var(--tool-meta-size); }
.watermark-result-row.is-error small { color: #a13e47; }
.watermark-result-row a { padding: 8px 10px; color: #4058c2; background: #edf0ff; border-radius: 7px; font-size: var(--tool-meta-size); font-weight: 800; }
.watermark-settings { position: sticky; top: 20px; display: grid; gap: 0; overflow: hidden; }
.watermark-settings > section { padding: 20px; }
.watermark-settings > section + section { border-top: 1px solid var(--soft-line); }
.watermark-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.watermark-section-head h2 { margin: 2px 0 0; font-size: 18px; }
.watermark-section-head > span { min-width: 29px; padding: 5px 8px; color: #4058c2; background: #edf0ff; border-radius: 999px; font-size: 11px; font-weight: 850; text-align: center; }
.watermark-add-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 11px; }
.watermark-add-row .button { min-width: 0; min-height: 41px; padding: 8px; font-size: 12px; }
.watermark-layer-list { max-height: 220px; display: grid; gap: 7px; overflow-y: auto; }
.watermark-layer-item { min-width: 0; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px; color: inherit; background: #f8f9fb; border: 1px solid var(--soft-line); border-radius: 9px; text-align: left; }
.watermark-layer-item.is-selected { background: #eef2ff; border-color: #899bed; }
.watermark-layer-item > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; color: #4058c2; background: #fff; border-radius: 7px; font-weight: 850; }
.watermark-layer-item > span:nth-child(2) { min-width: 0; }
.watermark-layer-item strong, .watermark-layer-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watermark-layer-item strong { font-size: 12px; }
.watermark-layer-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.watermark-layer-item i { color: #9ba5b5; font-size: 10px; font-style: normal; }
.watermark-layer-actions { display: grid; grid-template-columns: 36px 36px 1fr 1fr; gap: 6px; margin-top: 9px; }
.watermark-layer-actions button { min-height: 34px; padding: 5px 7px; color: #56657b; background: #f4f6f8; border: 1px solid var(--soft-line); border-radius: 7px; font-size: 10px; font-weight: 750; }
.watermark-layer-actions button:last-child { color: #8f5260; background: #fbeff1; }
.watermark-layer-actions button:disabled { opacity: .4; cursor: not-allowed; }
.watermark-selected-settings { display: grid; gap: 14px; }
.watermark-selected-settings .panel-label, .watermark-export-settings .panel-label { margin-bottom: 0; }
.watermark-selected-settings textarea { width: 100%; min-height: 72px; resize: vertical; }
.watermark-selected-settings label, .watermark-export-settings label { display: grid; gap: 6px; min-width: 0; }
.watermark-two-fields, .watermark-position-fields, .watermark-color-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.watermark-check { align-content: center; grid-template-columns: auto 1fr !important; align-items: center; margin-top: 24px; }
.watermark-check input { width: 17px; height: 17px; accent-color: var(--accent); }
.watermark-color-fields input { width: 100%; min-height: 42px !important; padding: 4px !important; }
.watermark-selected-settings .range-field { display: grid; gap: 7px; }
.watermark-position-grid { display: grid; grid-template-columns: repeat(3, 28px); justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.watermark-position-grid legend { width: 100%; margin-bottom: 8px; color: #566277; font-size: var(--tool-copy-size); font-weight: 750; text-align: left; }
.watermark-position-grid button { width: 28px; height: 28px; padding: 0; background: #f5f7fa; border: 1px solid #cdd5df; border-radius: 6px; }
.watermark-position-grid button::after { content: ""; width: 6px; height: 6px; display: block; margin: auto; background: #6276d8; border-radius: 50%; }
.watermark-export-settings { display: grid; gap: 13px; background: #fbfcfd; }
.watermark-export-settings .settings-note { margin: 0; }
.tool-watermark .tool-icon { color: #0d806c; background: #e6faf4; }

.file-tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.file-tool-layout > div { min-width: 0; display: grid; gap: 20px; }
.tool-settings { position: sticky; top: 20px; display: grid; gap: 18px; padding: 24px; }
.settings-note { margin: -5px 0 2px; color: var(--muted); font-size: 12px; }
.setting-title { display: block; margin-bottom: 8px; color: #566277; font-size: 12px; font-weight: 750; }
.tool-status { min-height: 20px; margin: 0; color: #a0444d; font-size: 12px; }
.drop-icon { color: #5068d4; font: 850 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.ordered-file-list { display: grid; gap: 9px; }
.ordered-file { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--soft-line); border-radius: 11px; background: #fbfcfd; }
.ordered-file.with-thumb { grid-template-columns: 52px minmax(0, 1fr) auto; }
.ordered-file img { width: 52px; height: 46px; border-radius: 7px; object-fit: cover; background: #edf1f5; }
.ordered-file > div { min-width: 0; }
.ordered-file > div:last-child { display: flex; gap: 5px; }
.ordered-file strong { display: block; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ordered-file span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.ordered-file .icon-button { width: 33px; height: 33px; border-radius: 8px; }
.ordered-file .danger { color: #a84450; }
.selected-file { padding: 20px; color: #344055; background: #f7f9fb; border-radius: 11px; font-size: 13px; font-weight: 750; }
.size-fields, .settings-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-field { display: flex; align-items: center; grid-template-columns: auto 1fr; }
.check-field input { min-height: auto; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.qr-panel { display: grid; gap: 18px; padding: 26px; }
.qr-preview { min-height: 300px; display: grid; place-items: center; padding: 18px; background: #f7f9fb; border-radius: 13px; }
.qr-preview canvas { width: min(100%, 300px); height: auto; background: #fff; }
.compact-drop { position: relative; display: grid; place-items: center; padding: 60px 24px; border: 1.5px dashed #bdc8d5; border-radius: 13px; text-align: center; }
.compact-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.compact-drop p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.qr-result { padding: 18px; background: #f7f9fb; border-radius: 13px; }
.qr-result > span { color: var(--muted); font-size: 11px; font-weight: 750; }
.qr-result pre { min-height: 80px; margin: 10px 0; overflow-wrap: anywhere; white-space: pre-wrap; font: 500 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.diff-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diff-input-grid .panel { padding: 22px; }
.diff-actions { display: flex; align-items: center; gap: 10px; padding: 18px 0; }
.diff-output { overflow: hidden; }
.diff-summary { display: flex; gap: 20px; padding: 16px 20px; color: var(--muted); border-bottom: 1px solid var(--soft-line); font-size: 12px; }
.diff-added { color: #087560; }.diff-removed { color: #a4434d; }
.diff-lines { max-height: 650px; overflow: auto; background: #fbfcfd; font: 500 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.diff-line { min-width: max-content; display: grid; grid-template-columns: 80px 22px minmax(400px, 1fr); }
.diff-line > span { padding-right: 10px; color: #9aa5b4; border-right: 1px solid rgba(0,0,0,.05); text-align: right; user-select: none; }
.diff-line > b { text-align: center; user-select: none; }
.diff-line > code { padding: 0 12px; white-space: pre; }
.diff-line.added { background: #eaf8f2; }.diff-line.removed { background: #fff0f1; }
.diff-output > .tool-status { padding: 0 20px; }

.utility-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.utility-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding: 18px 22px; }
.utility-toolbar label { min-width: 180px; }
.utility-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.utility-editor { min-width: 0; padding: 22px; }
.utility-editor textarea { margin-top: 10px; }
.counter-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.counter-stats > div { padding: 20px 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.counter-stats strong { display: block; color: #4058c2; font: 750 25px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.counter-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 800; }
.reading-time { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.hash-results, .password-results { min-height: 190px; padding: 24px; }
.hash-file + .hash-file { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--soft-line); }
.hash-file h3 { margin: 0 0 12px; font-size: 14px; overflow-wrap: anywhere; }
.hash-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; }
.hash-row code, .password-row code { min-width: 0; color: #34425a; font: 600 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.hash-copy { min-height: 34px; padding-block: 5px; }
.password-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--soft-line); }
.password-row:last-child { border-bottom: 0; }
.markdown-grid { align-items: start; }
.markdown-grid > .utility-editor, .markdown-grid > .markdown-preview { height: 660px; min-height: 0; }
.markdown-grid > .utility-editor { display: flex; flex-direction: column; }
.markdown-grid > .utility-editor textarea { flex: 1; min-height: 0; resize: none; }
.markdown-preview { min-width: 0; min-height: 560px; padding: 22px 30px 36px; overflow: auto; }
.markdown-status { min-height: 20px; margin: 0 0 0 auto; color: #a0444d; font-size: 12px; font-weight: 700; }
.markdown-status.is-success { color: #087560; }
.markdown-body { margin-top: 18px; color: #354055; font-size: 15px; line-height: 1.78; overflow-wrap: anywhere; }
.markdown-body > *:first-child { margin-top: 0; }
.markdown-body > *:last-child { margin-bottom: 0; }
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin: 1.5em 0 .55em; color: var(--ink); line-height: 1.25; letter-spacing: -.025em; }
.markdown-body h1 { padding-bottom: .35em; border-bottom: 1px solid #e5e9ef; font-size: 2em; }
.markdown-body h2 { padding-bottom: .28em; border-bottom: 1px solid #edf0f4; font-size: 1.5em; }
.markdown-body h3 { font-size: 1.24em; }
.markdown-body h4 { font-size: 1.08em; }
.markdown-body h1:first-child, .markdown-body h2:first-child { margin-top: 0; }
.markdown-body p { margin: .8em 0 1em; }
.markdown-body ul, .markdown-body ol { margin: .8em 0 1.1em; padding-left: 1.6em; }
.markdown-body li + li { margin-top: .28em; }
.markdown-body hr { height: 1px; margin: 2em 0; background: #e2e7ee; border: 0; }
.markdown-body pre { position: relative; margin: 1.25em 0; padding: 46px 18px 18px; color: #e6edf3; background: #0d1117; border: 1px solid #263142; border-radius: 12px; box-shadow: 0 12px 28px rgba(13,17,23,.12); overflow: auto; tab-size: 4; }
.markdown-body pre::before { content: attr(data-language); position: absolute; top: 0; left: 0; right: 0; height: 32px; display: flex; align-items: center; padding: 0 14px; color: #8b949e; background: #161b22; border-bottom: 1px solid #263142; border-radius: 11px 11px 0 0; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.markdown-body code { padding: .15em .35em; background: #eef1f6; border-radius: 4px; font: 500 .9em/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.markdown-body pre code { display: block; min-width: max-content; padding: 0; color: inherit; background: transparent; white-space: pre; }
.markdown-body .syntax-comment { color: #8b949e; font-style: italic; }
.markdown-body .syntax-keyword, .markdown-body .syntax-tag { color: #ff7b72; }
.markdown-body .syntax-string { color: #a5d6ff; }
.markdown-body .syntax-number, .markdown-body .syntax-attribute { color: #79c0ff; }
.markdown-body .syntax-function { color: #d2a8ff; }
.markdown-body .syntax-type { color: #ffa657; }
.markdown-body .syntax-operator { color: #e6edf3; }
.markdown-body blockquote { margin: 1.15em 0; padding: 9px 16px; color: #536175; background: #f6f8fb; border-left: 4px solid #7386df; border-radius: 0 8px 8px 0; }
.markdown-body blockquote p { margin: 0; }
.markdown-body a { color: #4058c2; text-decoration: underline; text-decoration-color: #aab5eb; text-underline-offset: 3px; }
.markdown-body del { color: #8792a2; }
.markdown-body table { width: 100%; margin: 1.25em 0; border-spacing: 0; border-collapse: separate; border: 1px solid #dfe5ed; border-radius: 10px; overflow: hidden; }
.markdown-body th, .markdown-body td { padding: 10px 12px; border-right: 1px solid #e7ebf0; border-bottom: 1px solid #e7ebf0; vertical-align: top; }
.markdown-body th:last-child, .markdown-body td:last-child { border-right: 0; }
.markdown-body tbody tr:last-child td { border-bottom: 0; }
.markdown-body th { color: #273348; background: #f4f6f9; font-size: .9em; font-weight: 800; }
.markdown-body tbody tr:nth-child(even) { background: #fafbfd; }
.markdown-body .align-center { text-align: center; }
.markdown-body .align-right { text-align: right; }
.markdown-body .task-list-item { display: flex; align-items: flex-start; gap: 8px; margin-left: -1.35em; list-style: none; }
.markdown-body .task-list-item input { flex: 0 0 auto; width: 16px; min-height: 0; height: 16px; margin: .37em 0 0; accent-color: #5068d5; }
.markdown-export-stage { position: fixed; top: 0; left: -10000px; width: 794px; pointer-events: none; }
.markdown-export-page { box-sizing: border-box; width: 794px; padding: 0 72px; color: #2f3948; background: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
.markdown-export-page .markdown-body { margin: 0; color: #303a49; font-size: 16px; line-height: 1.82; }
.markdown-export-page .markdown-body h1 { font-size: 34px; }
.markdown-export-page .markdown-body h2 { font-size: 25px; }
.markdown-export-page .markdown-body h3 { font-size: 20px; }
.markdown-export-page .markdown-body pre { box-shadow: none; white-space: pre-wrap; break-inside: avoid; }
.markdown-export-page .markdown-body pre code { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.markdown-export-page .markdown-body table, .markdown-export-page .markdown-body blockquote, .markdown-export-page .markdown-body img { break-inside: avoid; }
.markdown-export-page .markdown-body a { color: #304fc2; }
.calculator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.calculator-grid > .tool-status { grid-column: 1 / -1; }
.calculator-panel { display: grid; gap: 18px; padding: 26px; }
.calc-result { min-height: 70px; display: grid; place-items: center; padding: 15px; color: #3049b5; background: #f0f3ff; border-radius: 11px; text-align: center; font: 750 17px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.unit-panel { display: grid; gap: 25px; padding: 28px; }
.unit-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; gap: 16px; }
.unit-row label { min-width: 0; }
.unit-row input, .unit-row select { width: 100%; }
.result-note { margin: 0; color: var(--muted); font: 500 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

.tool-radix .tool-icon { color: #7554c9; background: #f3edff; }
.radix-workspace { background: #f3f5f8; }
.radix-layout { display: grid; gap: 34px; }
.radix-input-panel { padding: 27px 30px 25px; }
.radix-panel-heading, .radix-section-heading, .radix-process-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.radix-panel-heading { padding-bottom: 22px; border-bottom: 1px solid var(--soft-line); }
.radix-panel-heading h2, .radix-section-heading h2, .radix-process-header h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.radix-live-mark { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; color: #087b68; background: #ecfaf6; border-radius: 7px; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.radix-live-mark i { width: 6px; height: 6px; display: block; background: #39caa5; border-radius: 50%; box-shadow: 0 0 0 4px rgba(57,202,165,.13); }
.radix-input-grid { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(260px, 1.35fr) auto; align-items: end; gap: 13px; padding-top: 22px; }
.radix-input-grid input, .radix-input-grid select { width: 100%; min-height: 48px; font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.radix-input-grid .button { min-height: 48px; padding-inline: 24px; }
.radix-input-hint { margin: 10px 0 0; color: #8792a3; font-size: 10px; }
.radix-examples { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.radix-examples > span { margin-right: 3px; color: #7b8798; font-size: 10px; font-weight: 800; }
.radix-examples button { padding: 5px 9px; color: #5367bc; background: #f0f3ff; border: 0; border-radius: 7px; font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.radix-examples button:hover { color: #3149b1; background: #e6ebff; }
.radix-status { min-height: 19px; margin: 10px 0 -9px; color: #b63c48; font-size: 11px; }
.radix-section-heading { align-items: end; margin-bottom: 15px; }
.radix-section-heading > p { max-width: 390px; margin: 0; color: var(--muted); text-align: right; font-size: 12px; }
.radix-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.radix-result-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(13,27,46,.035); transition: border-color .2s, box-shadow .2s, transform .2s; }
.radix-result-card:hover { transform: translateY(-2px); border-color: #bfc9d6; }
.radix-result-card.is-active { border-color: #7c90e8; box-shadow: 0 0 0 2px rgba(94,123,255,.1), 0 12px 30px rgba(44,66,145,.08); }
.radix-result-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 13px 9px; }
.radix-result-card header > span { min-width: 0; display: flex; align-items: center; gap: 7px; overflow: hidden; color: #59667a; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.radix-result-card header i { padding: 3px 5px; color: #5167ca; background: #eef1ff; border-radius: 5px; font: 850 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.radix-result-card header button { padding: 4px 5px; color: #6e7b90; background: transparent; border: 0; font-size: 9px; font-weight: 800; }
.radix-result-card header button:hover { color: #405ac6; }
.radix-result-main { width: 100%; display: grid; gap: 13px; padding: 4px 13px 15px; color: var(--ink); background: transparent; border: 0; text-align: left; }
.radix-result-main output { min-width: 0; min-height: 43px; display: block; overflow: hidden; color: #18233a; font: 760 clamp(20px, 2.4vw, 29px)/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.radix-result-main small { color: #8995a6; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.radix-result-card.is-active .radix-result-main small { color: #5067ce; }
.radix-process-panel { overflow: hidden; }
.radix-process-header { align-items: end; padding: 27px 30px 24px; border-bottom: 1px solid var(--soft-line); }
.radix-process-header > div:first-child > p:last-child { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.radix-process-tabs { display: flex; padding: 3px; background: #f1f3f6; border-radius: 9px; }
.radix-process-tabs button { min-width: 47px; padding: 7px 9px; color: #778397; background: transparent; border: 0; border-radius: 7px; font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.radix-process-tabs button.is-active { color: #fff; background: #17233a; box-shadow: 0 4px 12px rgba(18,31,53,.16); }
.radix-process { padding: 27px 30px 31px; }
.radix-route { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; padding: 11px 13px; color: #6f7b8e; background: #f7f8fa; border-radius: 9px; font: 750 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.radix-route span { padding: 4px 7px; color: #42516a; background: #fff; border: 1px solid #e3e8ef; border-radius: 5px; }
.radix-route i { color: #94a0b1; font-style: normal; }
.radix-process-step + .radix-process-step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--soft-line); }
.radix-step-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.radix-step-heading h3 { margin: 0; font-size: 16px; letter-spacing: -.015em; }
.radix-step-number { width: 28px; height: 28px; display: grid; place-items: center; color: #5269cd; background: #eef1ff; border-radius: 7px; font: 850 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.radix-process-note { margin: 0 0 12px; color: #6f7b8e; font-size: 12px; }
.radix-negative-note { width: max-content; max-width: 100%; margin: 0 0 12px; padding: 7px 10px; color: #925027; background: #fff6ec; border-radius: 7px; font-size: 10px; }
.radix-term-list, .radix-division-list { display: grid; gap: 0; margin: 0 0 15px; padding: 0; list-style: none; border: 1px solid #e6ebf1; border-radius: 10px; overflow: hidden; }
.radix-term-list li, .radix-division-list li { padding: 9px 12px; color: #46546a; background: #fbfcfd; border-bottom: 1px solid #edf1f5; font: 650 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.radix-term-list li:last-child, .radix-division-list li:last-child { border-bottom: 0; }
.radix-term-list li:nth-child(even), .radix-division-list li:nth-child(even) { background: #fff; }
.radix-equation { max-width: 100%; display: block; padding: 12px 14px; overflow-x: auto; color: #dce6f5; background: #142038; border-radius: 9px; font: 650 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.radix-read-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 17px; color: #667286; background: #edfaf6; border: 1px solid #ccefe5; border-radius: 10px; font-size: 11px; font-weight: 750; }
.radix-read-result code { max-width: 68%; overflow-wrap: anywhere; color: #087963; font: 800 18px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
[data-dedupe] .utility-toolbar { align-items: center; }
[data-dedupe] .utility-toolbar .check-field { min-width: 0; min-height: 44px; padding-inline: 10px; }
[data-dedupe] #dedupe-run { margin-left: auto; }

.updates-hero { padding: 68px 0 58px; color: #fff; background: var(--navy); }
.updates-hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6vw, 68px); line-height: 1.05; letter-spacing: -.05em; }
.updates-hero > .shell > p { max-width: 680px; margin: 20px 0 0; color: #aeb8ca; font-size: 18px; }
.updates-total { display: flex; align-items: center; gap: 11px; margin-top: 25px; color: #dce5f2; font-size: 14px; }
.updates-total svg { width: 23px; height: 23px; color: var(--mint); }
.updates-total strong { margin-inline: 3px; color: var(--mint); font: 800 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.updates-section { padding: 34px 0 76px; background: #fff; }
.updates-timeline { position: relative; padding-left: 60px; }
.updates-timeline::before { content: ""; position: absolute; left: 74px; top: 29px; bottom: 90px; width: 1px; background: #d5dce6; }
.update-entry { position: relative; display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 145px; border-bottom: 1px solid var(--line); }
.update-entry:last-of-type { border-bottom: 0; }
.update-version { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 38px 34px 32px 60px; color: #192338; font: 700 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.update-version i { position: absolute; left: 7px; top: 44px; z-index: 1; width: 14px; height: 14px; background: #5475f5; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #5475f5; }
.update-entry.is-latest .update-version i { background: #40d7af; box-shadow: 0 0 0 1px #40d7af, 0 0 0 7px rgba(64,215,175,.14); }
.update-version span { color: #68758b; }
.update-copy { padding: 31px 0 32px 38px; border-left: 1px solid var(--line); }
.update-copy h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
.update-copy p { max-width: 780px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.updates-tools-link { width: max-content; display: flex; align-items: center; gap: 7px; margin: 30px auto 0; color: #3f5ed8; font-size: 14px; font-weight: 800; }
.updates-tools-link:hover svg { transform: translateX(3px); }
.updates-tools-link svg { transition: transform .2s; }

.pomodoro-workspace { background: #f3f5f8; }
.pomodoro-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .82fr); gap: 22px; align-items: start; }
.pomodoro-main { min-width: 0; padding: 26px 28px 24px; overflow: hidden; }
.pomodoro-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.pomodoro-preset { min-width: 0; display: grid; gap: 2px; padding: 11px 8px; color: #526076; background: #f8f9fb; border: 1px solid var(--line); border-radius: 10px; text-align: center; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.pomodoro-preset:hover { transform: translateY(-1px); border-color: #aebbd0; }
.pomodoro-preset strong { color: var(--ink); font: 800 13px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.pomodoro-preset span { overflow: hidden; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.pomodoro-preset.is-active { color: #087b68; background: #edfbf7; border-color: #7bdfc3; box-shadow: inset 0 0 0 1px rgba(118,242,206,.28); }
.pomodoro-preset:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.pomodoro-clock { position: relative; width: min(310px, 78vw); aspect-ratio: 1; display: grid; place-items: center; margin: 28px auto 19px; }
.pomodoro-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.pomodoro-ring circle { fill: none; stroke-width: 7; }
.pomodoro-ring-track { stroke: #edf0f4; }
.pomodoro-ring-progress { stroke: #5bd2b4; stroke-linecap: round; transition: stroke-dashoffset .3s linear, stroke .3s; filter: drop-shadow(0 2px 4px rgba(45,184,150,.2)); }
.pomodoro-ring-progress.is-break { stroke: #7a8deb; }
.pomodoro-time-copy { position: relative; display: grid; justify-items: center; }
.pomodoro-time-copy > span { color: #788498; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pomodoro-time-copy output { margin: 5px 0 4px; color: #111a2b; font: 760 clamp(54px, 6vw, 73px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.pomodoro-time-copy small { color: #7c8799; font-size: 11px; font-weight: 700; }
.pomodoro-time-copy small strong { color: #3c4b61; }
.pomodoro-actions { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pomodoro-actions .button { min-width: 132px; }
.pomodoro-actions .button-primary { color: #fff; background: #172237; box-shadow: 0 10px 25px rgba(16,27,45,.16); }
.pomodoro-actions .button-primary:hover { background: #24324a; }
.pomodoro-actions .button-primary.is-paused { color: #07130f; background: var(--mint); }
.pomodoro-actions .text-button { padding-inline: 10px; }
.pomodoro-play { min-width: 12px; font-size: 11px; }
.pomodoro-cycle-note { max-width: 600px; min-height: 20px; margin: 18px auto 16px; color: #778397; text-align: center; font-size: 11px; }
.pomodoro-cycle { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 8px; padding: 13px 18px; background: #fafbfd; border: 1px solid var(--soft-line); border-radius: 11px; }
.pomodoro-cycle span { display: flex; align-items: center; gap: 6px; color: #a1aab8; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.pomodoro-cycle i { width: 7px; height: 7px; display: block; background: #d6dce5; border-radius: 50%; }
.pomodoro-cycle span.is-current { color: #138f76; }
.pomodoro-cycle span.is-current i { background: #58d7b7; box-shadow: 0 0 0 4px rgba(88,215,183,.14); }
.pomodoro-cycle b { height: 1px; background: #e0e5ec; }
.pomodoro-settings { padding: 24px; }
.pomodoro-settings-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--soft-line); }
.pomodoro-settings-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.pomodoro-settings-head > span { width: 31px; height: 31px; display: grid; place-items: center; color: #697791; background: #f1f3f7; border-radius: 8px; font-size: 18px; }
.pomodoro-duration-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 19px 0; border-bottom: 1px solid var(--soft-line); }
.pomodoro-duration-fields label > span { position: relative; display: block; }
.pomodoro-duration-fields input { width: 100%; padding-right: 54px; font: 750 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pomodoro-duration-fields input:disabled { color: #667287; background: #f5f6f8; }
.pomodoro-duration-fields small { position: absolute; right: 10px; top: 50%; color: #929cad; font-size: 9px; transform: translateY(-50%); }
.pomodoro-setting-group { padding: 19px 0; border-bottom: 1px solid var(--soft-line); }
.pomodoro-setting-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pomodoro-setting-title strong { color: #4e5b70; font-size: 12px; }
.pomodoro-setting-title small { color: #9aa4b3; font-size: 9px; text-align: right; }
.pomodoro-noise-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pomodoro-noise-options label { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 3px; color: #7e899a; background: #f8f9fb; border: 1px solid var(--soft-line); border-radius: 9px; cursor: pointer; }
.pomodoro-noise-options input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.pomodoro-noise-options label:has(input:checked) { color: #258d77; background: #eefaf7; border-color: #87dbc6; }
.pomodoro-noise-options label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(90,114,227,.14); }
.pomodoro-noise-options span { height: 20px; font: 700 19px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pomodoro-noise-options small { font-size: 9px; font-weight: 750; }
.pomodoro-volume { margin-top: 15px; }
.pomodoro-volume > span { display: flex; justify-content: space-between; }
.pomodoro-volume output { color: #536178; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pomodoro-volume input { width: 100%; min-height: 18px; height: 18px; padding: 0; accent-color: #59cdb0; border: 0; box-shadow: none; }
.pomodoro-stats { padding-top: 19px; }
.pomodoro-stats > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pomodoro-stats > div span { display: grid; justify-items: center; padding: 12px 8px; background: #f7f8fa; border-radius: 9px; }
.pomodoro-stats strong { color: #26354d; font: 800 21px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pomodoro-stats small { color: #8a95a6; font-size: 9px; font-weight: 750; }
.pomodoro-stats > p:last-child { margin: 12px 0 0; color: #97a1b0; font-size: 9px; line-height: 1.55; text-align: center; }

/* Tool workspaces use a larger readability scale for labels, controls and supporting information. */
.tool-workspace { font-size: var(--tool-control-size); }
.tool-workspace label { color: #455268; font-size: var(--tool-copy-size); line-height: 1.5; }
.tool-workspace input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), .tool-workspace select, .tool-workspace textarea { min-height: 48px; padding: 10px 12px; font-size: var(--tool-control-size); line-height: 1.5; }
.tool-workspace .button { min-height: 48px; font-size: var(--tool-control-size); }
.tool-workspace .text-button { font-size: var(--tool-copy-size); }
.tool-workspace .panel-label, .tool-workspace .calendar-toolbar p, .tool-workspace .result-list span, .tool-workspace .setting-title { color: #657287; font-size: var(--tool-meta-size); line-height: 1.5; letter-spacing: .07em; }
.tool-workspace .notice, .tool-workspace .form-error, .tool-workspace .tool-status, .tool-workspace .result-note, .tool-workspace .settings-note, .tool-workspace .range-note { font-size: var(--tool-copy-size); line-height: 1.65; }

.tool-workspace .calendar-week span { font-size: var(--tool-meta-size); }
.tool-workspace .lunar-day, .tool-workspace .festival, .tool-workspace .calendar-legend, .tool-workspace .date-detail dt { font-size: var(--tool-meta-size); line-height: 1.4; }
.tool-workspace .holiday-mark, .tool-workspace .status-pill { font-size: var(--tool-meta-size); }
.tool-workspace .date-detail dd { font-size: 15px; line-height: 1.5; }
.tool-workspace .panel-heading > span { font-size: var(--tool-meta-size); }
.tool-workspace .result-list output { font-size: 15px; line-height: 1.65; }
.tool-workspace .copy-button { top: 21px; padding: 6px 9px; font-size: var(--tool-meta-size); }
.tool-workspace .drop-zone p, .tool-workspace .empty-state p, .tool-workspace .compact-drop p { font-size: var(--tool-copy-size); line-height: 1.6; }
.tool-workspace .batch-summary span { font-size: var(--tool-meta-size); }
.tool-workspace .file-name, .tool-workspace .ordered-file strong { font-size: var(--tool-copy-size); }
.tool-workspace .file-meta, .tool-workspace .file-status .status-text, .tool-workspace .ordered-file span { font-size: var(--tool-meta-size); line-height: 1.5; }
.tool-workspace .file-status button, .tool-workspace .file-status a { padding: 8px 10px; font-size: var(--tool-meta-size); }
.tool-workspace .range-field output, .tool-workspace .drop-icon { font-size: var(--tool-meta-size); }
.tool-workspace .selected-file { font-size: 15px; line-height: 1.6; }
.tool-workspace .qr-result > span, .tool-workspace .diff-summary, .tool-workspace .counter-stats span, .tool-workspace .reading-time { font-size: var(--tool-copy-size); line-height: 1.55; }
.tool-workspace .qr-result pre, .tool-workspace .diff-lines { font-size: 15px; line-height: 1.7; }
.tool-workspace .hash-file h3 { font-size: 16px; }
.tool-workspace .hash-row code, .tool-workspace .password-row code { font-size: var(--tool-meta-size); line-height: 1.7; }
.tool-workspace .markdown-body { font-size: var(--tool-control-size); }

.tool-workspace .radix-live-mark { font-size: var(--tool-meta-size); }
.tool-workspace .radix-input-grid input, .tool-workspace .radix-input-grid select { font-size: var(--tool-control-size); line-height: 1.4; }
.tool-workspace .radix-input-hint, .tool-workspace .radix-section-heading > p, .tool-workspace .radix-process-header > div:first-child > p:last-child { color: #6c788b; font-size: var(--tool-copy-size); line-height: 1.6; }
.tool-workspace .radix-examples > span, .tool-workspace .radix-examples button { font-size: var(--tool-meta-size); }
.tool-workspace .radix-status { font-size: var(--tool-copy-size); }
.tool-workspace .radix-result-card header > span { font-size: var(--tool-meta-size); }
.tool-workspace .radix-result-card header i { font-size: var(--tool-meta-size); }
.tool-workspace .radix-result-card header button { padding: 6px 7px; font-size: var(--tool-meta-size); }
.tool-workspace .radix-result-main small { font-size: var(--tool-meta-size); line-height: 1.5; }
.tool-workspace .radix-process-tabs button { min-width: 54px; min-height: 38px; font-size: var(--tool-meta-size); }
.tool-workspace .radix-route { font-size: var(--tool-meta-size); line-height: 1.5; }
.tool-workspace .radix-step-heading h3 { font-size: 18px; }
.tool-workspace .radix-step-number { width: 32px; height: 32px; font-size: var(--tool-meta-size); }
.tool-workspace .radix-process-note { font-size: var(--tool-copy-size); line-height: 1.65; }
.tool-workspace .radix-negative-note { font-size: var(--tool-meta-size); line-height: 1.5; }
.tool-workspace .radix-term-list li, .tool-workspace .radix-division-list li, .tool-workspace .radix-equation { font-size: var(--tool-copy-size); line-height: 1.7; }
.tool-workspace .radix-read-result { font-size: var(--tool-copy-size); }

.tool-workspace .pomodoro-preset strong { font-size: 16px; }
.tool-workspace .pomodoro-play { font-size: var(--tool-meta-size); }
.tool-workspace .pomodoro-preset span, .tool-workspace .pomodoro-time-copy > span, .tool-workspace .pomodoro-time-copy small, .tool-workspace .pomodoro-cycle-note { font-size: var(--tool-meta-size); line-height: 1.5; }
.tool-workspace .pomodoro-cycle span { font-size: var(--tool-meta-size); }
.tool-workspace .pomodoro-duration-fields input { font-size: var(--tool-control-size); }
.tool-workspace .pomodoro-duration-fields small, .tool-workspace .pomodoro-setting-title small, .tool-workspace .pomodoro-noise-options small, .tool-workspace .pomodoro-volume output, .tool-workspace .pomodoro-stats small, .tool-workspace .pomodoro-stats > p:last-child { font-size: var(--tool-meta-size); line-height: 1.5; }
.tool-workspace .pomodoro-setting-title strong { font-size: var(--tool-copy-size); }

/* Minimal memo */
.memo-workspace { background: var(--canvas); }
.memo-shell { max-width: 1120px; }
.memo-layout { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.memo-sidebar { position: sticky; top: 96px; overflow: hidden; }
.memo-list-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.memo-list-header > div { min-width: 0; display: grid; gap: 3px; }
.memo-list-header strong { color: var(--ink); font-size: 16px; }
.memo-list-header span { color: var(--muted); font-size: var(--tool-meta-size); }
.memo-add-button { min-height: 38px; flex: 0 0 auto; gap: 4px; padding: 8px 11px; font-size: 13px; }
.memo-add-button span { color: inherit; font-size: 17px; line-height: 1; }
.memo-list { max-height: 596px; overflow-y: auto; }
.memo-list-item + .memo-list-item { border-top: 1px solid var(--soft-line); }
.memo-list-button { width: 100%; min-width: 0; display: grid; gap: 5px; padding: 15px 17px; color: var(--ink); text-align: left; background: #fff; border: 0; border-radius: 0; }
.memo-list-button:hover { background: #f7f8fc; }
.memo-list-button:focus-visible { position: relative; z-index: 1; outline: 2px solid #7186e7; outline-offset: -2px; }
.memo-list-button[aria-current="true"] { background: #f0f3ff; box-shadow: inset 3px 0 #5e72d8; }
.memo-list-button strong, .memo-list-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.memo-list-button strong { font-size: 14px; line-height: 1.45; }
.memo-list-button span { color: #69768b; font-size: 12px; line-height: 1.45; }
.memo-list-button time { color: #8a94a4; font-size: 11px; line-height: 1.4; }
.memo-list-empty { margin: 0; padding: 34px 18px; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: center; }
.memo-list-empty[hidden] { display: none; }
.memo-editor-panel { min-width: 0; overflow: hidden; }
.memo-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.memo-toolbar > div { display: grid; gap: 4px; }
.memo-toolbar strong { color: var(--ink); font-size: 16px; }
.memo-toolbar span { color: var(--muted); font-size: var(--tool-meta-size); }
.memo-toolbar .text-button { flex: 0 0 auto; }
.memo-delete-button { color: #a4434d; }
.memo-delete-button:hover { color: #7f2530; }
.memo-delete-button:disabled { color: #aeb6c2; cursor: not-allowed; }
.memo-editor { display: block; }
.memo-editor textarea { min-height: 500px; display: block; padding: 28px; color: #28354a; background: #fff; border: 0; border-radius: 0; resize: vertical; font: 500 17px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.memo-editor textarea:focus { border: 0; box-shadow: inset 0 0 0 2px rgba(90,114,227,.35); }
.memo-editor textarea:disabled { color: #8993a3; background: #fbfcfd; cursor: default; }
.memo-footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; background: #fbfcfd; border-top: 1px solid var(--soft-line); }
.memo-state { min-width: 0; }
.memo-state p { margin: 0; color: #66748a; font-size: var(--tool-meta-size); }
.memo-state p[data-state="saved"] { color: #087560; }
.memo-state p[data-state="expired"], .memo-state p[data-state="error"] { color: #a4434d; }
.memo-times { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; margin-top: 6px; }
.memo-times[hidden] { display: none; }
.memo-times time { color: #7c8798; font-size: var(--tool-meta-size); }
.memo-character-count { flex: 0 0 auto; color: #7c8798; font: 700 var(--tool-meta-size)/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }

.not-found { min-height: 620px; display: grid; place-items: center; padding: 90px 0; text-align: center; background: #fff; }
.error-code { margin: 0; color: #5b72db; font: 850 clamp(80px, 16vw, 170px)/.9 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.08em; opacity: .16; }
.not-found h1 { margin: -23px 0 10px; font-size: 42px; }
.not-found p:not(.error-code) { margin: 0 auto 25px; color: var(--muted); }

/* PDF and Word converter */
.pdf-word-workspace { background: var(--canvas); }
.pdf-word-panel { overflow: hidden; }
.pdf-word-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 8px; gap: 8px; background: #f3f5f8; border-bottom: 1px solid var(--soft-line); }
.pdf-word-tabs button { min-height: 64px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 10px 18px; color: #68758a; background: transparent; border: 1px solid transparent; border-radius: 11px; font: 800 15px/1.2 inherit; }
.pdf-word-tabs button:hover { color: #293750; background: rgba(255,255,255,.65); }
.pdf-word-tabs button.is-active { color: #263b9f; background: #fff; border-color: #d7ddef; box-shadow: 0 5px 16px rgba(26,43,82,.07); }
.pdf-word-tabs button span { font: 850 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pdf-word-tabs button small { flex-basis: 100%; color: inherit; font-size: 11px; font-weight: 750; opacity: .76; }
.pdf-word-tabs svg { width: 18px; height: 18px; }
.pdf-word-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
.pdf-word-main { min-width: 0; border-right: 1px solid var(--soft-line); }
.pdf-word-drop { margin: 24px; background: #fbfcfd; }
.pdf-word-file-icons { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pdf-word-file-icons b { width: 48px; height: 56px; display: grid; place-items: center; color: #fff; background: #d94758; border-radius: 8px 8px 12px 8px; box-shadow: 0 8px 18px rgba(155,38,52,.14); font: 850 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pdf-word-file-icons b:last-child { background: #356bc4; box-shadow: 0 8px 18px rgba(38,84,155,.14); }
.pdf-word-file-icons svg { width: 29px; color: #8793a5; }
.pdf-word-preview { border-top: 1px solid var(--soft-line); }
.pdf-word-preview-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.pdf-word-preview-head h2 { margin: 0; font-size: 18px; }
.pdf-word-preview-head .panel-label { margin-bottom: 2px; }
.pdf-word-file { display: flex; align-items: center; gap: 12px; margin: 18px 24px 0; padding: 12px 14px; border: 1px solid var(--soft-line); border-radius: 11px; background: #fff; }
.pdf-word-file > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: #4963d0; background: #eef1ff; border-radius: 9px; font-weight: 850; }
.pdf-word-file div { min-width: 0; }
.pdf-word-file strong, .pdf-word-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-word-file strong { color: var(--ink); font-size: 13px; }
.pdf-word-file small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.pdf-word-page-preview { min-height: 320px; display: grid; place-items: start center; margin-top: 18px; padding: 24px; overflow: auto; background: #e9edf3; }
.pdf-word-page-preview canvas { max-width: 100%; height: auto; display: block; background: #fff; box-shadow: 0 14px 34px rgba(20,34,58,.16); }
.pdf-word-page-preview > div { max-width: 100%; overflow: auto; }
.pdf-word-docx-content { width: 794px; min-height: 1060px; padding: 48px; color: #172033; background: #fff; box-shadow: 0 14px 34px rgba(20,34,58,.16); font: 400 16px/1.55 Arial, "Helvetica Neue", sans-serif; }
.pdf-word-docx-content > :first-child { margin-top: 0; }
.pdf-word-docx-content h1, .pdf-word-docx-content h2, .pdf-word-docx-content h3 { break-after: avoid; line-height: 1.25; }
.pdf-word-docx-content p, .pdf-word-docx-content li { overflow-wrap: anywhere; }
.pdf-word-docx-content img { max-width: 100%; height: auto; }
.pdf-word-docx-content table { width: 100%; border-collapse: collapse; }
.pdf-word-docx-content th, .pdf-word-docx-content td { padding: 6px 8px; border: 1px solid #aeb7c3; vertical-align: top; }
.pdf-word-settings { position: sticky; top: 20px; display: grid; gap: 18px; padding: 24px; }
.pdf-word-settings fieldset { min-width: 0; display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.pdf-word-settings legend { margin-bottom: 2px; color: #455268; font-size: var(--tool-copy-size); font-weight: 750; }
.pdf-word-option { position: relative; display: block; }
.pdf-word-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pdf-word-option span { display: grid; gap: 4px; padding: 12px 13px; color: #657186; background: #f8f9fb; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pdf-word-option b { color: #344054; font-size: 13px; }
.pdf-word-option small { font-size: 11px; line-height: 1.5; }
.pdf-word-option input:checked + span { color: #526278; background: #f0f3ff; border-color: #8699ec; box-shadow: inset 0 0 0 1px rgba(94,123,255,.08); }
.pdf-word-option input:checked + span b { color: #3149b0; }
.pdf-word-option input:focus-visible + span { outline: 3px solid rgba(94,123,255,.2); outline-offset: 2px; }
.pdf-word-docx-options { display: grid; gap: 13px; }
.pdf-word-docx-options[hidden], .pdf-word-page-preview [hidden], #pdf-word-selected[hidden] { display: none !important; }
.pdf-word-docx-options label { display: grid; gap: 5px; }
.pdf-word-settings .button { margin-top: 2px; }
.pdf-word-settings .tool-status { min-height: 44px; margin: -6px 0 0; color: #087560; }
.pdf-word-boundary { padding-top: 16px; border-top: 1px solid var(--soft-line); }
.pdf-word-boundary strong { color: #3f4b5f; font-size: 12px; }
.pdf-word-boundary p { margin: 6px 0 0; color: #718095; font-size: 11px; line-height: 1.65; }

/* Code screenshot studio */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.code-shot-hero { padding: 20px 0 24px; }
.code-shot-hero .back-link { margin-bottom: 18px; }
.code-shot-hero h1 { font-size: clamp(40px, 4.5vw, 52px); }
.code-shot-hero .shell > p:last-of-type { margin-top: 14px; }
.code-shot-workspace { padding: 18px 0 76px; color: var(--ink); background: var(--canvas); }
.code-shot-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "editor controls" "preview controls"; gap: 20px; align-items: start; }
.code-shot-editor { grid-area: editor; overflow: hidden; }
.code-shot-control-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.code-shot-control-head strong { color: var(--ink); font-size: 15px; }
.code-shot-clear { padding: 4px; color: var(--muted); background: transparent; border: 0; font: 750 14px/1.2 inherit; }
.code-shot-clear:hover { color: #4058c2; }
.code-shot-source { display: block; padding: 20px; }
.code-shot-source textarea { height: 220px; min-height: 220px; resize: vertical; color: #263247; background: #fbfcfd; border-color: var(--line); font: 500 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 4; }
.code-shot-workspace label, .code-shot-workspace legend { color: #566277; font-size: 14px; font-weight: 750; }
.code-shot-workspace input:focus, .code-shot-workspace select:focus, .code-shot-workspace textarea:focus { border-color: #7c8ee8; box-shadow: 0 0 0 3px rgba(94,123,255,.11); }
.code-shot-controls { grid-area: controls; position: sticky; top: 96px; padding: 0 20px 20px; }
.code-shot-options-head { margin: 0 -20px 18px; padding: 16px 20px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); border-radius: var(--radius) var(--radius) 0 0; }
.code-shot-options-head p { margin: 0; color: var(--ink); font-size: 15px; font-weight: 800; }
.code-shot-form-grid { display: grid; grid-template-columns: 1fr; gap: 13px; margin-bottom: 13px; }
.code-shot-form-grid-bottom { margin-top: 18px; }
.code-shot-range-list { display: grid; gap: 13px; margin-top: 18px; }
.code-shot-range-list label { gap: 5px; }
.code-shot-range-list label > span { display: flex; align-items: center; justify-content: space-between; }
.code-shot-range-list output { color: var(--muted); font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-shot-range-list input { width: 100%; height: 18px; min-height: 18px; padding: 0; accent-color: #5e7bff; border: 0; box-shadow: none; }
.code-shot-switch-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-top: 5px; color: #566277; font-size: 14px; font-weight: 750; }
.code-shot-switch { position: relative; display: block; width: 46px; height: 26px; }
.code-shot-switch input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.code-shot-switch span { position: absolute; inset: 0; background: #d7dee8; border-radius: 999px; transition: background .18s; }
.code-shot-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(13,27,46,.2); transition: transform .18s; }
.code-shot-switch input:checked + span { background: #5e7bff; }.code-shot-switch input:checked + span::after { transform: translateX(20px); }.code-shot-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(94,123,255,.2); }
.code-shot-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; padding: 0; border: 0; }
.code-shot-scale legend { grid-column: 1 / -1; margin-bottom: 1px; }
.code-shot-scale label { position: relative; display: block; }
.code-shot-scale input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.code-shot-scale span { min-height: 40px; display: grid; place-items: center; color: #566277; background: #f8f9fb; border: 1px solid var(--line); border-radius: 9px; font: 750 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-shot-scale input:checked + span { color: #314ab5; background: #f0f3ff; border-color: #7c8ee8; box-shadow: inset 0 0 0 1px rgba(94,123,255,.08); }
.code-shot-scale input:focus-visible + span { box-shadow: 0 0 0 3px rgba(94,123,255,.18); }
.code-shot-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9px; margin-top: 15px; }
.code-shot-actions button { min-width: 0; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; font-size: 13px; font-weight: 820; }
.code-shot-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code-shot-reset { color: #455268; background: #fff; border: 1px solid var(--line); }
.code-shot-reset:hover { color: var(--ink); border-color: #bac4d0; }
.code-shot-preview { grid-area: preview; min-width: 0; overflow: hidden; }
.code-shot-preview > header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.code-shot-preview > header p { margin: 0 0 3px; color: var(--ink); font-size: 15px; font-weight: 800; }
.code-shot-preview > header span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.code-shot-preview > header output { flex: 0 0 auto; color: var(--muted); font: 700 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-shot-canvas-wrap { min-height: 430px; display: grid; place-items: center; padding: 32px; overflow: auto; background: #eef1f6; }
.code-shot-canvas-wrap canvas { display: block; width: 100%; height: auto; box-shadow: 0 18px 38px rgba(13,27,46,.18); }
.code-shot-status { min-height: 38px; margin: 0; padding: 8px 20px; color: #087560; background: #fbfcfd; border-top: 1px solid var(--soft-line); font-size: 13px; }

/* EXIF viewer and remover */
.exif-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.exif-main { min-width: 0; display: grid; gap: 20px; }
.exif-results { overflow: hidden; }
.exif-results-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.exif-results-header h2 { margin: 3px 0 0; font-size: 19px; }
.exif-select-all { min-width: max-content; }
.exif-file-list { display: grid; }
.exif-file-card { border-bottom: 1px solid var(--soft-line); }
.exif-file-card:last-child { border-bottom: 0; }
.exif-file-header { min-width: 0; display: grid; grid-template-columns: 20px 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 22px; }
.exif-file-header > input { width: 17px; height: 17px; accent-color: var(--accent); }
.exif-file-preview { width: 72px; height: 60px; display: block; object-fit: cover; background: #eef1f6; border: 1px solid var(--soft-line); border-radius: 9px; }
.exif-file-info { min-width: 0; }
.exif-file-info strong, .exif-file-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exif-file-info strong { color: var(--ink); font-size: 14px; }
.exif-file-info span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.exif-state { min-width: max-content; padding: 6px 9px; color: #526278; background: #f1f3f7; border-radius: 999px; font-size: 11px; font-weight: 800; }
.exif-file-card.is-cleaned .exif-state { color: #087560; background: #e8f8f3; }
.exif-state-error { color: #a13636; background: #fff0f0; }
.exif-details { border-top: 1px solid var(--soft-line); }
.exif-details summary { padding: 13px 22px; color: #4058c2; background: #fbfcfd; cursor: pointer; font-size: 13px; font-weight: 800; }
.exif-details > section { padding: 18px 22px; border-top: 1px solid var(--soft-line); }
.exif-details h3 { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
.exif-details dl { display: grid; grid-template-columns: minmax(130px, .65fr) minmax(0, 1.35fr); gap: 0; margin: 0; border: 1px solid var(--soft-line); border-radius: 9px; overflow: hidden; }
.exif-details dt, .exif-details dd { min-width: 0; margin: 0; padding: 9px 11px; overflow-wrap: anywhere; border-bottom: 1px solid var(--soft-line); font-size: 12px; line-height: 1.5; }
.exif-details dt { color: #5e6b80; background: #f8f9fb; font-weight: 750; }
.exif-details dd { color: #263247; background: #fff; border-left: 1px solid var(--soft-line); }
.exif-details dt:last-of-type, .exif-details dd:last-of-type { border-bottom: 0; }
.exif-file-actions { display: flex; justify-content: flex-end; gap: 16px; padding: 0 22px 16px; }
.exif-file-actions .text-button { min-height: 32px; padding: 4px 0; }
.exif-actions { position: sticky; top: 96px; display: grid; gap: 13px; padding: 22px; }
.exif-actions h2 { margin: -5px 0 0; font-size: 20px; }
.exif-actions .settings-note { margin: -2px 0 4px; }
.exif-selected-count { padding: 11px 12px; color: #4058c2; background: #f2f4ff; border: 1px solid #dce1ff; border-radius: 9px; font-size: 13px; font-weight: 800; }
.exif-actions .tool-status { min-height: 18px; margin: 0; }

/* JSON to code generator */
.json-code-hero { padding-bottom: 58px; }
.json-code-workspace { padding: 34px 0 82px; background: var(--canvas); }
.json-code-toolbar { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(220px, 1fr) auto; align-items: end; gap: 14px; margin-bottom: 20px; padding: 18px 20px; }
.json-code-toolbar .button { min-height: 43px; }
.json-code-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.json-code-panel { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.json-code-panel > header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; background: #fbfcfd; border-bottom: 1px solid var(--soft-line); }
.json-code-panel h2 { margin: 3px 0 0; font-size: 18px; }
.json-code-panel .panel-label { margin: 0; }
.json-code-panel-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.json-code-panel-actions .text-button { min-height: 34px; padding: 6px 8px; }
.json-code-hint { min-height: 48px; margin: 0; padding: 12px 20px; color: var(--muted); background: #fff; border-bottom: 1px solid var(--soft-line); font-size: 12px; line-height: 1.55; }
.json-code-panel textarea { min-height: 610px; flex: 1; margin: 0; padding: 20px; resize: vertical; color: #d9e2f1; background: #0f1728; border: 0; border-radius: 0; box-shadow: none; font: 500 13px/1.72 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 4; }
.json-code-panel:not(.json-code-output-panel) textarea { color: #263247; background: #fff; }
.json-code-status { min-height: 42px; margin: 0; padding: 10px 20px; color: #087560; background: #fbfcfd; border-top: 1px solid var(--soft-line); }
.json-code-status.is-error { color: #a13e47; }
.json-code-output-meta { min-height: 42px; display: flex; align-items: center; gap: 16px; padding: 10px 20px; color: #617086; background: #fbfcfd; border-top: 1px solid var(--soft-line); font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.json-code-output-meta span + span::before { content: "·"; margin-right: 16px; color: #a1abba; }
.json-code-details { background: #fff; }
.json-code-language-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.json-code-language-grid article { min-width: 0; padding: 19px; background: #f8f9fb; border: 1px solid var(--line); border-radius: 12px; }
.json-code-language-grid strong, .json-code-language-grid span { display: block; }
.json-code-language-grid strong { font-size: 15px; }
.json-code-language-grid span { margin-top: 6px; color: var(--muted); font: 650 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.json-code-rules { background: var(--canvas); }
.json-code-rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.json-code-rule-grid article { padding-top: 24px; border-top: 2px solid #cfd7e4; }
.json-code-rule-grid span { color: #6978bd; font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.json-code-rule-grid h3 { margin: 22px 0 10px; font-size: 19px; }
.json-code-rule-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.json-code-use-cases { background: #fff; }
.json-code-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.json-code-use-grid article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.json-code-use-grid h3 { margin: 0 0 11px; font-size: 20px; }
.json-code-use-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.json-code-review-note { margin-top: 22px; padding: 20px 22px; color: #47546a; background: #fff8e9; border: 1px solid #f0dfb9; border-radius: 12px; }
.json-code-review-note strong { color: #7a591c; font-size: 14px; }
.json-code-review-note p { margin: 7px 0 0; font-size: 13px; line-height: 1.7; }

@media (max-width: 900px) {
  .code-shot-layout { grid-template-columns: 1fr; grid-template-areas: "editor" "controls" "preview"; }
  .code-shot-controls { position: static; }
  .json-code-editor-grid { grid-template-columns: 1fr; }
  .json-code-language-grid, .json-code-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-orbit { display: none; }
  .hero-category-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0 0; }
  .hero-category-list span { padding: 5px 9px; color: #aebbd0; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; font-size: 10px; font-weight: 700; }
  .home-hero { min-height: auto; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .calendar-layout, .compressor-layout, .video-compressor-layout, .audio-processor-layout, .cropper-layout, .watermark-layout, .file-tool-layout, .qr-grid, .calculator-grid, .pomodoro-layout, .exif-layout { grid-template-columns: 1fr; }
  .date-detail, .compress-settings, .video-compressor-settings, .audio-processor-settings, .crop-settings, .watermark-settings, .tool-settings, .exif-actions { position: static; }
  .converter-grid { grid-template-columns: 1fr; }
  .code-example-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; gap: 50px; }
  .radix-results { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
  .memo-layout { grid-template-columns: 1fr; }
  .memo-sidebar { position: static; }
  .memo-list { max-height: 320px; }
  .pdf-word-layout { grid-template-columns: 1fr; }
  .pdf-word-main { border-right: 0; border-bottom: 1px solid var(--soft-line); }
  .pdf-word-settings { position: static; }
}

@media (max-width: 700px) {
  .shell, .shell.narrow { width: min(100% - 28px, var(--shell)); }
  .site-header { height: 68px; }
  .header-inner { gap: 16px; }
  .main-nav { display: none; }
  .user-tools-menu { margin-left: auto; }
  .user-tools-panel { position: fixed; right: 14px; top: 62px; }
  .language-menu { margin-left: 0; }
  .language-menu summary span { display: none; }
  .language-list { position: fixed; right: 14px; top: 62px; }
  .home-hero { padding-top: 68px; }
  .hero h1 { font-size: 47px; }
  .hero-lead { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; margin-top: 55px; }
  .hero-stats div, .hero-stats div:not(:first-child) { padding: 15px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .section { padding: 75px 0; }
  .related-tools-section { padding-top: 36px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .tool-grid, .promise-grid, .explainer-grid, .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-grid { gap: 45px; margin-top: 55px; padding-top: 48px; }
  .tool-card, .tool-card:last-child { grid-column: auto; min-height: 300px; }
  .related-tool-link, .related-tool-link:last-child { min-height: 230px; }
  .tool-toolbar { flex-direction: column; align-items: stretch; }
  .tool-search { max-width: none; }
  .promise-grid article, .promise-grid article + article { padding: 27px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .updates-hero { padding: 50px 0 45px; }
  .updates-hero h1 { font-size: 45px; }
  .updates-hero > .shell > p { font-size: 16px; }
  .updates-section { padding-top: 14px; }
  .updates-timeline { padding-left: 20px; }
  .updates-timeline::before { left: 26px; top: 33px; bottom: 92px; }
  .update-entry { grid-template-columns: 1fr; min-height: 0; padding: 25px 0 27px 32px; }
  .update-version { padding: 0; }
  .update-version i { left: -1px; top: 3px; transform: translateX(-32px); }
  .update-copy { padding: 13px 0 0; border-left: 0; }
  .update-copy h2 { font-size: 22px; }
  .tool-hero { padding: 38px 0 55px; }
  .tool-page-favorite { right: 0; top: -2px; width: 39px; padding: 8px; justify-content: center; }
  .tool-page-favorite span { display: none; }
  .back-link { margin-bottom: 34px; }
  .tool-hero h1 { font-size: 43px; }
  .calendar-panel { border-radius: 12px; }
  .calendar-toolbar { padding: 16px 12px; gap: 10px; }
  .month-form { flex-wrap: wrap; padding: 13px; }
  .month-form .text-button { margin-left: auto; }
  .calendar-local-notice { padding-inline: 13px; }
  .calendar-table { padding: 0 4px 8px; overflow-x: auto; }
  .calendar-week, .calendar-days { min-width: 700px; }
  .calendar-day { min-height: 94px; padding: 7px 6px; }
  .calendar-day .solar-day { font-size: 17px; }
  .calendar-day .lunar-day { margin-top: 6px; font-size: 14px; }
  .calendar-day .festival { font-size: 14px; }
  .calendar-day .holiday-mark { top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 6px; font-size: 14px; }
  .calendar-legend { padding-inline: 13px; }
  .live-time { align-items: flex-start; flex-direction: column; padding: 22px; }
  .live-controls { width: 100%; flex-wrap: wrap; }
  .converter { padding: 20px; }
  .converter form { grid-template-columns: 1fr; }
  .code-example header { align-items: flex-start; }
  .code-example pre { min-height: 0; font-size: 11px; }
  .code-line-number { flex-basis: 40px; padding-right: 11px; }
  .code-line-content { padding-inline: 15px; }
  .file-results { padding: 16px; }
  .video-drop-zone { min-height: 350px; padding: 38px 20px; }
  .video-preview-panel { padding: 14px; }
  .video-file-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .video-file-head h2 { max-width: 100%; font-size: 18px; }
  .video-size-comparison { gap: 10px; padding: 14px; }
  .video-size-comparison strong { font-size: 13px; }
  .video-result-panel { grid-template-columns: auto 1fr; }
  .video-result-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
  .audio-drop-zone { min-height: 350px; padding: 38px 20px; }
  .audio-editor { padding: 16px; }
  .audio-file-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .audio-file-head h2 { max-width: 100%; font-size: 18px; }
  .audio-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  #waveform-status { max-width: none; text-align: left; }
  .audio-trim-grid { grid-template-columns: 1fr; gap: 10px; }
  .audio-preview-selection { width: 100%; }
  .audio-result-panel { grid-template-columns: auto 1fr; }
  .audio-result-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
  .crop-editor, .crop-result { padding: 16px; }
  .crop-editor-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .crop-editor-header > div { width: 100%; }
  .crop-editor-header > div:last-child { justify-content: flex-end; }
  .crop-coordinate-grid { grid-template-columns: 1fr 1fr; }
  .crop-stage-wrap { padding: 7px; }
  .watermark-drop { min-height: 340px; padding: 38px 20px; }
  .watermark-source-panel, .watermark-preview-panel, .watermark-results { padding: 16px; }
  .watermark-source-panel > header, .watermark-preview-panel > header, .watermark-results > header { align-items: flex-start; flex-direction: column; }
  .watermark-source-panel > header > div:last-child { width: 100%; justify-content: space-between; }
  .watermark-preview-panel h2 { max-width: calc(100vw - 64px); }
  .watermark-canvas-wrap { min-height: 0; padding: 7px; }
  .watermark-result-row { grid-template-columns: 48px minmax(0, 1fr); }
  .watermark-result-row img { width: 48px; height: 43px; }
  .watermark-result-row a { grid-column: 1 / -1; text-align: center; }
  .watermark-settings > section { padding: 18px 16px; }
  .file-item { grid-template-columns: 54px minmax(0, 1fr); }
  .file-preview { width: 54px; height: 50px; }
  .file-status { grid-column: 1 / -1; justify-content: flex-end; }
  .diff-input-grid { grid-template-columns: 1fr; }
  .diff-actions { align-items: stretch; flex-direction: column; }
  .diff-actions .text-button { width: 100%; }
  .utility-two { grid-template-columns: 1fr; }
  .counter-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hash-row { grid-template-columns: 1fr auto; }
  .hash-row strong { grid-column: 1 / -1; }
  .markdown-preview { min-height: 380px; }
  .markdown-grid > .utility-editor, .markdown-grid > .markdown-preview { height: 440px; }
  .markdown-status { flex-basis: 100%; margin-left: 0; }
  [data-dedupe] .utility-toolbar { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  [data-dedupe] .utility-toolbar .check-field { min-width: 0; }
  [data-dedupe] #dedupe-run { margin-left: 0; }
  [data-dedupe] #dedupe-copy { width: 100%; }
  .unit-row { grid-template-columns: 1fr; }
  .unit-row .icon-button { justify-self: center; transform: rotate(90deg); }
  .radix-input-panel { padding: 22px 18px; }
  .radix-panel-heading, .radix-section-heading, .radix-process-header { align-items: flex-start; flex-direction: column; gap: 13px; }
  .radix-input-grid { grid-template-columns: 1fr; }
  .radix-input-grid .button { width: 100%; }
  .radix-section-heading > p { text-align: left; }
  .radix-results { grid-template-columns: 1fr; }
  .radix-result-main output { font-size: 27px; }
  .radix-process-header { padding: 22px 18px 19px; }
  .radix-process-tabs { width: 100%; }
  .radix-process-tabs button { min-height: 35px; flex: 1; }
  .radix-process { padding: 21px 18px 24px; }
  .radix-read-result { align-items: flex-start; flex-direction: column; gap: 7px; }
  .radix-read-result code { max-width: 100%; text-align: left; }
  .pomodoro-main { padding: 18px 14px; }
  .pomodoro-presets { grid-template-columns: 1fr 1fr; }
  .pomodoro-clock { width: min(280px, 82vw); margin-block: 24px 16px; }
  .pomodoro-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pomodoro-actions .button { min-width: 0; }
  .pomodoro-actions .text-button { grid-column: 1 / -1; }
  .pomodoro-cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 10px; gap: 5px; }
  .pomodoro-cycle span { justify-content: center; font-size: 13px; }
  .pomodoro-cycle b { display: none; }
  .pomodoro-settings { padding: 20px 16px; }
  .memo-list-header { align-items: flex-start; padding: 14px; }
  .memo-add-button { padding-inline: 10px; }
  .memo-list { max-height: 280px; }
  .memo-list-button { padding-inline: 15px; }
  .memo-toolbar { align-items: flex-start; padding: 15px 17px; }
  .memo-toolbar .text-button { min-height: 0; padding: 3px 0; }
  .memo-editor textarea { min-height: 440px; padding: 20px 17px; font-size: 16px; }
  .memo-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px 17px; }
  .memo-character-count { align-self: flex-end; }
  .ordered-file.with-thumb { grid-template-columns: 46px minmax(0, 1fr); }
  .ordered-file.with-thumb > div:last-child { grid-column: 1 / -1; justify-content: flex-end; }
  .pdf-word-tabs { grid-template-columns: 1fr; }
  .pdf-word-tabs button { min-height: 58px; }
  .pdf-word-drop { margin: 14px; padding-inline: 18px; }
  .pdf-word-preview-head { padding-inline: 16px; }
  .pdf-word-file { margin-inline: 14px; }
  .pdf-word-page-preview { min-height: 240px; padding: 14px; }
  .pdf-word-settings { padding: 20px 16px; }
  .code-shot-source { padding: 16px; }
  .code-shot-source textarea { height: 220px; min-height: 220px; }
  .code-shot-controls { padding-inline: 16px; }
  .code-shot-options-head { margin-inline: -16px; padding-inline: 16px; }
  .code-shot-form-grid { margin-bottom: 13px; }
  .code-shot-canvas-wrap { min-height: 0; }
  .code-shot-canvas-wrap { padding: 14px; }
  .code-shot-preview > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .exif-results-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px; }
  .exif-file-header { grid-template-columns: 18px 56px minmax(0, 1fr); gap: 10px; padding: 15px 16px; }
  .exif-file-preview { width: 56px; height: 52px; }
  .exif-state { grid-column: 2 / -1; justify-self: start; }
  .exif-details summary, .exif-details > section { padding-inline: 16px; }
  .exif-details dl { grid-template-columns: 1fr; }
  .exif-details dd { border-left: 0; }
  .exif-details dt:not(:first-child) { border-top: 1px solid var(--soft-line); }
  .exif-file-actions { padding-inline: 16px; }
  .json-code-toolbar { grid-template-columns: 1fr; }
  .json-code-toolbar .button { width: 100%; }
  .json-code-panel > header { align-items: flex-start; flex-direction: column; }
  .json-code-panel-actions { width: 100%; justify-content: flex-start; }
  .json-code-panel textarea { min-height: 440px; padding: 16px; font-size: 12px; }
  .json-code-language-grid, .json-code-rule-grid, .json-code-use-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .user-tools-menu > summary > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
