/* =====================================================================
     GovernanceWorks mobile library scroll clip — MESH Creative
     Styling taken from governanceworks.com (assets/library2.css):
     paper #f4f0e7, card #fffdf8, line #c8c4bc, brass #a86f36,
     navy #063348 / #0b4056, ink #111923; Gelasio + Arial; square corners.
     Loaded by the MESH Clips plugin. Scaling is handled by assets/mesh-clips.js.
     ===================================================================== */
  .gwmobile{
    --gw-ink:#111923;--gw-ink-2:#1b2732;--gw-navy:#063348;--gw-navy-2:#0b4056;
    --gw-paper:#f4f0e7;--gw-card:#fffdf8;--gw-line:#c8c4bc;--gw-brass:#a86f36;--gw-muted:#66707a;
    --ease:cubic-bezier(.22,.61,.36,1);
    position:absolute;inset:0;border-radius:inherit;overflow:hidden;isolation:isolate;
    background:radial-gradient(60% 55% at 80% 0%,rgba(168,111,54,.30),transparent 70%),linear-gradient(135deg,#0d2533,#081620);}
  .gwmobile *{box-sizing:border-box}
  /* Guard against host-theme styles leaking in (e.g. MESH global.css) */
  .gwmobile,.gwmobile p,.gwmobile h1,.gwmobile h2,.gwmobile h3{text-align:left;text-transform:none;font-style:normal;color:inherit}
  .gwmobile__kicker,.gwmobile__label,.gwmobile__btn{text-transform:uppercase!important}
  .gwmobile__stage{position:absolute;left:0;top:0;width:460px;height:560px;transform-origin:0 0}
  /* ---- Phone frame (MESH presentation layer) ---- */
  .gwmobile__phone{position:absolute;left:115px;top:40px;width:230px;height:480px;border-radius:40px;background:#0b0b0f;padding:9px;
    box-shadow:0 30px 60px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.10)}
  .gwmobile__screen{position:relative;width:212px;height:462px;border-radius:32px;overflow:hidden;background:var(--gw-paper)}
  .gwmobile__notch{position:absolute;z-index:3;left:50%;top:9px;width:64px;height:18px;margin-left:-32px;border-radius:10px;background:#0b0b0f}
  .gwmobile__mvp{position:absolute;left:0;top:0;width:212px;height:462px;overflow:hidden}
  .gwmobile__scrollbar{position:absolute;z-index:3;right:3px;top:40px;width:3px;height:60px;border-radius:2px;background:rgba(17,25,35,.35);opacity:0;transition:opacity .4s}
  .gwmobile.is-scrolling .gwmobile__scrollbar{opacity:1}
  /* ---- GovernanceWorks page styles (shared by both views) ---- */
  .gwmobile__page{background:var(--gw-paper);color:var(--gw-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5;transform-origin:0 0}
  .gwmobile__page--m{width:375px;padding:0 14px 40px;transform:scale(.565333)}
  .gwmobile__wordmark{padding-top:40px;margin:0 0 12px;font:400 30px/1.1 Gelasio,Georgia,"Times New Roman",serif;letter-spacing:-.035em}
  .gwmobile__wordmark em{color:var(--gw-brass);font-weight:400;font-style:italic}
  .gwmobile__h1{max-width:780px;margin:0;font:400 48px/.98 Gelasio,Georgia,"Times New Roman",serif;letter-spacing:-.045em}
  .gwmobile__intro{margin:18px 0 0;color:#4e5963;font-size:15px}
  .gwmobile__search{margin-top:26px;display:flex;align-items:center;background:#fff;border:1px solid var(--gw-line);min-height:54px;
    box-shadow:0 5px 18px rgba(16,25,35,.03);transition:border-color .35s var(--ease),box-shadow .35s var(--ease)}
  .gwmobile__field{flex:1;display:flex;align-items:center;padding:0 18px;font-size:17px;color:var(--gw-ink);white-space:pre;min-width:0;overflow:hidden}
  .gwmobile__q:empty+.gwmobile__ph{display:inline}
  .gwmobile__ph{display:none;color:#757575;font-size:15px;margin-left:-1px;overflow:hidden;text-overflow:ellipsis}
  .gwmobile__caret{width:1.5px;height:20px;background:var(--gw-ink);opacity:0}
  @keyframes gwblink{0%,50%{opacity:1}50.01%,100%{opacity:0}}
  .gwmobile__icon{padding:0 18px;color:var(--gw-muted);font-size:18px}
  .gwmobile__status{min-height:20px;margin:10px 0 0;color:var(--gw-muted);font-size:13px;opacity:0;transition:opacity .3s var(--ease)}
  .gwmobile.is-results .gwmobile__status{opacity:1}

  .gwmobile__kicker{margin:0 0 8px;color:var(--gw-brass);font-size:11px;font-weight:700;letter-spacing:.18em}
  .gwmobile__h2{margin:0 0 22px;font:400 38px/1.02 Gelasio,Georgia,"Times New Roman",serif;letter-spacing:-.035em}
  .gwmobile__decks{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
  .gwmobile__deck{min-height:300px;background:var(--gw-navy);color:#fff;padding:26px;border-top:3px solid var(--gw-brass);box-shadow:0 18px 55px rgba(16,25,35,.08)}
  .gwmobile__deck:nth-child(2){background:var(--gw-navy-2)}.gwmobile__deck:nth-child(3){background:var(--gw-ink-2)}
  .gwmobile__label{display:block;font-size:10px;font-weight:700;letter-spacing:.14em;opacity:.72}
  .gwmobile__deck h3{margin:30px 0 12px;font:400 27px/1.08 Gelasio,Georgia,"Times New Roman",serif;letter-spacing:-.025em;color:#fff}
  .gwmobile__deck p{margin:0 0 22px;font-size:13px;color:rgba(255,255,255,.8)}
  .gwmobile__deck .gwmobile__btn{background:#fff;color:var(--gw-ink);border-color:#fff}
  .gwmobile__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .gwmobile__card{background:var(--gw-card);border:1px solid var(--gw-line);padding:22px;min-height:214px;display:flex;flex-direction:column}
  .gwmobile__card--data{border-top:2px solid var(--gw-brass);min-height:220px}
  .gwmobile__card .gwmobile__label{opacity:1;color:#454d55}
  .gwmobile__card h3{font:400 20px/1.12 Gelasio,Georgia,"Times New Roman",serif;margin:14px 0 8px}
  .gwmobile__card p{font-size:12px;color:var(--gw-muted);margin:0 0 16px}
  .gwmobile__btn{margin-top:auto;align-self:flex-start;min-height:43px;display:inline-flex;align-items:center;padding:0 16px;border:1px solid currentColor;
    font-size:10px;font-weight:700;letter-spacing:.09em}
  .gwmobile__sec{padding:52px 0;border-top:1px solid rgba(17,25,35,.13)}
  .gwmobile__sec--first{border-top:0;padding-top:30px}

  /* Mobile: the site's own ≤700px rules (single column, 14px gutters) */
  .gwmobile__page--m .gwmobile__wordmark{padding-top:62px}
  .gwmobile__page--m .gwmobile__h1{font-size:46px;line-height:.94}
  .gwmobile__page--m .gwmobile__intro{font-size:15px}
  .gwmobile__page--m .gwmobile__search{margin-top:30px;min-height:52px}
  .gwmobile__page--m .gwmobile__field{font-size:14px}
  .gwmobile__page--m .gwmobile__ph{font-size:14px;white-space:nowrap}
  .gwmobile__page--m .gwmobile__h2{font-size:34px}
  .gwmobile__page--m .gwmobile__decks,.gwmobile__page--m .gwmobile__cards{grid-template-columns:1fr}
  .gwmobile__page--m .gwmobile__deck{min-height:280px}
  .gwmobile__page--m .gwmobile__library .gwmobile__kicker{color:var(--gw-muted);font-size:13px;margin-bottom:18px}

  @media (prefers-reduced-motion:reduce){.gwmobile *{transition:none!important;animation:none!important}}
