:root {
  color-scheme: light;
  --ink: #131516;
  --ink-2: #25282a;
  --paper: #f2f3ef;
  --surface: #ffffff;
  --canvas: #e4e7e2;
  --line: #c8cdc7;
  --muted: #676d6a;
  --cobalt: #2448f5;
  --cobalt-dark: #1734c4;
  --lime: #c9f14a;
  --coral: #ff684f;
  --success: #167555;
  --danger: #ba291c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; letter-spacing: 0; }
button, input, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #383b3d; background: var(--ink); color: var(--surface); }
.header-inner, .page, .footer-inner { width: min(1440px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 62px; display: flex; align-items: stretch; }
.brand { min-width: 250px; display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; white-space: nowrap; }
.brand-word { font-size: 21px; font-weight: 900; }
.brand-product { color: #aeb4b0; font-family: "Courier New", monospace; font-size: 11px; }
.brand-mark, .brand-pixel { display: none; }
.nav { min-width: 0; display: flex; align-items: stretch; border-left: 1px solid #383b3d; }
.nav a { min-width: 104px; display: grid; place-items: center; padding: 0 16px; border-right: 1px solid #383b3d; color: #c9cdca; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.nav a:hover { background: var(--ink-2); color: var(--surface); }
.nav a[aria-current="page"] { background: var(--lime); color: var(--ink); }
.header-state { margin-left: auto; display: flex; align-items: center; gap: 9px; padding-left: 20px; color: #bbc0bc; font-family: "Courier New", monospace; font-size: 11px; white-space: nowrap; }
.state-dot { width: 8px; height: 8px; background: var(--lime); }

.page { padding: 28px 0 76px; }
.desk-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; }
.tool-rail { position: sticky; top: 90px; border-top: 3px solid var(--ink); }
.rail-heading { padding: 12px 0 10px; border-bottom: 1px solid var(--ink); font-family: "Courier New", monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.rail-group { padding: 15px 0 12px; border-bottom: 1px solid var(--line); }
.rail-group-title { margin-bottom: 7px; color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.rail-link { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px; color: #3e4340; font-size: 13px; font-weight: 700; text-decoration: none; }
.rail-link:hover { background: var(--surface); }
.rail-link[aria-current="page"] { background: var(--ink); color: var(--surface); }
.rail-code { color: #8b918d; font-family: "Courier New", monospace; font-size: 10px; }
.rail-link[aria-current="page"] .rail-code { color: var(--lime); }
.desk-content { min-width: 0; }

.intro { min-height: 132px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 440px); align-items: end; gap: 32px; padding: 4px 0 24px; border-bottom: 1px solid var(--ink); }
.intro .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.eyebrow { margin: 0; color: var(--cobalt); font-family: "Courier New", monospace; font-size: 11px; font-weight: 800; text-transform: uppercase; }
h1 { margin: 0; max-width: 790px; font-size: 42px; line-height: 1.04; letter-spacing: 0; }
.lede { margin: 0; color: #555b57; font-size: 16px; line-height: 1.55; }

.workspace { border-bottom: 1px solid var(--ink); background: var(--surface); overflow: hidden; }
.workspace-bar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--ink); background: var(--lime); }
.workspace-identity { display: flex; align-items: center; gap: 13px; }
.workspace-index { font-family: "Courier New", monospace; font-size: 10px; font-weight: 700; }
.workspace-title { margin: 0; font-size: 13px; text-transform: uppercase; }
.privacy-note { color: var(--ink); font-family: "Courier New", monospace; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.privacy-note::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--success); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 476px; }
.tool-main { min-width: 0; padding: 20px; background: var(--surface); }
.tool-controls { display: block; padding: 22px 20px; border-left: 1px solid var(--ink); background: #f8f9f6; }
.inspector-kicker { margin-bottom: 24px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); font-family: "Courier New", monospace; font-size: 10px; font-weight: 700; text-transform: uppercase; }

.control-group { margin-bottom: 21px; }
.control-group:last-child { margin-bottom: 0; }
.control-label { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.control-hint { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.control-row { display: flex; gap: 10px; align-items: center; }
input[type="number"], input[type="text"], select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #9fa59f; border-radius: 0; background: var(--surface); color: var(--ink); }
input:focus, select:focus { outline: 3px solid rgba(36, 72, 245, 0.18); border-color: var(--cobalt); }
input[type="range"] { width: 100%; accent-color: var(--cobalt); }
input[type="checkbox"] { width: 17px; height: 17px; margin: 0 7px 0 0; accent-color: var(--cobalt); vertical-align: -3px; }

.segmented-control { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; border: 1px solid #9fa59f; background: var(--surface); }
.segmented-control button { min-width: 0; min-height: 32px; padding: 5px 6px; border: 0; border-right: 1px solid #c4c9c4; background: transparent; cursor: pointer; color: #555b57; font-size: 10px; font-weight: 800; }
.segmented-control button:last-child { border-right: 0; }
.segmented-control button:hover { background: #edf0eb; color: var(--ink); }
.segmented-control button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.segmented-control.segmented-four { grid-template-columns: repeat(4, 1fr); }
.control-disabled { opacity: 0.55; }
.checkbox-label { display: block; margin-top: 9px; color: #444a46; font-size: 11px; font-weight: 700; }
input[type="color"] { width: 54px; height: 38px; padding: 3px; border: 1px solid #9fa59f; background: var(--surface); }
.color-value { color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; text-transform: uppercase; }

.drop-zone { min-height: 392px; display: grid; grid-template-columns: minmax(220px, 0.88fr) minmax(260px, 1.12fr); border: 1px solid var(--ink); background: var(--canvas); cursor: pointer; transition: background 150ms ease; }
.drop-zone.dragging { background: #dce5ff; outline: 4px solid var(--cobalt); outline-offset: -4px; }
.drop-zone.has-files { min-height: 118px; grid-template-columns: 1fr; }
.drop-zone.has-files .sample-frame { display: none; }
.drop-zone.has-files .drop-copy { min-height: 118px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; text-align: left; }
.drop-zone.has-files .drop-copy p { margin: 0; }
.sample-frame { position: relative; min-width: 0; overflow: hidden; border-right: 1px solid var(--ink); background: #d8d9d6; }
.sample-frame img { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; filter: saturate(0.78) contrast(1.06); }
.sample-caption { position: absolute; right: 0; bottom: 0; left: 0; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px; background: var(--ink); color: var(--surface); font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.drop-copy { min-width: 0; display: grid; place-content: center; padding: 34px; text-align: left; }
.drop-icon { width: 44px; height: 44px; margin-bottom: 26px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: "Courier New", monospace; font-size: 13px; font-weight: 700; }
.drop-zone h2 { margin-bottom: 7px; max-width: 320px; font-size: 25px; line-height: 1.12; }
.drop-zone p { margin-bottom: 24px; color: #595f5b; font-size: 13px; }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-size: 13px; font-weight: 850; text-decoration: none; }
.button-primary { min-width: 0; min-height: 42px; border-color: var(--cobalt); background: var(--cobalt); color: var(--surface); box-shadow: none; font-size: 13px; }
.button-primary:hover { border-color: var(--cobalt-dark); background: var(--cobalt-dark); }
.button-secondary { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.button-secondary:hover { background: var(--lime); }
.button-danger { border-color: var(--danger); background: var(--surface); color: var(--danger); }
.button:disabled { cursor: not-allowed; opacity: 0.45; }
.button-block { width: 100%; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.file-list { margin-top: 12px; border-top: 1px solid var(--ink); }
.file-queue-bar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 0 10px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: #f8f9f6; }
.file-queue-bar > div { display: flex; align-items: baseline; gap: 10px; }
.file-queue-bar strong { font-size: 11px; text-transform: uppercase; }
.file-queue-bar span { color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; }
.queue-clear { min-height: 30px; padding: 4px 8px; border: 0; background: transparent; cursor: pointer; color: var(--danger); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.queue-clear:hover { background: #ffe6e1; }
.file-queue-bar + .file-list { margin-top: 0; border-top: 0; }
.file-item { min-height: 70px; display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.file-index { color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; }
.file-thumb { width: 52px; height: 52px; object-fit: cover; background: var(--canvas); }
.file-name { overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; }
.file-result { color: var(--success); font-weight: 800; }
.remove-file { width: 38px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 20px; }
.remove-file:hover { background: #ffe6e1; color: var(--danger); }
.status { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; text-transform: uppercase; }
.status.error { color: var(--danger); }
.status.success { color: var(--success); }

.crop-stage { position: relative; width: 100%; min-height: 390px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--ink); background: var(--ink-2); }
.crop-canvas { display: block; max-width: 100%; touch-action: none; cursor: crosshair; }
.crop-empty { width: 100%; height: 390px; position: relative; color: var(--surface); font-family: "Courier New", monospace; font-size: 11px; text-align: center; text-transform: uppercase; }
.crop-empty img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0.34; filter: grayscale(1); }
.crop-empty span { position: absolute; right: 0; bottom: 0; left: 0; padding: 13px; border-top: 1px solid #565a5b; background: rgba(19, 21, 22, 0.84); }

.odf-doc-sample { min-width: 0; display: grid; place-items: center; border-right: 1px solid var(--ink); background: #d9ddd8; }
.odf-sheet { width: min(70%, 250px); aspect-ratio: 0.76; display: grid; align-content: start; gap: 13px; padding: 28px 24px; border: 1px solid var(--ink); border-top: 7px solid var(--cobalt); background: var(--surface); box-shadow: 10px 10px 0 #aeb4af; }
.odf-sheet span { margin-bottom: 18px; color: var(--cobalt); font-family: "Courier New", monospace; font-size: 28px; font-weight: 900; }
.odf-sheet i { height: 5px; display: block; background: #b9bebb; }
.odf-sheet i:nth-of-type(2) { width: 82%; }
.odf-sheet i:nth-of-type(3) { width: 64%; }
.odf-sheet b { align-self: end; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-family: "Courier New", monospace; font-size: 8px; }
.odf-drop-zone.has-files { display: none; }
.odf-selected { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; border: 1px solid var(--ink); background: var(--surface); }
.odf-selected > div { min-width: 0; display: flex; align-items: center; gap: 13px; }
.odf-file-type { min-width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: "Courier New", monospace; font-size: 11px; font-weight: 800; }
.odf-selected strong, .odf-selected span { display: block; }
.odf-selected strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.odf-selected div span:last-child { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.odf-selected button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 22px; }
.odf-selected button:hover { background: #ffe6e1; color: var(--danger); }
.odf-results { margin-top: 24px; padding-top: 20px; border-top: 3px solid var(--ink); }
.odf-results-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.odf-results-head .inspector-kicker { margin-bottom: 8px; }
.odf-results-head h2 { margin: 0 0 3px; font-size: 20px; }
.odf-results-head p { margin: 0; color: var(--muted); font-size: 12px; }
.odf-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.odf-result-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 13px; padding: 12px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.odf-result-card img { width: 112px; height: 92px; display: block; border: 1px solid var(--line); background: #eef0ec; object-fit: contain; }
.odf-result-card > div { min-width: 0; display: grid; align-content: center; gap: 3px; }
.odf-result-card span, .odf-result-card small { color: var(--muted); font-family: "Courier New", monospace; font-size: 8px; text-transform: uppercase; }
.odf-result-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.odf-result-card .button { min-height: 30px; justify-self: start; margin-top: 5px; padding: 4px 9px; font-size: 10px; }

.desk-proof { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); background: var(--surface); }
.proof-item { min-height: 70px; padding: 15px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-value { margin-bottom: 2px; font-size: 15px; font-weight: 850; }
.proof-label { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }

.tools-section, .content-section { margin-top: 66px; }
.section-heading { margin-bottom: 18px; font-size: 27px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tool-card { min-height: 118px; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: center; gap: 15px; padding: 18px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-top: 0; border-radius: 0; background: var(--surface); box-shadow: none; text-decoration: none; }
.tool-card:hover { background: var(--lime); transform: none; }
.tool-card-index { grid-row: 1 / 3; display: block; color: var(--cobalt); font-family: "Courier New", monospace; font-size: 11px; font-weight: 700; }
.tool-card-tag { display: block; color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.tool-card h3 { margin: 0; font-size: 17px; }
.tool-card p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.workflow-section { display: grid; grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr); gap: 48px; margin-top: 66px; padding: 30px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.workflow-heading h2 { margin: 8px 0 9px; font-size: 27px; }
.workflow-heading > p:last-child { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; }
.workflow-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.workflow-list a { min-height: 86px; display: grid; align-content: center; gap: 2px; padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.workflow-list a:hover { background: var(--lime); }
.workflow-list span, .workflow-list small { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.workflow-list strong { font-size: 14px; }

.content-section { max-width: 920px; padding-top: 30px; border-top: 3px solid var(--ink); }
.prose { max-width: 920px; }
.prose h2 { margin-top: 38px; margin-bottom: 10px; font-size: 25px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; margin-bottom: 7px; font-size: 17px; }
.prose p, .prose li { color: #4e5450; }
.prose a { color: var(--cobalt); font-weight: 700; }
.prose ol, .prose ul { padding-left: 21px; }
.prose li { margin-bottom: 7px; }
.comparison-table { width: 100%; margin: 18px 0 30px; border-collapse: collapse; border-radius: 0; background: var(--surface); font-size: 13px; }
.comparison-table th, .comparison-table td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.comparison-table th { background: var(--ink); color: var(--surface); font-family: "Courier New", monospace; font-size: 10px; text-transform: uppercase; }
.faq { margin-top: 34px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); background: var(--surface); }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 800; list-style-position: inside; }
.faq details p { max-width: 760px; padding: 0 20px 16px; margin: 0; }

.site-footer { border-top: 1px solid #383b3d; background: var(--ink); color: var(--surface); }
.footer-inner { min-height: 164px; display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.footer-copy { margin-top: 7px; color: #aeb4b0; font-family: "Courier New", monospace; font-size: 10px; }
.footer-directory { min-width: 0; }
.footer-task-label { margin-bottom: 8px; color: #858b87; font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.footer-task-links { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.footer-task-links a, .footer-links a { color: #c8ceca; font-size: 11px; font-weight: 700; text-decoration: none; }
.footer-task-links a:hover, .footer-links a:hover { color: var(--lime); }
.footer-links { display: flex; gap: 22px; }
[hidden] { display: none !important; }

@media (max-width: 1120px) {
  .brand { min-width: 210px; }
  .nav a { min-width: 88px; padding: 0 10px; }
  .header-state { display: none; }
  .desk-grid { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
  .tool-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .drop-zone { grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr); }
}

@media (max-width: 900px) {
  .header-inner, .page, .footer-inner { width: min(100% - 28px, 1440px); }
  .brand { min-width: 178px; }
  .brand-product { display: none; }
  .nav a:nth-child(n+4) { display: none; }
  .desk-grid { grid-template-columns: 1fr; }
  .tool-rail { position: static; top: auto; display: flex; align-items: center; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--ink); }
  .rail-heading { min-width: max-content; padding: 11px 16px 11px 0; border-bottom: 0; }
  .rail-group { display: flex; min-width: max-content; padding: 0; border: 0; }
  .rail-group-title { display: none; }
  .rail-link { min-height: 42px; padding: 7px 12px; border-left: 1px solid var(--line); }
  .rail-code { display: none; }
  .intro { grid-template-columns: 1fr; gap: 10px; }
  .intro .eyebrow { grid-column: 1; margin-bottom: 0; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-controls { border-top: 1px solid var(--ink); border-left: 0; }
  .workflow-section { grid-template-columns: 1fr; gap: 22px; }
  .odf-result-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 56px; }
  .odf-doc-sample { display: none; }
  .odf-drop-zone { grid-template-columns: 1fr; }
  .odf-results-head { align-items: stretch; flex-direction: column; }
  .odf-result-card { grid-template-columns: 82px minmax(0, 1fr); }
  .odf-result-card img { width: 82px; height: 82px; }
  .brand { min-width: auto; margin-right: auto; }
  .nav { border-left: 0; }
  .nav a { display: none; }
  .nav a[aria-current="page"] { display: grid; border-left: 1px solid #383b3d; }
  .page { padding: 16px 0 48px; }
  .desk-grid { gap: 20px; }
  .intro { min-height: 0; padding-bottom: 18px; }
  h1 { font-size: 32px; }
  .lede { font-size: 14px; }
  .workspace-bar { min-height: 56px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
  .tool-main, .tool-controls { padding: 14px; }
  .drop-zone { min-height: 0; grid-template-columns: 1fr; }
  .sample-frame { height: 180px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .sample-frame img { min-height: 180px; }
  .drop-copy { min-height: 250px; padding: 25px; }
  .drop-zone.has-files .drop-copy { grid-template-columns: auto 1fr; }
  .drop-zone.has-files .drop-copy .button { grid-column: 1 / -1; width: 100%; }
  .drop-icon { margin-bottom: 16px; }
  .desk-proof { grid-template-columns: 1fr; }
  .proof-item { min-height: 58px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .workflow-list { grid-template-columns: 1fr; }
  .tool-card { min-height: 104px; }
  .tools-section, .content-section { margin-top: 48px; }
  .footer-inner { display: flex; padding: 28px 0; align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .file-item { grid-template-columns: 22px 44px minmax(0, 1fr) auto; }
  .file-thumb { width: 44px; height: 44px; }
  .comparison-table { display: block; overflow-x: auto; }
}

/* Deep tool workflows */
.workspace-actions { display: flex; align-items: center; gap: 12px; }
.cancel-process { min-height: 30px; padding: 4px 9px; border: 1px solid #6b7071; background: transparent; color: var(--surface); cursor: pointer; font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.cancel-process:hover { border-color: var(--lime); color: var(--lime); }
.check-row { display: flex; align-items: flex-start; gap: 8px; color: #3f4541; font-size: 12px; line-height: 1.4; }
.check-row input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--cobalt); }
.dimension-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dimension-grid .control-group { margin: 0 0 14px; }
.color-control { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; }
.color-control input[type="color"] { width: 48px; height: 38px; padding: 3px; }
.color-control output { color: var(--muted); font-family: "Courier New", monospace; font-size: 10px; text-transform: uppercase; }
.control-hint + .control-label { margin-top: 12px; }
.file-item { padding: 8px 0; }
.file-state { margin-top: 3px; color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.file-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 3px; }
.file-action { min-height: 30px; padding: 4px 7px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.file-action:hover { border-color: var(--ink); background: var(--lime); }
.result-preview { margin-top: 16px; border: 1px solid var(--ink); background: var(--surface); }
.result-preview-head { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--ink); }
.result-preview-head strong { display: block; margin-top: 2px; font-size: 13px; }
.icon-action { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 22px; }
.icon-action:hover { background: #eceee9; }
.compare-stage { --reveal: 50%; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #1c1e1f; }
.compare-stage > img, .compare-after, .compare-after img { width: 100%; height: 100%; display: block; object-fit: contain; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal)) 0 0); background: #1c1e1f; }
.compare-label { position: absolute; bottom: 10px; padding: 4px 7px; background: rgba(19,21,22,.82); color: #fff; font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.compare-label-before { left: 10px; }
.compare-label-after { right: 10px; }
.compare-control { display: grid; grid-template-columns: auto minmax(120px, 1fr); align-items: center; gap: 14px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; }
.result-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.result-metrics > div { min-height: 58px; padding: 10px; border-right: 1px solid var(--line); }
.result-metrics > div:last-child { border-right: 0; }
.result-metrics span, .result-metrics strong { display: block; overflow-wrap: anywhere; }
.result-metrics span { margin-bottom: 3px; color: var(--muted); font-family: "Courier New", monospace; font-size: 8px; text-transform: uppercase; }
.result-metrics strong { font-size: 11px; }
.coordinate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.coordinate-grid label { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; }
.coordinate-grid input { margin-top: 3px; padding: 7px 5px; }
.icon-control-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.icon-control-row button { min-height: 38px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 17px; }
.icon-control-row button:hover { background: var(--lime); }
.inline-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 6px; }
.inline-control button { padding: 0 11px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); cursor: pointer; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.crop-source { display: block; max-width: 100%; }
.crop-stage .cropper-container { width: 100% !important; min-height: 430px; }
.crop-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.crop-output { margin-top: 16px; border: 1px solid var(--ink); background: var(--surface); }
.crop-output > div:first-child { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.crop-output > div:first-child strong { display: block; margin-top: 2px; }
.crop-output > img { width: 100%; max-height: 420px; display: block; object-fit: contain; background: repeating-conic-gradient(#e8eae5 0 25%, #fff 0 50%) 50% / 18px 18px; }
.crop-output .button { margin: 12px; }
.circle-preview { clip-path: circle(48%); }
.metadata-report { margin-top: 16px; border: 1px solid var(--ink); background: var(--surface); }
.metadata-report-head { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--ink); }
.metadata-report-head strong { display: block; margin-top: 2px; font-size: 13px; }
.metadata-report-head > span { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; text-transform: uppercase; }
.metadata-group { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.metadata-group:last-child { border-bottom: 0; }
.metadata-group h3 { margin: 0 0 8px; font-size: 13px; }
.metadata-group dl { margin: 0; }
.metadata-group dl > div { display: grid; grid-template-columns: minmax(110px, .5fr) minmax(0, 1.5fr); gap: 14px; padding: 5px 0; border-top: 1px solid #eceee9; }
.metadata-group dt { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; }
.metadata-group dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 11px; }
.empty-report { margin: 0; padding: 18px 12px; color: var(--muted); }
.favicon-preview { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(180px, .8fr); gap: 12px; margin-top: 16px; }
.browser-preview { border: 1px solid var(--ink); background: #e8eae5; }
.browser-preview > div { display: flex; gap: 5px; padding: 8px; border-bottom: 1px solid var(--line); }
.browser-preview > div span { width: 7px; height: 7px; border-radius: 50%; background: #858b87; }
.browser-preview p { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 8px 10px; background: #fff; font-size: 11px; }
.browser-preview img { width: 16px; height: 16px; object-fit: contain; }
.icon-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.icon-preview-grid > div { min-height: 104px; display: grid; place-items: center; align-content: center; gap: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #fff; }
.icon-preview-grid > div.dark { background: #1b1d1e; color: #fff; }
.icon-preview-grid img { width: 48px; height: 48px; object-fit: contain; }
.icon-preview-grid span { font-family: "Courier New", monospace; font-size: 8px; text-transform: uppercase; }
.pack-results { margin-top: 16px; border: 1px solid var(--ink); background: var(--surface); }
.pack-results #pack-file-list > div { min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 11px; }
.pack-results #pack-file-list > div:last-child { border-bottom: 0; }
.pack-results #pack-file-list strong { color: var(--muted); font-family: "Courier New", monospace; font-size: 9px; }
.pack-results #pack-file-list button { min-height: 28px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.pack-results #pack-file-list button:hover { border-color: var(--ink); background: var(--lime); }
.capability-section { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: 48px; margin-top: 66px; padding: 30px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.capability-heading h2 { margin: 8px 0 9px; font-size: 27px; }
.capability-heading > p:last-child { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; }
.capability-list { border-top: 1px solid var(--ink); }
.capability-list > div { display: grid; grid-template-columns: 36px minmax(150px, .45fr) minmax(0, 1fr); gap: 13px; padding: 15px 8px; border-bottom: 1px solid var(--line); }
.capability-list span { color: var(--cobalt); font-family: "Courier New", monospace; font-size: 10px; font-weight: 700; }
.capability-list h3 { margin: 0; font-size: 14px; }
.capability-list p { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 700px) {
  .workspace-actions { width: 100%; justify-content: space-between; }
  .file-item { grid-template-columns: 22px 42px minmax(0, 1fr); }
  .file-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-metrics > div:nth-child(2n) { border-right: 0; }
  .result-metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .coordinate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crop-stage .cropper-container { min-height: 320px; }
  .favicon-preview { grid-template-columns: 1fr; }
  .metadata-group dl > div { grid-template-columns: 1fr; gap: 2px; }
  .capability-section { grid-template-columns: 1fr; gap: 22px; }
  .capability-list > div { grid-template-columns: 28px minmax(0, 1fr); }
  .capability-list p { grid-column: 2; }
}
