/* Work landing + Leadership Dashboard case study */

/* ---------- Work landing ---------- */
.work-intro { max-width: 680px; margin-bottom: clamp(1.75rem, 3vw, 2.25rem); }
.work-intro h1 { margin-bottom: 0.75rem; }
.work-intro p { color: var(--text-muted, #5f5a52); font-size: 1.1rem; line-height: 1.6; }

.work-list { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.work-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border, #e5e0d6);
}
.work-entry:first-child { border-top: 0; padding-top: 0; }
.work-entry-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #7a736a);
  margin-bottom: 0.6rem;
}
.work-entry h2 { margin: 0 0 0.75rem; }
.work-entry p { line-height: 1.6; margin: 0 0 1rem; }
.work-entry-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.95rem; }
.work-entry-visual { margin: 0; }

@media (max-width: 860px) {
  .work-entry { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Reconstructed dashboard layout ---------- */
.ld-figure { margin: 2.5rem 0; }
.ld-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #1f1d24;
  border-radius: 10px;
  font-family: var(--font-body, system-ui, sans-serif);
  box-shadow: 0 18px 40px rgba(27, 25, 21, 0.12);
}
.ld-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #2b2833;
  border-radius: 6px;
  color: #d9d4e6;
  font-size: 0.72rem;
}
.ld-bar b { color: #fff; font-weight: 600; margin-right: 4px; }
.ld-chip { padding: 3px 8px; border-radius: 999px; background: #3a3644; white-space: nowrap; }
.ld-chip.is-flag { box-shadow: inset 0 0 0 1px #d9a93a; }
.ld-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 12px;
  background: #2b2833;
  border-radius: 6px;
  color: #d9d4e6;
}
.ld-card h4 { margin: 0 0 2px; color: #fff; font-size: 0.82rem; font-weight: 600; }
.ld-line { height: 6px; border-radius: 3px; background: #45404f; }
.ld-line.short { width: 70%; }
.ld-split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin: 2px 0; }
.ld-split i { display: block; height: 100%; }
.ld-more { margin-top: auto; font-size: 0.68rem; color: #8fb8e8; }
.ld-card.is-wide { grid-column: span 2; }
.ld-card.is-tall { grid-row: span 2; }
.ld-figure figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-muted, #7a736a); line-height: 1.5; }

@media (max-width: 640px) {
  .ld-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-bar { flex-wrap: wrap; }
  .ld-card.is-tall { grid-row: auto; }
}

/* ---------- Urgency zones ---------- */
.ld-zones-figure { margin: 2rem 0 2.5rem; }
.ld-zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ld-zone {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--panel, #f2efe8);
  border-top: 3px solid;
}
.ld-zone.is-now { border-top-color: #b4442b; }
.ld-zone.is-soon { border-top-color: #b07a12; }
.ld-zone.is-fyi { border-top-color: #4b6a8a; }
.ld-zone-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted, #6f6a62); }
.ld-zone h3 { margin: 0; font-size: 1.05rem; }
.ld-zone p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft, #4a463f); }
.ld-zone ul { margin: 6px 0 0; padding-left: 1.1rem; font-size: 0.88rem; line-height: 1.55; }
.ld-zones-figure figcaption { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted, #6f6a62); }
.ld-abstract-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: clamp(1rem, 2.4vw, 2rem); min-height: 320px; align-items: stretch; background: #f3f1ec; border-radius: 10px; }
.ld-abstract-stage { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-top: 2px solid #b8b1a5; background: rgba(255,255,255,.72); }
.ld-abstract-stage:nth-child(2) { border-top-color: #71859a; }
.ld-abstract-stage:nth-child(3) { border-top-color: #b9784f; }
.ld-abstract-stage span { color: #77736c; font-size: .75rem; }
.ld-abstract-stage strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }
.ld-abstract-stage i { display: block; height: 9px; border-radius: 99px; background: #dedbd4; }
.ld-abstract-stage i:nth-of-type(2) { width: 78%; }
.ld-abstract-stage i:nth-of-type(3) { width: 55%; }

/* ---------- Illustrative scenarios ---------- */
.ld-scenario-note { font-size: 0.88rem; color: var(--muted, #6f6a62); font-style: italic; }
.ld-scenarios { display: flex; flex-direction: column; gap: 14px; margin: 1.25rem 0 2.5rem; }
.ld-scenario { padding: 18px 20px; border: 1px solid var(--border, #e5e0d6); background: #fff; }
.ld-scenario-time { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted, #6f6a62); margin-bottom: 4px; }
.ld-scenario h3 { margin: 0 0 6px; font-size: 1.05rem; }
.ld-scenario p { margin: 0; line-height: 1.6; }

@media (max-width: 760px) {
  .ld-zones { grid-template-columns: minmax(0, 1fr); }
  .ld-abstract-flow { min-height: 250px; }
}
@media (max-width: 520px) { .ld-abstract-flow { grid-template-columns: minmax(0, 1fr); min-height: 0; } .ld-abstract-stage { min-height: 130px; } }

/* ---------- Work page: grouped cards ---------- */
.work-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.work-group:first-of-type { margin-top: 0; }
.work-group-head { margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border, #e5e0d6); }
.work-group-head .work-group-title { margin: 0; }
.wk-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.wk-feature-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.wk-feature-title a { color: inherit; text-decoration: none; }
.wk-feature-title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.wk-feature p, .work-entry p { line-height: 1.6; color: var(--ink-soft, #4a463f); max-width: 52ch; }
.wk-feature .card-actions, .work-entry .card-actions { justify-content: flex-start; padding-top: 0.5rem; }
.wk-feature-visual { display: block; }
.work-group .feature-cards { margin-top: 0.5rem; }
.work-group .work-entry { border-top: 0; padding-top: 0; }
@media (max-width: 860px) {
  .wk-feature { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Selected work: project list with a large visual ---------- */
.work-intro { max-width: 100%; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.work-intro h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; margin: 0 0 1rem; }
.work-intro p { max-width: 42rem; }
.work-showcase {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4.5vw, 5.5rem);
  align-items: start;
}
.work-project-list { display: grid; gap: 0; }
.work-project-item { border-top: 1px solid var(--border, #e5e0d6); padding: 1.1rem 0 1.4rem; }
.work-project-item:last-child { border-bottom: 1px solid var(--border, #e5e0d6); }
.work-project-tab {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
  color: var(--text-muted, #77736c);
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;
}
.work-project-tab:hover,
.work-project-item.is-active .work-project-tab { color: var(--ink, #222); }
.work-project-tab:focus-visible { outline: 2px solid var(--accent, #315d87); outline-offset: 5px; }
.work-project-name { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; }
.work-project-meta { font-size: 0.78rem; letter-spacing: 0.06em; }
.work-project-summary { max-width: 38rem; padding-top: 0.8rem; }
.work-project-summary p { margin: 0 0 0.8rem; color: var(--text-muted, #5f5a52); font-size: 0.97rem; line-height: 1.58; }
.work-project-item:not(.is-active) .work-project-summary { opacity: 0.76; }
.work-project-link { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.96rem; font-weight: 600; text-decoration: none; }
.work-project-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.work-related-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.8rem; font-size: 0.88rem; }
.work-related-links a { color: var(--text-muted, #5f5a52); text-underline-offset: 3px; }
.work-project-panels { min-width: 0; }
.work-project-panel[hidden] { display: none; }
.work-project-visual { margin: 0; }
.work-project-visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 0.55rem;
  background: #eeece7;
}
.work-visual-label { margin-bottom: 0.65rem; color: var(--text-muted, #77736c); font-size: 0.76rem; letter-spacing: 0.06em; }
.work-project-visual figcaption { margin-top: 0.75rem; color: var(--text-muted, #6f6a62); font-size: 0.85rem; line-height: 1.5; }
.work-dashboard-abstract {
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: 0.55rem;
  background: #f3f1ec;
}
.dashboard-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.5rem, 1vw, 1rem); min-height: 370px; align-items: stretch; }
.dashboard-flow-stage { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(0.85rem, 1.7vw, 1.35rem); border-top: 2px solid #b8b1a5; background: rgba(255,255,255,0.72); }
.dashboard-flow-stage:nth-child(2) { border-top-color: #71859a; }
.dashboard-flow-stage:nth-child(3) { border-top-color: #b9784f; }
.dashboard-flow-stage span { color: #77736c; font-size: 0.75rem; }
.dashboard-flow-stage strong { max-width: 10ch; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 400; line-height: 1.15; }
.dashboard-flow-stage i { display: block; height: 0.55rem; border-radius: 99px; background: #dedbd4; }
.dashboard-flow-stage i:nth-of-type(2) { width: 78%; }
.dashboard-flow-stage i:nth-of-type(3) { width: 56%; }
@media (max-width: 860px) {
  .work-showcase { grid-template-columns: minmax(0, 1fr); }
  .work-project-list { order: 0; }
  .work-project-panels { order: 1; }
  .work-project-visual > img { aspect-ratio: 1.5 / 1; }
  .dashboard-flow { min-height: 260px; }
}
@media (max-width: 520px) {
  .dashboard-flow { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dashboard-flow-stage { min-height: 150px; }
}

/* ---------- Paytm Flights: simplified wireframes ---------- */
.pf-figure { margin: 1.5rem 0 2.5rem; padding: clamp(1rem, 2.5vw, 1.75rem); background: #f4f1ea; border: 1px solid #e3ddd1; }
.pf-label { margin: 0 0 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6a6359; }
.pf-screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pf-step { min-width: 0; }
.pf-phone {
  --pf-ink: #2b2a27; --pf-mute: #8a8378; --pf-line: #e3ddd1; --pf-fill: #f6f4ef; --pf-accent: #1f5fbf;
  aspect-ratio: 9 / 17; overflow: hidden; background: #fff; border: 1px solid #d6d0c4; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(31, 29, 26, 0.06); font-family: var(--font-body); font-size: 11px; line-height: 1.35; color: var(--pf-ink);
}
.pf-bar { padding: 14px 12px 10px; border-bottom: 1px solid var(--pf-line); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-back { margin-right: 6px; color: var(--pf-mute); }
.pf-body { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; }
.pf-field { display: flex; flex-direction: column; padding: 4px 0 6px; border-bottom: 1px solid var(--pf-line); min-width: 0; }
.pf-field small { color: var(--pf-mute); font-size: 10px; }
.pf-field b { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-field i { font-style: normal; color: var(--pf-mute); font-size: 10px; }
.pf-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
.pf-right { text-align: right; }
.pf-swap { color: var(--pf-accent); font-size: 13px; }
.pf-tabs-inline { display: flex; gap: 12px; color: var(--pf-mute); }
.pf-tabs-inline .is-on { color: var(--pf-ink); font-weight: 600; }
.pf-cta { margin-top: 4px; padding: 9px; border-radius: 6px; background: var(--pf-accent); color: #fff; font-weight: 600; text-align: center; }
.pf-tabs { display: flex; justify-content: space-between; margin-top: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--pf-line); color: var(--pf-mute); }
.pf-tabs .is-on { color: var(--pf-ink); font-weight: 600; box-shadow: 0 7px 0 -5px var(--pf-ink); }
.pf-item { display: flex; flex-direction: column; padding-bottom: 6px; border-bottom: 1px solid var(--pf-line); }
.pf-item span, .pf-card span, .pf-result span { color: var(--pf-mute); font-size: 10px; }
.pf-chips { display: flex; gap: 6px; }
.pf-chips span { white-space: nowrap; padding: 3px 7px; border: 1px solid var(--pf-line); border-radius: 999px; color: var(--pf-mute); }
.pf-result { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px; border: 1px solid var(--pf-line); border-radius: 6px; }
.pf-result div { display: flex; flex-direction: column; min-width: 0; }
.pf-result strong { color: var(--pf-ink); }
.pf-card { display: flex; flex-direction: column; padding: 8px; border-radius: 6px; background: var(--pf-fill); }
.pf-section { margin-top: 4px; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pf-mute); }
.pf-line { display: flex; justify-content: space-between; color: var(--pf-mute); }
.pf-line.is-total { padding-top: 6px; border-top: 1px solid var(--pf-line); color: var(--pf-ink); font-weight: 600; }
.pf-status { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: #e7efe9; color: #1f5135; font-weight: 600; }
.pf-action { padding: 8px; border: 1px solid var(--pf-line); border-radius: 6px; text-align: center; }
.pf-cap { margin: 10px 2px 0; font-size: 0.86rem; line-height: 1.5; color: #4a463f; }
.pf-cap strong { color: #1f1d1a; }
.pf-note { margin-top: 1.25rem; font-size: 0.85rem; font-style: italic; line-height: 1.55; color: #6a6359; }
@media (max-width: 900px) { .pf-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
@media (max-width: 420px) { .pf-screens { grid-template-columns: minmax(0, 1fr); } .pf-phone { max-width: 260px; margin: 0 auto; } }
/* Work-list thumbnail for Paytm Flights: a mini phone wireframe (no screenshot exists) */
.wl-thumb-pf { display: grid; place-items: center; background: #f4f1ea; }
.pf-mini { display: flex; flex-direction: column; gap: 6px; width: 34%; aspect-ratio: 9 / 17; padding: 10% 6%; background: #fff; border: 1px solid #d6d0c4; border-radius: 10px; }
.pf-mini i { height: 7%; border-radius: 2px; background: #ece7dd; }
.pf-mini b { height: 9%; border-radius: 3px; background: #1f5fbf; }
.pf-phone { display: flex; flex-direction: column; }
.pf-body { flex: 1; }
.pf-bottom { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--pf-line); text-align: center; font-weight: 600; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pf-mute); }
.pf-bottom span { padding: 10px 0; }
.pf-bottom span + span { border-left: 1px solid var(--pf-line); }
.pf-timer { padding: 5px 8px; border-radius: 4px; background: #eef3fb; color: var(--pf-accent); font-size: 10px; text-align: center; }
.pf-link { color: var(--pf-accent); font-size: 10.5px; text-align: center; }

/* ---------- athenahealth Website & Knowledge Hub ---------- */
.mk-figure { margin: 2rem 0; }
.mk-figure img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--border, #e5e0d6); }
.mk-figure figcaption { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.5; color: #5a544b; }
.mk-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mk-pair .mk-figure { margin: 0; }
.mk-credit { font-size: 0.85rem; font-style: italic; color: #6a6359; }
@media (max-width: 640px) { .mk-pair { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Paytm Flights: reconstructed hi-fi screens */
.pf-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.pf-shot { margin: 0; min-width: 0; }
.pf-device { padding: 8px; background: #1d1d1f; border-radius: 26px; box-shadow: 0 10px 28px rgba(31, 29, 26, 0.14); }
.pf-device img { display: block; width: 100%; height: auto; border-radius: 18px; }
.pf-shot figcaption { margin-top: 12px; font-size: 0.88rem; line-height: 1.5; color: #4a463f; }
.pf-shot figcaption strong { color: #1f1d1a; }
@media (max-width: 760px) { .pf-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pf-gallery { grid-template-columns: minmax(0, 1fr); } .pf-device { max-width: 280px; margin: 0 auto; } }
.wl-thumb-phone { display: grid; place-items: center; background: #eef1f5; }
.wl-thumb-phone img { width: 38%; height: auto; object-fit: contain; border: 4px solid #1d1d1f; border-radius: 10px; }
.wl-row:hover .wl-thumb-phone img { transform: none; }

/* Paytm Flights: iPhone 6/7/8-style frame (16:9 screen matches 360x640) */
.pf-device {
  position: relative; padding: 15% 5.5%; background: linear-gradient(145deg, #2a2a2d, #141416);
  border-radius: 14% / 7.5%; box-shadow: 0 0 0 1.5px #3a3a3e inset, 0 14px 30px rgba(31, 29, 26, 0.18);
}
.pf-device::before { /* speaker slot */
  content: ""; position: absolute; left: 50%; top: 7.2%; width: 18%; height: 1.1%; transform: translateX(-50%);
  border-radius: 999px; background: #0b0b0c; box-shadow: 0 0 0 1px #3a3a3e;
}
.pf-device::after { /* home button */
  content: ""; position: absolute; left: 50%; bottom: 1.6%; width: 11%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: #1c1c1e; box-shadow: 0 0 0 1.5px #4a4a4f inset;
}
.pf-device img { border-radius: 2px; }

/* Paytm Flights: flow row + annotated close-up */
.pf-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.pf-step-sm { position: relative; min-width: 0; text-align: center; }
.pf-step-sm span { display: block; margin-top: 10px; font-size: 0.8rem; font-weight: 600; color: #4a463f; }
.pf-step-sm + .pf-step-sm::before { content: "→"; position: absolute; left: -14px; top: 38%; color: #8a8378; font-size: 0.9rem; }
.pf-flow .pf-device { border-radius: 14% / 7.5%; }
.pf-closeup { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin: 1.5rem 0 2.5rem; }
.pf-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pf-lead { margin: 0; }
.pf-lead figcaption { margin-top: 10px; text-align: center; font-size: 0.85rem; font-weight: 600; color: #4a463f; }
.pf-screen { position: relative; display: block; }
.pf-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #c2410c; color: #fff; font: 600 0.8rem/1 var(--font-body); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0,0,0,0.25); }
.pf-screen .pf-mark { position: absolute; transform: translate(-50%, -50%); }
.pf-decisions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.pf-decisions li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.55; }
.pf-decisions .pf-mark { box-shadow: none; margin-top: 2px; }
@media (max-width: 900px) {
  .pf-flow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .pf-step-sm { flex: 0 0 34%; scroll-snap-align: start; }
  .pf-closeup { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .pf-step-sm { flex-basis: 56%; } .pf-step-sm + .pf-step-sm::before { display: none; } }
/* Markers sit on the phone's right edge so they never cover screen content */
.pf-screen .pf-mark { width: 24px; height: 24px; font-size: 0.75rem; }
.pf-lead .pf-device { overflow: visible; }

/* Marketplace: before screens side by side, and a before/after table */
.mk-before { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; margin-top: 1.5rem; }
.mk-before .mk-figure { margin: 0; }
.mk-source { margin: 8px 0 0; font-size: 0.8rem; color: #7a736a; }
.mk-compare { width: 100%; margin-top: 1.5rem; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.mk-compare th { text-align: left; padding: 10px 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6a6359; border-bottom: 1px solid #e2e4e7; }
.mk-compare td { padding: 10px 12px; vertical-align: top; border-bottom: 1px solid #eeeae3; }
.mk-compare td:first-child { color: #6a6359; width: 45%; }
@media (max-width: 700px) { .mk-before { grid-template-columns: 1fr; } .mk-compare { font-size: 0.88rem; } .mk-compare th, .mk-compare td { padding: 8px 6px; } }
