
html,body.example{height:100%}
body.example{display:grid;grid-template-rows:auto minmax(0,1fr);height:100dvh;overflow:hidden;background:var(--fill)}
.ex-bar{display:flex;align-items:center;gap:8px 24px;padding:12px 24px;border-bottom:1px solid var(--line);background:var(--bg)}
.ex-brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:18px;font-weight:700;line-height:28px;letter-spacing:-.02em;text-decoration:none;white-space:nowrap}
.ex-brand .brand-mark{flex:none;width:22px;height:29px;transform:translateY(-5px)}
.ex-about{flex:1;min-width:0}
.ex-about h1{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;font-size:16px;font-weight:600;line-height:24px}
.ex-about h1 span{color:var(--muted);font-size:14px;font-weight:400;line-height:20px}
.ex-about p{color:var(--muted);font-size:13px;line-height:18px}
.ex-views{display:flex;flex:none;gap:2px;padding:2px;border-radius:12px;background:var(--fill)}
.ex-views a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:10px;color:var(--soft);font-size:14px;font-weight:600;line-height:20px;text-decoration:none;transition:background .3s var(--ease),color .3s var(--ease)}
.ex-views a:hover{color:var(--text)}
.ex-views a[aria-current="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 2px rgba(9,9,11,.12)}
.ex-pager{display:flex;flex:none;align-items:center;gap:4px;color:var(--muted);font-size:14px;line-height:20px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ex-pager a{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line-2);border-radius:12px;color:var(--text);transition:background .3s var(--ease)}
.ex-pager a:hover{background:var(--fill)}
.ex-pager .i{stroke-width:2}
.ex-pager span{min-width:44px;text-align:center}
.ex-actions{display:flex;flex:none;align-items:center;gap:8px}
.ex-actions .btn{min-height:44px;font-size:14px;line-height:20px}
.ex-code{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:12px;color:var(--soft);font-size:14px;font-weight:600;line-height:20px;text-decoration:none;white-space:nowrap}
.ex-code:hover{background:var(--fill);color:var(--text)}
.ex-stage{display:grid;grid-template-rows:minmax(0,1fr);min-height:0;outline:0}
.ex-site{display:block;width:100%;height:100%;border:0;background:#fff}
/* Phone width on a larger screen: the same page in a 390px wide frame, as on the phone screenshots. */
.ex-stage-phone{justify-items:center;padding:24px;overflow:hidden}
.ex-stage-phone .ex-site{width:390px;max-width:100%;max-height:844px;border:1px solid var(--line-2);border-radius:28px;box-shadow:var(--shadow)}
@media (max-width:1279px){
  .ex-bar{flex-wrap:wrap;padding:12px 16px}
  .ex-about{order:5;flex:1 1 100%}
  .ex-actions{margin-left:auto}
}
@media (max-width:767px){
  /* A phone already shows the phone width, so the switch goes and the frame always fills the screen. */
  .ex-views{display:none}
  .ex-bar{gap:8px 12px;padding:8px 12px}
  .ex-brand{justify-content:center;min-width:44px}
  .ex-brand span,.ex-about p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .ex-about{order:0;flex:1 1 0}
  .ex-about h1{display:block;font-size:14px;line-height:18px}
  .ex-about h1 span{display:block;font-size:12px;line-height:16px}
  .ex-actions{order:6;flex:1 1 100%;margin-left:0}
  .ex-actions .btn{flex:1;white-space:normal;text-align:center}
  .ex-stage-phone{padding:0}
  .ex-stage-phone .ex-site{width:100%;max-height:none;border:0;border-radius:0;box-shadow:none}
}
@media (max-width:399px){.ex-pager span{display:none}}
