/* Joyride for knowledge work: figures and sections added on top of site.css. Tokens only; hex only where a
   figure draws a third-party product (Excel green, Word blue, PowerPoint orange, brand marks). */

/* ---------- Steps art ---------- */
.gs-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gs-t { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; min-width: 0; }
.gs-t b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-t i { margin-left: auto; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #0f8a5f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.gs-logo { flex: none; width: 24px; height: 24px; object-fit: contain; }
.tk { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--c); position: relative; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.tk:not(.tx)::before { content: ""; position: absolute; inset: 6px; background: #fff; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.gs-files { display: grid; gap: 8px; }
.gs-f { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.gs-f .fi { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; }
.gs-f .fi.x { background: #1d7a46; } .gs-f .fi.w { background: #2b5bb8; } .gs-f .fi.p { background: #c4502b; }
.gs-f .fn { min-width: 0; display: flex; flex-direction: column; }
.gs-f .fn b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-f .fn em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.gs-f .fm { font-size: 12px; color: var(--ink-2); white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); }
.gs-rules { display: grid; gap: 8px; }
.gs-r { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.gs-r span { display: flex; flex-direction: column; min-width: 0; }
.gs-r b { font-weight: 500; }
.gs-r em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.gs-r i { margin-left: auto; flex: none; width: 32px; height: 18px; border-radius: 999px; background: var(--line-strong); position: relative; }
.gs-r i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.gs-r i.on { background: var(--blue); } .gs-r i.on::after { left: 16px; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
}
@media (max-width: 760px) {
  .gs-tools { grid-template-columns: minmax(0, 1fr); }
  .gs-t:nth-child(n+5) { display: none; }
  .gs-f .fm { display: none; }
}

/* ---------- Solutions page ---------- */
.tm-props > a { display: block; text-decoration: none; color: inherit; border-radius: 12px; margin: -12px; padding: 12px; transition: background .2s; }
.tm-props > a:hover { background: var(--paper); }
.tm-copy .eyebrow.chip { margin-bottom: 14px; }
.tm-src { font-size: 13px !important; color: var(--ink-3) !important; margin-top: 18px !important; }
.tm-src a { color: var(--ink-2); }
.tv-warn { background: rgba(245,158,11,.16) !important; color: #b45309 !important; }
.tv-flag { left: 50%; top: 50%; width: 76%; gap: 12px; transform: translate(-50%, -50%); }
.tv-fv { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.tv-fw { margin: 0; font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; background: rgba(245,158,11,.12); }
.tv-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 4px 0 0; font-size: 13.5px; }
.tv-dl dt { color: var(--ink-3); } .tv-dl dd { margin: 0; text-align: right; font-weight: 500; }
.tv-eng { left: 8%; top: 16%; width: 84%; }
.tv-tbl { display: grid; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tv-tbl > div { display: grid; grid-template-columns: 1.6fr 1fr .8fr .7fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.tv-tbl > div.h { border-top: 0; padding-top: 0; font-size: 12px; color: var(--ink-3); }
.tv-tbl > div > :not(:first-child) { text-align: right; }
.tv-tbl b { font-weight: 600; }
.tv-cites { left: 8%; top: 50%; width: 84%; transform: translateY(-50%); gap: 10px; }
.tv-cite { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; }
.tv-cite i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; }
.tv-cite span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tv-cite b { font-weight: 500; }
.tv-cite em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.tv-cite.bad i { background: rgba(220,38,38,.12); color: #c2410c; }
.tv-cite.ok i { background: rgba(15,138,95,.14); color: #0f8a5f; }
.tv-cite.warn i { background: rgba(245,158,11,.18); color: #b45309; }
.cmp-cat .cmp-co { flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; }
.cmp-cat .cmp-co small { font-size: 11.5px; font-weight: 400; color: var(--ink-3); line-height: 1.3; }
.cmp-cat th.jr .cmp-co { flex-direction: row; align-items: center; }
@media (max-width: 900px) {
  .tv-flag, .tv-eng, .tv-cites { left: 5%; width: 90%; }
  .tv-fv { font-size: 22px; }
}

/* ---------- Research page ---------- */
.rs-wrap { width: min(100% - 80px, 1180px); margin-inline: auto; }
.rs-hero { padding: 150px 0 40px; }
.rs-hero h1 { margin-top: 18px; max-width: 760px; font-size: 52px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.rs-hero p { margin-top: 18px; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.rs-body { padding: 24px 0 112px; }
.rs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 44px 0; border-top: 1px solid var(--line); }
.rs-head { position: sticky; top: 100px; align-self: start; }
.rs-n { font-size: 13px; font-weight: 500; color: var(--blue); }
.rs-head h2 { margin-top: 10px; font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.rs-head p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.rs-head .more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--blue); text-decoration: none; }
.rs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rs-list a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--ease); }
.rs-list a:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.rs-src { font-size: 12.5px; color: var(--ink-3); }
.rs-txt { font-size: 16px; line-height: 1.45; color: var(--ink); }
.rs-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) {
  .rs-wrap { width: min(100% - 2 * var(--gutter), 1180px); }
  .rs-hero { padding: 110px 0 24px; }
  .rs-hero h1 { font-size: 34px; }
  .rs { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .rs-head { position: static; }
  .rs-head h2 { font-size: 24px; }
}
