/* products.css: page-scoped additions for the five vertical pages (restaurants, care, hotels,
   sports, rentals). Extends pulse3.css; never edits it. Two components: the staff call log and
   the systems chip row. Tokens come from pulse3.css. */

/* ---------- the staff view: call log with flags ---------- */
.log { background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: var(--shadow-paper); overflow: hidden; }
.section-ink .log, .section-green .log { background: rgba(24, 21, 17, .94); color: var(--cream); border-color: rgba(247, 239, 223, .1); box-shadow: var(--shadow-ink); }
.log-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.section-ink .log-head { border-color: rgba(247, 239, 223, .1); color: var(--cream-55); }
.log-head .con-demo { margin-left: auto; }
.log-row { display: grid; grid-template-columns: 72px 120px 1fr auto; gap: 16px; align-items: start; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; transition: background-color .4s var(--ease); }
.log-row:last-child { border-bottom: 0; }
.log-row:hover { background: rgba(21, 19, 15, .03); }
.section-ink .log-row { border-color: rgba(247, 239, 223, .08); }
.section-ink .log-row:hover { background: rgba(247, 239, 223, .04); }
.log-t { font-family: var(--mono); font-size: 12.5px; color: var(--mute); padding-top: 2px; font-variant-numeric: tabular-nums; }
.log-who { font-weight: 500; letter-spacing: -.01em; }
.log-sum { color: var(--ink-2); }
.section-ink .log-sum { color: rgba(247, 239, 223, .75); }
.section-ink .log-t { color: var(--cream-55); }
.log-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 9px; white-space: nowrap; color: var(--mute); display: inline-flex; align-items: center; gap: 6px; }
.log-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); }
.log-tag.is-hand::before { background: var(--ink-2); }
.section-ink .log-tag { border-color: rgba(247, 239, 223, .2); color: var(--cream-70); }
.section-ink .log-tag.is-hand::before { background: var(--cream-55); }
.log-row.is-flag { background: rgba(242, 83, 27, .06); }
.log-row.is-flag .log-tag { border-color: rgba(242, 83, 27, .5); color: var(--signal-text); }
.section-ink .log-row.is-flag .log-tag { color: var(--signal-2); }
.log-row.is-flag .log-tag::before { background: var(--signal); animation: pulse 1.4s var(--ease-out) infinite; }
.log-search { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.section-ink .log-search { border-color: rgba(247, 239, 223, .1); color: var(--cream-70); }
.log-search i { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; flex: none; opacity: .7; }
.log-search i::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: currentColor; right: -4px; bottom: -2px; transform: rotate(45deg); }
.log-search em { font-style: normal; color: var(--signal-text); border-bottom: 1px solid currentColor; }
.section-ink .log-search em { color: var(--signal-2); }
.log-search .caret { display: inline-block; width: 1px; height: 14px; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- systems row: where the call is written ---------- */
.systems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.systems.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.system { border: 1px solid var(--line); border-radius: var(--r-s); padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; background: rgba(255, 255, 255, .25); }
.section-ink .system, .section-green .system { border-color: rgba(247, 239, 223, .14); background: rgba(247, 239, 223, .04); }
.system .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-text); }
.section-ink .system .mono, .section-green .system .mono { color: var(--signal-2); }
.system h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 500; line-height: 1.2; }
.system p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.section-ink .system p, .section-green .system p { color: rgba(247, 239, 223, .75); }

/* ---------- language grid on the green block ---------- */
.langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.lang { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid rgba(247, 239, 223, .16); }
.lang b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 1.7vw, 27px); letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; }
.lang span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-55); }

@media (max-width: 900px) {
  .log-row { grid-template-columns: 64px 1fr auto; }
  .log-sum { grid-column: 1 / -1; }
  .systems { grid-template-columns: 1fr 1fr; }
  .langs { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
  .systems, .systems.cols-2 { grid-template-columns: 1fr; }
  .log-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .log-search .caret, .log-row.is-flag .log-tag::before { animation: none !important; } }
