/* AllFileOne modular homepage v2 — scoped to .cm-home-v2 */
.cm-home-v2 {
  --cmh-page: #f6f8fc;
  --cmh-surface: #fff;
  --cmh-surface-muted: #f8fafd;
  --cmh-surface-accent: #eef4ff;
  --cmh-text: #172033;
  --cmh-muted: #5b677a;
  --cmh-line: #dce3ee;
  --cmh-primary: #2563eb;
  --cmh-primary-hover: #1d4ed8;
  --cmh-primary-soft: #eaf1ff;
  --cmh-accent: #6d4aff;
  --cmh-success: #087f5b;
  --cmh-danger: #c9364b;
  --cmh-focus: #1d4ed8;
  --cmh-radius-sm: 8px;
  --cmh-radius-md: 12px;
  --cmh-radius-lg: 16px;
  --cmh-radius-xl: 20px;
  --cmh-radius-2xl: 24px;
  --cmh-shadow-sm: 0 4px 14px rgba(20,34,66,.06);
  --cmh-shadow-md: 0 12px 30px rgba(20,34,66,.08);
  min-height: 100vh;
  background: var(--cmh-page);
  color: var(--cmh-text);
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

html[data-theme="dark"] .cm-home-v2 {
  --cmh-page: #0b1220;
  --cmh-surface: #111a2b;
  --cmh-surface-muted: #172235;
  --cmh-surface-accent: #172d52;
  --cmh-text: #eaf0fa;
  --cmh-muted: #aab6c9;
  --cmh-line: #334155;
  --cmh-primary: #8bb8ff;
  --cmh-primary-hover: #b5d1ff;
  --cmh-primary-soft: #17335e;
  --cmh-accent: #b5a4ff;
  --cmh-success: #75d7ae;
  --cmh-danger: #ff9aa8;
  --cmh-focus: #9cc2ff;
  --cmh-shadow-sm: none;
  --cmh-shadow-md: none;
}

.cm-home-v2 *,
.cm-home-v2 *::before,
.cm-home-v2 *::after { box-sizing: border-box; }
.cm-home-v2 a { color: inherit; text-decoration: none; }
.cm-home-v2 button,
.cm-home-v2 input { font: inherit; }
.cm-home-v2 button { color: inherit; }
.cm-home-v2 img { max-width: 100%; }
.cm-home-v2 [hidden] { display: none; }

.cm-home-v2-container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.cm-home-v2-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--cmh-line) 82%, transparent);
  background: color-mix(in srgb, var(--cmh-page) 90%, transparent);
  backdrop-filter: blur(16px);
}

.cm-home-v2-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cm-home-v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 850;
  letter-spacing: -.02em;
}

.cm-home-v2-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cmh-primary);
  color: #fff;
  box-shadow: var(--cmh-shadow-sm);
  font-size: 14px;
}

.cm-home-v2-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cm-home-v2-nav a,
.cm-home-v2-icon-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--cmh-muted);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.cm-home-v2-nav a:hover,
.cm-home-v2-icon-button:hover { background: var(--cmh-surface); color: var(--cmh-text); }
.cm-home-v2 :focus-visible { outline: 3px solid color-mix(in srgb, var(--cmh-focus) 28%, transparent); outline-offset: 2px; }
.cm-home-v2-arrival-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.cm-home-v2-section[tabindex="-1"]:focus { outline: 3px solid color-mix(in srgb, var(--cmh-focus) 28%, transparent); outline-offset: -3px; }

.cm-home-v2-main { overflow: clip; }
.cm-home-v2-section { padding-block: 64px; }
.cm-home-v2-section[data-tone="surface"] { background: var(--cmh-surface); }
.cm-home-v2-section[data-tone="muted"] { background: var(--cmh-surface-muted); }
.cm-home-v2-section + .cm-home-v2-section { border-top: 1px solid color-mix(in srgb, var(--cmh-line) 65%, transparent); }

.cm-home-v2-hero {
  padding-block: 12px 72px;
  background:
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--cmh-primary-soft) 82%, transparent), transparent 32%),
    var(--cmh-page);
}

.cm-home-v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.cm-home-v2-hero-copy {
  max-width: 860px;
  padding-top: 0;
}

.cm-home-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cmh-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cm-home-v2-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.cm-home-v2-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 850;
  text-wrap: balance;
}

.cm-home-v2-hero-copy > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--cmh-muted);
  font-size: 18px;
}

.cm-home-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cm-home-v2-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--cmh-line);
  border-radius: 14px;
  background: var(--cmh-surface);
  color: var(--cmh-text);
  font-weight: 750;
  cursor: pointer;
}

.cm-home-v2-button[data-variant="primary"] {
  border-color: var(--cmh-primary);
  background: var(--cmh-primary);
  color: #fff;
}
.cm-home-v2-button[data-variant="primary"]:hover { background: var(--cmh-primary-hover); }
.cm-home-v2-button:hover { transform: translateY(-1px); }

.cm-home-v2-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.cm-home-v2-proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--cmh-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cmh-surface) 80%, transparent);
  color: var(--cmh-muted);
  font-size: 13px;
  font-weight: 650;
}
.cm-home-v2-proof-list li::before { content: "✓"; color: var(--cmh-success); font-weight: 850; }

.cm-home-v2-work-card {
  width: 100%;
  min-height: 760px;
  margin-top: 0;
  border: 1px solid var(--cmh-line);
  border-radius: 24px;
  background: var(--cmh-surface);
  box-shadow: var(--cmh-shadow-md);
  overflow: hidden;
}

.cm-home-v2-work-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--cmh-line);
}
.cm-home-v2-work-card-head strong { display: block; font-size: 18px; }
.cm-home-v2-work-card-head span { display: block; margin-top: 3px; color: var(--cmh-muted); font-size: 13px; }

.cm-home-v2-search { padding: 20px 22px 22px; }
.cm-home-v2-search form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.cm-home-v2-search input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--cmh-line);
  border-radius: 14px;
  background: var(--cmh-surface-muted);
  color: var(--cmh-text);
  padding: 0 16px;
}
.cm-home-v2-search button {
  min-width: 84px;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--cmh-primary);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.cm-home-v2-search-status { min-height: 22px; margin: 10px 2px 0; color: var(--cmh-muted); font-size: 13px; }
.cm-home-v2-search-status[data-state="fallback"] { color: var(--cmh-danger); }
.cm-home-v2-search-results {
  display: grid;
  gap: 8px;
  max-height: 292px;
  margin-top: 12px;
  overflow: auto;
}
.cm-home-v2-search-results:empty { display: none; }
.cm-home-v2-search-results a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid var(--cmh-line);
  border-radius: 12px;
  background: var(--cmh-surface-muted);
}
.cm-home-v2-search-results a:hover { border-color: var(--cmh-primary); background: var(--cmh-primary-soft); }
.cm-home-v2-search-results strong { font-size: 14px; }
.cm-home-v2-search-results span,
.cm-home-v2-search-results [data-cm-search-empty] { color: var(--cmh-muted); font-size: 12px; }

.cm-home-v2-intake-wrap { padding: 0 22px 22px; }
.cm-home-v2-intake-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.cm-home-v2-intake-label strong { font-size: 14px; }
.cm-home-v2-intake-label span { color: var(--cmh-muted); font-size: 12px; }

.cm-home-v2 .cm-home-v2-intake-bridge { display: grid; gap: 14px; }
.cm-home-v2 .cm-home-v2-intake-bridge .drop-box {
  min-height: 310px;
  display: grid;
  place-items: center;
  border: 2px dashed color-mix(in srgb, var(--cmh-primary) 56%, var(--cmh-line));
  border-radius: 18px;
  background: var(--cmh-primary-soft);
  padding: 24px;
  text-align: center;
  cursor: pointer;
}
.cm-home-v2 .cm-home-v2-intake-bridge .drop-box:hover,
.cm-home-v2 .cm-home-v2-intake-bridge .drop-box.dragover { border-color: var(--cmh-primary); }
.cm-home-v2 .cm-home-v2-intake-bridge .drop-icon { font-size: 28px; }
.cm-home-v2 .cm-home-v2-intake-bridge h2 { margin: 6px 0; font-size: 18px; }
.cm-home-v2 .cm-home-v2-intake-bridge p,
.cm-home-v2 .cm-home-v2-intake-bridge small { color: var(--cmh-muted); }
.cm-home-v2 .cm-home-v2-intake-bridge .preview-area:empty { display: none; }
.cm-home-v2 .cm-home-v2-recommendation-bridge {
  margin: 0;
  border: 1px solid var(--cmh-line);
  border-radius: 14px;
  background: var(--cmh-surface-muted);
  padding: 14px;
}
.cm-home-v2 .cm-home-v2-recommendation-bridge h3 { margin: 0 0 6px; font-size: 14px; }

.cm-home-v2-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.cm-home-v2-section-head h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.25; letter-spacing: -.035em; }
.cm-home-v2-section-head p { max-width: 620px; margin: 8px 0 0; color: var(--cmh-muted); }
.cm-home-v2-section-head > a { color: var(--cmh-primary); font-weight: 750; }

.cm-home-v2-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cm-home-v2-tool-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--cmh-line);
  border-radius: 18px;
  background: var(--cmh-surface);
  box-shadow: var(--cmh-shadow-sm);
  transition: transform .16s ease, border-color .16s ease;
}
.cm-home-v2-tool-card:hover { transform: translateY(-2px); border-color: var(--cmh-primary); }
.cm-home-v2-tool-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--cmh-primary-soft); font-size: 20px; }
.cm-home-v2-tool-card strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; line-height: 1.35; }
.cm-home-v2-tool-card small { display: -webkit-box; overflow: hidden; margin-top: 6px; color: var(--cmh-muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; line-height: 1.45; }
.cm-home-v2-card-arrow { color: var(--cmh-primary); font-weight: 850; }

.cm-home-v2-hub-grid,
.cm-home-v2-format-grid,
.cm-home-v2-feature-grid,
.cm-home-v2-trust-grid {
  display: grid;
  gap: 16px;
}
.cm-home-v2-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cm-home-v2-format-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cm-home-v2-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cm-home-v2-trust-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.cm-home-v2-hub-card,
.cm-home-v2-format-card,
.cm-home-v2-feature-card,
.cm-home-v2-trust-card {
  border: 1px solid var(--cmh-line);
  border-radius: 18px;
  background: var(--cmh-surface);
  padding: 20px;
}
.cm-home-v2-hub-card { min-height: 168px; display: flex; flex-direction: column; }
.cm-home-v2-hub-card > span:first-child,
.cm-home-v2-format-card > span:first-child { font-size: 26px; }
.cm-home-v2-hub-card strong,
.cm-home-v2-format-card strong,
.cm-home-v2-feature-card strong,
.cm-home-v2-trust-card strong { display: block; margin-top: 12px; font-size: 17px; }
.cm-home-v2-hub-card p,
.cm-home-v2-feature-card p,
.cm-home-v2-trust-card p { margin: 8px 0 0; color: var(--cmh-muted); font-size: 14px; }
.cm-home-v2-hub-card small { margin-top: auto; padding-top: 16px; color: var(--cmh-primary); font-weight: 750; }
.cm-home-v2-format-card { min-height: 128px; text-align: center; }
.cm-home-v2-format-card strong { font-size: 14px; }
.cm-home-v2-format-card small { display: block; margin-top: 4px; color: var(--cmh-muted); font-size: 11px; }

.cm-home-v2-feature-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cmh-primary);
  color: #fff;
  font-weight: 850;
}

.cm-home-v2-workspace-host .personal-workspace {
  margin: 0;
  padding: 0;
  background: transparent;
}
.cm-home-v2-workspace-host .workspace-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.cm-home-v2-workspace-host .workspace-panel { border: 1px solid var(--cmh-line); border-radius: 18px; background: var(--cmh-surface); }
.cm-home-v2-workspace-host .workspace-privacy { color: var(--cmh-muted); }

.cm-home-v2-guide-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; }
.cm-home-v2-steps { display: grid; gap: 12px; counter-reset: cmh-step; }
.cm-home-v2-step { position: relative; padding: 18px 18px 18px 58px; border: 1px solid var(--cmh-line); border-radius: 16px; background: var(--cmh-surface); }
.cm-home-v2-step::before { counter-increment: cmh-step; content: counter(cmh-step); position: absolute; left: 16px; top: 17px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--cmh-primary-soft); color: var(--cmh-primary); font-weight: 850; }
.cm-home-v2-step strong { display: block; }
.cm-home-v2-step span { color: var(--cmh-muted); font-size: 14px; }
.cm-home-v2-faq { display: grid; gap: 10px; }
.cm-home-v2-faq details { border: 1px solid var(--cmh-line); border-radius: 14px; background: var(--cmh-surface); padding: 0 16px; }
.cm-home-v2-faq summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 750; }
.cm-home-v2-faq p { margin: 0 0 16px; color: var(--cmh-muted); }

.cm-home-v2-footer { padding-block: 36px; border-top: 1px solid var(--cmh-line); background: var(--cmh-surface); }
.cm-home-v2-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.cm-home-v2-footer p { max-width: 500px; margin: 8px 0 0; color: var(--cmh-muted); }
.cm-home-v2-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; color: var(--cmh-muted); font-size: 14px; }
.cm-home-v2-fallback { grid-column: 1 / -1; padding: 18px; border: 1px solid var(--cmh-line); border-radius: 14px; background: var(--cmh-surface-muted); }
.cm-home-v2-fallback strong { display: block; }
.cm-home-v2-fallback a { display: inline-block; margin-top: 8px; color: var(--cmh-primary); font-weight: 750; }

/* Documented legacy bridge: the old homepage remains in the DOM for rollback and runtime IDs,
   but after successful assembly only the new root and executable scripts/styles remain visible. */
body.cm-home-v2-ready > :not(#cm-home-v2-root):not(script):not(style) { display: none !important; }


@media (min-width: 980px) and (max-width: 1120px) {
  .cm-home-v2-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .cm-home-v2-work-card { margin-top: 0; }
  .cm-home-v2-hero h1 { font-size: clamp(40px, 5vw, 56px); }
}

@media (max-width: 979px) {
  .cm-home-v2-hero-grid { grid-template-columns: 1fr; }
  .cm-home-v2-hero-copy { padding-top: 0; }
  .cm-home-v2-work-card { min-height: auto; margin-top: 8px; }
  .cm-home-v2-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cm-home-v2-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-home-v2-format-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cm-home-v2-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cm-home-v2-workspace-host .workspace-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cm-home-v2-nav a:not(:first-child) { display: none; }
}

@media (max-width: 620px) {
  .cm-home-v2-container { width: min(100% - 32px, 1240px); }
  .cm-home-v2-header-inner { min-height: 64px; gap: 10px; }
  .cm-home-v2-nav { margin-left: auto; }
  .cm-home-v2-nav a { display: none; }
  .cm-home-v2-icon-button { padding-inline: 12px; }
  .cm-home-v2-section { padding-block: 40px; }
  .cm-home-v2-hero { padding-block: 34px 40px; }
  .cm-home-v2-hero h1 { font-size: clamp(38px, 12vw, 50px); }
  .cm-home-v2-hero-copy > p { font-size: 16px; }
  .cm-home-v2-actions { display: grid; grid-template-columns: 1fr; }
  .cm-home-v2-button { width: 100%; }
  .cm-home-v2-search form { grid-template-columns: 1fr; }
  .cm-home-v2-search button { width: 100%; }
  .cm-home-v2-work-card-head,
  .cm-home-v2-search,
  .cm-home-v2-intake-wrap { padding-inline: 16px; }
  .cm-home-v2-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cm-home-v2-tool-card { min-height: 112px; grid-template-columns: auto minmax(0,1fr); padding: 14px; }
  .cm-home-v2-card-arrow { display: none; }
  .cm-home-v2-hub-grid,
  .cm-home-v2-feature-grid,
  .cm-home-v2-trust-grid,
  .cm-home-v2-workspace-host .workspace-grid { grid-template-columns: 1fr; }
  .cm-home-v2-format-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cm-home-v2-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .cm-home-v2-guide-grid { grid-template-columns: 1fr; }
  .cm-home-v2-footer-inner { flex-direction: column; }
  .cm-home-v2-footer nav { justify-content: flex-start; }
}

@media (max-width: 359px) {
  .cm-home-v2-container { width: min(100% - 24px, 1240px); }
  .cm-home-v2-tool-grid { grid-template-columns: 1fr; }
  .cm-home-v2-brand > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cm-home-v2 *, .cm-home-v2 *::before, .cm-home-v2 *::after { scroll-behavior: auto; transition: none; animation: none; }
  .cm-home-v2-button:hover, .cm-home-v2-tool-card:hover { transform: none; }
}

/* PATCH143 — image-free workflow visual in the hero's right-side empty area */
.cm-home-v2-hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.cm-home-v2-flow {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--cmh-primary) 16%, var(--cmh-line));
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--cmh-surface) 94%, var(--cmh-primary-soft)), var(--cmh-surface));
  box-shadow: var(--cmh-shadow-md);
}

.cm-home-v2-flow::before {
  content: "";
  position: absolute;
  inset: -72px auto auto -72px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cmh-primary-soft) 76%, transparent);
  pointer-events: none;
}

.cm-home-v2-flow-head {
  position: relative;
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
}

.cm-home-v2-flow-head span {
  color: var(--cmh-primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
}

.cm-home-v2-flow-head strong {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.cm-home-v2-flow-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-v2-flow-list::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 20px;
  width: 2px;
  background: linear-gradient(var(--cmh-primary), color-mix(in srgb, var(--cmh-primary) 15%, transparent));
}

.cm-home-v2-flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 68px;
  padding: 8px 10px 8px 0;
}

.cm-home-v2-flow-index {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cmh-primary) 38%, var(--cmh-line));
  border-radius: 14px;
  background: var(--cmh-surface);
  color: var(--cmh-primary);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(37,99,235,.10);
}

.cm-home-v2-flow-list li > div {
  display: grid;
  gap: 2px;
}

.cm-home-v2-flow-list strong {
  font-size: 14px;
  line-height: 1.4;
}

.cm-home-v2-flow-list small {
  color: var(--cmh-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cm-home-v2-hero-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cm-home-v2-flow {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .cm-home-v2-flow {
    padding: 20px;
    border-radius: 18px;
  }

  .cm-home-v2-flow-list li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .cm-home-v2-flow-index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .cm-home-v2-flow-list::before {
    left: 18px;
  }
}


/* PATCH144 — remove duplicate header search, restore theme and file-picker controls */
#cmSiteActions {
  display: none;
}

.cm-home-v2-header-inner > [data-cm-theme-toggle],
.cm-home-v2-header-inner > .theme-btn {
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--cmh-line);
  border-radius: 12px;
  background: var(--cmh-surface);
  color: var(--cmh-text);
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
html.dark,
html.dark body {
  background: #0b1220;
  color: #eaf0fa;
}

html[data-theme="dark"] .cm-home-v2-header {
  background: color-mix(in srgb, #0b1220 90%, transparent);
}

html[data-theme="dark"] .cm-home-v2 input,
html[data-theme="dark"] .cm-home-v2 textarea,
html[data-theme="dark"] .cm-home-v2 select {
  color-scheme: dark;
}

html[data-theme="dark"] .cm-home-v2 input::placeholder {
  color: #8795ab;
}

[data-cm-open-file-picker],
#dropZone,
[data-cm-home-intake-host] {
  cursor: pointer;
}

/* PATCH145 — dark mode consistency for legacy workspace and smart recommendations */
html[data-theme="dark"] .cm-home-v2-workspace-host .personal-workspace,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-panel,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-content,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-list,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-empty,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-tool-row,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-preset-row {
  background: var(--cmh-surface);
  color: var(--cmh-text);
  border-color: var(--cmh-line);
  box-shadow: none;
}

html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-panel {
  background: color-mix(in srgb, var(--cmh-surface) 92%, var(--cmh-surface-muted));
}

html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-content {
  background: transparent;
}

html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-tool-row,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-preset-row,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-empty {
  background: var(--cmh-surface-muted);
}

html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-empty {
  border-style: dashed;
  border-color: #4b5e7b;
}

html[data-theme="dark"] .cm-home-v2-workspace-host :where(h2,h3,strong,b),
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-tool-row a,
html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-preset-row button {
  color: var(--cmh-text);
}

html[data-theme="dark"] .cm-home-v2-workspace-host :where(p,small,.workspace-privacy,.workspace-empty) {
  color: var(--cmh-muted);
}

html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-text-btn {
  color: #8bb8ff;
}

html[data-theme="dark"] .cm-home-v2-workspace-host .workspace-icon {
  background: var(--cmh-primary-soft);
  color: #cfe1ff;
}

html[data-theme="dark"] .cm-home-v2 .ch-recommend,
html[data-theme="dark"] .cm-home-v2 .smart-recommend-header,
html[data-theme="dark"] .cm-home-v2 .smart-recommend-grid {
  color: var(--cmh-text);
}

html[data-theme="dark"] .cm-home-v2 .smart-tool-card,
html[data-theme="dark"] .cm-home-v2 .smart-plan-card,
html[data-theme="dark"] .cm-home-v2 .smart-all-tools-card {
  background: var(--cmh-surface);
  color: var(--cmh-text);
  border-color: var(--cmh-line);
  box-shadow: none;
}

html[data-theme="dark"] .cm-home-v2 .smart-tool-card.is-primary {
  outline-color: rgba(139,184,255,.72);
}

html[data-theme="dark"] .cm-home-v2 .smart-tool-title-wrap > strong,
html[data-theme="dark"] .cm-home-v2 .smart-tool-copy strong,
html[data-theme="dark"] .cm-home-v2 .smart-plan-title,
html[data-theme="dark"] .cm-home-v2 .smart-plan-card strong {
  color: var(--cmh-text);
}

html[data-theme="dark"] .cm-home-v2 .smart-tool-copy small,
html[data-theme="dark"] .cm-home-v2 .smart-tool-purpose,
html[data-theme="dark"] .cm-home-v2 .smart-plan-analysis,
html[data-theme="dark"] .cm-home-v2 .smart-plan-card p,
html[data-theme="dark"] .cm-home-v2 .smart-plan-card li {
  color: var(--cmh-muted);
  opacity: 1;
}

html[data-theme="dark"] .cm-home-v2 .smart-tool-action,
html[data-theme="dark"] .cm-home-v2 .smart-plan-open {
  background: var(--cmh-primary-soft);
  color: #cfe1ff;
}

html[data-theme="dark"] .cm-home-v2 .smart-tool-card:hover .smart-tool-action,
html[data-theme="dark"] .cm-home-v2 .smart-plan-card:hover .smart-plan-open,
html[data-theme="dark"] .cm-home-v2 .smart-all-tools-card .smart-tool-action {
  background: #2563eb;
  color: #fff;
}

html[data-theme="dark"] .cm-home-v2 .smart-purpose-filters button {
  background: var(--cmh-surface-muted);
  color: var(--cmh-text);
  border-color: var(--cmh-line);
}

html[data-theme="dark"] .cm-home-v2 .smart-purpose-filters button.is-active,
html[data-theme="dark"] .cm-home-v2 .smart-purpose-filters button[aria-pressed="true"] {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* 2026-09-17.06 — AllFileOne file-work-hub homepage refresh */
.cm-home-v2-brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 12px;
  box-shadow: var(--cmh-shadow-sm);
}

.cm-home-v2-header-inner {
  gap: 16px;
}

.cm-home-v2-nav {
  gap: 2px;
}

.cm-home-v2-nav a {
  padding-inline: 10px;
  white-space: nowrap;
}

.cm-home-v2-hero {
  padding-block: clamp(54px, 7vw, 88px) 72px;
}

.cm-home-v2-hero-copy {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.cm-home-v2-hero-copy .cm-home-v2-eyebrow {
  justify-content: center;
}

.cm-home-v2-hero h1 {
  max-width: 900px;
  margin-inline: auto;
}

.cm-home-v2-hero-copy > p {
  max-width: 780px;
  margin-inline: auto;
}

.cm-home-v2-hero-copy .cm-home-v2-proof-list {
  justify-content: center;
}

.cm-home-v2-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.cm-home-v2-start-panel {
  min-width: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cmh-line);
  border-radius: 24px;
  background: var(--cmh-surface);
  box-shadow: var(--cmh-shadow-md);
}

.cm-home-v2-start-panel[data-start-kind="upload"] {
  border-color: color-mix(in srgb, var(--cmh-primary) 34%, var(--cmh-line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--cmh-primary-soft) 46%, var(--cmh-surface)), var(--cmh-surface) 38%);
}

.cm-home-v2-start-panel-head {
  min-height: 168px;
  padding: 24px 24px 12px;
}

.cm-home-v2-start-panel-head > span {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--cmh-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
}

.cm-home-v2-start-panel-head > strong {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -.03em;
}

.cm-home-v2-start-panel-head > p {
  margin: 8px 0 0;
  color: var(--cmh-muted);
  font-size: 14px;
}

.cm-home-v2-start-panel-head .cm-home-v2-button {
  margin-top: 16px;
}

.cm-home-v2-start-panel .cm-home-v2-search {
  margin-top: auto;
  padding: 18px 24px 24px;
}

.cm-home-v2-start-panel .cm-home-v2-intake-wrap {
  margin-top: auto;
  padding: 18px 24px 24px;
}

.cm-home-v2-start-panel .cm-home-v2-intake-bridge .drop-box {
  min-height: 190px;
}

.cm-home-v2-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cm-home-v2-task-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--cmh-line);
  border-radius: 20px;
  background: var(--cmh-surface);
  box-shadow: var(--cmh-shadow-sm);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.cm-home-v2-task-card:hover {
  transform: translateY(-2px);
  border-color: var(--cmh-primary);
  box-shadow: var(--cmh-shadow-md);
}

.cm-home-v2-task-card > span:first-child {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--cmh-primary-soft);
  color: var(--cmh-primary);
  font-size: 14px;
  font-weight: 900;
}

.cm-home-v2-task-card strong {
  margin-top: 14px;
  font-size: 19px;
}

.cm-home-v2-task-card p {
  margin: 7px 0 0;
  color: var(--cmh-muted);
  font-size: 14px;
}

.cm-home-v2-task-card small {
  margin-top: auto;
  padding-top: 14px;
  color: var(--cmh-primary);
  font-weight: 750;
}

.cm-home-v2-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cm-home-v2-strength-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--cmh-line);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--cmh-surface), color-mix(in srgb, var(--cmh-primary-soft) 44%, var(--cmh-surface)));
}

.cm-home-v2-strength-card > strong {
  display: block;
  color: var(--cmh-primary);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.cm-home-v2-strength-card > span {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 800;
}

.cm-home-v2-strength-card > p {
  margin: 14px 0 0;
  color: var(--cmh-muted);
}

.cm-home-v2-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cm-home-v2-journey-step {
  position: relative;
  min-height: 200px;
  padding: 22px 18px;
  border: 1px solid var(--cmh-line);
  border-radius: 18px;
  background: var(--cmh-surface);
}

.cm-home-v2-journey-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cmh-primary);
  color: #fff;
  font-weight: 900;
}

.cm-home-v2-journey-step strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
}

.cm-home-v2-journey-step p {
  margin: 8px 0 0;
  color: var(--cmh-muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .cm-home-v2-header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .cm-home-v2-nav {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .cm-home-v2-nav::-webkit-scrollbar { display: none; }
  .cm-home-v2-nav a,
  .cm-home-v2-nav a:not(:first-child) { display: inline-flex; }
  .cm-home-v2-icon-button { margin-left: auto; }
}

@media (max-width: 860px) {
  .cm-home-v2-start-grid,
  .cm-home-v2-task-grid,
  .cm-home-v2-strength-grid {
    grid-template-columns: 1fr;
  }
  .cm-home-v2-start-panel { min-height: auto; }
  .cm-home-v2-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .cm-home-v2-hero { padding-block: 42px 46px; }
  .cm-home-v2-hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .cm-home-v2-start-grid { margin-top: 28px; }
  .cm-home-v2-start-panel-head,
  .cm-home-v2-start-panel .cm-home-v2-search,
  .cm-home-v2-start-panel .cm-home-v2-intake-wrap { padding-inline: 18px; }
  .cm-home-v2-journey { grid-template-columns: 1fr; }
  .cm-home-v2-nav,
  .cm-home-v2-nav a { display: flex; }
  .cm-home-v2-nav a { min-height: 40px; font-size: 13px; }
}


.cm-home-v2-start-grid {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.cm-home-v2-start-panel--search-only {
  min-height: auto;
}

.cm-home-v2-start-panel-head--center {
  min-height: auto;
  text-align: center;
  align-items: center;
}

.cm-home-v2-start-panel-head--center > span {
  align-self: center;
}

.cm-home-v2-start-panel--search-only .cm-home-v2-search {
  margin-top: 0;
  padding-top: 8px;
}

.cm-home-v2-format-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cm-home-v2-format-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 112px;
  border: 1px solid var(--cmh-line);
  border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cmh-primary-soft) 55%, #ffffff), #ffffff);
  color: var(--cmh-text);
  box-shadow: var(--cmh-shadow-sm);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.cm-home-v2-format-chip:hover,
.cm-home-v2-format-chip:focus-visible,
.cm-home-v2-format-chip[data-active="true"] {
  transform: translateY(-2px);
  border-color: var(--cmh-primary);
  box-shadow: var(--cmh-shadow-md);
  outline: none;
}

.cm-home-v2-format-chip > span {
  font-size: 30px;
  line-height: 1;
}

.cm-home-v2-format-chip strong {
  font-size: 16px;
  font-weight: 800;
}

.cm-home-v2-format-chip small {
  color: var(--cmh-muted);
  font-size: 12px;
}

.cm-home-v2-shortcut-results-wrap {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--cmh-line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--cmh-primary-soft) 35%, #ffffff);
}

.cm-home-v2-shortcut-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cm-home-v2-shortcut-results-head strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.cm-home-v2-shortcut-results-head a {
  color: var(--cmh-primary);
  font-size: 14px;
  font-weight: 750;
}

.cm-home-v2-shortcut-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cm-home-v2-mini-tool-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--cmh-line);
  border-radius: 16px;
  background: #fff;
  color: var(--cmh-text);
  box-shadow: var(--cmh-shadow-xs);
}

.cm-home-v2-mini-tool-card:hover {
  border-color: var(--cmh-primary);
  box-shadow: var(--cmh-shadow-sm);
}

.cm-home-v2-mini-tool-card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cmh-primary-soft) 65%, white);
  font-size: 20px;
}

.cm-home-v2-mini-tool-card-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cm-home-v2-mini-tool-card-copy strong {
  font-size: 15px;
  letter-spacing: -.02em;
}

.cm-home-v2-mini-tool-card-copy span {
  color: var(--cmh-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cm-home-v2-mini-tool-card-arrow {
  color: var(--cmh-primary);
  font-weight: 800;
}

.cm-home-v2-start-panel--upload-wide {
  min-height: auto;
}

.cm-home-v2-start-panel--upload-wide .cm-home-v2-intake-wrap {
  padding-top: 8px;
}

@media (max-width: 860px) {
  .cm-home-v2-format-shortcuts,
  .cm-home-v2-shortcut-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cm-home-v2-format-shortcuts,
  .cm-home-v2-shortcut-results {
    grid-template-columns: 1fr;
  }
  .cm-home-v2-shortcut-results-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* AFO home layout refinement: consistent widths and neutral format buttons */
.cm-home-v2-search .cm-home-v2-format-chip {
  min-width: 0;
  min-height: 112px;
  border: 1px solid var(--cmh-line);
  background: var(--cmh-surface);
  color: var(--cmh-text);
  box-shadow: var(--cmh-shadow-sm);
}
.cm-home-v2-search .cm-home-v2-format-chip small { color: var(--cmh-muted); }
.cm-home-v2-search .cm-home-v2-format-chip:hover,
.cm-home-v2-search .cm-home-v2-format-chip:focus-visible,
.cm-home-v2-search .cm-home-v2-format-chip[data-active="true"] {
  border-color: color-mix(in srgb, var(--cmh-primary) 58%, var(--cmh-line));
  background: color-mix(in srgb, var(--cmh-primary-soft) 32%, var(--cmh-surface));
  color: var(--cmh-text);
}

/* Keep every major home section on the same 1240px content line. */
.cm-home-v2-hero > .cm-home-v2-container,
.cm-home-v2-section > .cm-home-v2-container,
.cm-home-v2-footer > .cm-home-v2-container {
  width: min(100% - 48px, 1240px);
}

/* AFO Find My Task UX v1: direct execution results */
.cm-home-v2-search-results a{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.cm-home-v2-search-results a[data-cm-top-result="true"]{border-color:var(--cmh-primary);background:var(--cmh-primary-soft)}
.cm-home-v2-search-action{color:var(--cmh-primary)!important;font-weight:800;white-space:nowrap}
.cm-home-v2-mini-tool-card-copy span{color:var(--cmh-primary);font-weight:750}


/* AFO Find My Task UX v2: 8 simple file-kind keys + dense task grid */
.cm-home-v2-format-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.cm-home-v2-format-chip{min-height:86px;border-radius:14px;gap:7px;padding:10px 8px}
.cm-home-v2-format-chip>span{font-size:26px}
.cm-home-v2-format-chip strong{font-size:15px}
.cm-home-v2-format-chip small{display:none!important}
.cm-home-v2-shortcut-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.cm-home-v2-mini-tool-card{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:11px 12px;border-radius:12px;min-height:64px}
.cm-home-v2-mini-tool-card-icon{width:34px;height:34px;border-radius:10px;font-size:17px}
.cm-home-v2-mini-tool-card-copy strong{font-size:13px;line-height:1.3}
.cm-home-v2-mini-tool-card-copy span{font-size:11px}
.cm-home-v2-search-results{grid-template-columns:repeat(4,minmax(0,1fr));max-height:420px;gap:8px}
.cm-home-v2-search-results a{min-height:68px;padding:11px 12px;background:#fff}
.cm-home-v2-search[data-search-active="true"] .cm-home-v2-format-shortcuts,
.cm-home-v2-search[data-search-active="true"] .cm-home-v2-shortcut-results-wrap{display:none}
.cm-home-v2-search[data-search-active="true"] .cm-home-v2-search-results{margin-top:8px}
@media(max-width:900px){.cm-home-v2-shortcut-results,.cm-home-v2-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cm-home-v2-format-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-home-v2-shortcut-results,.cm-home-v2-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-home-v2-format-chip{min-height:78px}.cm-home-v2-mini-tool-card{min-height:60px}}


/* AFO Find My Task UX v3: 12 top categories + promoted 12-action task center */
.cm-home-v2-format-shortcuts{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.cm-home-v2-format-chip{min-height:82px;padding:9px 7px}
.cm-home-v2-format-chip>span{font-size:25px}
.cm-home-v2-format-chip strong{font-size:15px}
.cm-home-v2-mini-tool-card-copy strong{font-size:15px;line-height:1.3;font-weight:850}
.cm-home-v2-mini-tool-card-copy>span{display:none!important}
.cm-home-v2-mini-tool-card{min-height:60px;padding:10px 12px}
.cm-home-v2-task-center-promoted{padding-top:36px;padding-bottom:40px}
.cm-home-v2-task-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cm-home-v2-task-card{min-height:138px;padding:18px;border-radius:16px}
.cm-home-v2-task-card>span:first-child{width:40px;height:40px;border-radius:12px;font-size:18px}
.cm-home-v2-task-card strong{margin-top:10px;font-size:18px}
.cm-home-v2-task-card p{font-size:13px;line-height:1.45}
.cm-home-v2-task-card small{display:none}
@media(max-width:1050px){.cm-home-v2-format-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}.cm-home-v2-task-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cm-home-v2-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cm-home-v2-format-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-home-v2-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-home-v2-task-card{min-height:124px;padding:14px}.cm-home-v2-task-card strong{font-size:16px}.cm-home-v2-task-card p{font-size:12px}}


/* AFO Quick Find V4 + Search V2: final launcher hierarchy and six-result readability */
.cm-home-v2-primary-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.cm-home-v2-primary-actions span{color:var(--cmh-muted);font-size:12px}
.cm-home-v2-button--file{min-height:44px}
.cm-home-v2-search-results{grid-template-columns:repeat(2,minmax(0,1fr));max-height:460px;gap:8px}
.cm-home-v2-search-results a{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:76px}
.cm-home-v2-search-copy{display:flex;min-width:0;flex-direction:column;gap:3px}
.cm-home-v2-search-results [data-cm-search-result-reason]{display:block;color:var(--cmh-muted);font-size:11px;line-height:1.35}
.cm-home-v2-search-results a[data-active="true"]{outline:2px solid var(--cmh-primary);outline-offset:-2px;border-color:var(--cmh-primary);background:var(--cmh-primary-soft)}
.cm-home-v2-search-all{grid-column:1/-1;display:flex;justify-content:center!important;min-height:46px!important;font-weight:800;color:var(--cmh-primary)!important}
.cm-home-v2-format-entry .cm-home-v2-format-shortcuts{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:0}
.cm-home-v2-format-chip--all{text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cm-home-v2-format-chip--all:hover{border-color:var(--cmh-primary);background:var(--cmh-primary-soft)}
@media(max-width:1050px){.cm-home-v2-format-entry .cm-home-v2-format-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.cm-home-v2-search-results{grid-template-columns:1fr}.cm-home-v2-format-entry .cm-home-v2-format-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
