/* ===========================================================================
   SolutionsDataHub -- 特長, part 1/2: zig-zag layout, text column, the crop
   shell, crops 01 (connect a source) and 02 (a request vs. asking directly).
   Part 2 (datahub-feat-2.css) = crops 03-05 + motion. Built on the shared
   product language of datahub-ui.css (.dh-win / .dh-top / .dh-ai / .dh-chip /
   .dh-sql); every class here is .dh-feat-* or .dh-f<n>-*.
   Rows: crop -> text in the DOM, so stacked rows (< 1024px) show the picture
   first; from 1024px even rows swap sides by grid placement only.
   The crop is a grid stage (--dh-stage-bg) with the window bleeding out at
   the right and bottom; it is not clickable (no hover, no focus).
   Contrast: --dh-ok #237A4C on #FFF 5.3 · --muted on --dh-rail 5.20 ·
   --dh-acc-ink on --dh-tint 6.3 · #FFF on --dh-acc 5.29 · #FFF on --navy 14.7.
   =========================================================================== */

.dh-feat { --dh-ok: #237A4C; }
.dh-feat-list { display: grid; row-gap: clamp(56px, 6.4vw, 96px); margin-top: clamp(32px, 3.6vw, 52px); }
.dh-feat-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 22px; align-items: center; }
@media (min-width: 1024px) {
  .dh-feat-row { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); column-gap: clamp(40px, 4.4vw, 72px); }
  .dh-feat-row:nth-child(even) { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
  .dh-feat-row:nth-child(even) > .dh-feat-shot { grid-column: 2; grid-row: 1; }
  .dh-feat-row:nth-child(even) > .dh-feat-text { grid-column: 1; grid-row: 1; }
}

/* ---- text column ----------------------------------------------------------- */
.dh-feat-text { min-width: 0; max-width: 40em; }
.dh-feat-no { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: 0.18em; color: var(--dh-acc-ink); font-variant-numeric: tabular-nums; }
.dh-feat-no::after { content: ""; width: 32px; height: 2px; background: rgba(25, 92, 145, 0.45); }
.dh-feat-h { margin: 0 0 14px; font-size: clamp(20px, 1.8vw, 25px); font-weight: 700; line-height: 1.55; color: var(--navy); word-break: auto-phrase; }
.dh-feat-p { margin: 0; font-family: 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 2; color: var(--muted); word-break: auto-phrase; overflow-wrap: break-word; text-wrap: pretty; }
.dh-feat-cap { margin-top: clamp(40px, 4.4vw, 64px); }

/* ---- crop shell -------------------------------------------------------------- */
.dh-feat-shot { min-width: 0; padding: clamp(14px, 2vw, 28px) 0 0 clamp(14px, 2vw, 28px); overflow: hidden; border-radius: 16px; background: var(--dh-stage-bg); }
.dh-feat-win { min-height: 320px; border-radius: 10px 0 0 0; box-shadow: 0 1px 2px rgba(16, 42, 67, 0.08), 0 24px 48px -28px rgba(16, 42, 67, 0.45); }
.dh-feat-shot svg { width: 13px; height: 13px; }
.dh-feat-crumb { margin-left: auto; overflow: hidden; color: var(--dh-chrome-tx); text-overflow: ellipsis; }
.dh-feat-ph { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-bottom: 1px solid var(--dh-hair); }
.dh-feat-ph b { font-size: 13px; color: var(--navy); }
.dh-feat-meta { margin-left: auto; color: var(--muted); white-space: nowrap; }
.dh-feat-body { display: grid; gap: 12px; padding: 14px 16px 20px; }
.dh-feat-k { font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.dh-feat-ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--dh-ok); white-space: nowrap; }
.dh-feat-ok svg { stroke-width: 2; }

/* ---- 01: add a source, read-only; tables found, nothing copied ------------- */
.dh-f1-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.dh-f1-kinds li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--dh-hair); border-radius: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.dh-f1-kinds svg { color: var(--dh-acc); }
.dh-f1-kinds .is-sheet svg { color: var(--dh-ok); }
.dh-f1-kinds .is-on { border-color: var(--dh-acc); background: var(--dh-tint); box-shadow: inset 0 0 0 1px var(--dh-acc); color: var(--dh-acc-ink); }
.dh-f1-form { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 12px; margin: 0; }
.dh-f1-form dt { color: var(--muted); }
.dh-f1-form dd { height: 28px; margin: 0; padding: 0 10px; overflow: hidden; border: 1px solid var(--dh-hair); border-radius: 6px; font-size: 12px; line-height: 26px; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.dh-f1-found { color: var(--ink); }
.dh-f1-found b { font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; }
.dh-f1-copy { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- 02: the old request ticket (waiting) vs. the answer on the spot ------- */
.dh-f2-old, .dh-f2-new { display: grid; gap: 6px; }
.dh-f2-ticket { display: grid; gap: 4px; padding: 10px 12px; border: 1px dashed var(--dh-rule); border-radius: 8px; background: var(--dh-rail); color: var(--muted); }
.dh-f2-id { font-weight: 700; }
.dh-f2-wait { display: inline-flex; align-items: center; justify-self: start; gap: 5px; padding: 0 7px; border-radius: 3px; background: var(--dh-flat); font-weight: 700; line-height: 20px; white-space: nowrap; }
.dh-f2-q { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--dh-hair); border-radius: 8px; font-weight: 700; color: var(--navy); }
.dh-f2-ask { padding: 0 5px; border-radius: 3px; background: var(--dh-tint); font-size: 12px; line-height: 18px; color: var(--dh-acc-ink); }
.dh-f2-a { margin-top: 4px; padding: 2px 0 0 12px; border-left: 3px solid var(--dh-acc); }
.dh-f2-ah { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.dh-f2-now { margin-left: auto; }
.dh-f2-t { width: 100%; border-collapse: collapse; }
.dh-f2-t th { padding: 4px 0; border-bottom: 1px solid var(--dh-hair); font-weight: 700; text-align: left; color: var(--muted); }
.dh-f2-t td { padding: 5px 0; border-bottom: 1px solid var(--dh-hair); color: var(--ink); }
.dh-f2-t :is(th, td):nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.dh-f2-t tbody tr:first-child td { font-weight: 700; color: var(--navy); }
