/* Company pages: product, security, trust, AI, accessibility, about, updates, sitemap and the 404.
   Same frame as the Help Center: a soft hero band, a sticky section index and cards with the ERP's icons. */
/* Shared by every page: icons from fragments/help :: icon and visually hidden labels. */
.hc-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.hc-svg { width:20px; height:20px; flex:none; }

/* Help Center pages (contact, topics, search) use the document styles too. */
:is(.oean-page, .help-center) { --pg-line:#e4e4e1; --pg-soft:#f5f5f3; --pg-quiet:#6b6b6b; --pg-body:#2b2b2b; }
/* Sizes follow Apple's Human Interface Guidelines as its own web pages apply them: a 980px container,
   a 17px body on a 25px line, and each role one size, with hierarchy carried by size and weight rather
   than capitals or colour. Phones step down to the iOS text styles. */
:is(.oean-page, .help-center) { --gutter:max(24px, calc((100% - 980px) / 2)); --type-display:56px; --type-title:48px; --type-lede:28px; --type-heading:32px; --type-subheading:24px; --type-item:20px; --type-body:17px; --type-small:15px; --type-caption:13px; }
@media (max-width:734px) { :is(.oean-page, .help-center) { --gutter:20px; --type-display:40px; --type-title:34px; --type-lede:21px; --type-heading:28px; --type-subheading:22px; --type-item:19px; } }
.oean-page main { padding-bottom:96px; }
.oean-page h1, .oean-page h2, .oean-page h3 { letter-spacing:-.03em; }

/* Hero band */
.pg-hero { margin:22px var(--gutter) 0; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:40px; padding:64px 56px; background:var(--pg-soft); border-radius:16px; overflow:hidden; }
.pg-hero-split { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:0 0 0 56px; min-height:440px; }
.pg-hero-copy { max-width:640px; }
.pg-hero-split .pg-hero-copy { padding:56px 0; }
.pg-hero h1 { margin:0; font-size:var(--type-display); line-height:1.07; font-weight:700; letter-spacing:-.02em; }
.pg-lede { margin:20px 0 0; max-width:30ch; font-size:var(--type-lede); line-height:1.18; color:#4d4d4d; }
.pg-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.pg-button { display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 22px; border:1px solid #d6d6d3; border-radius:999px; background:#fff; font-size:15px; font-weight:500; white-space:nowrap; }
.pg-button:hover { border-color:#141414; }
.pg-button-dark { background:#141414; border-color:#141414; color:#fff; }
.pg-button-dark:hover { background:#3a3a3a; border-color:#3a3a3a; }
.pg-button .hc-svg { width:18px; height:18px; }
.pg-hero-art { margin:0; height:100%; min-height:440px; }
.pg-hero-art img { display:block; width:100%; height:100%; object-fit:cover; }

/* Sections */
.pg-section { padding:40px 0; border-top:1px solid var(--pg-line); scroll-margin-top:24px; }
.pg-section:first-child { padding-top:0; border-top:0; }
.pg-section > h2, .pg-wide h2 { margin:0; font-size:var(--type-heading); line-height:1.125; font-weight:700; letter-spacing:-.015em; }
.pg-section > h2 + * { margin-top:14px; }
.pg-icon { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:12px; background:#141414; color:#fff; flex:none; }
.pg-icon .hc-svg { width:22px; height:22px; }
.pg-icon-soft { background:#efefec; color:#141414; }
.pg-section > p, .pg-text { margin:12px 0 0; font-size:var(--type-body); line-height:1.47; color:var(--pg-body); }
.pg-section a:not(.pg-more):not(.pg-card):not(.pg-button), .pg-text a, .pg-note a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.pg-section > p, .pg-checks li, .pg-card p, .pg-table td, .pg-note-card li { overflow-wrap:anywhere; }
.pg-more { display:inline-flex; align-items:center; gap:8px; margin-top:18px; font-size:15px; font-weight:500; }
.pg-more .hc-svg { width:16px; height:16px; transition:transform .2s; }
.pg-more:hover .hc-svg { transform:translateX(3px); }
.pg-checks { margin:14px 0 0; padding-left:1.25em; }
.pg-checks li { font-size:var(--type-body); line-height:1.47; color:var(--pg-body); }
.pg-checks li + li { margin-top:8px; }
.pg-checks li::marker, .pg-section > ul:not([class]) li::marker { color:#8a8a87; }

/* Cards */
.pg-cards { list-style:none; margin:20px 0 0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.pg-cards-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.pg-cards-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.pg-card { display:flex; flex-direction:column; gap:12px; height:100%; padding:24px; border:1px solid var(--pg-line); border-radius:14px; background:#fff; transition:border-color .15s, box-shadow .15s; }
a.pg-card:hover { border-color:#141414; box-shadow:0 8px 24px #0000000f; }
.pg-card h3 { margin:0; font-size:var(--type-item); line-height:1.17; font-weight:600; letter-spacing:-.01em; }
.pg-card p { margin:0; font-size:var(--type-small); line-height:1.5; color:#4d4d4d; }
.pg-card .pg-icon { width:44px; height:44px; }
.pg-card .pg-icon .hc-svg { width:20px; height:20px; }

/* Response times and other short figures */
.pg-stats { list-style:none; margin:20px 0 0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.pg-stats li { padding:18px 20px; border-radius:12px; background:var(--pg-soft); }
.pg-stats strong { display:block; font-size:21px; font-weight:500; letter-spacing:-.03em; line-height:1.15; }
.pg-stats span { display:block; margin-top:6px; font-size:14px; line-height:1.45; color:#5a5a5a; }

/* Callouts and notes */
.pg-callout { margin-top:20px; padding:20px 24px; border-radius:14px; background:var(--pg-soft); }
.pg-callout p { margin:0; font-size:16px; line-height:1.6; color:var(--pg-body); }
.pg-callout h3 { margin:2px 0 6px; font-size:17px; }
.pg-note { margin:16px 0 0; font-size:var(--type-small); line-height:1.5; color:#4d4d4d; }

/* Tables */
/* Tables and ruled lists share one look: thin rules, the name in the first column, a plain header row. */
.pg-table-wrap { margin-top:16px; overflow-x:auto; }
.pg-table { width:100%; border-collapse:collapse; font-size:var(--type-small); }
.pg-table th, .pg-table td { padding:12px 16px 12px 0; text-align:left; vertical-align:top; border-bottom:1px solid var(--pg-line); line-height:1.5; }
.pg-table :is(th, td):last-child { padding-right:0; }
.pg-table thead th { padding-top:0; font-weight:600; color:#141414; border-bottom-color:#141414; }
.pg-table tbody th { width:38%; font-weight:500; color:#141414; }
.pg-table td { color:#4d4d4d; }
.pg-table-3 tbody th { width:22%; }
.pg-table-3 td:last-child { width:32%; }
/* A three-column table whose last column carries the long text. */
.pg-table-wide-last td:not(:last-child) { width:26%; }
.pg-table-wide-last td:last-child { width:auto; }
/* The SASB index: metrics grouped under their topic, the code in its own narrow column. */
.pg-index tbody th { width:auto; }
.pg-index td:first-of-type { width:15%; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pg-index td:last-of-type { width:30%; }
.pg-index .pg-index-topic th { padding-top:28px; font-weight:600; color:#141414; border-bottom-color:#c9c9c6; }
.pg-index tbody:first-of-type .pg-index-topic th { padding-top:12px; }
/* Measured figures: numbers right-aligned in even-width digits, so the columns compare at a glance. */
.pg-figures tbody th { width:auto; }
.pg-figures :is(thead th, td):not(:first-child) { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
/* Cards inside a document section keep card headings, not the section's subheadings. */
.pg-section .pg-card h3 { margin:0; font-size:var(--type-item); line-height:1.17; }

/* Full-width bands inside a page */
.pg-wide { margin:80px 0 0; padding:0 var(--gutter); }
.pg-wide-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.pg-wide-head p { margin:8px 0 0; font-size:var(--type-body); color:#4d4d4d; }
.pg-modules { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.pg-flows { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.pg-flow { display:block; overflow:hidden; border-radius:16px; background:var(--pg-soft); }
.pg-flow img { display:block; width:100%; height:300px; object-fit:cover; object-position:center 25%; transition:transform .4s cubic-bezier(.16,1,.3,1); }
.pg-flow:hover img { transform:scale(1.02); }
.pg-flow div { padding:26px 28px 30px; }
.pg-flow h3 { margin:0 0 10px; font-size:var(--type-item); line-height:1.17; font-weight:600; letter-spacing:-.01em; }
.pg-flow p { margin:0; font-size:var(--type-small); line-height:1.5; color:#4d4d4d; }
.pg-flow .pg-more { margin-top:16px; }
.pg-pair { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.pg-panel { padding:32px; border-radius:16px; background:var(--pg-soft); }
.pg-panel h3 { margin:0 0 10px; font-size:var(--type-item); line-height:1.17; font-weight:600; letter-spacing:-.01em; }
.pg-panel p { margin:0; font-size:var(--type-small); line-height:1.5; color:#4d4d4d; }
.pg-dark { padding:56px; border-radius:16px; background:#141414; color:#fff; }
.pg-dark h2 { color:#fff; }
.pg-dark p { color:#c4c4c4; }

/* Contact support */
.pg-button[hidden] { display:none; }
.pg-hero .hc-search-contact { margin:28px 0 0; max-width:560px; min-height:56px; box-shadow:none; }
/* Contact support: the address, set large so it can be read and copied. */
.ct-email, .pg-section > .ct-email { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:4px 0 16px; font-size:24px; font-weight:500; letter-spacing:-.02em; line-height:1.3; overflow-wrap:anywhere; }
.ct-email a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.ct-copy { min-height:36px; padding:0 14px; border:1px solid #d6d6d3; border-radius:999px; background:#fff; color:#141414; font-size:14px; font-weight:500; letter-spacing:0; cursor:pointer; }
.ct-copy:hover { border-color:#141414; }
.ct-copy[hidden] { display:none; }

/* Legal pages: a dated hero, summary cards, tables and numbered steps. */
.pg-updated { margin:18px 0 0; font-size:14px; line-height:1.5; color:var(--pg-quiet); }
.pg-section h3 { margin:32px 0 8px; font-size:var(--type-subheading); line-height:1.17; font-weight:600; letter-spacing:-.01em; }
.pg-section > ul:not([class]) { margin:12px 0 0; padding-left:1.25em; font-size:var(--type-body); line-height:1.47; color:var(--pg-body); }
.pg-section > ul:not([class]) li + li { margin-top:6px; }
.pg-steps { list-style:none; counter-reset:step; margin:20px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.pg-steps li { counter-increment:step; padding:20px; border-radius:12px; background:var(--pg-soft); font-size:15px; line-height:1.55; color:#3d3d3d; }
.pg-steps li::before { content:counter(step); display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; margin-bottom:12px; border-radius:50%; background:#141414; color:#fff; font-size:14px; font-weight:600; }
.pg-steps strong { display:block; margin-bottom:4px; font-size:16px; font-weight:500; color:#141414; }
.pg-card code, .pg-table code { padding:1px 5px; border-radius:4px; background:#f1f1ef; font-size:.9em; }
@media (max-width:700px) { .pg-steps { grid-template-columns:1fr; } }

/* Release notes */
.pg-month { scroll-margin-top:24px; }
.pg-month + .pg-month { margin-top:48px; }
.pg-month h2 { margin:0 0 16px; font-size:26px; }
.pg-notes { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.pg-note-card { padding:22px 24px; border:1px solid var(--pg-line); border-radius:14px; scroll-margin-top:24px; }
.pg-note-card:target { border-color:#141414; box-shadow:0 0 0 3px #1414141a; }
.pg-note-meta { display:flex; align-items:center; gap:10px; margin:0; font-size:13px; color:var(--pg-quiet); }
.pg-tag { display:inline-flex; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:500; background:#efefec; color:#141414; }
.pg-tag-feature { background:#141414; color:#fff; }
.pg-note-card h3 { margin:10px 0 8px; font-size:18px; line-height:1.35; letter-spacing:-.015em; }
.pg-note-card ul { margin:0; padding-left:1.2em; }
.pg-note-card li { margin:5px 0; font-size:15px; line-height:1.6; color:#4d4d4d; }
.pg-note-card code, .pg-text code { padding:1px 6px; border-radius:5px; background:#f1f1ef; font-size:.88em; }

/* Sitemap */
.pg-sitemap { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.pg-sitemap > li { padding:24px; border:1px solid var(--pg-line); border-radius:14px; }
.pg-sitemap h2 { display:flex; align-items:center; gap:10px; margin:0 0 12px; font-size:18px; letter-spacing:-.015em; }
.pg-sitemap h2 .hc-svg { width:18px; height:18px; }
.pg-sitemap ul { list-style:none; margin:0; padding:0; }
.pg-sitemap ul a { display:inline-flex; min-height:32px; align-items:center; font-size:15px; color:#3d3d3d; }
.pg-sitemap ul a:hover { color:#141414; text-decoration:underline; text-underline-offset:3px; }

/* Not found */
.pg-lost { margin:22px var(--gutter) 0; padding:88px 24px; text-align:center; background:var(--pg-soft); border-radius:16px; }
.pg-lost h1 { margin:0; font-size:clamp(40px,5vw,64px); letter-spacing:-.045em; line-height:1.05; }
.pg-lost .pg-lede { margin:18px auto 30px; }
.pg-lost .hc-search { margin:0 auto; }
.pg-lost .pg-cards { max-width:900px; margin:40px auto 0; text-align:left; }

@media (max-width:1000px) {
  .pg-hero-split { grid-template-columns:1fr; padding:0; }
  .pg-hero-split .pg-hero-copy { padding:48px 40px 0; }
  .pg-hero-art { min-height:0; height:300px; }
  .pg-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pg-modules, .pg-cards-3, .pg-cards-4, .pg-sitemap { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pg-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .pg-hero { margin-top:14px; padding:40px 22px; }
  .pg-hero-split { padding:0; }
  .pg-hero-split .pg-hero-copy { padding:40px 22px 0; }
  .pg-hero-art { height:230px; }
  .pg-lede { font-size:17px; }
  .pg-facts { margin:16px 16px 0; gap:10px; }
  .pg-facts li { padding:18px; }
  .pg-facts strong { font-size:24px; }
  .pg-wide { margin-top:56px; }
  .pg-wide-head { flex-direction:column; align-items:flex-start; }
  .pg-cards, .pg-cards-3, .pg-cards-4, .pg-modules, .pg-sitemap, .pg-flows, .pg-pair { grid-template-columns:1fr; }
  .pg-flow img { height:220px; }
  .pg-dark, .pg-panel { padding:28px 22px; }
  .pg-table tbody th, .pg-table-3 td:last-child { width:auto; }
  /* On phones each row becomes a card, so no table ever scrolls sideways. */
  .pg-table thead { display:none; }
  .pg-table tr { display:block; padding:14px 0; border-bottom:1px solid var(--pg-line); }
  .pg-table th, .pg-table td { display:block; padding:0; border:0; }
  .pg-table tbody th { margin-bottom:6px; }
  .pg-table td + td { margin-top:10px; }
  .pg-table-3 td::before { content:attr(data-label); display:block; margin-bottom:2px; font-size:var(--type-caption); font-weight:600; color:#141414; }
  .pg-table.pg-figures td:not(:first-child) { text-align:left; }
  .pg-table-3.pg-index td::before { display:inline; content:attr(data-label) ": "; font-size:inherit; font-weight:500; }
  .pg-table.pg-index td { width:auto; white-space:normal; }
  .pg-table.pg-index td + td { margin-top:4px; }
  .pg-figures td + td { margin-top:4px; }
  .pg-figures td::before { content:attr(data-label) ": "; font-weight:500; color:#141414; }
  .pg-lost { margin-top:14px; padding:56px 18px; }
}
@media (prefers-reduced-motion:reduce) { .pg-flow img, .pg-more .hc-svg { transition:none; } }

.pg-section { padding:36px 0; }
.pg-section > ol:not([class]) { margin:12px 0 0; padding-left:1.4em; font-size:var(--type-body); line-height:1.47; color:var(--pg-body); }
.pg-section > ol:not([class]) li + li { margin-top:8px; }
.pg-section a.pg-more, .pg-more { display:inline; margin:0; gap:0; font-size:inherit; font-weight:inherit; text-decoration:underline; text-underline-offset:3px; }

/* A ruled list of names and what they mean: policies, reading paths, requests. */
.pg-defs { list-style:none; margin:16px 0 0; padding:0; border-top:1px solid var(--pg-line); }
.pg-defs > li { display:grid; grid-template-columns:38% minmax(0,1fr); gap:4px 16px; padding:12px 0; border-bottom:1px solid var(--pg-line); font-size:var(--type-small); line-height:1.5; color:#4d4d4d; }
.pg-defs > li > :first-child { font-weight:500; color:#141414; }
.pg-defs a { text-decoration:underline; text-underline-offset:3px; }

/* Sitemap: plain columns of links. */
/* Sections run down the page like any document, so "On this page" can follow them; each section's
   links sit in two short columns. */
.pg-map { margin-top:12px; }
.pg-map > section { margin:0; padding:28px 0; border-top:1px solid var(--pg-line); }
.pg-map > section:first-child { border-top:0; }
.pg-map h2 { margin:0 0 10px; font-size:var(--type-item); line-height:1.17; font-weight:600; letter-spacing:-.01em; }
.pg-map ul { list-style:none; margin:0; padding:0; columns:2 200px; column-gap:32px; }
.pg-map li { break-inside:avoid; }
.pg-map li a { display:inline-block; padding:4px 0; font-size:15px; color:#3d3d3d; }
.pg-map a:hover { color:#141414; text-decoration:underline; text-underline-offset:3px; }

/* Release notes: one entry per release, separated by rules. */
.pg-release { padding:22px 0; border-top:1px solid var(--pg-line); scroll-margin-top:24px; }
.pg-release:target { background:#fffbe6; box-shadow:-16px 0 0 #fffbe6, 16px 0 0 #fffbe6; }
.pg-release-meta { margin:0; font-size:var(--type-caption); color:var(--pg-quiet); }
.pg-release h3 { margin:6px 0 8px; font-size:var(--type-item); line-height:1.17; font-weight:600; letter-spacing:-.01em; }
.pg-release ul { margin:0; padding-left:1.2em; }
.pg-release li { margin:4px 0; font-size:var(--type-small); line-height:1.5; color:#3d3d3d; overflow-wrap:anywhere; }
.pg-release code { padding:1px 5px; border-radius:4px; background:#f1f1ef; font-size:.9em; }


@media (max-width:700px) {
  .pg-defs > li { grid-template-columns:minmax(0,1fr); }
  .pg-section { padding:28px 0; }
}

/* One document layout for guides, Help Center pages and company pages, on the page axis the header
   and footer use: a list on each side and the page's column centred between them, so the column sits
   in the middle of the window whether a page has one side list or two. Below 1068px the right-hand
   list goes, and a page's own contents list becomes a bar above the column (js/doc.js). */
.doc { margin:56px 0 0; padding:0 var(--gutter); display:grid; grid-template-columns:200px minmax(0,1fr) 170px; grid-template-areas:"nav main toc"; gap:0 40px; align-items:start; }
.doc-nav { grid-area:nav; position:sticky; top:24px; max-height:calc(100vh - 48px); overflow:auto; font-size:15px; }
.doc-nav-title { margin:0 0 6px; font-size:13px; font-weight:600; line-height:1.4; color:#141414; }
.doc-nav ul { list-style:none; margin:0 0 24px; padding:0; }
/* Every contents list looks the same: a line down the left, dark where the current item is. */
:is(.doc-nav, .doc-toc, .doc-toc-inline) a { display:block; padding:5px 0 5px 12px; border-left:2px solid var(--pg-line); color:#4d4d4d; line-height:1.35; }
:is(.doc-nav, .doc-toc, .doc-toc-inline) a:hover { color:#141414; border-left-color:#8a8a87; }
:is(.doc-nav, .doc-toc, .doc-toc-inline) a[aria-current] { color:#141414; font-weight:500; border-left-color:#141414; }
.doc-main { grid-area:main; min-width:0; }
/* Without a list on the right, the page's column takes that space too, as on the HIG's own pages. */
.doc:not(:has(> .doc-toc)) > .doc-main { grid-column:main-start / toc-end; }
.doc-main > h1 { margin:0; font-size:var(--type-title); line-height:1.08; font-weight:700; letter-spacing:-.02em; }
.doc-lede { margin:20px 0 0; font-size:var(--type-lede); line-height:1.18; color:#4d4d4d; overflow-wrap:anywhere; }
.doc-lede a { text-decoration:underline; text-underline-offset:3px; }
.doc-meta { margin:12px 0 0; font-size:var(--type-caption); color:var(--pg-quiet); }
.doc-main .pg-actions { margin-top:20px; }
.doc-main > .pg-section { margin-top:48px; padding:0; border:0; scroll-margin-top:24px; }
.doc-main > .pg-section > h2, .doc-main > h2 { margin:0 0 12px; font-size:var(--type-heading); line-height:1.125; font-weight:700; letter-spacing:-.015em; scroll-margin-top:24px; }
/* Guides put their headings straight in the column, so the space above lives on the heading. */
.doc-main > h2 { margin-top:48px; }
.doc-main > .pg-section > h2 + * { margin-top:0; }
.doc-main > h3, .doc-main > .pg-section > h3 { margin:32px 0 8px; font-size:var(--type-subheading); line-height:1.17; font-weight:600; letter-spacing:-.01em; scroll-margin-top:24px; }
.doc-toc { grid-area:toc; position:sticky; top:24px; font-size:13px; }
.doc-toc ul { list-style:none; margin:0; padding:0; }
/* js/doc.js: the copy-link button after a section heading, the print button and the phone contents bar. */
.doc-anchor { display:inline-flex; align-items:center; justify-content:center; position:relative; width:28px; height:28px; margin-left:6px; padding:0; border:0; border-radius:8px; background:none; color:#4d4d4d; vertical-align:middle; cursor:pointer; }
.doc-anchor:hover { background:#f1f1ef; color:#141414; }
.doc-anchor[data-copied]::after { content:attr(data-copied); position:absolute; left:calc(100% + 6px); top:50%; transform:translateY(-50%); padding:3px 8px; border-radius:6px; background:#141414; color:#fff; font-size:12px; font-weight:500; letter-spacing:0; line-height:1.4; white-space:nowrap; }
@media (hover:hover) {
  .doc-anchor { opacity:0; }
  :is(h2, h3):hover > .doc-anchor, .doc-anchor:focus-visible, .doc-anchor[data-copied] { opacity:1; }
}
.doc-print { display:inline-block; min-height:24px; margin-left:16px; padding:0; border:0; background:none; color:#141414; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.doc-print:hover { text-decoration-thickness:2px; }
/* The bar a contents list becomes where it would be out of sight (js/doc.js): its title over the
   current section, opening the list. A guide's inline list is one on a tablet or phone, the left list on a phone. */
.doc-bar-toggle { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:12px; width:100%; min-height:56px; padding:8px 0; border:0; background:none; color:#141414; font:inherit; text-align:left; cursor:pointer; list-style:none; }
.doc-bar-toggle::-webkit-details-marker { display:none; }
.doc-bar-label { font-size:12px; font-weight:400; line-height:1.3; color:#4d4d4d; }
.doc-bar-current { grid-row:2; font-size:15px; font-weight:500; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.doc-bar-current:empty { display:none; }
.doc-bar-toggle svg { grid-column:2; grid-row:1 / span 2; transition:transform .15s; }
details.doc-bar[open] .doc-bar-toggle svg { transform:rotate(180deg); }
details.doc-bar ul { max-height:min(60vh, 440px); overflow:auto; overscroll-behavior:contain; }
details.doc-bar a { padding:10px 0 10px 12px; font-size:15px; }
.doc-toc-inline { display:none; margin:20px 0 4px; border-top:1px solid var(--pg-line); border-bottom:1px solid var(--pg-line); }
.doc-toc-inline summary:not(.doc-bar-toggle) { display:flex; align-items:center; min-height:48px; font-size:15px; font-weight:500; cursor:pointer; }
.doc-toc-inline ul { list-style:none; margin:0; padding:0 0 12px; }

@media (max-width:1068px) {
  .doc { grid-template-columns:200px minmax(0,1fr); grid-template-areas:"nav main"; gap:0 40px; }
  .doc > .doc-main { grid-column:main; }
  .doc-toc { display:none; }
  .doc-toc-inline { display:block; }
  /* A page whose left list is its own contents (Privacy, Terms, Security...) drops to one centred
     column; js/doc.js puts the same list under the title, where it becomes the bar. */
  .doc:has(> .doc-nav:is([aria-label="On this page"], [aria-label="Months"])) { grid-template-columns:minmax(0,1fr); grid-template-areas:"main"; }
  .doc > .doc-nav:is([aria-label="On this page"], [aria-label="Months"]) { display:none; }
  .doc:has(> .doc-nav:is([aria-label="On this page"], [aria-label="Months"])) > .doc-main { justify-self:center; width:100%; max-width:740px; }
  .doc-toc-inline.doc-bar { position:sticky; top:0; z-index:30; background:#fff; }
  .doc-main:has(> .doc-toc-inline.doc-bar) [id] { scroll-margin-top:72px; }
}
@media (max-width:734px) {
  .doc { grid-template-columns:minmax(0,1fr); grid-template-areas:"main" "nav"; margin-top:32px; }
  .doc-nav { position:static; max-height:none; padding-top:28px; border-top:1px solid var(--pg-line); }
}
@media (max-width:600px) {
  .doc { margin-top:28px; }
  .doc-main > .pg-section { margin-top:40px; }
}

/* Careers: a photograph across the full width with the title over it, then the work, the open
   roles and how applying works, each on the page axis. */
.cr-hero { position:relative; display:flex; align-items:flex-end; min-height:clamp(420px, 56vh, 600px); padding:64px var(--gutter); overflow:hidden; background:#141414; color:#fff; }
.cr-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 40%; }
/* The shading keeps the white text at WCAG contrast over the lightest part of the picture behind it,
   checked against the rendered pixels at desktop and phone widths. */
.cr-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, #14141433 0%, #141414b3 40%, #141414e6 100%); }
.cr-hero-copy { position:relative; z-index:1; max-width:640px; }
.cr-hero h1 { margin:0; font-size:var(--type-display); line-height:1.07; font-weight:700; letter-spacing:-.02em; color:#fff; }
.cr-hero p { margin:16px 0 0; font-size:19px; line-height:1.5; color:#f2f2f0; }
.cr-hero .pg-actions { margin-top:28px; }
.cr-button-light { background:#fff; border-color:#fff; color:#141414; }
.cr-button-light:hover { background:#e6e6e3; border-color:#e6e6e3; }
.cr-button-outline { background:transparent; border-color:#ffffffb3; color:#fff; }
.cr-button-outline:hover { border-color:#fff; }
.cr-section > h2 { margin:0; font-size:var(--type-heading); line-height:1.125; font-weight:700; letter-spacing:-.015em; }
.cr-intro { max-width:70ch; margin:12px 0 0; font-size:var(--type-body); line-height:1.47; color:var(--pg-body); }
.cr-intro a, .cr-section > p a { text-decoration:underline; text-underline-offset:3px; }
.cr-section > p { margin:16px 0 0; font-size:var(--type-body); line-height:1.47; }
.cr-work { margin-top:24px; }
div.pg-flow:hover img { transform:none; }
.cr-filter { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap:12px 16px; align-items:end; margin:20px 0 8px; }
.cr-filter[hidden] { display:none; }
.cr-filter label { display:grid; gap:6px; min-width:0; font-size:13px; font-weight:600; color:#4d4d4d; }
.cr-filter :is(input, select) { width:100%; min-width:0; min-height:44px; padding:0 12px; border:1px solid #b9b9b6; border-radius:10px; background:#fff; font:inherit; font-size:15px; font-weight:400; color:#141414; }
.cr-filter :is(input, select):focus { border-color:#141414; outline:3px solid #14141426; outline-offset:0; }
.cr-count { grid-column:1 / -1; margin:0; font-size:var(--type-caption); color:var(--pg-quiet); }
.cr-team { margin-top:24px; }
.cr-team[hidden] { display:none; }
.cr-team h3 { margin:0 0 8px; font-size:var(--type-item); line-height:1.25; font-weight:600; }
.cr-team .pg-defs a { font-weight:500; color:#141414; }
@media (max-width:734px) {
  .cr-hero { min-height:440px; padding-block:40px; }
  .cr-hero::after { background:linear-gradient(180deg, #141414bf 0%, #141414e6 100%); }
  .cr-filter { grid-template-columns:1fr; }
}

/* One header on every page, the Help Center's included: 64px tall, the logo 132px wide (112px on
   phones) and links at 14px. The Coming soon page keeps its own. */
:is(.self-serve, .brand-home, .explore-home) .header { height:64px; }
:is(.header, .hc-header, .prelaunch-policy-header) .brand img.oean-logo { width:132px; height:auto; }
.self-serve .main-nav a, :is(.header, .hc-header) .login-link { font-size:14px; }
@media (max-width:734px) {
  :is(.header, .hc-header, .prelaunch-policy-header) .brand img.oean-logo { width:112px; }
}

/* Short pages (About, 404) keep the footer at the bottom of the window instead of leaving white below it. */
body:is(.oean-page, .help-center) { display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
body:is(.oean-page, .help-center) > main { flex:1 0 auto; }

/* Printing a document page, or saving it as a PDF, keeps only the document. Links on the site
   print their address so the paper copy still says where they go. */
@media print {
  body > header, .skip-link, body > footer, .doc-nav, .doc-toc, .doc-toc-inline, .doc-anchor, .doc-print, .a11y-open, .a11y-panel, .a11y-reader, .osk { display:none !important; }
  .doc { display:block; max-width:none; margin:0; padding:0; }
  .doc-main { max-width:none; }
  .doc-main a[href^="/"]::after { content:" (oean.ai" attr(href) ")"; }
  .doc-main a[href^="http"]::after { content:" (" attr(href) ")"; }
  .doc-main :is(h2, h3) { break-after:avoid; }
  .doc-main :is(p, li) { orphans:3; widows:3; }
}
@media (prefers-reduced-motion:reduce) { .doc-bar-toggle svg { transition:none; } }
