
      [hidden] { display: none !important; }
      /* ToolSandook palette: navy #0B1F3A / #13294B, white #FFFFFF, gold #D4A017 */
      :root {
        --x-navy: #0B1F3A;
        --x-navy-2: #13294B;
        --x-white: #FFFFFF;
        --x-gold: #D4A017;
        --x-gold-hover: #B8890F;
        --x-focus: light-dark(#0B1F3A, #D4A017);
        --x-alt: light-dark(#D4A017, #8FA3C2);
        --text-primary: light-dark(#0B1F3A, #FFFFFF);
        --text-secondary: light-dark(#44546E, #C3CDDD);
        --text-tertiary: light-dark(#0B1F3A4d, #FFFFFF4d);
        --text-primary-on: light-dark(#FFFFFF, #0B1F3A);
        --text-secondary-on: light-dark(#C3CDDD, #13294B);
        --fill-primary: light-dark(#0B1F3A, #D4A017);
        --fill-primary-on: light-dark(#FFFFFF, #0B1F3A);
        --fill-secondary: light-dark(#0B1F3A80, #FFFFFF80);
        --fill-tertiary: light-dark(#EEF2F8, #13294B);
        --fill-segment: light-dark(#13294B, #E6EBF3);
        --stroke-primary: light-dark(#0B1F3A2e, #FFFFFF33);
        --stroke-secondary: light-dark(#0B1F3A14, #FFFFFF1a);
        --stroke-primary-on: light-dark(#FFFFFF1a, #0B1F3A1a);
        --hover-wash: light-dark(#0B1F3A0d, #FFFFFF12);
        --hover-wash-primary-on: light-dark(#FFFFFF26, #0B1F3A14);
        --mat-regular: light-dark(rgb(255 255 255 / 0.56), rgb(11 31 58 / 0.55));
        --mat-thin: light-dark(rgb(255 255 255 / 0.22), rgb(11 31 58 / 0.4));
        --mat-agent: light-dark(rgb(255 255 255 / 0.84), rgb(11 31 58 / 0.66));
        --hark-shadow: 0 8px 40px #0B1F3A1f;
        --hero-surface: #0B1F3A;
        --hero-text: #FFFFFF;
        --hero-text-muted: #FFFFFFcc;
        --hero-scrim-strong: rgb(11 31 58 / 0.78);
        --hero-scrim-soft: rgb(11 31 58 / 0.3);
        --hero-scrim-side: rgb(11 31 58 / 0.45);
        --hero-glass: rgb(11 31 58 / 0.42);
        --hero-glass-faint: rgb(11 31 58 / 0.35);
      }
      body { background: var(--fill-primary-on); color: var(--text-primary); }
      :focus-visible { outline: 2px solid var(--x-focus); outline-offset: 2px; }
      ::selection { background: #D4A01766; }
      .x-head { position: sticky; top: 0; z-index: 20; margin-top: -12px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 8px 0; background: var(--x-navy); color: var(--x-white); border-bottom: 2px solid var(--x-gold); box-shadow: 0 0 0 100vmax var(--x-navy); clip-path: inset(0 -100vmax); }
      .x-head :focus-visible { outline-color: var(--x-gold); }
      .x-brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); font: var(--type-heading); color: var(--x-white); text-decoration: none; }
      .x-brand svg { width: 32px; height: 32px; flex: none; }
      .x-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
      .x-brand__tag { font: var(--type-tag); color: var(--x-gold); }
      .x-search { flex: 1 1 220px; max-width: 380px; }
      .x-head .x-input { background: var(--x-white); color: var(--x-navy); border-color: transparent; }
      .x-head .x-input::placeholder { color: #44546E; }
      .hero.x-hero { background-color: var(--x-navy); background-image: linear-gradient(135deg, var(--x-navy) 0%, var(--x-navy-2) 70%, #1C3A66 100%); box-shadow: inset 0 -4px 0 var(--x-gold), var(--hark-shadow); }
      .x-hero .hero__eyebrow { color: var(--x-gold); border-color: #D4A01780; }
      .x-tool .links .btn:first-child:not(#add), .x-tool a.btn[download] { background: var(--x-gold); color: var(--x-navy); border-color: var(--x-gold); font-weight: var(--weight-bold); }
      .x-tool .links .btn:first-child:not(#add):hover:not(:disabled), .x-tool a.btn[download]:hover { background: var(--x-gold-hover); border-color: var(--x-gold-hover); box-shadow: none; }
      .page .btn:hover { border-color: var(--x-gold); }
      .page .link { text-decoration-color: var(--x-gold); }
      .page .link:hover { text-decoration-thickness: 2px; }
      .x-foot nav a:hover { box-shadow: inset 0 0 0 1.5px var(--x-gold); }
      .x-card { border: 1px solid transparent; }
      .x-card:hover, .x-card:focus-visible { border-color: var(--x-gold); }
      .x-card .x-icon { justify-self: start; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-s); background: var(--fill-primary-on); box-shadow: inset 0 -2px 0 var(--x-gold); }
      .section .head h2 { padding-left: 12px; border-left: 3px solid var(--x-gold); }
      .x-input, .x-field select, .x-field input:not([type="range"]):not([type="checkbox"]) { width: 100%; min-height: var(--tap); padding: 0 12px; border: 1px solid var(--stroke-primary); border-radius: var(--r-s); background: var(--fill-primary-on); color: var(--text-primary); font: var(--type-body); }
      .x-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
      .x-card { display: grid; align-content: start; gap: 6px; padding: 18px; border-radius: var(--r-m); background: var(--fill-tertiary); color: var(--text-primary); text-decoration: none; transition: box-shadow var(--dur-quick) ease; }
      .x-card:hover { box-shadow: inset 0 0 0 100px var(--hover-wash); }
      .x-card .chip { justify-self: start; margin-top: 4px; }
      .x-icon { font-size: 24px; line-height: 1; }
      .x-card__name { font: var(--type-label); font-weight: var(--weight-medium); }
      .x-card__desc { font: var(--type-small); color: var(--text-secondary); }
      .x-empty { font: var(--type-body); color: var(--text-secondary); }
      .ad-slot { display: grid; place-items: center; min-height: 90px; border: 1px dashed var(--stroke-primary); border-radius: var(--r-m); font: var(--type-caption); color: var(--text-secondary); }
      .x-view { display: grid; gap: 16px; }
      .x-view__top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
      .x-view h1 { font: var(--type-title); }
      .x-how { font: var(--type-body); color: var(--text-secondary); }
      .x-tool { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--stroke-secondary); border-radius: var(--r-l); }
      .x-tool h3 { font: var(--type-heading); }
      .x-drop { position: relative; display: grid; place-items: center; padding: 28px 16px; border: 1.5px dashed var(--stroke-primary); border-radius: var(--r-m); background: var(--fill-tertiary); font: var(--type-body); color: var(--text-secondary); text-align: center; }
      .x-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
      .x-drop:focus-within { outline: 2px solid var(--fill-primary); outline-offset: 2px; }
      .x-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: start; }
      .x-row > .btn, .x-row > .x-check { align-self: end; }
      .x-field { display: grid; gap: 6px; flex: 1 1 180px; align-content: start; font: var(--type-label); color: var(--text-secondary); }
      .x-check { display: inline-flex; gap: 8px; align-items: center; min-height: var(--tap); font: var(--type-label); }
      input[type="range"], input[type="checkbox"], input[type="radio"] { accent-color: var(--fill-primary); min-height: 24px; }
      button.btn { cursor: pointer; }
      button.btn:disabled { opacity: 0.5; cursor: default; }
      .x-list { list-style: none; margin: 0; padding: 0; }
      .x-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--stroke-secondary); font: var(--type-label); }
      .x-list .x-name { min-width: 0; overflow-wrap: anywhere; }
      .x-ctl { display: flex; gap: 6px; flex: none; }
      .x-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
      .x-thumbs figure { display: grid; gap: 8px; justify-items: center; padding: 12px; border-radius: var(--r-s); background: var(--fill-tertiary); }
      .x-thumbs img { max-width: 100%; max-height: 180px; border: 1px solid var(--stroke-secondary); transition: transform var(--dur-quick) var(--ease-out); }
      .x-thumbs figcaption { font: var(--type-caption); color: var(--text-secondary); }
      .x-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
      .x-ba figure { display: grid; gap: 8px; padding: 12px; border-radius: var(--r-s); background: var(--fill-tertiary); }
      .x-ba img, .x-preview { max-width: 100%; max-height: 360px; object-fit: contain; justify-self: center; }
      .x-ba figcaption { font: var(--type-caption); color: var(--text-secondary); }
      .x-checker { display: grid; place-items: center; padding: 12px; border-radius: var(--r-s); background: repeating-conic-gradient(var(--fill-tertiary) 0 25%, var(--fill-primary-on) 0 50%) 0 0 / 20px 20px; border: 1px solid var(--stroke-secondary); }
      .x-crop { height: min(60vh, 440px); border-radius: var(--r-s); overflow: hidden; background: var(--fill-tertiary); }
      .x-crop img { display: block; max-width: 100%; }
      .x-status { font: var(--type-label); color: var(--text-secondary); }
      .x-status.is-err { color: var(--fill-system-red); }
      .x-out { display: grid; gap: 12px; }
      .x-stack, .x-blk { display: grid; gap: 16px; }
      .x-blk { gap: 8px; }
      .x-field small { font: var(--type-caption); color: var(--text-secondary); min-height: 1em; }
      .x-seg { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; border: 0; }
      .x-seg legend { padding: 0; font: var(--type-label); color: var(--text-secondary); }
      .x-res { list-style: none; margin: 0; padding: 0; counter-reset: res; }
      .x-res > li { display: flex; gap: 12px; align-items: start; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--stroke-secondary); }
      .x-res > li > .btn { flex: none; }
      .x-txt { min-width: 0; font: var(--type-body); color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
      .x-tags { display: flex; flex-wrap: wrap; gap: 6px; white-space: normal; }
      .x-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; white-space: normal; }
      .x-dl dt { font: var(--type-label); color: var(--text-secondary); }
      .x-dl dd { margin: 0; }
      .x-viz { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 16px; border-radius: var(--r-m); background: var(--fill-tertiary); }
      .x-donut { width: 160px; height: 160px; flex: none; }
      .x-legend { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font: var(--type-label); }
      .x-legend li { display: flex; gap: 8px; align-items: center; }
      .x-sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }
      .x-sw--line { height: 0; border-radius: 0; border-top: 2px dashed var(--text-secondary); }
      .x-chart { display: grid; gap: 6px; flex: 1 1 100%; }
      .x-chart svg { width: 100%; height: 200px; display: block; }
      .x-axis, .x-years { display: flex; justify-content: space-between; font: var(--type-caption); color: var(--text-secondary); }
      .x-field textarea { width: 100%; min-height: 88px; padding: 10px 12px; border: 1px solid var(--stroke-primary); border-radius: var(--r-s); background: var(--fill-primary-on); color: var(--text-primary); font: var(--type-body); resize: vertical; }
      .x-field .x-color { padding: 4px; cursor: pointer; }
      .x-field small.is-err { color: var(--fill-system-red); }
      .x-code { display: grid; place-items: center; gap: 12px; padding: 16px; border-radius: var(--r-m); background: var(--fill-tertiary); }
      .x-code canvas, .x-code svg { max-width: 100%; height: auto; border-radius: 4px; }
      .x-code canvas { width: min(100%, 280px); image-rendering: pixelated; }
      .x-items { display: grid; gap: 12px; }
      .x-item { padding: 12px; border-radius: var(--r-s); background: var(--fill-tertiary); }
      .x-item .x-field { flex: 1 1 110px; }
      .x-item .x-field.x-wide { flex: 3 1 220px; }
      .x-inv { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--stroke-secondary); border-radius: var(--r-m); }
      .x-inv__top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
      .x-inv h4 { font: var(--type-heading); }
      .x-inv p { font: var(--type-small); color: var(--text-secondary); white-space: pre-line; }
      .x-inv p strong { color: var(--text-primary); font-weight: var(--weight-medium); }
      .x-words { font: var(--type-label); color: var(--text-primary); }
      .x-catbar { position: sticky; top: var(--x-head-h, 62px); z-index: 19; margin-top: -16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: var(--x-navy); box-shadow: 0 0 0 100vmax var(--x-navy); clip-path: inset(0 -100vmax); border-bottom: 1px solid #FFFFFF1a; }
      .x-catbar::-webkit-scrollbar { display: none; }
      .x-catbar a { flex: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-bottom: 3px solid transparent; color: #FFFFFFcc; font: var(--type-label); white-space: nowrap; text-decoration: none; transition: color var(--dur-quick) ease, border-color var(--dur-quick) ease; }
      .x-catbar a:hover { color: var(--x-white); border-bottom-color: #D4A01799; }
      .x-catbar a.is-active { color: var(--x-white); border-bottom-color: var(--x-gold); font-weight: var(--weight-medium); }
      .x-catbar a:focus-visible { outline-color: var(--x-gold); outline-offset: -3px; }
      #cats .section { scroll-margin-top: var(--x-stick, 110px); }
      .x-prog { display: grid; gap: 6px; }
      .x-prog__track { height: 10px; border-radius: var(--r-pill); background: var(--fill-tertiary); overflow: hidden; }
      .x-prog__bar { height: 100%; width: 0; border-radius: inherit; background: var(--x-gold); transition: width var(--dur-quick) linear; }
      .x-prog__txt { display: flex; justify-content: space-between; gap: 12px; font: var(--type-label); color: var(--text-secondary); }
      .x-log summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font: var(--type-label); color: var(--text-secondary); }
      .x-log pre { max-height: 220px; overflow: auto; margin: 0; padding: 12px; border-radius: var(--r-s); background: var(--fill-tertiary); font: 12px/1.5 "Geist Mono", monospace; color: var(--text-secondary); white-space: pre-wrap; overflow-wrap: anywhere; }
      .x-a4 { justify-self: center; width: min(100%, 210mm); padding: clamp(16px, 5vw, 15mm); border: 1px solid var(--stroke-secondary); border-radius: 4px; box-shadow: var(--hark-shadow); overflow-x: auto; }
      .x-a4, .x-a4pdf { background: #fff; color: #111; font: var(--type-body); }
      .x-a4pdf { width: 180mm; }
      :is(.x-a4, .x-a4pdf) :is(h1, h2, h3, h4) { margin: 0.8em 0 0.4em; font-weight: var(--weight-bold); }
      :is(.x-a4, .x-a4pdf) :is(p, ul, ol, table) { margin: 0 0 0.7em; }
      :is(.x-a4, .x-a4pdf) img { max-width: 100%; height: auto; }
      :is(.x-a4, .x-a4pdf) table { border-collapse: collapse; }
      :is(.x-a4, .x-a4pdf) :is(td, th) { padding: 4px 6px; border: 1px solid #999; }
      .x-pad { width: 100%; max-width: 600px; height: auto; aspect-ratio: 10 / 3; background: #fff; border: 1px solid var(--stroke-primary); border-radius: var(--r-s); touch-action: none; cursor: crosshair; }
      .x-place { position: relative; justify-self: center; width: min(100%, 640px); border: 1px solid var(--stroke-secondary); cursor: crosshair; }
      .x-place canvas { display: block; width: 100%; height: auto; }
      .x-place img { position: absolute; transform: translate(-50%, -50%); outline: 1.5px dashed var(--x-gold); pointer-events: none; }
      .x-field textarea.x-big { min-height: 200px; }
      .x-pass { position: relative; max-height: 240px; overflow-y: auto; padding: 16px; border-radius: var(--r-m); background: var(--fill-tertiary); font: var(--type-heading); line-height: 1.9; overflow-wrap: anywhere; }
      .x-pass .is-cur { border-radius: 4px; background: #D4A01733; box-shadow: inset 0 -2px 0 var(--x-gold); }
      .x-pass .ok { color: var(--fill-system-green); }
      .x-pass .bad { color: var(--fill-system-red); text-decoration: underline; }
      .x-bmi { position: relative; display: flex; height: 12px; margin: 8px 0; }
      .x-bmi span:first-child { border-radius: var(--r-pill) 0 0 var(--r-pill); }
      .x-bmi span:last-of-type { border-radius: 0 var(--r-pill) var(--r-pill) 0; }
      .x-bmi i { position: absolute; top: -5px; width: 4px; height: 22px; border-radius: 2px; background: var(--text-primary); box-shadow: 0 0 0 2px var(--fill-primary-on); transform: translateX(-50%); }
      @media (max-width: 599px) { .x-inv { padding: 16px; } }
      @media (max-width: 599px) { .x-ba { grid-template-columns: 1fr; } .x-tool { padding: 16px; } .x-search { max-width: none; } }
    
      .ad-slot { display: none !important; } /* hidden until AdSense is approved */

      .x-seo { display: grid; gap: 12px; margin-top: 8px; }
      .x-seo h2 { font: var(--type-heading); margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--x-gold); }
      .x-seo p, .x-seo li { font: var(--type-body); color: var(--text-secondary); }
      .x-seo ol, .x-seo ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
      .x-seo details { padding: 12px 16px; border-radius: var(--r-m); background: var(--fill-tertiary); }
      .x-seo summary { cursor: pointer; font: var(--type-label); font-weight: var(--weight-medium); color: var(--text-primary); min-height: 24px; }
      .x-seo details p { margin-top: 8px; }
      .x-crumbs { font: var(--type-caption); color: var(--text-secondary); }
      .x-crumbs a { color: inherit; }
      .x-intro { display: grid; gap: 10px; }
      .x-intro p { font: var(--type-body); color: var(--text-secondary); max-width: 72ch; }
      img, canvas, video, svg { max-width: 100%; }
      .x-tool, .x-view, .prose { min-width: 0; overflow-wrap: anywhere; }
      .x-tool table { display: block; overflow-x: auto; max-width: 100%; }

/* ================= v4 ================= */
:root { --x-bg: #F6F8FC; --x-line: #E3E8F1; --x-gold-ink: #8A6508; --x-shadow-sm: 0 1px 2px rgb(11 31 58 / .06), 0 1px 1px rgb(11 31 58 / .04); --x-shadow-md: 0 10px 30px rgb(11 31 58 / .10); color-scheme: light; }
body { background: #FFFFFF; }
.page { padding-block: 0 0; gap: 24px; }
/* header */
.x-head { background: rgb(255 255 255 / .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); color: var(--x-navy); border-bottom: 1px solid var(--x-line); box-shadow: 0 0 0 100vmax rgb(255 255 255 / .92); margin-top: 0; padding: 10px 0; }
.x-brand { color: var(--x-navy); font-weight: 700; }
.x-brand__tag { color: var(--x-gold-ink); }
.x-head .x-input { background: var(--x-bg); border: 1px solid var(--x-line); color: var(--x-navy); border-radius: 999px; padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2344546E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; }
.x-head .x-input:focus { border-color: var(--x-navy); background-color: #fff; }
.x-catbar { background: #fff; box-shadow: 0 0 0 100vmax #fff; border-bottom: 1px solid var(--x-line); margin-top: -24px; gap: 8px; padding: 10px 0; }
.x-catbar a { min-height: 36px; padding: 0 14px; border: 1px solid var(--x-line); border-radius: 999px; color: var(--x-navy); background: #fff; font-size: 14px; }
.x-catbar a:hover { color: var(--x-navy); border-color: var(--x-gold); background: #FFF9EA; }
.x-catbar a.is-active { color: #fff; background: var(--x-navy); border-color: var(--x-navy); }
.x-catbar a:focus-visible { outline-color: var(--x-navy); outline-offset: 2px; }
/* hero */
.tsk-hero { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 18px; padding: clamp(40px, 7vw, 84px) clamp(16px, 4vw, 48px) clamp(36px, 5vw, 56px); border-radius: 28px; background: radial-gradient(600px 300px at 88% 0%, rgb(212 160 23 / .20), transparent 70%), radial-gradient(520px 320px at 0% 100%, rgb(47 111 235 / .10), transparent 70%), linear-gradient(180deg, #F8FAFE 0%, #EEF3FB 100%); border: 1px solid var(--x-line); }
.tsk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #EBDDB0; color: var(--x-gold-ink); font: 600 13px/1.2 var(--font-sans, system-ui); box-shadow: var(--x-shadow-sm); }
.tsk-hero h1 { font: 800 clamp(32px, 5.4vw, 56px)/1.08 var(--font-sans, system-ui); letter-spacing: -0.02em; color: var(--x-navy); max-width: 18ch; }
.tsk-hero h1 .g { background: linear-gradient(90deg, #B8860B, #D4A017 60%, #E8B93A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tsk-hero .sub { font: 400 clamp(16px, 1.6vw, 19px)/1.55 var(--font-sans, system-ui); color: #44546E; max-width: 60ch; }
.tsk-search { position: relative; width: min(100%, 640px); }
.tsk-search .x-input { min-height: 60px; padding: 0 20px 0 52px; border-radius: 999px; border: 1px solid var(--x-line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 20px center; font-size: 17px; color: var(--x-navy); box-shadow: var(--x-shadow-md); }
.tsk-search .x-input:focus { border-color: var(--x-gold); outline: 3px solid rgb(212 160 23 / .25); outline-offset: 0; }
.tsk-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tsk-quick a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--x-line); color: var(--x-navy); text-decoration: none; font-size: 14px; }
.tsk-quick a:hover { border-color: var(--x-gold); background: #FFF9EA; }
.tsk-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 4px 0 0; padding: 0; list-style: none; color: #44546E; font-size: 14px; }
.tsk-trust li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--x-navy); color: var(--x-gold); font-size: 11px; font-weight: 700; }
/* sections + cards */
.section { gap: 14px; }
.section .head h2, .tsk-sec h2 { font: 700 22px/1.25 var(--font-sans, system-ui); color: var(--x-navy); border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 10px; }
.section .head h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--x-gold)); }
#cat-pdf { --c: #E5484D; } #cat-image { --c: #2F6FEB; } #cat-video { --c: #8E4EC6; } #cat-text { --c: #12A594; } #cat-ai { --c: #D6409F; } #cat-calc { --c: #30A46C; } #cat-biz { --c: #C8950F; }
.tsk-sec { display: grid; gap: 14px; }
.tsk-sec .lead { color: #44546E; font-size: 15px; margin-top: -8px; }
.x-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.x-card { position: relative; gap: 8px; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--x-line); border-radius: 16px; box-shadow: var(--x-shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.x-card:hover, .x-card:focus-visible { transform: translateY(-2px); box-shadow: var(--x-shadow-md); border-color: color-mix(in srgb, var(--c, #D4A017) 55%, #fff); }
.x-card:hover { box-shadow: var(--x-shadow-md); }
.x-card .x-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; background: color-mix(in srgb, var(--c, #D4A017) 13%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #D4A017) 22%, #fff); }
.x-card__name { font-weight: 650; color: var(--x-navy); font-size: 16px; }
.x-card__desc { color: #5A6880; font-size: 14px; line-height: 1.45; }
.x-card::after { content: "Open →"; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--x-gold-ink); opacity: 0; transition: opacity .15s ease; }
.x-card:hover::after, .x-card:focus-visible::after { opacity: 1; }
@media (hover: none) { .x-card::after { opacity: 1; } }
.x-card[data-c="pdf"] { --c: #E5484D; }
.x-card[data-c="image"] { --c: #2F6FEB; }
.x-card[data-c="video"] { --c: #8E4EC6; }
.x-card[data-c="text"] { --c: #12A594; }
.x-card[data-c="ai"] { --c: #D6409F; }
.x-card[data-c="calc"] { --c: #30A46C; }
.x-card[data-c="biz"] { --c: #C8950F; }

/* SEO blocks */
.x-seo { padding: clamp(20px, 3vw, 32px); background: var(--x-bg); border: 1px solid var(--x-line); border-radius: 20px; }
.x-seo h2 { border-left: 0; padding-left: 0; font: 700 20px/1.3 var(--font-sans, system-ui); color: var(--x-navy); }
.x-seo details { background: #fff; border: 1px solid var(--x-line); border-radius: 12px; }
.x-seo details[open] summary { color: var(--x-navy); }
.x-seo summary::marker { color: var(--x-gold); }
/* tool page */
.x-view { gap: 18px; }
.x-crumbs { padding-top: 4px; }
.x-crumbs a { color: #44546E; text-decoration: none; } .x-crumbs a:hover { color: var(--x-navy); text-decoration: underline; }
.x-view__top { display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(24px, 4vw, 40px) 16px clamp(8px, 2vw, 16px); border-radius: 24px; background: radial-gradient(420px 200px at 85% 0%, rgb(212 160 23 / .16), transparent 70%), linear-gradient(180deg, #F8FAFE, #EEF3FB); border: 1px solid var(--x-line); }
.x-view__top .btn { order: 2; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; background: #fff; }
.x-view h1 { order: 1; font: 800 clamp(28px, 4.2vw, 42px)/1.12 var(--font-sans, system-ui); letter-spacing: -0.015em; color: var(--x-navy); }
.x-how { text-align: center; max-width: 70ch; justify-self: center; color: #44546E; margin-top: -4px; }
.x-tool { width: 100%; max-width: 900px; justify-self: center; padding: clamp(18px, 3vw, 32px); background: #fff; border: 1px solid var(--x-line); border-radius: 22px; box-shadow: var(--x-shadow-md); }
.x-drop { min-height: 200px; padding: 36px 20px 32px; gap: 10px; align-content: center; border: 2px dashed #C9D3E3; border-radius: 18px; background: linear-gradient(180deg, #FAFBFE, #F3F6FB); color: #44546E; transition: border-color .15s ease, background .15s ease; }
.x-drop::before { content: ""; width: 56px; height: 56px; border-radius: 16px; background: var(--x-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23D4A017' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='m6 10 6-6 6 6'/%3E%3Cpath d='M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3'/%3E%3C/svg%3E") no-repeat center; box-shadow: 0 8px 20px rgb(11 31 58 / .18); }
.x-drop::after { content: "Choose file"; display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; background: var(--x-gold); color: var(--x-navy); font-weight: 700; font-size: 14px; }
.x-drop:hover, .x-drop.is-over { border-color: var(--x-gold); background: #FFFBEF; }
.x-tool .btn { border-radius: 999px; }
.x-tool button.btn:not(.btn--ghost):not([data-act]) { min-height: 46px; padding: 0 22px; }
.x-tool .x-row > .btn:first-of-type, .x-tool > .btn, .x-tool .x-stack > .btn, .x-tool #go, .x-tool #mgo, .x-tool #sgo { background: var(--x-navy); color: #fff; border-color: var(--x-navy); font-weight: 650; }
.x-tool .x-row > .btn:first-of-type:hover:not(:disabled), .x-tool #go:hover:not(:disabled), .x-tool #mgo:hover:not(:disabled), .x-tool #sgo:hover:not(:disabled) { background: var(--x-navy-2); }
.x-input, .x-field select, .x-field input:not([type="range"]):not([type="checkbox"]), .x-field textarea { border-radius: 12px; border-color: #D5DDEA; background: #fff; }
.x-out { padding: 16px; border-radius: 16px; background: var(--x-bg); border: 1px solid var(--x-line); }
.x-out:empty { display: none; }
.x-ba figure, .x-thumbs figure, .x-code, .x-viz, .x-item { background: var(--x-bg); border: 1px solid var(--x-line); border-radius: 14px; }
/* footer */
.tsk-foot { margin-top: 24px; padding: 48px 0 28px; background: var(--x-navy); color: #C3CDDD; box-shadow: 0 0 0 100vmax var(--x-navy); clip-path: inset(0 -100vmax); display: grid; gap: 32px; }
.tsk-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .tsk-foot__grid { grid-template-columns: 1fr 1fr; } .tsk-foot__brand { grid-column: 1 / -1; } }
.tsk-foot h3 { color: #fff; font: 700 15px/1.3 var(--font-sans, system-ui); margin-bottom: 12px; }
.tsk-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tsk-foot a { color: #C3CDDD; text-decoration: none; font-size: 14px; } .tsk-foot a:hover { color: var(--x-gold); }
.tsk-foot__brand p { font-size: 14px; line-height: 1.6; max-width: 36ch; margin-top: 10px; }
.tsk-foot .x-brand { color: #fff; } .tsk-foot .x-brand__tag { color: var(--x-gold); }
.tsk-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 13px; }
.prose h2 { color: var(--x-navy); }
#info .x-view__top { justify-items: start; text-align: left; }
