/* Existing editorial surfaces share the component tokens in apogee.css. */
html [data-ap-interface] :is([class*="journal-home_page__"],[class*="editorial-page-shell_page__"],[class*="offer-preview_page__"],[class*="opportunities_page__"]) {
  color-scheme: inherit;
  --journal-paper: var(--ap-canvas);
  --journal-ink: var(--ap-text);
  --journal-soft: var(--ap-section);
  --journal-muted: var(--ap-muted);
  --journal-rule: var(--ap-line);
  --editorial-muted: var(--ap-muted);
  background: var(--ap-canvas);
  color: var(--ap-text);
}
html [data-ap-interface] :is([class*="resourceBand__"],[class*="featureBand__"],[class*="toolboxSection__"],[class*="benefitsSection__"],[class*="faqSection__"],[class*="community-offer_overview__"]) {
  color: var(--ap-text); background: var(--ap-section); border-color: var(--ap-line);
}
html [data-ap-interface] :is([class*="communityBand__"],[class*="integrationStrip__"],[class*="nextStep__"],[class*="offer-preview_toolbar__"]) {
  background: linear-gradient(105deg,color-mix(in srgb,var(--ap-brand-sky) 24%,var(--ap-section)),var(--ap-section));
  color: var(--ap-text); border-color:var(--ap-line);
}
html [data-ap-interface] :is([class*="integrationStrip__"],[class*="pillar__"],[class*="benefits_card__"]) a { color: var(--ap-accent); }
html [data-ap-interface] :is([class*="accessNote__"],[class*="sectionCopy__"],[class*="offer-preview_lead__"],[class*="offer-preview_toolbar__"] p,[class*="community-offer_overview__"] p,[class*="community-offer_pillar__"] p) { color: var(--ap-muted); }
html [data-ap-interface] header:is([data-adaptive],[data-editorial])[data-tone] {
  color:var(--ap-text);
  background: color-mix(in srgb,var(--ap-surface) 91%,transparent);
  border-bottom:1px solid var(--ap-line);
  backdrop-filter:blur(14px) saturate(110%);
}
html [data-ap-interface] header[data-tone] :is(nav a,summary) { color:var(--ap-text); }
html [data-ap-interface] header[data-tone] summary { border-color:var(--ap-line); }
html [data-ap-interface] header[data-tone] details nav {
  background: color-mix(in srgb,var(--ap-surface) 94%,transparent); color:var(--ap-text);
  border: 1px solid var(--ap-line); border-radius:var(--ap-control-radius);
  box-shadow:var(--ap-shadow); backdrop-filter:blur(20px);
}
html [data-ap-interface] header[data-tone] details nav a:is(:hover,:focus-visible) { background:var(--ap-frost); color:var(--ap-text); }
html [data-ap-interface] header[data-tone] [class*="desktopNavigation__"] a::after { background:var(--ap-accent); }
html [data-ap-interface] [data-ap-button] { border-radius:var(--ap-control-radius); }
html body [data-ap-interface] :is(a,button,summary)[data-ap-button=primary],
html body [data-ap-interface] button[data-ap-chip]:is([aria-pressed=true],[class*="selected__"]) {
  background:var(--ap-primary-fill); color:var(--ap-on-navy); border:1px solid var(--ap-primary-edge);
  box-shadow:var(--ap-primary-shadow);
}
html body [data-ap-interface] :is(a,button,summary)[data-ap-button=secondary],
html body [data-ap-interface] button[data-ap-chip] {
  color:var(--ap-text); background:var(--ap-secondary-fill); border:1px solid var(--ap-line); box-shadow:var(--ap-edge);
}
html [data-ap-interface] [data-ap-signature] { font-family:var(--ap-display); background-clip:text; }
html [data-ap-interface] [data-ap-title] { color:var(--ap-text); font-family:var(--ap-font); letter-spacing:-.04em; font-weight:570; }
html body [data-ap-interface] [data-ap-card] {
  border:1px solid var(--ap-line); border-radius:var(--ap-card-radius); box-shadow:var(--ap-shadow);
  color:var(--ap-text); background:var(--ap-card-fill);
}
html [data-ap-interface] :is([class*="entry__"] > article,[class*="experience__"]) { background:var(--ap-surface); color:var(--ap-text); border-color:var(--ap-line); border-radius:var(--ap-card-radius); }
html [data-ap-interface] :is([class*="opportunities_card__"],[class*="opportunities_grid__"]) {
  --radar-card-surface:var(--ap-surface); --radar-card-text:var(--ap-text); --radar-card-muted:var(--ap-muted); --radar-card-accent:var(--ap-accent); --radar-card-line:var(--ap-line); --radar-card-subtle:var(--ap-section);
  --radar-urgent:light-dark(#94431c,#ffb793); --radar-safe:light-dark(#236347,#a4e3c4);
}
html [data-ap-interface] :is([class*="opportunities_board__"],[class*="opportunities_catalogueHero__"]) {color:var(--ap-text); background:var(--ap-canvas);}
html [data-ap-interface] [class*="opportunities_page__"] { --apogee-text:var(--ap-text); --apogee-text-muted:var(--ap-muted); }
html [data-ap-interface] :is([class*="filterSummary__"],[class*="filterPanelDescription__"],[class*="filterPanelFooter__"] p,[class*="opportunities_lead__"],[class*="opportunities_eyebrow__"],[class*="opportunities_count__"]) { color:var(--ap-muted); }
html [data-ap-interface] :is(#opportunity-filter-panel,[class*="community-offer_nextStep__"]) { background:linear-gradient(140deg,var(--ap-surface),var(--ap-frost)); border:1px solid var(--ap-line); border-radius:var(--ap-panel-radius); color:var(--ap-text); box-shadow:var(--ap-shadow); }
html [data-ap-interface] #opportunity-filter-panel :is(h3,legend,label) {color:var(--ap-text);}
html [data-ap-interface] #opportunity-filter-panel :is([class*="filterPanelEyebrow__"],p) {color:var(--ap-muted);}
html [data-ap-interface] [class*="directoryTrigger__"] { color:var(--ap-text); border-color:var(--ap-line); }
html [data-ap-interface] [class*="directoryPanel__"] { background:linear-gradient(145deg,#233b59,var(--ap-navy) 75%); color:var(--ap-on-navy); border-radius:var(--ap-panel-radius); }
html [data-ap-interface] [class*="directoryPanel__"][hidden] { display:none; }
html [data-ap-interface] [class*="plansFrame__"] article:not([id="plano-anual"]) { background:var(--ap-surface); color:var(--ap-text); border:1px solid var(--ap-line); border-radius:var(--ap-card-radius); }
html [data-ap-interface] [class*="plansFrame__"] article:not([id="plano-anual"]) :is(p,ul,span) {color:var(--ap-muted);}
html [data-ap-interface] [class*="plansFrame__"] > div > p {color:var(--ap-muted);}
html [data-ap-interface] [class*="plansFrame__"] article[id="plano-anual"] { border-radius:var(--ap-card-radius); }
html [data-ap-interface] [class*="offer-preview_page__"] [class*="community-offer_scope__"] { --offer-ink:var(--ap-text); }
html [data-ap-interface] [class*="offer-preview_page__"] [class*="access__"] { color:var(--ap-muted); border-color:var(--ap-line); }
html [data-ap-interface] :is([class*="members_authPanel__"],[class*="member-navigation_toggle__"]) {border-radius:var(--ap-card-radius);}
html [data-ap-interface] [class*="member-navigation_links__"] a {border-radius:var(--ap-control-radius);}
html [data-ap-interface] [class*="member-navigation_links__"] svg {stroke-width:1.65;}
html [data-ap-interface] [class*="supportStrip__"] {color:var(--ap-text);}
html [data-ap-interface] [class*="supportStrip__"] aside {background:var(--ap-canvas);border-color:var(--ap-line);}
html [data-ap-interface][data-ap-theme=escuro] header[data-tone] [class*="brand__"] img[src*="navy"] {filter:brightness(0) invert(1);}
html [data-ap-interface][data-ap-theme=escuro] header[data-tone] [class*="brand__"] img[src*="white"] {filter:none;}
html [data-ap-interface] :is(a,button,select,input,summary):focus-visible {outline:3px solid var(--ap-focus);outline-offset:3px;}


html [data-ap-interface] #opportunity-filter-panel {position:relative;isolation:isolate;}
html [data-ap-interface] #opportunity-filter-panel :is(select,input:not([type=checkbox])) {background:var(--ap-surface);color:var(--ap-text);border-color:var(--ap-line);}
html [data-ap-interface] #opportunity-filter-panel :is([class*="fieldHint__"],small) {color:var(--ap-muted);}
html [data-ap-interface] [class*="categoryNavigation__"] button,html [data-ap-interface] [class*="jobShortcuts__"] button {border-radius:var(--ap-control-radius);color:var(--ap-text);border-color:var(--ap-line);background:var(--ap-surface);}
html [data-ap-interface] [class*="categoryNavigation__"] button[aria-current=page],html [data-ap-interface] [class*="jobShortcuts__"] button[aria-pressed=true] {background:var(--ap-brand-sky);color:var(--ap-navy);}
html [data-ap-interface] [class*="opportunities_catalogueHero__"] :is(h1,p),html [data-ap-interface] [class*="opportunities_boardHeading__"] h2 {color:var(--ap-text);}
html [data-ap-interface] [class*="opportunities_filterToolbar__"] > a {color:var(--ap-accent);}
html [data-ap-interface] [class*="benefits_root__"][data-public-catalogue] {background:var(--ap-canvas);color:var(--ap-text);}
html [data-ap-interface] [data-public-catalogue] :is([class*="benefits_header__"] > p,[class*="benefits_result__"],[class*="benefits_explanation__"],[class*="benefits_condition__"],[class*="benefits_access__"],[class*="benefits_partner__"]) {color:var(--ap-muted);}
html [data-ap-interface] [class*="benefits_root__"][data-public-catalogue] > p > a {color:var(--ap-accent);}

@media(prefers-reduced-transparency:reduce) {
  html [data-ap-interface] header[data-tone],html [data-ap-interface] header[data-tone] details nav {background:var(--ap-surface);backdrop-filter:none;}
}
@media (prefers-color-scheme:dark) {
  html [data-ap-interface][data-ap-theme=sistema] header[data-tone] [class*="brand__"] img[src*="navy"] {filter:brightness(0) invert(1);}
  html [data-ap-interface][data-ap-theme=sistema] header[data-tone] [class*="brand__"] img[src*="white"] {filter:none;}
}

/* The member guide sits on the permanent navy member canvas. */
html [data-ap-interface] [data-ap-integration-guide] {
  color-scheme: dark;
  background: linear-gradient(145deg, #192e47, #102237 67%);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-panel-radius);
  box-shadow: var(--ap-shadow);
  color: var(--ap-text);
}
html [data-ap-interface] [data-ap-integration-guide] h2 { letter-spacing: -.038em; }
html [data-ap-interface] [data-ap-integration-guide] input {
  border-radius: var(--ap-control-radius);
  color: var(--ap-on-navy);
  background: var(--ap-navy);
}
html [data-ap-interface] [class*="member-navigation_links__"] a[aria-current=page] {
  background: linear-gradient(125deg, #d9e9f9, var(--ap-brand-sky));
  box-shadow: var(--ap-primary-shadow);
}
html [data-ap-interface] [class*="community-offer_overview__"] {
  --offer-ink: var(--ap-text);
  border-color: var(--ap-line);
  border-radius: var(--ap-panel-radius);
}
html [data-ap-interface] [class*="community-offer_overview__"] [class*="access__"] { color:var(--ap-muted); }

/* Resource artwork comes from one Blender studio and shares a camera and light rig. */
[data-ap-interface] {
  --ap-studio-paper: light-dark(#e8eff5, #1a2d43);
}
/* Use the existing hero height, leaving the search where visitors expect it. */
html [data-ap-interface] [data-ap-radar-hero] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-inline: clamp(1rem, 2.8vw, 2.5rem);
  color: var(--ap-text);
  background: linear-gradient(108deg, var(--ap-section), var(--ap-canvas) 48%, var(--ap-studio-paper));
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-panel-radius);
  box-shadow: var(--ap-edge);
}
html [data-ap-interface] [data-ap-radar-hero="member"] { padding-block: clamp(1.15rem, 2.5vw, 2rem); }
html [data-ap-interface] [data-ap-radar-hero="member"] > div { inline-size: 100%; }
html [data-ap-interface] [data-ap-radar-hero="member"] p { color: var(--ap-muted); }
@media (max-width: 42rem) {
  html [data-ap-interface] [data-ap-radar-hero] { padding-block: 1.3rem; }
}

html [data-ap-interface] :is([data-ap-toolbox-studio],[data-ap-learning-studio]) {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-panel-radius);
  background: linear-gradient(115deg,var(--ap-section),var(--ap-canvas) 56%,var(--ap-studio-paper));
  box-shadow: var(--ap-edge);
  color: var(--ap-text);
}
html [data-ap-interface] :is([data-ap-toolbox-studio="editorial"],[data-ap-learning-studio="editorial"]) {
  padding: clamp(1.25rem, 3vw, 2.65rem);
}
html [data-ap-interface] :is([data-ap-toolbox-studio="editorial"],[data-ap-learning-studio="editorial"]) h2 {
  max-width: 100%;
  margin: 0;
  font: 530 clamp(2.1rem, 4vw, 3.9rem)/1.04 var(--ap-font);
  letter-spacing: -.05em;
}
html [data-ap-interface] :is([data-ap-toolbox-studio="editorial"],[data-ap-learning-studio="editorial"]) p { color: var(--ap-muted); }
html [data-ap-interface] :is([data-ap-toolbox-studio="catalogue"],[data-ap-learning-studio="catalogue"]) {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  column-gap: clamp(.6rem, 2vw, 2rem);
  padding: clamp(1rem, 2.4vw, 2rem);
}
html [data-ap-interface] :is([data-ap-toolbox-studio="catalogue"],[data-ap-learning-studio="catalogue"]) > a {
  justify-self: start;
  color: var(--ap-accent);
}
html [data-ap-interface] :is([data-ap-toolbox-studio="catalogue"],[data-ap-learning-studio="catalogue"]) h1 {
  margin: 0; color: var(--ap-text);
  font: 510 clamp(2rem, 4.6vw, 4rem)/1.05 var(--ap-font);
  letter-spacing: -.05em;
}
html [data-ap-interface] :is([data-ap-toolbox-studio="catalogue"],[data-ap-learning-studio="catalogue"]) p { color: var(--ap-muted); }
@media (max-width: 38rem) {
  html [data-ap-interface] :is([data-ap-toolbox-studio="catalogue"],[data-ap-learning-studio="catalogue"]) {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }
}


html [data-ap-interface] [data-ap-learning] {
  padding: clamp(.6rem, 1.5vw, 1.4rem);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-panel-radius);
  background: var(--ap-canvas);
  color: var(--ap-text);
}
html [data-ap-interface] [data-ap-learning] > p:last-child a { color: var(--ap-accent); }

html [data-ap-interface] [data-ap-nav-icon] {
  display: inline-block;
  flex: none;
  inline-size: 1.65rem;
  block-size: 1.5rem;
  background: var(--ap-art) center / contain no-repeat;
}
html [data-ap-interface] :is(nav a, a[data-ap-button], [data-account-menu] > summary):has(> [data-ap-nav-icon]) {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
html [data-ap-interface] #navegacao-membro [data-ap-nav-icon] {
  inline-size: 2.1rem;
  block-size: 1.85rem;
}
html [data-ap-interface] #navegacao-membro summary [data-ap-nav-icon] {
  margin-inline-end: .45rem;
  vertical-align: middle;
}
/* Product marks identify the offer or tool and sit beside its name. */
html [data-ap-interface] :is(h2,h3,h4):has(> [data-ap-item-mark]) {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-inline-size: 0;
}
html [data-ap-interface] [data-ap-item-mark] {
  display: inline-grid;
  flex: none;
  place-items: center;
  inline-size: 2rem;
  aspect-ratio: 1;
  border-radius: 23%;
  overflow: hidden;
  background: var(--ap-section);
  color: var(--ap-accent);
  font: 650 .95rem/1 var(--ap-font);
  letter-spacing: -.025em;
  pointer-events: none;
}
html [data-ap-interface] [data-ap-item-mark="light"] { background: #fff; }
html [data-ap-interface] [data-ap-item-mark="dark"] { background: #101316; }
html [data-ap-interface] [data-ap-item-mark="transparent"] { background: transparent; }
html [data-ap-interface] [data-ap-item-mark] img { width: 100%; height: 100%; object-fit: contain; }
