body{font:18px/1.6 system-ui,sans-serif;color:#193344;background:#fbfcfd;margin:0}header,main,footer{max-width:940px;margin:auto;padding:24px}header{display:flex;gap:14px;align-items:center;border-bottom:1px solid #d0dbe2}h1{font-size:36px;line-height:1.15}h2{font-size:24px;line-height:1.3}a{color:#165b9a}pre{white-space:pre-wrap;background:#edf1f4;padding:16px;border-radius:8px}.warning{padding:16px 20px;background:#fff2da;border-left:5px solid #a55700;font-weight:600}.quiet{color:#536773;font-size:15px}.button{display:inline-block;padding:10px 16px;border:1px solid #9db9cc;border-radius:6px;background:#e6eff5;color:#174d72;text-decoration:none;margin:6px 12px 6px 0}.history{border-top:1px solid #ccd8df;margin-top:28px;padding-top:16px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.card{padding:20px;border:1px solid #ccd8df;border-radius:10px;background:white}.pending{color:#805300}.hero{display:grid;grid-template-columns:1fr 1fr;gap:30px}@media(max-width:650px){.hero{grid-template-columns:1fr}h1{font-size:30px}}
/* Selection and popup walkthrough */
.hinter-steps{padding-left:1.45em;margin:1.25rem 0;font-size:1.05rem}
.hinter-steps li+li{margin-top:.8rem}
.hinter-steps li::marker{font-weight:700;color:#165b9a}
.hinter-steps strong{font-size:1.19rem}
.hinter-steps p{margin:.16rem 0 0}
.hinter-visual{min-width:0;align-self:start}
.hinter-visual .hint,.hinter-visual .card{margin:0}
.selection-strip{display:flex;align-items:center;gap:.8rem;margin:0 0 .65rem;padding:.7rem .85rem;
  border:1px solid #cbd9e3;border-radius:8px;background:#eef5fa}
.selection-strip span{color:#405969;font-size:.9rem}
.selection-strip code{display:inline;padding:.04rem .17rem;background:#aed8f6;color:#132f42;
  font:1.05rem ui-monospace,monospace;border-radius:2px;cursor:text;user-select:text}
.selection-strip code::selection{background:#8bc5ef;color:#092333}
.selection-strip code:focus-visible,.selection-help:focus-visible,.family-menu a:focus-visible{
  outline:2px solid #165b9a;outline-offset:3px}
.selection-help,.family-menu{position:relative;display:inline-block}
.selection-help{cursor:help;text-decoration:underline dotted;text-underline-offset:.18em}
.selection-help [role=tooltip],.family-menu ul{display:none;position:absolute;z-index:5;
  inset-inline-start:0;top:100%;margin:0;padding:.65rem .8rem;background:#fff;color:#193344;
  border:1px solid #aabfcd;border-radius:7px;box-shadow:0 5px 18px #14273524;
  font:400 .9rem/1.55 system-ui,sans-serif}
.selection-help [role=tooltip]{width:min(15rem,65vw)}
.family-menu ul{min-width:max-content;list-style:none}
.selection-help:hover [role=tooltip],.selection-help:focus [role=tooltip],
.family-menu:hover ul,.family-menu:focus-within ul{display:block}
.family-menu>a{font-weight:700}
.hinter-reference-links{display:flex;gap:.4rem 1rem;flex-wrap:wrap}
.hinter-manual-intro{margin:0 0 1.7rem;align-items:start}

.hinter-subhead{color:#a44800;font-size:clamp(1.7rem,3.4vw,2.45rem);font-weight:750;line-height:1.16;margin:.35rem 0 1.1rem;text-wrap:balance}
.hinter-example-heading{font-size:1rem;line-height:1.35;margin:0 0 .45rem}

.hinter-more-note{margin-top:1rem}
.hinter-context-label{white-space:nowrap;font-size:1.13em}
.hinter-more-close{display:block;margin-top:.3rem}
.hinter-more-preview,.more-link>a{display:inline-block;padding:.12em .42em;border:1px solid #d79a68;
  border-radius:5px;color:#913e00;background:#fff1e4;font-weight:650}
.more-link>a{padding:.2em .5em;text-decoration-color:#b26831;text-underline-offset:.14em}
.more-link>a:hover,.more-link>a:focus-visible{background:#ffe4cb;color:#743000}
.more-link{position:relative}
.more-link [role=tooltip]{display:none;position:absolute;z-index:5;bottom:calc(100% + .2rem);
  inset-inline-start:0;width:min(13rem,65vw);padding:.55rem .7rem;background:#fff;color:#193344;
  border:1px solid #aabfcd;border-radius:7px;box-shadow:0 5px 18px #14273524;
  font:400 .9rem/1.45 system-ui,sans-serif}
.more-link:nth-child(n+2) [role=tooltip]{inset-inline-start:auto;inset-inline-end:0}
.more-link:hover [role=tooltip],.more-link:focus-within [role=tooltip]{display:block}

.hero:has(.hinter-more-close){position:relative}
.hinter-more-arrow{position:absolute;inset:0;pointer-events:none;color:#a44800}
.hinter-more-arrow span{position:absolute;display:block;background:currentColor;border-radius:1px}
.hinter-more-arrow .arrow-tip::after{content:"";position:absolute;right:0;top:50%;width:8px;height:8px;
  border-top:2px solid currentColor;border-right:2px solid currentColor;
  transform:translateY(-50%) rotate(45deg);box-sizing:border-box}

.quality-control{border:1px solid #ccd8df;border-radius:10px;margin:1.5rem 0;padding:.85rem 1rem}
.quality-control summary{color:#174d72;cursor:pointer;font-size:1.25rem;font-weight:700}
.quality-control summary:focus-visible{outline:2px solid #165b9a;outline-offset:3px}
.quality-control table{border-collapse:collapse;width:100%;font-size:1rem}
.quality-control th,.quality-control td{border-bottom:1px solid #d0dbe2;padding:.45rem;text-align:left;vertical-align:top}
.quality-control thead th{font-size:.875rem}
.quality-control tbody td:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}

.python-title-link{color:#a44800}

/* Multi-language site and working hint preview */
.family-site-header {
  max-width: 1120px;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding-block: .85rem;
}
.family-title { margin: 0; }
.family-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #165b9a;
  font-size: clamp(1.8rem, 3.1vw, 2.2rem);
  line-height: 1.15;
  font-weight: 750;
  text-decoration: none;
}
.family-languages { flex: 1 1 40rem; }
.family-languages ul {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.family-languages a {
  display: block;
  padding: .17rem .32rem;
  border: 1px solid #b9cdda;
  background: #edf4f9;
  border-radius: 4px;
  color: #165b9a;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.family-brand:hover, .family-languages a:hover { text-decoration: underline; }
.family-languages a:hover, .family-languages a:focus-visible { background: #e6eff5; }
.history a[href^="mailto:"] { overflow-wrap: anywhere; }
.demo-instructions { margin: 0 0 .65rem; }
.demo-term {
  border: 1px solid #aabfcd;
  border-radius: 3px;
  background: #fff;
  color: #132f42;
  font: 1.05rem ui-monospace, monospace;
  padding: .15rem .32rem;
  cursor: pointer;
}
.demo-term[aria-pressed="true"] { background: #aed8f6; border-color: #76a8cc; }
.demo-popup.card {
  padding: 16px;
  background: #fbfcfd;
  border-color: #aabfcd;
  border-radius: 12px;
  box-shadow: 0 6px 24px #16283820;
  font-size: 1rem;
  line-height: 1.45;
}
.family-preview-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}
.family-preview-header strong {
  color: #165b9a;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.15;
}
.family-subhead { margin: .35rem 0 1rem; font-size: 1.2rem; font-weight: 650; }
.demo-popup { position: relative; }
.demo-popup-actions { position: absolute; top: .6rem; right: .65rem; }
.demo-language {
  flex: 1 1 10rem;
  min-width: 8rem;
  max-width: 16rem;
  padding: .3rem .45rem;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  color: inherit;
}
@media (max-width: 520px) {
  .family-preview-header { gap: .45rem; }
  .family-preview-header img { width: 32px; height: 32px; }
  .family-preview-header strong { font-size: 1.45rem; }
  .family-preview-header .demo-language { flex-basis: 6.5rem; min-width: 6.5rem; font-size: 1.05rem; }
}
.demo-close {
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .15rem .35rem;
}
.demo-heading { margin: .95rem 0 .45rem; font-size: 1.22rem; }
.demo-description { margin: 0 0 .55rem; }
.demo-popup pre { margin: .75rem 0; padding: .65rem; overflow-wrap: anywhere; }
.demo-popup-footer {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1rem;
  color: #536773;
  font-size: .85rem;
}

/* Additional language catalogs */
.catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.catalog-grid .card {
  display: flex;
  flex-direction: column;
  background: #eaf3fa;
  border-color: #afc8db;
}
.catalog-grid h3 {
  margin: 0 0 .55rem;
  font-size: 1.45rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.catalog-grid h3 a {
  display: block;
  padding: .26rem .38rem;
  border-radius: 4px;
  background: #fff2b3;
  color: #153c59;
  text-underline-offset: .16em;
}
.catalog-grid h3 a:hover, .catalog-grid h3 a:focus-visible { background: #ffe78a; }
.catalog-grid .card > p {
  margin: 0 0 .85rem;
  line-height: 1.45;
}
.catalog-grid .card > .catalog-links {
  margin-top: auto;
  margin-bottom: 0;
  align-self: flex-start;
}
