/* ParseNest experience refresh: shared legibility and task-first surfaces. */
:root { --experience-accent: #245be0; }
/* Task entry points and first-use guidance. */
.home-start-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0 32px; }
.home-start-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; }
.home-start-card:hover { border-color: var(--experience-accent); box-shadow: 0 8px 24px #152f5610; }
.home-start-card:focus-visible,.tool-next-step a:focus-visible { outline: 3px solid var(--experience-accent); outline-offset: 4px; }
.home-start-featured { background: var(--primary-soft); border-color: var(--experience-accent); }
.home-start-label { display: flex; justify-content: space-between; gap: 12px; color: var(--experience-accent); font: 600 12px/1.5 var(--mono); }
.home-start-label b { font-size: 19px; }
.home-start-card h2 { margin: 16px 0 10px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.home-start-card p { margin: 0 0 20px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.home-start-card strong { margin-top: auto; color: var(--experience-accent); font-size: 14px; }
.home-start-card small { margin-top: 8px; color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.home-preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; margin-bottom: 14px; scroll-margin-top: 100px; }
.home-preview-heading h2 { margin: 0; font-size: 19px; }
.home-preview-heading > span { color: var(--muted); font-size: 13px; }
.tool-start-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; list-style: none; margin: 0; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tool-start-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 12px; line-height: 1.65; }
.tool-start-steps li > b { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; color: var(--experience-accent); background: var(--primary-soft); }
.tool-start-steps strong { display: block; color: var(--ink); font-size: 14px; }
.tool-next-step,.tool-try-note { padding: 18px 20px; background: var(--surface-2); border-block: 1px solid var(--line); color: var(--ink); }
.tool-next-step strong,.tool-try-note strong { font-size: 15px; }
.tool-next-step p,.tool-try-note p { margin: 6px 0 10px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.tool-next-step small,.tool-try-note small { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tool-next-step > div { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tool-next-step a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--experience-accent); font-size: 13px; }
.tool-next-step a:hover { border-color: var(--experience-accent); }
@media (max-width: 760px) {
  .home-start-grid { grid-template-columns: 1fr; gap: 10px; margin-block: 20px 26px; }
  .home-start-card { padding: 18px; }
  .home-start-card h2 { margin: 8px 0; font-size: 20px; }
  .home-start-card p { margin-bottom: 12px; }
  .tool-start-steps { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .tool-next-step,.tool-try-note { padding: 16px; }
}
html[data-theme="dark"] { --experience-accent: #8eafff; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), summary { touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
:is(.tool-card,.article-card,.workflow-task,.personal-tools-grid a):focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
:is(.tool-page-head,.page-hero,.workbench-hero) h1 { overflow-wrap: anywhere; }
html[lang="zh-CN"] :is(h1,h2,h3) { letter-spacing: -.025em; line-height: 1.25; }
.workbench-hero { padding: 40px 0 28px; }
.workbench-hero-inner { text-align: left; }
.workbench-hero .eyebrow { justify-content: flex-start; font-size: 12px; letter-spacing: .09em; }
.workbench-hero h1 { margin: 12px 0; font-size: clamp(30px,3.7vw,48px); line-height: 1.18; letter-spacing: -.035em; }
.workbench-hero-inner > p,html[data-theme="dark"] .workbench-hero-inner > p { max-width: 900px; margin: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
html[data-theme="dark"] .workbench-hero { background: radial-gradient(ellipse at 90% 0%,#182f554d,transparent 60%),var(--bg); }
html[data-theme="dark"] .workbench-hero h1 { text-shadow: none; color: var(--ink); }
.task-examples { justify-content: flex-start; gap: 10px; margin: 0 0 14px; }
.task-examples button { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 14px; color: var(--ink-2); font: 600 14px/1.4 var(--sans); border-radius: 9px; }
.task-examples button b { color: var(--experience-accent); font: 700 12px var(--mono); }
.task-examples button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--ink); }
.smart-paste { width: 100%; border-radius: 14px; background: var(--surface); box-shadow: 0 12px 36px #152f5610; }
html[data-theme="dark"] .smart-paste { background: var(--surface); border-color: var(--line-strong); box-shadow: 0 12px 40px #0003; }
.smart-paste-top { min-height: 48px; font-size: 13px; background: var(--surface-2); }
.smart-paste-top select { font-size: 13px; min-height: 34px; max-width: 180px; }
.smart-paste kbd { font-size: 12px; }
.paste-editor-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.paste-input-pane { min-width: 0; display: flex; flex-direction: column; }
.smart-paste textarea { min-height: 190px; height: 210px; padding: 18px; font-size: 14px; line-height: 1.7; resize: vertical; }
.paste-input-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; margin-top: auto; color: var(--muted); font-size: 12px; }
.paste-input-actions button { min-height: 32px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 13px; }
.paste-preview { min-width: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--surface-2); }
.paste-preview header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 14px 16px 8px; font-size: 13px; }
.paste-preview header span { color: var(--experience-accent); font-size: 12px; }
.paste-preview pre { margin: 0; min-height: 140px; max-height: 185px; padding: 8px 16px; overflow: auto; color: var(--ink); font: 13px/1.75 var(--mono); tab-size: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.paste-preview p { margin: auto 0 0; max-height: 75px; overflow: auto; padding: 8px 16px 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.smart-paste-result { gap: 12px; padding: 12px 16px; }
.smart-paste-result > div:first-child { min-width: 0; }
.smart-paste-result small,.smart-paste-result em { font-size: 12px; }
.smart-paste-result strong { font-size: 15px; }
.smart-paste-reason { display: none; }
.smart-paste-actions .button { min-height: 40px; font-size: 13px; }
.smart-paste-footer { justify-content: flex-start; min-height: 36px; padding-inline: 16px; gap: 16px; font-size: 12px; }
.smart-paste-footer > span:first-child { display: none; }
.home-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 16px; font-size: 13px; }
.home-quick-links > span { color: var(--muted); }
.home-quick-links a { padding: 4px 0; color: var(--ink-2); }
.home-quick-links a:hover { color: var(--experience-accent); text-decoration: underline; text-underline-offset: 4px; }
.home-personal { padding-block: 16px; border-bottom: 1px solid var(--line); }
.home-personal .personal-tools-heading { margin-bottom: 10px; }
.home-personal .personal-tools-heading .kicker { display: none; }
.home-personal .personal-tools-heading h2 { margin: 0; font-size: 16px; }
.home-personal .personal-tools-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.home-personal .personal-tools-grid a { padding: 10px; min-width: 0; }
.home-personal .personal-tools-grid small { display: none; }
.home-personal .personal-tools-grid strong { font-size: 13px; overflow-wrap: anywhere; }
.workflow-section { padding-block: 48px; }
.section-heading h2 { font-size: clamp(25px,3vw,34px); letter-spacing: -.025em; }
.section-heading p { font-size: 16px; line-height: 1.75; }
.workflow-task-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.workflow-task { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .18s,transform .18s; }
.workflow-task:hover { border-color: var(--primary); transform: translateY(-3px); }
.workflow-task-number { color: var(--experience-accent); font: 600 12px var(--mono); }
.workflow-task h3 { margin: 18px 0 10px; font-size: 20px; line-height: 1.45; }
.workflow-task p { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.workflow-task > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.workflow-task code { padding: 5px 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.workflow-task > div > span { color: var(--muted); }
.workflow-task > strong { margin-top: 22px; color: var(--experience-accent); font-size: 14px; }
.section-tools,.category-section,.learning-section { padding-block: 48px; }
.tool-card { padding: 22px; border-radius: 12px; }
.tool-card h3 { font-size: 18px; line-height: 1.45; }
.tool-card p { font-size: 14px; line-height: 1.75; }
.tool-category,.local-label,.server-label,.article-card small { font-size: 12px; }
.category-grid small { font-size: 13px; }
.category-grid a { min-width: 0; }
.directory-hero { padding: 32px 0 28px; }
.directory-hero h1 { font-size: clamp(30px,3.6vw,44px); margin-block: 12px; line-height: 1.25; }
.directory-hero p { font-size: 16px; margin-bottom: 20px; }
.directory-search { max-width: 780px; }
.directory-search input { font-size: 16px; min-width: 0; }
.directory-search button { min-height: 44px; }
.tool-category-nav { flex-wrap: wrap; gap: 8px; }
.tool-category-nav button { min-height: 42px; font-size: 14px; }
.tool-group { scroll-margin-top: 90px; }
.tool-group[hidden] { display: none; }
.tool-group-heading p,.tool-group-heading > span { font-size: 14px; }
.tool-group-heading h2 { font-size: 23px; }
.directory-grid { gap: 16px; }
.tool-page-head { padding: 24px 0 20px; }
.tool-page-head h1 { margin: 8px 0 10px; font-size: clamp(26px,3vw,38px); line-height: 1.25; letter-spacing: -.025em; }
.tool-page-head p { font-size: 15px; line-height: 1.75; }
.tool-title-row { gap: 20px; }
.tool-title-row > div { min-width: 0; }
.privacy-badge { font-size: 12px; flex-shrink: 0; }
.workspace-toolbar { gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
.workspace-toolbar b { font-size: 14px; }
.workspace-toolbar small { font-size: 12px; }
.toolbar-actions { gap: 6px; flex-wrap: wrap; }
.toolbar-actions button,.experience-button { min-height: 36px; font-size: 13px; padding: 7px 10px; }
.editor-label,.v2-editor > header { min-height: 42px; }
.editor-label label,.v2-editor > header label { font-size: 13px; }
.editor-label > span,.v2-editor > header > span { font-size: 12px; }
.editor-actions,.v2-editor > footer { gap: 8px; flex-wrap: wrap; }
.editor-actions .button,.v2-editor > footer .button,.v2-action-bar .button { min-height: 40px; font-size: 14px; }
.subtle-button { min-height: 36px; font-size: 13px; }
.primary-workspace-actions { border-block: 1px solid var(--line); padding: 12px 16px; }
.json-search-disclosure { background: var(--surface); border-bottom: 1px solid var(--line); }
.json-search-disclosure > summary { padding: 10px 16px; color: var(--ink-2); cursor: pointer; font-size: 13px; }
.json-workbench-controls { flex-wrap: wrap; }
.json-workbench-controls > label { min-width: 160px; }
.json-workbench-controls label span,.json-tree-controls button { font-size: 13px; }
.json-workbench-controls > span { font-size: 12px; }
.v2-control-strip label > span,.option-row label { font-size: 13px; }
.v2-control-strip { flex-wrap: wrap; }
.workspace-note,.v2-control-note,.tool-handoff small { font-size: 12px; }
html[data-theme="dark"] :is(.smart-paste-footer,.paste-input-actions,.paste-preview p,.tool-card p,.article-card p,.workspace-note,.v2-control-note) { color: #aebdd1; }
html[data-theme="dark"] :is(.toolbar-actions button,.subtle-button,.experience-button,.json-search-disclosure > summary) { color: #c3d1e5; }
html[data-theme="dark"] .smart-paste-top { background: #182236; }
html[data-theme="dark"] .paste-preview { background: #101b2d; }
html[data-theme="dark"] .smart-paste textarea::placeholder { color: #9babbe; }
html[data-theme="dark"] .privacy-badge { color: #8de0bf; border-color: #386454; background: #183e32; }
@media (max-width: 900px) {
  .home-personal .personal-tools-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .workflow-task-grid { gap: 12px; }
  .workflow-task { padding: 18px; }
  .smart-paste-result { flex-direction: column; align-items: stretch; }
  .smart-paste-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .workbench-hero { padding: 26px 0 22px; }
  .workbench-hero h1 { font-size: 30px; }
  .workbench-hero h1 em { display: block; margin-top: 4px; }
  .workbench-hero-inner > p { font-size: 15px; margin-bottom: 16px; }
  .task-examples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .task-examples button { padding: 8px 10px; min-height: 44px; font-size: 13px; text-align: left; }
  .paste-editor-grid { grid-template-columns: minmax(0,1fr); }
  .smart-paste textarea { height: 150px; min-height: 150px; font-size: 16px; }
  .paste-preview { border-left: 0; border-top: 1px solid var(--line); }
  .paste-preview pre { min-height: 90px; max-height: 160px; }
  .smart-paste-top { padding-inline: 12px; }
  .smart-paste-top kbd { display: none; }
  .smart-paste-footer { flex-wrap: wrap; gap: 4px 12px; padding-block: 9px; }
  .home-quick-links { gap: 6px 16px; }
  .workflow-task-grid { grid-template-columns: minmax(0,1fr); }
  .workflow-task { padding: 22px; }
  .workflow-task h3 { margin-top: 12px; }
  .section-tools,.category-section,.learning-section,.workflow-section { padding-block: 32px; }
  .section-heading { gap: 16px; flex-wrap: wrap; }
  .section-heading h2 { font-size: 25px; }
  .section-heading p { font-size: 15px; }
  .home-personal .personal-tools-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .directory-hero { padding: 24px 0; }
  .directory-hero h1 { font-size: 30px; }
  .directory-search > div { gap: 4px; }
  .directory-search button { padding-inline: 14px; }
  .tool-category-nav { display: flex; flex-wrap: wrap; overflow: visible; }
  .tool-category-nav button { white-space: normal; padding: 8px 10px; }
  .tool-page-head { padding: 18px 0 16px; }
  .tool-page-head h1 { font-size: 26px; }
  .tool-title-row { gap: 10px; }
  .tool-page-head .eyebrow { font-size: 12px; }
  .workspace-toolbar { padding: 12px; }
  .toolbar-actions { display: flex; flex-wrap: wrap; }
  .toolbar-actions button { flex: 0 1 auto; white-space: normal; min-height: 40px; }
  .primary-workspace-actions { padding: 10px 12px; }
  .json-workbench-controls { flex-direction: column; align-items: stretch; }
  .editor-panel textarea,.v2-editor textarea { font-size: 16px; }
  .learning-links { flex-wrap: wrap; }
  .category-grid small { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-task:hover { transform: none; }
}
.tool-card[hidden],.directory-filter-empty[hidden] { display: none; }
.raised-editor-actions { border-bottom: 1px solid var(--line); }
.command-palette header strong { font-size: 16px; }
.command-palette header small,.command-results small,.command-palette footer { font-size: 12px; }
.command-results strong { font-size: 14px; }
.command-palette textarea { font-size: 16px; }
.smart-paste-reason { display: block; font-size: 12px; line-height: 1.5; }
html[data-theme="dark"] .smart-paste-reason { color: #aebdd1; }
.footer-brand p,.footer-grid > div:not(.footer-brand) a { font-size: 14px; color: #a9b8cd; }
.footer-grid h2 { font-size: 14px; }
.footer-bottom,.privacy-chip { font-size: 12px; }
/* Task continuity and explicit local snapshots. */
.home-personal > .container { display: flex; align-items: center; gap: 20px; }
.home-personal .personal-tools-heading { margin: 0; flex: 0 0 auto; }
.home-personal .personal-tools-heading h2 { font-size: 14px; }
.home-personal .personal-tools-heading button { font-size: 12px; margin-left: 16px; }
.home-personal .personal-tools-grid { display: flex; gap: 8px; overflow-x: auto; padding: 3px; }
.home-personal .personal-tools-grid a { flex: 0 0 auto; padding: 8px 12px; }
.home-personal .personal-tools-grid a > span { width: 24px; height: 24px; }
.named-home-section { padding: 14px 0; border-bottom: 1px solid var(--line); }
.named-home-section .personal-tools-heading { margin-bottom: 8px; }
.named-home-section h2 { font-size: 15px; margin: 0; }
.named-home-section .personal-tools-heading > span { color: var(--muted); font-size: 12px; }
.named-home-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 3px; }
.named-task-card { flex: 0 0 auto; display: grid; gap: 3px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.named-task-card strong { font-size: 14px; }.named-task-card small { font-size: 12px; color: var(--muted); }
.workbench-hero { padding-top: 28px; }
.task-template-section { padding-block: 38px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.task-template-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.task-template-grid a { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.task-template-grid a:hover { border-color: var(--primary); }
.task-template-grid a > span { color: var(--primary-dark); font: 600 13px var(--mono); }
.task-template-grid a > div { min-width: 0; }.task-template-grid h3 { margin: 0 0 6px; font-size: 17px; }.task-template-grid p { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.task-template-grid a > b { margin-left: auto; color: var(--primary-dark); }
.task-manager { border-bottom: 1px solid var(--line); background: var(--surface); }
.task-manager summary { padding: 11px 16px; cursor: pointer; color: var(--ink-2); font-size: 14px; }
.task-manager-body { padding: 0 16px 16px; }.task-manager-body > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.task-save-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }.task-save-form label { font-size: 14px; }
.task-save-form input { flex: 1 1 180px; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--surface-2); font-size: 16px; }
.task-manager .button,.task-return-bar .button,.task-template-bar .button { min-height: 40px; font-size: 14px; }
.task-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }.task-notice:empty { display: none; }
.named-task-list { display: grid; gap: 8px; margin: 14px 0; }.named-task-list article { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.named-task-list article > div { flex: 1; min-width: 120px; }.named-task-list strong,.named-task-list small { display: block; overflow-wrap: anywhere; }.named-task-list strong { font-size: 14px; }.named-task-list small { color: var(--muted); font-size: 12px; }
.task-return-bar,.task-template-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; color: var(--ink-2); background: var(--primary-soft); font-size: 14px; }
.task-return-bar { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; }
.task-return-bar small,.task-template-bar > span { flex: 1; min-width: 180px; font-size: 13px; line-height: 1.6; }
.workspace-handoff { scroll-margin-block: 85px; padding: 16px; gap: 16px; border-top: 1px solid var(--line); }
.workspace-handoff strong { font-size: 16px; }.workspace-handoff small { font-size: 13px; }.workspace-handoff .button { font-size: 14px; min-height: 40px; }
.workspace-handoff.is-ready { background: var(--primary-soft); border-top-color: var(--primary); }
.json-repair-review { padding: 16px; border-block: 1px solid var(--line); background: var(--surface-2); }
.json-repair-review[hidden] { display: none; }.json-repair-review h3 { margin: 0 0 8px; font-size: 16px; }.json-repair-review p { font-size: 13px; color: var(--ink-2); }
.json-repair-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.json-repair-columns section { min-width: 0; }.json-repair-columns strong { font-size: 13px; }.json-repair-columns pre { max-height: 200px; min-height: 80px; overflow: auto; padding: 12px; border: 1px solid var(--line); background: var(--surface); font: 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.json-repair-review > footer { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .task-template-grid { grid-template-columns: 1fr; }.home-personal > .container { flex-wrap: wrap; gap: 8px; }.home-personal .personal-tools-grid { max-width: 100%; } }
@media (max-width: 640px) { .home-personal { padding: 9px 0; }.home-personal .personal-tools-heading { width: 100%; }.home-personal .personal-tools-grid a { padding: 6px 9px; }.task-template-section { padding-block: 28px; }.task-save-form { align-items: stretch; }.task-save-form label { flex-basis: 100%; }.task-save-form button { width: 100%; }.task-return-bar { align-items: flex-start; }.json-repair-columns { grid-template-columns: 1fr; }.workspace-handoff { flex-direction: column; align-items: stretch; } }
.task-manager:not([open]) { display: none; }
.json-error-location,.json-error-tip { display: block; margin-top: 6px; }
.json-performance-note .button { margin: 6px 0; min-height: 36px; font-size: 13px; }
@media (max-width: 640px) {
  .home-personal > .container { flex-wrap: nowrap; gap: 10px; }
  .home-personal .personal-tools-heading { width: auto; min-width: 85px; display: block; }
  .home-personal .personal-tools-heading h2 { font-size: 13px; white-space: nowrap; }
  .home-personal .personal-tools-heading button { margin: 0; padding: 0; min-height: 28px; font-size: 12px; }
  .home-personal .personal-tools-grid { flex: 1; min-width: 0; }
  .named-home-section { padding: 10px 0; }.named-home-section > .container { display: flex; align-items: center; gap: 10px; }
  .named-home-section .personal-tools-heading { margin: 0; flex-shrink: 0; }.named-home-section h2 { font-size: 13px; }
  .named-home-section .personal-tools-heading > span,.named-home-grid .named-task-card small { display: none; }
  .named-home-grid { min-width: 0; padding-block: 2px; }.named-task-card { padding: 8px 12px; }
  .workbench-hero-inner > p { font-size: 15px; line-height: 1.65; }
}

.directory-reset { display: inline-block; margin-top: 14px; color: var(--primary); font-size: 14px; text-underline-offset: 4px; }
.json-error-report { margin: 16px; padding: 18px; border: 1px solid #dd9393; border-left: 4px solid #b42332; border-radius: 10px; background: #fff8f7; color: #57252b; overflow-wrap: anywhere; }
.json-error-report[hidden] { display: none; }
.json-error-report h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.json-error-report p { margin: 6px 0; font-size: 14px; line-height: 1.65; }
.json-error-position { font-weight: 700; }
.json-error-context { margin: 14px 0; padding: 10px 0; overflow: auto; border: 1px solid #e9c9c9; border-radius: 7px; background: #fff; color: #322d36; font: 14px/1.8 var(--mono); tab-size: 4; }
.json-error-line { display: flex; min-width: max-content; }
.json-error-line code { flex: 1; padding-right: 14px; white-space: pre; font: inherit; }
.json-error-gutter { flex: 0 0 5ch; padding-right: 1.5ch; text-align: right; color: #827175; user-select: none; }
.json-error-line.is-error { background: #ffebeb; }
.json-error-context mark { padding: 1px 2px; border-bottom: 2px solid #b42332; background: #f8bdbd; color: #640e1b; font-weight: 700; }
.json-error-report .button { margin-top: 10px; min-height: 40px; font-size: 14px; }
.json-error-technical { margin-top: 14px; font-size: 13px; }
.json-error-technical summary { cursor: pointer; padding-block: 5px; }
.json-error-technical pre { max-height: 180px; overflow: auto; white-space: pre-wrap; font: 12px/1.6 var(--mono); }
textarea[aria-invalid="true"] { outline: 2px solid #c24b59; outline-offset: -2px; }
html[data-theme="dark"] .json-error-report { background: #2b1c27; border-color: #8d5263; border-left-color: #ff96a3; color: #ffd3d9; }
html[data-theme="dark"] .json-error-context { background: #191720; border-color: #654452; color: #ecdae3; }
html[data-theme="dark"] .json-error-gutter { color: #bd929f; }
html[data-theme="dark"] .json-error-line.is-error { background: #422733; }
html[data-theme="dark"] .json-error-context mark { background: #a9445a; color: #fff; border-color: #ffb5c1; }
@media (max-width: 640px) { .json-error-report { margin: 10px; padding: 12px; }.json-error-report h3 { font-size: 16px; }.json-error-context { font-size: 13px; } }

/* Task-focused home entries and readable category guidance. */
.home-topics { padding-block: 36px; }
.home-topic-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.home-topic-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.45; }
.home-topic-card p { color: var(--muted); line-height: 1.75; }
.home-topic-card ul { margin: 20px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.home-topic-card li + li { margin-top: 10px; }
.home-topic-card li a { display: inline-block; padding-block: 4px; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 4px; }
.home-topic-card a:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
@media (max-width: 640px) { .home-topic-card { padding: 20px; } .home-topic-card h3 { font-size: 19px; } }
.category-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-choice { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.category-choice h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; }
.category-choice p, .category-workflow p { color: var(--muted); line-height: 1.8; }
.category-choice .text-link { margin-top: auto; padding-top: 16px; }
.category-workflow { margin-top: 24px; padding: 24px; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; background: var(--surface); }
.category-workflow h2 { margin: 0 0 10px; font-size: 19px; }
.category-workflow p { margin: 0; }
.category-tools { padding-top: 12px; scroll-margin-top: 100px; }
.category-related { border-top: 1px solid var(--line); }
.category-related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.category-related-links .button { white-space: normal; text-align: center; }
@media (max-width: 800px) { .category-choice-grid { grid-template-columns: 1fr; } }
