/* Real-sample hero (2026-11-28, _build/sample-viewer-2026-11/build.py).
   Solutions, sample and example pages: 2 columns, the copy on the left and a viewer of a real
   Medrecords AI sample on the right (tabs, page flip, click to read every page full size).
   Driven by /scripts/sample-viewer.js; the first page is in the HTML, so it paints without JS. */
.sv-hero{position:relative;background:#fff;border-bottom:1px solid #e4e7e4;overflow:hidden}
.sv-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(55% 60% at 88% 8%,rgba(31,92,69,.08),rgba(31,92,69,0) 70%),radial-gradient(40% 40% at 0% 100%,rgba(31,92,69,.04),rgba(31,92,69,0) 70%)}
/* the facelift pads any section right after the inline nav by 72px (html[data-fl-m=sell] nav[data-nav-v]+section) */
html[data-fl-m] nav[data-nav-v]+section.sv-hero:not(.vs-sec):not(.pr-hero){padding-top:0!important}
.sv-hero-in{position:relative;max-width:1180px;margin:0 auto;padding:38px 32px 64px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);gap:56px;align-items:start}
.sv-hero-l{min-width:0;padding-top:4px}
.sv-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;line-height:1.4;color:#66706b;margin:0 0 24px}
.sv-crumb a{color:#66706b;text-decoration:none}
.sv-crumb a:hover{color:#1f5c45;text-decoration:underline;text-underline-offset:3px}
.sv-crumb [aria-current]{color:#262c29}
html[data-fl] .sv-hero h1,.sv-hero h1{font-family:Newsreader,"Newsreader Fallback","Newsreader Fallback A",Georgia,serif;font-size:clamp(38px,1.5rem + 2.2vw,56px)!important;line-height:1.04!important;font-weight:600;letter-spacing:-.024em;color:#101412;margin:0 0 18px!important;text-wrap:balance;max-width:none!important}
.sv-hero .h1-deck{margin:0 0 18px!important;max-width:560px}
.sv-hero .sv-lede{font-size:19px!important;line-height:1.6!important;color:#3f4743!important;margin:0 0 18px!important;max-width:560px;text-wrap:pretty}
.sv-hero .case-meta{margin:0 0 20px}
.sv-hero .sv-note{font-size:15px;line-height:1.55;color:#3f4743;margin:0 0 16px;max-width:560px;padding:2px 0 2px 14px;border-left:2px solid #cfe0d6}
.sv-hero .sv-note a{color:#1f5c45;font-weight:600}
.sv-ctas{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 18px}
.sv-btn{display:inline-flex;align-items:center;gap:9px;padding:14px 22px;border-radius:12px;font-size:17px;font-weight:600;line-height:1.2;text-decoration:none!important;border:1px solid transparent;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.sv-btn svg{transition:transform .2s}
.sv-btn:hover svg{transform:translateX(3px)}
.sv-btn.ink{background:#101412;color:#fff!important;border-color:#101412}
.sv-btn.ink:hover{background:#1f5c45;border-color:#1f5c45;box-shadow:0 10px 24px -12px rgba(31,92,69,.6)}
.sv-btn.w{background:#fff;color:#101412!important;border-color:#cfd5d1}
.sv-btn.w:hover{border-color:#1f5c45;color:#1f5c45!important}
.sv-sec{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 9px;padding:7px 13px;border:1px solid #e4e7e4;border-radius:999px;background:rgba(255,255,255,.8);font-size:14px;font-weight:600;color:#3f4743;text-decoration:none!important;margin:0 0 22px}
.sv-sec:hover{border-color:#b9cfc2}
[data-sv=hub] .sv-sec,[data-sv=example] .sv-sec{font-size:13px;padding:6px 11px;gap:6px 7px}
.sv-sec i{width:3px;height:3px;border-radius:50%;background:#9aa39e}
.sv-by .author-byline{margin:0!important}
/* help (p.h-meta) and report (div.meta) bylines left their old containers: give them the author-byline look */
.sv-by .meta,.sv-by .h-meta,.sv-by .byline,.sv-by .bs-byline{margin:0!important;font-size:15px;line-height:1.5;color:#57605b}
.sv-by .meta a:not([data-ask-ai]),.sv-by .h-meta a,.sv-by .byline a,.sv-by .bs-byline a{color:#1f5c45;font-weight:600}
/* guide mastheads: "Field guide, October 2026. 14 chapters." above the title */
.sv-hero .sv-eyebrow{font-size:14px;font-weight:600;letter-spacing:.01em;color:#1f5c45;margin:0 0 10px}
/* card */
.sv-hero-r{min-width:0;position:relative}
.sv-card{position:relative;background:#fff;border:1px solid #e1e5e2;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(16,20,18,.04),0 28px 64px -30px rgba(16,20,18,.32)}
.sv-top{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #eef0ee}
.sv-ico{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#eef5f1;color:#1f5c45}
.sv-tt{flex:1;min-width:0}
.sv-tt b{display:block;font-family:Newsreader,"Newsreader Fallback","Newsreader Fallback A",Georgia,serif;font-size:19px;font-weight:600;color:#101412;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-sub{display:block;font-size:14px;color:#66706b;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-badge{flex:none;display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;background:#eef5f1;border:1px solid #d3e6db;color:#1f5c45;font-size:13px;font-weight:650}
.sv-badge i{width:7px;height:7px;border-radius:50%;background:#2f8a62;box-shadow:0 0 0 3px rgba(47,138,98,.18)}
.sv-rail{display:flex;gap:6px;padding:10px 16px;border-bottom:1px solid #eef0ee;overflow-x:auto;scrollbar-width:none}
.sv-rail::-webkit-scrollbar{display:none}
.sv-tab{flex:none;font:inherit;font-size:14px;font-weight:600;line-height:1.2;color:#3f4743;background:#fff;border:1px solid #e1e5e2;border-radius:999px;padding:8px 13px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.sv-tab:hover{border-color:#1f5c45;color:#1f5c45}
.sv-tab[aria-selected="true"]{background:#101412;border-color:#101412;color:#fff}
.sv-tab:focus-visible,.sv-pg:focus-visible,.sv-paper:focus-visible{outline:2px solid #1f5c45;outline-offset:2px}
.sv-stage{position:relative;height:500px;padding:18px 18px 0;background:#f2f3f1;overflow:hidden}
.sv-stage::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(16,20,18,.06) 1px,transparent 1px);background-size:14px 14px;pointer-events:none}
.sv-paper{position:relative;display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:6px 6px 0 0;background:#fff;overflow:hidden;cursor:zoom-in;text-align:left;box-shadow:0 1px 3px rgba(16,20,18,.10),0 14px 34px -14px rgba(16,20,18,.30)}
.sv-paper img{display:block;max-width:none;height:auto;transition:opacity .28s ease,transform .45s cubic-bezier(.16,1,.3,1)}
.sv-paper.is-swap img{opacity:0;transform:translateY(8px)}
.sv-paper::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(rgba(255,255,255,0),#fff 85%);pointer-events:none}
.sv-zh{position:absolute;left:50%;bottom:16px;z-index:2;transform:translateX(-50%);display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:#101412;color:#fff;font-size:14px;font-weight:600;white-space:nowrap;box-shadow:0 10px 24px -10px rgba(16,20,18,.5);transition:background .2s,transform .2s}
.sv-paper:hover .sv-zh{background:#1f5c45;transform:translateX(-50%) translateY(-2px)}
.sv-scan{position:absolute;left:0;right:0;top:-80px;height:80px;z-index:1;pointer-events:none;background:linear-gradient(rgba(47,138,98,0),rgba(47,138,98,.10),rgba(47,138,98,0))}
.sv-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 16px;border-top:1px solid #eef0ee;background:#fff}
.sv-pager{display:inline-flex;align-items:center;gap:8px}
.sv-pg{width:32px;height:32px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid #e1e5e2;background:#fff;color:#101412;cursor:pointer;font:inherit}
.sv-pg:hover:not(:disabled){border-color:#1f5c45;color:#1f5c45}
.sv-pg:disabled{opacity:.35;cursor:default}
.sv-pl{font-size:14px;font-variant-numeric:tabular-nums;color:#3f4743;min-width:86px;text-align:center}
.sv-pdf{font-size:14px;font-weight:600;color:#3f4743;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.sv-pdf:hover{color:#1f5c45}
.sv-open{margin-left:auto;font-size:15px;font-weight:650;color:#1f5c45;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.sv-open:hover{text-decoration:underline;text-underline-offset:3px}
.sv-cap{font-size:14px;line-height:1.5;color:#66706b;margin:12px 2px 0}
/* full-size reader */
.sv-zoom{width:min(1060px,96vw);height:min(94vh,1400px);max-width:none;max-height:none;padding:0;border:0;border-radius:14px;background:#e9ebe8;overflow:hidden;box-shadow:0 40px 100px -20px rgba(0,0,0,.5)}
.sv-zoom::backdrop{background:rgba(16,20,18,.62);backdrop-filter:blur(2px)}
.sv-zoom[open]{display:flex;flex-direction:column}
.sv-zbar{flex:none;display:flex;align-items:center;gap:14px;padding:12px 16px;background:#fff;border-bottom:1px solid #e1e5e2}
.sv-zbar b{font-family:Newsreader,"Newsreader Fallback","Newsreader Fallback A",Georgia,serif;font-size:19px;font-weight:600;color:#101412;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-zbar span{font-size:14px;color:#66706b;white-space:nowrap}
.sv-zbar a{font-size:14px;font-weight:600;color:#1f5c45;text-decoration:none;white-space:nowrap}
.sv-zx{width:36px;height:36px;border-radius:50%;border:1px solid #e1e5e2;background:#fff;cursor:pointer;display:grid;place-items:center;color:#101412;font:inherit;padding:0}
.sv-zx:hover{border-color:#101412}
.sv-zpages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;align-items:center;gap:18px;overscroll-behavior:contain}
.sv-zpages img{display:block;width:100%;max-width:1000px;height:auto;background:#fff;box-shadow:0 2px 10px rgba(16,20,18,.14)}
/* sample pages: the thumbnail aside moved into the hero */
.sv-on .detail-wrap{grid-template-columns:minmax(0,1fr)!important}
/* motion */
@media (prefers-reduced-motion:no-preference){
  .sv-hero-r{animation:svUp .8s cubic-bezier(.16,1,.3,1) .1s both}
  .sv-card.sv-run .sv-scan{animation:svScan 2.4s cubic-bezier(.4,0,.2,1) .5s 1 both}
  .sv-badge i{animation:svPulse 2.6s ease-in-out infinite}
}
@keyframes svUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes svScan{from{top:-80px}to{top:110%}}
@keyframes svPulse{0%,100%{box-shadow:0 0 0 3px rgba(47,138,98,.18)}50%{box-shadow:0 0 0 6px rgba(47,138,98,.05)}}
/* tablet and phone: 1 column, the sample right after the headline */
@media (max-width:1023px){
  .sv-hero-in{grid-template-columns:minmax(0,1fr);gap:0;padding:28px 24px 48px}
  .sv-hero-l{display:contents}
  .sv-crumb,.sv-hero .sv-eyebrow{order:1}.sv-hero h1{order:2}.sv-hero .h1-deck{order:3}
  .sv-hero-r{order:4;margin:6px 0 26px}
  .sv-hero .sv-lede,.sv-hero .case-meta,.sv-hero .sv-note{order:5}.sv-ctas{order:6}.sv-sec{order:7}.sv-by{order:8}
  .sv-hero .h1-deck,.sv-hero .sv-lede{max-width:none}
  .sv-stage{height:440px}
}
@media (max-width:600px){
  .sv-hero-in{padding:22px 18px 40px}
  .sv-stage{height:380px;padding:12px 12px 0}
  .sv-top{padding:12px 12px}
  .sv-rail{padding:9px 12px}
  .sv-bar{padding:10px 12px}
  .sv-open{margin-left:0;width:100%}
  .sv-btn{flex:1 1 100%;justify-content:center}
  .sv-sec{font-size:13px;gap:4px 12px;border-radius:14px}
  .sv-sec i{display:none}
  .sv-badge{display:none}
  .sv-zoom{width:100vw;height:100dvh;border-radius:0}
  .sv-zpages{padding:10px;gap:10px}
  .sv-zbar span{display:none}
}
